Add directory-style agent evaluation workflow and helper scripts#16
Open
Add directory-style agent evaluation workflow and helper scripts#16
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
reference.pyandagent_prompt.txtso agents write a singlefinal_response.txt.Description
scripts/agent_eval/prepare_workspaces.pywhich creates per-op task directories withreference.py,agent_prompt.txt, and amanifest.json, and supports--readonlyto mark files read-only.scripts/agent_eval/launch_agent.pywhich runs an agent command template across task directories, supports placeholders ({prompt_file},{prompt},{workdir}), optional--auto-yolobehaviour, writesagent_run.jsonper task, and an overallagent_launch_summary.json.scripts/agent_eval/collect_results.pywhich invokeseval_single_runner.pyon each agent-producedfinal_response.txt, writeseval_result.jsonper task, and emits aggregated JSON/CSV summaries.scripts/agent_eval/README.mdand update top-levelREADME.mdwith instructions and example invocations showing the three-step flow (prepare_workspaces.py,launch_agent.py,collect_results.py).Testing
Codex Task