Skip to content

Evaluate the output file produced by otbench run - #128

Open
rudycelekli wants to merge 1 commit into
facebookresearch:mainfrom
rudycelekli:fix/otb-run-output-path
Open

rudycelekli wants to merge 1 commit into
facebookresearch:mainfrom
rudycelekli:fix/otb-run-output-path

Conversation

@rudycelekli

Copy link
Copy Markdown

otbench run evaluates the unsuffixed output path even when generation writes a different filename for --enable_nothink, --temperature, or --num_gens. Non-default runs fail to find their output or may evaluate an existing older file.

Share the existing generation filename transformation with the run CLI, preserving its model-slash normalization and suffix order. Adds an integration regression that runs the actual CLI and generation script, controls the dataset/model boundary, writes a real output file, and verifies evaluation selects that file. It covers all eight flag combinations against explicit expected filenames; seven fail on main, all eight pass after the change.

Validation: Python 3.9.6, python3 -m unittest discover -s projects/otb/tests -v (1 test, 8 cases passed on this branch), syntax compilation passed. No model/provider calls, GPU run, full-suite run, or hosted CI result is claimed. Based independently on main 6bcc4813bfb72ec1dcec7923e449c027a4d9194e.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant