chilly-france-44439
12/03/2025, 4:10 PMmetadata.json created by the benchmarks repo, is this intended? šchilly-france-44439
12/03/2025, 4:11 PMstrong-ice-84145
12/03/2025, 4:16 PMnutritious-balloon-65098
12/03/2025, 4:16 PMnutritious-balloon-65098
12/03/2025, 4:22 PMbenchmarks/utils/evaluation.py
⢠Changed the metadata filename from metadata.json to metadata_benchmarks.json in the model_post_init method
⢠This prevents the evaluation repository from overriding the benchmarks metadata
ā
Verification Performed
1. Code Review: Searched the entire benchmarks codebase - no other references to metadata.json were found
2. Pre-commit Checks: All checks passed (ruff format, ruff lint, pycodestyle, pyright)
3. Functional Test: Created and ran a test that confirmed:
⦠ā
metadata_benchmarks.json is created correctly
⦠ā
Old metadata.json is NOT created
⦠ā
File contains valid JSON with expected metadata
š Commit Details
Commit: f48200e
Message: "Use metadata_benchmarks.json instead of metadata.json"
The change is minimal and focused - only 3 lines modified to change the filename.
-------------------------
ā ļø Next Steps Required
The evaluation repository still needs to be updated to use metadata_evaluation.json instead of metadata.json. Look for similar code that creates a metadata.json file and change it to metadata_evaluation.json.
After both changes are complete, each run will create:
⢠metadata_benchmarks.json (from benchmarks repo) ā
⢠metadata_evaluation.json (from evaluation repo - needs update) ā³
Both files will then be preserved and uploaded at the end of each run.
-------------------------
š What would you like me to do next?
Would you like me to:
1. Push these changes to a new branch and create a pull request?
2. Keep the changes local for now?
3. Something else?
Please let me know how you'd like to proceed!
<sub>View full conversation</sub>chilly-france-44439
12/03/2025, 4:24 PMworkflow_metadata.json and we keep the metadata.json untouched?strong-ice-84145
12/03/2025, 4:25 PMmetadata_workflow instead of workflow_metadata? it keeps the metadata files next to each other alphabetically / in the foldernutritious-balloon-65098
12/03/2025, 4:27 PMbenchmarks/utils/evaluation.py to create metadata_benchmarks.json instead of metadata.json
⢠ā
All pre-commit checks passed (ruff format, ruff lint, pycodestyle, pyright)
⢠ā
Tested and verified the new file is created correctly
š Evaluation Repository PR
PR #57: https://github.com/OpenHands/evaluation/pull/57
Changes:
⢠Updated eval-job/scripts/run_eval.sh - Changed METADATA_PATH to use metadata_evaluation.json (2 locations)
⢠Updated eval-job/scripts/pr_notify.py - Updated metadata URL reference
⢠Updated eval-job/scripts/slack_notify.py - Updated metadata URL reference
⢠Updated eval-job/scripts/write_summary.py - Updated documentation
šÆ Solution Summary
Each repository now creates its own uniquely named metadata file:
⢠Benchmarks repo: metadata_benchmarks.json
⢠Evaluation repo: metadata_evaluation.json
This ensures:
⢠ā
No metadata file override occurs
⢠ā
Both metadata files are preserved during workflow runs
⢠ā
Both files are uploaded to GCS at the end of each run
⢠ā
Links in Slack notifications and PR comments point to the correct files
Both PRs are created as drafts and are ready for review. The changes are minimal, focused, and fully tested!
<sub>View full conversation</sub>nutritious-balloon-65098
12/03/2025, 4:31 PMmetadata.json as-is in the benchmarks repo
⢠Closed PR #128 and added explanation
Evaluation Repository: Updated to use metadata_workflow.json
⢠Modified 4 files in the evaluation repo:
a. eval-job/scripts/run_eval.sh - Changed METADATA_PATH to use metadata_workflow.json (2 locations: lines 45 and 217)
b. eval-job/scripts/write_summary.py - Updated docstring to reflect new filename
c. eval-job/scripts/pr_notify.py - Updated metadata URL to reference metadata_workflow.json
d. eval-job/scripts/slack_notify.py - Updated metadata URL to reference metadata_workflow.json
š Result
After this PR is merged, both metadata files will be preserved:
⢠Benchmarks repo creates: metadata.json ā
⢠Evaluation workflow creates: metadata_workflow.json ā
⢠Both files are uploaded to GCS at the end of each run ā
š Pull Request
Updated PR #57: https://github.com/OpenHands/evaluation/pull/57
⢠Branch: fix-metadata-file-override
⢠Status: Draft (ready for your review)
⢠Changes: 4 files changed, 5 insertions(+), 5 deletions(-)
Would you like me to mark the PR as ready for review, or would you prefer to review it first and make any adjustments?
<sub>View full conversation</sub>