Skip to content

Throwaway, do not merge: #127 §3.3 CI-gating check with a deliberate manifest mutation - #130

Closed
quantecon-services wants to merge 2 commits into
mainfrom
claude/issue-127-validation-jwcfam
Closed

Throwaway, do not merge: #127 §3.3 CI-gating check with a deliberate manifest mutation#130
quantecon-services wants to merge 2 commits into
mainfrom
claude/issue-127-validation-jwcfam

Conversation

@quantecon-services

Copy link
Copy Markdown
Collaborator

Do not merge. This draft PR exists only to run the check in #127 section 3.3: does validate-datasets actually gate a PR, and does consumed-file-check stay green when only a manifest is wrong?

What is in it

  • Mutation (i)lectures/lingcod_msy_recovery.csv.yml declares known_nulls: {F_over_Fmsy: 2} where the committed bytes hold exactly one null. No data bytes change.

    Expected: validate-datasets fails with ::error file=lectures/lingcod_msy_recovery.csv.yml::F_over_Fmsy: 1 nulls, manifest says exactly 2; consumed-file-check passes (every hash still matches and CATALOG.md is unchanged, verified locally before pushing).

  • A second commit with mutation (a) (an extra column appended to gdp_growth_annual.csv) may follow. Expected: validate-datasets fails with ::error file=lectures/gdp_growth_annual.csv.yml::unexpected column(s) not claimed by any entry: ['extra'] and consumed-file-check fails on the sha256 mismatch, because it hashes every file with a recorded hash regardless of consumers — the "stays green" expectation in VALIDATION: independent review of the 2026-09-07 schema-decisions, rename and manifest-driven validator work #127 holds for (i), not for (a).

What happens next

The results are recorded in the #127 verification comment, this PR is closed without merging, and the branch is reset to main.

🤖 Generated with Claude Code

https://claude.ai/code/session_015fLD6aY4tU7QZmwWCw6a2T


Generated by Claude Code

…t in lingcod_msy_recovery.csv.yml

Declares `F_over_Fmsy: 2` where the bytes hold one null, to confirm on a
draft PR that validate-datasets goes red with a ::error annotation while
consumed-file-check stays green (the data bytes are untouched). Not for
merging: the PR is closed once the checks report and this branch is reset
to main.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015fLD6aY4tU7QZmwWCw6a2T
…gdp_growth_annual.csv

Adds an `extra` column the manifest does not claim, to confirm on a draft
PR that validate-datasets goes red with a ::error annotation. Not for
merging: the PR is closed once the checks report and this branch is reset
to main.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015fLD6aY4tU7QZmwWCw6a2T
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.

2 participants