Skip to content

chore: audit polish batch (citation ranges, power per-arm N, judge raw_decode, engine count)#5

Open
kicrazom wants to merge 4 commits into
mainfrom
chore/audit-polish
Open

chore: audit polish batch (citation ranges, power per-arm N, judge raw_decode, engine count)#5
kicrazom wants to merge 4 commits into
mainfrom
chore/audit-polish

Conversation

@kicrazom

@kicrazom kicrazom commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Low-priority cleanups from the audit, batched as atomic commits. No behavior change beyond the two stated fixes.

  • citation_parse — marker parse now expands [1-3] ranges and [1,2,5] lists (was [n] only → false orphans); also drops the redundant cited = set(markers) rebuild.
  • power_sample_sizetwo_sample_t now surfaces n_group1/n_group2 (they differ when ratio != 1; group-2 was folded into n_total only, risking under-enrolment of the larger arm). Schema updated.
  • judge_behavior — the 25-line string-aware brace scanner replaced by json.JSONDecoder.raw_decode (stdlib does the same, and only accepts a { that begins valid JSON).
  • docs — engine count corrected 9 → 8 (there are 8 main() engines in scripts/core/) in the envelope-contract test docstring, STATUS, ROADMAP. CHANGELOG left as historical record.

Tests: +2 (citation ranges/lists, power per-arm N). Full suite green (174 passed, 1 skipped); ruff clean.

Deliberately NOT done

rag/cag KB stubs and the VllmBackend scaffold are left in place — declared roadmap (NotImplementedError("v3") / labelled unvalidated), consistent with the egress "keep + build" decision. Not vaporware to hide, just not deleted.

🤖 Generated with Claude Code

kicrazom and others added 4 commits July 2, 2026 22:29
…ndant set

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…atio!=1)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…extraction

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ADMAP)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant