Skip to content

fix(validate): widen the dataset leak check beyond the gold ECCN (description + item_name, EAR99 rows included) - #1

Open
isaac-maya wants to merge 1 commit into
IAPS-AI:mainfrom
isaac-maya:widen-validator-leak-check
Open

isaac-maya wants to merge 1 commit into
IAPS-AI:mainfrom
isaac-maya:widen-validator-leak-check

Conversation

@isaac-maya

Copy link
Copy Markdown

Discovery. Found while running the validator (scripts/build_dataset.py) on my own candidate file. Enforces the curation rule already stated in data/schema.md.

What it does: widens the dataset validator's leak check so it catches what mine caught:

  • any ECCN-shaped number in the description or item name (before: only the gold answer itself)
  • the words ECCN / EAR99 (before: EAR99 rows were not checked at all)

Why: the story is in the data PR. The validator passed my file, and my own stricter check then caught two of my descriptions leaking: one named a related entry (3A090.a against a 4A090.a gold), one ended with "no license is required under the 4A003 note". A leak turns the question into a lookup, which data/schema.md says the benchmark must not become. This makes the tooling enforce the rule the docs already state.

Benign phrases like "numerically controlled oscillator" do not trigger it. 50 tests pass (two new integration tests pin that validate now exits nonzero on a leaking file, not just prints), and the 34 published questions (data/questions.jsonl) come back clean. No false alarms.

… description and item_name, EAR99 rows included
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