File size: 3,032 Bytes
0e239c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
  "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."
  }
}