Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
2.91 kB
{
"schema_version": 1,
"instance_id": "cloudnative-kong-14360",
"kind": "command_contract",
"network": "none",
"repeat_count": 1,
"required_regression_worlds": [
"all_buggy",
"all_fixed"
],
"test_files": [],
"specifications": [],
"commands": [
{
"repository": "candidate",
"container_path": "/testbed/Kong/kong",
"setup_command": null,
"environment": {},
"test_cwd": "/testbed/Kong/kong",
"evaluation_setup_command": "KONG_ROOT=/testbed/Kong/kong KONG_NGINX_MODULE_ROOT=/testbed/Kong/lua-kong-nginx-module ARTIFACT_ROOT=/artifacts/89b9-upstream-latency bash /testbed/Kong/kong/test/crossrepo/upstream_latency_runtime.sh --build",
"evaluation_setup_cwd": "/testbed/Kong/kong",
"evaluation_setup_order": 0,
"fail_to_pass": "KONG_ROOT=/testbed/Kong/kong KONG_NGINX_MODULE_ROOT=/testbed/Kong/lua-kong-nginx-module ARTIFACT_ROOT=/artifacts/89b9-upstream-latency bash /testbed/Kong/kong/test/crossrepo/upstream_latency_runtime.sh --probe",
"pass_to_pass": "test -x /artifacts/89b9-upstream-latency/install/nginx/sbin/nginx && stat -c \"baseline_nginx=%n mode=%a size=%s\" /artifacts/89b9-upstream-latency/install/nginx/sbin/nginx"
},
{
"repository": "kong_lua_nginx_module",
"container_path": "/testbed/Kong/lua-kong-nginx-module",
"setup_command": null,
"environment": {},
"test_cwd": "/testbed/Kong/lua-kong-nginx-module",
"fail_to_pass": "KONG_ROOT=/testbed/Kong/kong KONG_NGINX_MODULE_ROOT=/testbed/Kong/lua-kong-nginx-module ARTIFACT_ROOT=/artifacts/89b9-upstream-latency bash /testbed/Kong/kong/test/crossrepo/upstream_latency_runtime.sh --probe",
"pass_to_pass": "test -x /artifacts/89b9-upstream-latency/install/nginx/sbin/nginx && stat -c \"baseline_nginx=%n mode=%a size=%s\" /artifacts/89b9-upstream-latency/install/nginx/sbin/nginx"
}
],
"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."
}
}