Skip to content

Add vitest + pytest verification baseline and CI#8

Merged
tylerpearson merged 2 commits into
mainfrom
advisor/002-verification-baseline
Jul 1, 2026
Merged

Add vitest + pytest verification baseline and CI#8
tylerpearson merged 2 commits into
mainfrom
advisor/002-verification-baseline

Conversation

@tylerpearson

Copy link
Copy Markdown
Owner

Executes plans/002-verification-baseline.md. Advisor-reviewed: 25 vitest + 25 pytest re-run locally, test assertions audited, no source-behavior changes, actions SHA-pinned.

  • vitest + @maplibre/maplibre-gl-style-spec: legal.ts expressions evaluated semantically (22 cases incl. wrapping windows, delimiter safety, marked leap-year characterization for plan 004); escape.ts covered (3 cases)
  • pytest: normalize.py window parsing/feature normalization characterized (25 assertions incl. the marked representative-window collapse for plan 005)
  • make test runs both suites; .github/workflows/ci.yml runs them on PRs and main pushes

🤖 Generated with Claude Code

https://claude.ai/code/session_01HNxgKNjtfeKtxYvN34KbGs

Establishes the one-command verification story for the legal-accuracy
core: 22 vitest cases characterizing pipeline/legal.ts's MapLibre
expression semantics (evaluated via @maplibre/maplibre-gl-style-spec,
not raw array shape), 25 pytest cases characterizing
pipeline/normalize.py's season-window parsing, a `make test` target,
and a ci.yml workflow running both suites on PRs and pushes to main.

web/src/escape.test.ts was NOT written: web/src/escape.ts does not
exist at this branch's base (it only exists on an unmerged commit,
2a72f06, on advisor/integration), contrary to the plan's stated
context. See PR/report for details.
Completes plan 002 Step 2 case 8, deferred earlier because
web/src/escape.ts did not exist at the original branch base. The
branch is now rebased onto origin/main (6f686a7 merged), where the
shared esc() helper lives.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ca-mvum with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d64015
Status:⚡️  Build in progress...

View logs

@tylerpearson tylerpearson merged commit 0747c7a into main Jul 1, 2026
2 of 3 checks passed
@tylerpearson tylerpearson deleted the advisor/002-verification-baseline branch July 2, 2026 04:55
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