Silin-Chen's picture
CrossSWE-Bench: current 171-instance release
0e239c6
Raw History Blame Contribute Delete
3.03 kB
{
"schema_version": 1,
"instance_id": "observability-java-sdk-1982",
"kind": "command_contract",
"network": "none",
"repeat_count": 1,
"required_regression_worlds": [
"all_buggy",
"all_fixed"
],
"test_files": [
{
"path": "tests/files/openfeature-java-runtime.py",
"sha256": "576716dae746e8ae0dd4ea309c5472817afebdc5d3957ebb98dc282863117ba6",
"bytes": 2525,
"kind": "evaluation_file",
"original_path": "openfeature-java-runtime.py",
"source": "benchmark-authored:722-minimum-behavior-repair/java_runtime.py"
}
],
"specifications": [],
"commands": [
{
"repository": "java_sdk",
"container_path": "/testbed/open-feature/java-sdk",
"setup_command": "mvn -q -Dmaven.test.skip=true package",
"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/openfeature-java-runtime.py f2p",
"pass_to_pass": "python3 /crossrepo-patches/openfeature-java-runtime.py p2p"
},
{
"repository": "js_sdk",
"container_path": "/testbed/open-feature/js-sdk",
"setup_command": "npm ci",
"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": "npm run test:jest -- --runInBand packages/server/test/multi-provider.spec.ts packages/server/test/open-feature.spec.ts packages/web/test/evaluation-context.spec.ts packages/web/test/multi-provider-web.spec.ts packages/web/test/open-feature.spec.ts",
"pass_to_pass": "npm run test:jest -- --runInBand packages/server/test/client.spec.ts"
}
],
"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."
}
}