Skip to content

Configure outer loop with correct forecastbench benchmark - #162

Merged
lukeinglis merged 3 commits into
mainfrom
factory/run-7346dfc9
Aug 20, 2026
Merged

Configure outer loop with correct forecastbench benchmark#162
lukeinglis merged 3 commits into
mainfrom
factory/run-7346dfc9

Conversation

@lukeinglis

@lukeinglis lukeinglis commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Closes #161

Changes

  • Created .factory/benchmarks/forecastbench.toml — project-local benchmark config with format = "pytest", command = "uv run pytest gate/ -q", timeout = 600, method = "partial_credit". Shadows the incorrect built-in config (which uses format = "json" and command = "python eval_forecast.py") via remote-factory's search-path priority.
  • Added !.factory/benchmarks/ to .gitignore — excludes benchmark configs from the .factory ignore pattern so the TOML is properly tracked.

No Python source files were modified. Gate tests, eval.py, lab_forecaster.py, and score.py are untouched.

Context

Generation 0 of the outer loop ran with --benchmark featurebench (copied from docs) instead of a proper forecastbench config. Remote-factory PR akashgit/remote-factory#1332 added multi-benchmark support with TOML configs and a built-in forecastbench.toml — but that built-in uses JSON format, not our pytest gate. This PR provides the correct project-local override.

lukeinglis and others added 3 commits August 20, 2026 09:23
- Create .factory/benchmarks/forecastbench.toml with pytest format
  and gate test command (shadows incorrect built-in JSON config)
- Fix .factory/outer_loop/config.json benchmark from "featurebench"
  to "forecastbench"
- Add .factory/scripts/trim-backlog.sh workaround for remote-factory
  #1338 (--focus gap)

Addresses #161

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add !.factory/benchmarks/ exclusion to .gitignore so the benchmark
config is tracked while the rest of .factory stays ignored.
Remove config.json and trim-backlog.sh from tracking (runtime/local-only).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Change .factory to .factory/* so git descends into the directory
and evaluates the !.factory/benchmarks/ negation pattern for new files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lukeinglis
lukeinglis marked this pull request as ready for review August 20, 2026 16:14
@lukeinglis
lukeinglis merged commit b7fdaf6 into main Aug 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set up outer loop with multi-benchmark support from remote-factory #1332

1 participant