Skip to content

Theme-overlap analysis: verify train/eval split is not theme-contaminated #60

Description

@sebasmos

Why this matters for the paper

Deduplication by prompt_id does not prevent shared rubric themes (emergency_referrals, hedging, context_seeking) from appearing in both train and eval. A reviewer will ask whether HealthBench score gains reflect rubric pattern memorization rather than generalization. Without checking tag distribution across splits, the evaluation cannot distinguish learning from leakage.

Scope

  • Extend scripts/check_dataset_overlap.py to report example_tags distribution across train (data/sft/train.jsonl) vs eval (data/raw/hard_200_sample_ids.json) splits, not just prompt_id overlap.
  • Report tag frequency counts and flag any tag that appears >2x more in train than eval (or vice versa).
  • If the split is unbalanced, stratify the 200-example holdout by theme and report per-theme scores in the eval pipeline.

Done when

check_dataset_overlap.py prints a tag-frequency table and a list of imbalanced tags. If imbalance is found, per-theme eval scores are reported in the results JSON.

Effort

Small — extend existing script, ~2h.

Good for

sahilk873 or whoever runs the next grading pass.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions