Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
3.44 kB
{
"schema_version": 1,
"instance_id": "cloudnative-kong-operator-1723",
"kind": "command_contract",
"network": "none",
"repeat_count": 3,
"required_regression_worlds": [
"all_buggy",
"all_fixed",
"candidate_only",
"kong_kubernetes_ingress_controller_only"
],
"test_files": [
{
"path": "tests/files/operator_contract_test.go",
"sha256": "521217e97d8e72bf82bce9612e4e7ee1114b6ac54086557d192dbe1594f0c276",
"bytes": 6968,
"kind": "evaluation_file",
"original_path": "operator_contract_test.go",
"encoding": "utf-8"
},
{
"path": "tests/files/kic_contract_r3_test.go",
"sha256": "1e754fe5af0f6bd08864e62ddacc4c8ec2833cf34a0db17258f07c4336be1abc",
"bytes": 6905,
"kind": "evaluation_file",
"original_path": "kic_contract_r3_test.go",
"encoding": "utf-8"
},
{
"path": "tests/files/run_behavior_contract_r3.py",
"sha256": "e523fbbfa66339c94484ff1a0366c02208f88374fc609e77a7f6d8e25c354f62",
"bytes": 2830,
"kind": "evaluation_file",
"original_path": "run_behavior_contract_r3.py",
"encoding": "utf-8"
}
],
"specifications": [],
"commands": [
{
"repository": "candidate",
"container_path": "/testbed/Kong/kong-operator",
"setup_command": null,
"environment": {},
"test_cwd": null,
"evaluation_setup_command": null,
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "python3 /crossrepo-patches/run_behavior_contract_r3.py operator f2p",
"pass_to_pass": "python3 /crossrepo-patches/run_behavior_contract_r3.py operator p2p"
},
{
"repository": "kong_kubernetes_ingress_controller",
"container_path": "/testbed/Kong/kubernetes-ingress-controller",
"setup_command": null,
"environment": {},
"test_cwd": null,
"evaluation_setup_command": null,
"evaluation_setup_cwd": null,
"evaluation_setup_order": null,
"evaluation_ready_command": null,
"evaluation_teardown_command": null,
"evaluation_config": null,
"fail_to_pass": "python3 /crossrepo-patches/run_behavior_contract_r3.py kic f2p",
"pass_to_pass": "python3 /crossrepo-patches/run_behavior_contract_r3.py kic p2p"
}
],
"execution_policy": {
"test_patches": "Apply in listed order after candidate patches, in an isolated evaluator workspace.",
"commands": "Complete source setup in setup_order, then evaluator setup in evaluation_setup_order, ready checks, pass_to_pass and fail_to_pass commands; teardown in reverse evaluator setup order.",
"world_placeholder": "A world labels the prepared source state for both regression and behavior commands: all_buggy for base, all_fixed for gold, candidate for submitted patches.",
"success": "All required behavioral and regression tests pass; infrastructure failures are not behavioral outcomes.",
"isolation": "The agent receives base sources and statement only; evaluation and reference materials remain outside its workspace."
},
"availability": {
"test_materials": "included",
"portable_environment": "pending",
"dependencies": "Some commands require external toolchains or dependency assets; complete portable recipes are a follow-up release."
}
}