Add hybridgym_funclocalize benchmark#640
Merged
Merged
Conversation
Collaborator
|
@GaokaiZhang thank you! could you fix precommit checks? |
Contributor
Author
|
Hi I have done some fixes about the pre-commit checks and also pushed the other three tasks in Hybrid-Gym. Thanks for the notification. |
Collaborator
✅ Minimal Testing CompleteSuccessfully tested PR #640 with 1 instance using Docker workspace. Test Results
Validation ✅
Test Command# Inference
uv run hybridgym-funclocalize-infer .llm_config/sonnet-4-5.json \
--workspace docker \
--n-limit 1 \
--note "PR640_minimal_test"
# Evaluation
uv run hybridgym-funclocalize-eval ./eval_outputs/.../output.jsonl \
--run-id PR640_minimal_testReport{
"total_instances": 1,
"completed_instances": 1,
"resolved_instances": 1,
"unresolved_instances": 0,
"error_instances": 0,
"empty_patch_instances": 0
}The benchmark is ready for merge! 🚀 |
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.
Summary
hybridgym_funclocalize,hybridgym_depsearch,hybridgym_funcgen,hybridgym_issuelocalize) from Hybrid-Gym ("Training Coding Agents to Generalize Across Tasks").python:3.11-bookwormas the base image and clone the target repo at runtime. For docker workspace the agent server image is built on-the-fly; for remote workspace a single static image must be pre-built per benchmark (see below).yiqingxyq/repost:v0Docker image for running RepoST test scripts.hybrid-gym/hybrid_gym_func_localize,hybrid-gym/hybrid_gym_dep_search,hybrid-gym/hybrid_gym_func_gen,SWE-Gym/SWE-Gym-Raw.Evaluationsubclass pattern, module-levelget_default_toolsimport.Remote workspace image
Each benchmark needs a single static agent server image (unlike swebench which needs per-instance images). After merge, build and push once per benchmark:
Until then, users can build to their own registry (see each benchmark's README).
Test plan
run_inferandeval_inferfor all 4 benchmarks)test_metrics.pyupdated with hybridgym-specific test instances and metadata