[claude] Add timmy learn autoresearch entry point (#907) #1240
Reference in New Issue
Block a user
Delete Branch "claude/issue-907"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #907
What
Implements the
python -m timmy.cli learnautoresearch entry point.Changes
src/timmy/autoresearch.pySystemExperimentclass encapsulating the full hypothesis → edit → tox → evaluate → commit/revert loop_extract_pass_rate()and_extract_coverage()helpers for built-in metric extractionunit_pass_rate,coverage) and lower-is-better (val_bpb, custom)src/timmy/cli.pylearnsubcommand with flags:--target,--metric,--budget,--max-experiments,--dry-run,--tox-env,--modelprogram.mdfor research direction; degrades gracefully if file is absentprogram.mdtimmy learnTests
tests/timmy/test_autoresearch.py— 16 new tests coveringSystemExperimentmethods and helper functionstests/timmy/test_cli_learn.py— 5 tests covering CLI flags, dry-run behaviour, and help textAll 400 unit tests pass