Skip to content

test(260617-v4e): real production golden corpus — 400 artifacts + snapshots#29

Merged
Afgan0r merged 1 commit into
masterfrom
quick/260617-v4e-golden-corpus
Jun 18, 2026
Merged

test(260617-v4e): real production golden corpus — 400 artifacts + snapshots#29
Afgan0r merged 1 commit into
masterfrom
quick/260617-v4e-golden-corpus

Conversation

@Afgan0r

@Afgan0r Afgan0r commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

What

Populates the golden oracle (landed in #28) with the real production artifact corpus, replacing the parser-2 floor-only archive.

  • 400 real ParserArtifacts pulled from the staging parser_results.raw_snapshot (343 success + 57 partial, 0 failed) — exactly what server-2 ingested in production.
  • + 9 parser-2 floor edge cases folded in (superset) → 409-artifact corpus, artifacts.tar.gz = 456 KB gzipped.
  • 400 new pipeline-*.snap.json characterization snapshots (the pinned current behavior).

Determinism

  • pnpm test:golden run twice: first wrote 400 snapshots, second compared all 409 → 426 passed, 0 rewrites. The normalizer (uuid→natural key, now()-timestamps redacted, rows sorted) holds across real production data — no leaked non-deterministic field.

Gate

  • Data-only change under src/test/golden/** (excluded from test/test:coverage/verify). pnpm verify green, coverage 100%. The 409-case live oracle runs in the master-only golden-oracle CI job (skips on this PR).

Captured via root + kubectl exec postgres-0 -- psql over the k3s tunnel; no credentials or host values committed.

🤖 Generated with Claude Code

…shots

Pulled 400 real ParserArtifacts (343 success + 57 partial) from staging parser_results.raw_snapshot via root+kubectl; folded the 9 parser-2 floor edge cases → 409-artifact corpus (gzip 456K). Regenerated + determinism-verified (2x test:golden, 426 passed, 0 rewrites). verify green; golden stays out of verify/coverage.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Afgan0r Afgan0r merged commit ec78a83 into master Jun 18, 2026
4 checks passed
@Afgan0r Afgan0r deleted the quick/260617-v4e-golden-corpus branch June 18, 2026 02:11
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