Skip to content

AX-M5: mentions and rows #255

Open
Open

Description

@tamnd

This milestone brings the arXiv objects into the record plane of math2.
Each item of an extracted paper becomes a mention, and the mentions go into rows.

Spec: corpus arxiv AX14.7, with AX05, AX08 and AX12.4.

Acceptance

  • Each object of an item kind of an extracted paper has a mention (rule D05).
  • In the pilot area, each mention is in a row, and each row has an outcome.
  • Rule D06 is clean everywhere. (D06 pass, 561 record mentions checked, 0 findings: pipeline check of Import the arXiv mentions of tamnd/arxiv at 71ac92be math2#263 with m2 v0.6.26)
  • The precision of an automatic same is 98% or more on gold set K.

Checklist

  • AQ11: the arXiv records start in tamnd/math2-records
  • importer/arxiv, which replaces ingest/arxiv and ingest/arxivresults
  • m2 corpus import -source arxiv
  • The T1 passes classify and concepts
  • m2 corpus cluster -source arxiv
  • Gold set K for arXiv pairs
  • Audit rules D05 and D06

Not in this milestone

  • Model passes after T1. They are AX-M6.

Activity

  1. added
    type: feature
    milestone
    area: corpus
    area: inventory
    on Oct 26, 2026
  2. tamnd commented on Oct 27, 2026

    @tamnd
    OwnerAuthor

    tamnd/arxiv-reader#96 is merged and released in v0.5.9. Each object of the analysis plane now has a permanent 4-character tag (AX3.9), in analysis/tags/<YYMM>/<id>.tags. The mention ids of AX5 use these tags, as ax://paper/<id>#<tag>. On the 398 objects files of tamnd/arxiv, the first run gave 15,618 tags and a second run kept all of them. Next is importer/arxiv.

  3. tamnd commented on Oct 27, 2026

    @tamnd
    OwnerAuthor

    #275 is merged. It adds importer/arxiv and m2 corpus import -source arxiv -corpus DIR.

    The importer reads the analysis plane of a checkout of tamnd/arxiv. It writes one mention for each tagged object of an item kind, from the latest version of each paper. A proof and a scope-local claim are attached mentions. They go in the row of their target as proofs and local, and they do not make a row. A record class version gives no name and no text, and the locator is <id>v<n>#<local>.

    On a tagged copy of the 406 extracted papers of tamnd/arxiv, the import gave 14,519 mentions. 4,745 of them are attached, and the cluster step made 9,774 rows. 480 proofs have no target, so they have attached_to: unknown and no row.

    ingest/arxiv and ingest/arxivresults stay for now. I remove them when the import runs in tamnd/math2. Next are the audit rules D05 and D06.

  4. tamnd commented on Oct 27, 2026

    @tamnd
    OwnerAuthor

    #278 is merged. It adds the hard rules D05 and D06, and the flag m2 audit -arxiv DIR.

    D05 reads the analysis plane of the checkout. Each object of an item kind in the latest version of each paper must have a mention, each proof must have attached_to, and each attached mention must name a mention that exists. D06 checks that an arXiv mention of the class record holds no text of the paper.

    On the tagged copy of the 406 extracted papers, D05 found 18 proofs that were attached to a remark. A remark gets no mention, so these proofs now get attached_to: unknown and the hint target-not-an-item. After the fix, D05 checks 14,560 objects and mentions and passes. D06 has nothing to check there yet, because all these papers have an open licence.

  5. tamnd commented on Oct 27, 2026

    @tamnd
    OwnerAuthor

    #279 adds the understand role with the T1 passes classify and concepts. A job is one pass on one paper, with the target arxiv:ID/PASS. The records go to records/understand/arxiv/PASS/, and a classification with a confidence below 0.7 goes to the queue classify-review. I loaded math/0301148v3 from a tagged copy of the plane, and the brief has 1 item for classify and 42 for concepts. No pass ran on a model yet, because a run at scale needs an approved budget. The next item is m2 corpus cluster -source arxiv.

  6. tamnd commented on Oct 27, 2026

    @tamnd
    OwnerAuthor

    PR #281 is merged. It adds the hash pass, the outcome rules research-default, research-exercise and research-context, and m2 corpus cluster -source arxiv with the name pass and the report reports/inventory-arxiv.md. Objects with a body shorter than 40 characters get no hash, because on 406 real papers the only cross-paper hash groups were empty or label-only bodies. On that copy the result is 9,774 rows: 9,505 record and 269 open rows of the kind unknown. The cited-result pass waits for the cross-paper edges of AX6.5, and the similarity pass waits for tier T3.

  7. tamnd commented on Oct 27, 2026

    @tamnd
    OwnerAuthor

    The arXiv pipeline on server3 now imports the mentions into tamnd/math2 each hour. Two fixes came out of the first runs. #294 makes m2 audit -changed read the files of revisions through one git cat-file process, so the audit of an import of 20000 files takes 1 to 3 minutes and not 12.5. It is in v0.3.4. tamnd/math2#144 adds the source arxiv to manifests/sources.yaml, so rule L08 passes on the arXiv mentions.

  8. 10 remaining items

  9. tamnd commented on Oct 31, 2026

    @tamnd
    OwnerAuthor

    Rule D06, run with m2 built from main (23eb69a) and m2 audit -rule D06,D05 -arxiv <checkout of tamnd/arxiv>, read-only, on both the scratch tree and the pipeline's math2 checkout (a8846ac27d1):

    D05   pass   148949
    D06   skip   0        no arXiv mention has the class record
    3466 files, 0 findings, nothing failed
    

    D06 has nothing to check yet. The metadata lists 1,114,414 versions under arxiv-1.0, but no arXiv mention has the class record yet, so nothing has been imported from a record-class version. A record-class paper stops with licence before it gets objects. I'm leaving the D06 box unticked, because a skip shows there are no violations but tests nothing. It becomes a real check once record-class papers get objects (AQ01 / R2). — claude-opus-5-5 (LLM pass chosen by the owner; not a person)

  10. tamnd commented on Nov 2, 2026

    @tamnd
    OwnerAuthor

    Results of a scratch run on server3. I took a copy of tamnd/math2 at ccaeb6609, added the 1002 classify records of the MSC 20 pilot, then ran the import, m2 corpus cluster -source arxiv and m2 corpus gold. Nothing was written to the pipeline checkouts.

    Gold set K (box 4). 568 arXiv pairs, 135 of them the same item:

    pass precision recall false merges false splits
    identifiers - 0.0% 0 135
    hash 100.0% 13.3% 0 117
    equivalence 100.0% 13.3% 0 117

    The automatic same decisions are 18 of 18 correct, which meets the 98% bar, so I'm ticking the box. The sample is small, though: 18 out of 18 only puts the 95% lower bound near 81%. Recall is 13.3%, and the thresholds lean toward splitting, as AX8.2 asks.

    Rows and outcomes in MSC 20 (box 1). Two gaps remain:

    • Rows: 8907 research rows; 8906 are record and 1 is open.
    • Mentions: 8955 are in rows and 5417 proofs are attached to rows. 280 proof and local-claim mentions are orphans with attached_to: unknown; AX5.2 counts them as findings, and the proof-target queue (AX7.6) proposes a target for each.
      • The box closes only once those targets are confirmed and imported.
      • The pilot classify records also have to land in tamnd/math2 before main shows the same numbers.

    Research layer on the scratch copy (all areas):

    • 99,126 rows: 98,310 record, 51 merged, 765 open.
    • The open rows are mostly the kind unknown in papers that classify has not reached yet.

    Written by claude-opus-5-5 (LLM pass chosen by the owner; not a person)

  11. tamnd commented on Nov 3, 2026

    @tamnd
    OwnerAuthor

    From claude-opus-5-5:

  12. tamnd commented on Nov 4, 2026

    @tamnd
    OwnerAuthor

    Status:

    • Pilot rows. 201 pilot proofs attached to no row and had no decision. codex gpt-6-sol review pass (LLM pass chosen by the owner; not a person) decided 152 of them: 100 have a target in the same paper and 52 are none (math2#251). math2#260 applies 169 targets and is merged. 49 proofs in 5 papers were left because their statements were never extracted. arxiv-reader Let the sandbox user read the test input and the certificate copy #143 (v0.5.34) fixes three of those papers (a \forcsvlist loop declaration, an alias with a font switch, and a \newenvironment alias). The other two use the \sssbegin macros of DLdef1.sty, which are out of scope. All 5 are at the top of redo.txt, so the next pipeline run re-extracts them with v0.5.34.
    • D06. D06 now checks something: 561 record mentions, with 4 findings. All 4 were comma lists of short references, and v0.6.26 (D06: take a list of short references as the locator of a cited result #545) accepts these.

    I'll tick both items after the next import, once the pilot and m2 audit -rule D06 have been re-measured.

    claude-opus-5-5 pass (LLM pass chosen by the owner; not a person)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: corpusarea: inventorymilestonetype: feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions