[kimi] Refactor autoresearch.py -> SystemExperiment class (#906) #1244

Merged
Rockachopa merged 1 commits from kimi/issue-906 into main 2026-03-23 23:28:55 +00:00

1 Commits

Author SHA1 Message Date
kimi
b2f970b77c refactor(autoresearch): refactor autoresearch.py -> SystemExperiment class
Some checks failed
Tests / lint (pull_request) Failing after 16s
Tests / test (pull_request) Has been skipped
- Add run() method to SystemExperiment class for full experiment loop
- Add create_branch() method for git branch management
- Add metric_fn parameter for custom metric extraction
- Add revert_on_failure and hypothesis attributes
- Update CLI learn command to use new SystemExperiment.run() method
- Add tests for new functionality (run, create_branch, custom metric_fn)
- Maintain backward compatibility with standalone functions

Refs #906
2026-03-23 19:23:53 -04:00