Skip to content

Drop a leading The from heading names in corpus adopt - #580

Merged
tamnd merged 1 commit into
mainfrom
drop-the-headings
Nov 5, 2026
Merged

tamnd merged 1 commit into
mainfrom
drop-the-headings

Conversation

@tamnd

@tamnd tamnd commented Nov 5, 2026

Copy link
Copy Markdown
Owner

This change fixes three kinds of weak names from the area 11 and area 12 runs.
A heading that starts with The and a capital letter gives a node name without The. For example, The Routh criterion gives Routh criterion, and The Giambelli identity gives Giambelli identity. The subject of an article and a glossary term keep their names.
A name with a second name in brackets after or, such as Root (or zero) of a polynomial, waits, because a person must give one name.
A heading that starts with Characterization or Equivalent formulations names a part of the text, so it waits.
Refs #308.

Tests: TestDisplayNameThe, TestWhyName, go test ./importer/wikipedia/.

@tamnd tamnd added type: feature Adds a new function or command. area: corpus The corpus programme labels Nov 5, 2026
@tamnd
tamnd merged commit 757dd51 into main Nov 5, 2026
11 of 12 checks passed
@tamnd
tamnd deleted the drop-the-headings branch November 5, 2026 07:09
tamnd added a commit to tamnd/math2 that referenced this pull request Nov 5, 2026
This change adopts 62 articles of area 12 (field theory) from the
Wikipedia corpus as new nodes.

The adopt step ran with m2 at math2-agent main. The link step linked 61
more inventory rows to existing nodes.

The parity report for field theory has 1186 items and 0 items without an
outcome.

The audit gives 24 G02 findings. These findings are pairs that are
already on main, so this change does not add them. I04, Y11 and Y18
pass.

This run uses the m2 build with tamnd/math2-agent#578. Six names still
need a fix in a later pass, and tamnd/math2-agent#580 now holds or fixes
their patterns for the next areas: The Routh criterion, The Giambelli
identity, The Betke–Kneser theorem, Root (or zero) of a polynomial,
Characterization by a convolution identity and Equivalent formulations
of locality axiom.

Refs tamnd/math2-agent#308.

Tests: m2 check passes, m2 audit with I04, P01, Y18, G02 and Y11 passes
except the old G02 findings, m2 corpus parity passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: corpus The corpus programme type: feature Adds a new function or command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant