Add eval analysis scripts and precision sample#65
Merged
Conversation
- analyze_multihop.py: per-error-type breakdown for multi-hop failures - analyze_sh_drop.py: dev vs held-out single-hop comparison - bootstrap_ci.py: bootstrap 95% CI + paired significance testing - sample_facts_for_precision.py: stratified sampling for precision eval - precision_sample.csv: human-annotated 100-fact precision sample (52%)
- analyze_sh_drop.py: remove unused Counter import, fix bare f-string - bootstrap_ci.py: rewrite lambda as def (E731), fix two bare f-strings - sample_facts_for_precision.py: remove unused os import, sort imports (I001)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Files
eval/analyze_multihop.pyeval/analyze_sh_drop.pyeval/bootstrap_ci.pyeval/sample_facts_for_precision.pyeval/results/precision_sample.csvis_relevantcolumn filled during manual review (52% precision)Test plan
python eval/bootstrap_ci.pyruns without error against existing results JSONspython eval/analyze_multihop.pyruns without errorpython eval/analyze_sh_drop.pyruns without errorprecision_sample.csvopens cleanly andis_relevantcolumn is present