Skip to content

September audit fixes: opt-in precedent sidecar, XER guard, public GMPP corpus, CI consolidation - #14

Merged
MatthewPaver merged 7 commits into
mainfrom
chore/september-fixes
Oct 6, 2026
Merged

MatthewPaver merged 7 commits into
mainfrom
chore/september-fixes

Conversation

@MatthewPaver

Copy link
Copy Markdown
Owner

What

The 2026-09-05 audit-fix work that had sat uncommitted on this laptop, reconciled against main (all 30 files were new; none had landed).

  • Precedent RAG sidecar is now opt-in; the browser no longer calls 127.0.0.1:8787 by default.
  • Multi-project XER files are rejected with a clear message.
  • 189-record public GMPP precedent corpus (public_cases.json).
  • validate.yml folded into deploy-pages.yml; new parser-compatibility browser suite; requirements-browser.txt.
  • Docs + refreshed screenshots.

Verified locally

  • pytest Processing/tests -q: 36 passed
  • scripts/run_browser_tests.py: 5/5 suites passed

Note

Supersedes #13 — with the sidecar off by default, the console-error filter there is no longer needed. Close #13 if this merges.

🤖 Generated with Claude Code

Matthew Paver and others added 7 commits October 6, 2026 16:01
Fold validate.yml into deploy-pages.yml: run on PRs, least-privilege
permissions, per-ref concurrency, timeouts, and a separate deploy job
gated on verify.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generate 189 source-linked GMPP records (build_public_cases.py) to replace
the synthetic DG-* corpus as default; fail-closed citation check in the
brief; relevance shown as a ranking signal, not confidence. Change
assurance no longer probes the sidecar unless PROJECTLENS_PRECEDENT_RAG_URL
is set, and rejects multi-project XER files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add requirements-browser.txt and make install-browser (Playwright only),
a parser compatibility browser suite and contract doc, assert zero
sidecar requests in static mode, and write screenshots to
PROJECTLENS_SCREENSHOT_DIR (/tmp default) instead of docs/assets.
Add make public-precedents.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The legacy clean_dataframe overwrote real schedule progress with
np.random values: rebalancing schedules that were >80% complete,
jittering zeros, inventing values for missing rows, then recomputing
status from the invented numbers. Real values now pass through with
unit normalisation only; missing values are derived solely from an
unambiguous source status, otherwise left NaN.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Add 'eval --offline' (hashing embedder, no Gemini/LangSmith calls) and
make precedent-eval-offline. Record hit@5 = 7/8 on the 189-record public
GMPP corpus in the README with limits, lock it with a test, and pin the
Verify and deploy badge to push runs on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@MatthewPaver
MatthewPaver merged commit 51852a9 into main Oct 6, 2026
2 checks passed
@MatthewPaver
MatthewPaver deleted the chore/september-fixes branch October 6, 2026 16:10
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