AstrAI/scripts/eval
ViperEkura c17aa0dc54 fix: eval script bugs and add missing features
- evaluate_mmlu: fix double few-shot injection (build_prompt no longer
  adds few-shot, apply_chat handles it once)
- evaluate_humaneval: fix pass@k k-filtering to be per-problem instead
  of using first problem's n globally; reuse ProcessPoolExecutor across
  problems; fix closure UnboundLocalError in test_one; handle None in
  report when k > n
- evaluate_ifd: remove dead code (score_plain/score_messages); add
  multi-file/directory input support with --input_path/--output_dir;
  add summary.json aggregation and --max_samples; add --dtype flag
- evaluate_ppl: add --device and --dtype flags (was hardcoded to cuda)
- evaluate_ifeval: fix docstring path (scripts/tools -> scripts/eval)
- analyze_weights: add --output JSON export; fix dead code filter
  ("_norm" not in r was always True)
2026-07-17 14:02:58 +08:00
..
analyze_weights.py fix: eval script bugs and add missing features 2026-07-17 14:02:58 +08:00
evaluate_humaneval.py fix: eval script bugs and add missing features 2026-07-17 14:02:58 +08:00
evaluate_ifd.py fix: eval script bugs and add missing features 2026-07-17 14:02:58 +08:00
evaluate_ifeval.py fix: eval script bugs and add missing features 2026-07-17 14:02:58 +08:00
evaluate_mmlu.py fix: eval script bugs and add missing features 2026-07-17 14:02:58 +08:00
evaluate_ppl.py fix: eval script bugs and add missing features 2026-07-17 14:02:58 +08:00
evaluate_rouge.py feat : add ROUGE evaluation script (manual impl, no deps) 2026-07-05 01:15:01 +08:00