Skip to content

feat(corpus): classify pinned Trusov VAR refusals by call and source identity - #410

Merged
andy-zen-dev merged 5 commits into
masterfrom
scrip-trusov-var-refusal-classification
Nov 3, 2026
Merged

andy-zen-dev merged 5 commits into
masterfrom
scrip-trusov-var-refusal-classification

Conversation

@andy-zen-dev

@andy-zen-dev andy-zen-dev commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #409 on later qualifying merge.

Outcome

  • Replace ambiguous multiline/shape refusal buckets with mutually exclusive bounded causes (call size, LF count, nested/unbalanced braces, extra arguments, other unsafe syntax/context).
  • Bind each decision to the exact template invocation SHA-256 and its frozen Page oldid plus MediaWiki SHA-1. Strict validation rejects swapped source identities/call digests, wrong histograms and prose-bearing fields.
  • Preserve the existing hypothetical orthography previews, conservative projected Page join, publication boundary and all scientific UNKNOWN/NOT_RUN gates. Add positive/negative regressions and exact-oldid CI checks.

Exact-head evidence (2026-11-03)

Head dc8d6f0c136577e45e5fbb48cbfbd79bc7d8db14; source-free 150-oldid replay completed successfully, including 22 focused tests (7 content + 5 shapes + 10 projection). Observed:

  • Page 148, oldid 4958660, SHA-1 16458813fbd1c9acf2422f219bc154b3930b924d: too_many_line_breaks.
  • Page 149, oldid 4958661, SHA-1 7649866db7bd09c8bc7d6e8022792a6e3ab2610d: too_many_line_breaks.
  • Page 150, oldid 4958663, SHA-1 0eda699167366d9df5d5bbdec7d07bd8d7b86dcf: too_many_line_breaks.
  • Page 151, oldid 4958664, SHA-1 3fe4e830fb8c3262c064f34a16c94d3af33bfb8a: unsupported_shape (other strict-shape failure, not nested/unbalanced/extra arguments).
  • flat=0, multiline=0, call_too_large=0, nested_braces=0, unbalanced_braces=0, extra_arguments=0.

Decision: No pinned invocation qualifies for a changed projection under the tested conservative parser. Increasing the 12-LF limit blindly would not establish historical template/variant rendering, Page seam rules or print equivalence. The remaining evidence dependency is concrete reconstruction/verification of the historical Template:ВАР semantics and the ProofreadPage presentation, not another broad parsing tweak. Select an independent CLI/Reader comparison regression slice next rather than repeatedly revisiting unchanged Trusov inputs.

Later acceptance limits

Only the pinned 150-oldid source replay and focused synthetic tests are currently confirmed PASS. Other exact-head checks may still be running; check all applicable results and discussion before merge. Full local repository tests, live Pages/browser/mobile: NOT_RUN. 1775 print identity, complete literary body, >=300k admission and FantLab source identity: UNKNOWN/NOT_RUN; M2 = 0/5. Authenticated andy-zen-dev, push permission confirmed; no authoring-wake merge.

@andy-zen-dev
andy-zen-dev merged commit 040c6c9 into master Nov 3, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SCRIP-CORPUS: diagnose four real Trusov VAR refusals without broadening historical claims

1 participant