servicesToptal commited on
Commit
666125b
·
verified ·
1 Parent(s): 29ce47f

Update dataset

Browse files
harbor/README.md CHANGED
@@ -1,6 +1,6 @@
1
  # ExpertCrowd SWE tasks: runnable Harbor packages
2
 
3
- This folder makes 8 ExpertCrowd software-engineering tasks runnable end
4
  to end with [Harbor](https://github.com/harbor-framework/harbor) and Docker, and
5
  nothing else. Each task is a real repository at a fixed commit, a written
6
  request, and the original hidden rubric that scores a change to that repository.
@@ -15,7 +15,7 @@ data, can reach them.
15
 
16
  ## Two ways to run a task
17
 
18
- - **With Harbor, on your own machine.** 8 tasks are packaged for
19
  this under `tasks/`. Everything on this page up to "Tasks without a Harbor
20
  package" is about this route.
21
  - **On HUD, the platform the tasks were written for.** All 24 tasks run there,
@@ -108,6 +108,7 @@ with these results.
108
 
109
  | Task folder | `instance_id` in the dataset | Language | Criteria | Empty change | Reference fix | Agent image scan |
110
  | --- | --- | --- | --- | --- | --- | --- |
 
111
  | `bazel_remote_disk_eviction_accounting_contract` | `buchgr__bazel-remote-bazel_remote_disk_eviction_accounting_contract-afe5ea56` | Go | 8 | 0 | 1 | clean |
112
  | `celery_retry_expires_countdown_contract` | `celery__celery-celery_retry_expires_countdown_contract` | Python | 9 | 0 | 1 | clean |
113
  | `coredns_rewrite_svcb_opt` | `coredns__coredns-coredns__4097` | Go | 7 | 0 | 1 | clean |
@@ -317,5 +318,5 @@ docker run --rm -i --network none ec-swe-<name>:source-v<n> /opt/hudvenv/bin/pyt
317
  `env.py`; there is no `tasks._grade`, so the script above does not apply.
318
  Not built or run here.
319
 
320
- **Packaged, not yet in `tasks/`.** `badger`, `geode`, `kratos`, `open-xml-sdk`, `openfire`, `umya`, `zettlr`: its build files were given a neutral environment name; the package is being rebuilt and re-checked on them.
321
 
 
1
  # ExpertCrowd SWE tasks: runnable Harbor packages
2
 
3
+ This folder makes 9 ExpertCrowd software-engineering tasks runnable end
4
  to end with [Harbor](https://github.com/harbor-framework/harbor) and Docker, and
5
  nothing else. Each task is a real repository at a fixed commit, a written
6
  request, and the original hidden rubric that scores a change to that repository.
 
15
 
16
  ## Two ways to run a task
17
 
18
+ - **With Harbor, on your own machine.** 9 tasks are packaged for
19
  this under `tasks/`. Everything on this page up to "Tasks without a Harbor
20
  package" is about this route.
21
  - **On HUD, the platform the tasks were written for.** All 24 tasks run there,
 
108
 
109
  | Task folder | `instance_id` in the dataset | Language | Criteria | Empty change | Reference fix | Agent image scan |
110
  | --- | --- | --- | --- | --- | --- | --- |
111
+ | `journal_recovery_after_unclean_stop` | `dgraph-io__badger-journal_recovery_after_unclean_stop` | Go | 8 | 0 | 1 | clean |
112
  | `bazel_remote_disk_eviction_accounting_contract` | `buchgr__bazel-remote-bazel_remote_disk_eviction_accounting_contract-afe5ea56` | Go | 8 | 0 | 1 | clean |
113
  | `celery_retry_expires_countdown_contract` | `celery__celery-celery_retry_expires_countdown_contract` | Python | 9 | 0 | 1 | clean |
114
  | `coredns_rewrite_svcb_opt` | `coredns__coredns-coredns__4097` | Go | 7 | 0 | 1 | clean |
 
318
  `env.py`; there is no `tasks._grade`, so the script above does not apply.
319
  Not built or run here.
320
 
321
+ **Packaged, not yet in `tasks/`.** `geode`, `kratos`, `open-xml-sdk`, `openfire`, `umya`, `zettlr`: its build files were given a neutral environment name; the package is being rebuilt and re-checked on them.
322
 
harbor/checksums.json CHANGED
@@ -1,5 +1,10 @@
1
  {
2
  "build_images.py": "5c2f827a1350e6c455b04e6ea229ecef2b4a43ced0e4b774148deeabba8db303",
 
 
 
 
 
3
  "evidence/bazel-remote/agent-image-scan.txt": "5262fa3d7a3496c8ac83881c2f3afb3f9954991895cf1e7fc860368993d0d122",
4
  "evidence/bazel-remote/native-reference.json": "f6810255455301e3b7e0abfccd82885b73e0e8c22a7e91ec6b2460a2ba7206df",
5
  "evidence/bazel-remote/reports/noop.json": "2b5c6f94da4d2c6d9c860d3b533f5f34c794e228149e669a857bc40808afc941",
@@ -48,8 +53,8 @@
48
  "evidence/zod/reports/noop.json": "27c567c24789b240b14d24cb2d25a9e9151cb3d83c18e74dbb0559cc86cec2c8",
49
  "evidence/zod/reports/reference.json": "c77ba9fd4d0e99f08abd78e2a7100e691c46b890be98516c63a94803944935e8",
50
  "evidence/zod/summary.json": "258f27fc7d7f73e309197a549fff28c6593289b5f939268b77c3cd8dccc6137e",
51
- "manifest.json": "8c62e515743acb89e038ca06cc7f6db2982beeb948f21f4159bae69ceadaef74",
52
- "README.md": "3b6273f336b15a70c66acece4c64abcc566dc512d11759b898347a725b9df9ac",
53
  "run_checks.py": "7b6e6b1b73094340091cfa149c2651d9090fd3d2966499e22fecfae78b496634",
54
  "sources/aioftp-v11/.dockerignore": "ecdcac502122148f8a35d7f4836863e16e6dbd07228292aabfe6d94ec881b59b",
55
  "sources/aioftp-v11/.gitignore": "cc4a0a767c03feb5e81b43560711e3260d719b16dcfde27af0fad38667b9f281",
@@ -1095,7 +1100,22 @@
1095
  "tasks/epicyon_deleted_post_announce_cache_contract/tests/evidence.py": "3e22e7f7c1bcc06ed05ae9a94cc700bee16540863d1f2985d3a58cad7a709199",
1096
  "tasks/epicyon_deleted_post_announce_cache_contract/tests/test.sh": "02c7fe9b4c0389ebd3153ee32e124d4448fd85ca67c203a2f40208a51fd2bbc5",
1097
  "tasks/epicyon_deleted_post_announce_cache_contract/tests/verify.py": "a91257b1582f794ffacd8519a92883daaa08d7cb073f0b34219028dea3364431",
1098
- "tasks/manifest.json": "e929f1d72a22f36231c5fdde19618086fabf4d85f3b22d6fe3dc9c0c0cf78b9a",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1099
  "tasks/microblogpub_deleted_object_resurrect_lookup_contract/environment/capture.py": "77c3c482a5590c9cbfc8489c556a8d57b150a0850baee666656f1b0d0d84a9f9",
1100
  "tasks/microblogpub_deleted_object_resurrect_lookup_contract/environment/capture_submission.py": "85fe091fee151a60d43160dd1cadd83edf1218844c2fb248e88dbbab22df60f8",
1101
  "tasks/microblogpub_deleted_object_resurrect_lookup_contract/environment/docker-compose.yaml": "b07573ec6bd178357718fde3cfb9df44a1a8bd4a87c7b091c8caff1807848b1a",
 
1
  {
2
  "build_images.py": "5c2f827a1350e6c455b04e6ea229ecef2b4a43ced0e4b774148deeabba8db303",
3
+ "evidence/badger/agent-image-scan.txt": "d708a43a7a1d9edce90268ed1b43e91da81884ccfeb67dfdb10eb586295932c9",
4
+ "evidence/badger/native-reference.json": "c1e76338352da1c6fe6257181cefc3abdef6286ed2506e8d4bd09abdda4c97df",
5
+ "evidence/badger/reports/noop.json": "d6d2c4016c8cf206932d8402e90df2b39e4f7d29b58ed31aafd3d9c108019b16",
6
+ "evidence/badger/reports/reference.json": "17c8e8eb5e5ebb74a66e9a1b85b4f02bd8a24718a5dab445726ca1bbaf016416",
7
+ "evidence/badger/summary.json": "4c661bd28b209c8c5a3a90c4639e1132b52d1cebd9a96457b63d2d177569d2d7",
8
  "evidence/bazel-remote/agent-image-scan.txt": "5262fa3d7a3496c8ac83881c2f3afb3f9954991895cf1e7fc860368993d0d122",
9
  "evidence/bazel-remote/native-reference.json": "f6810255455301e3b7e0abfccd82885b73e0e8c22a7e91ec6b2460a2ba7206df",
10
  "evidence/bazel-remote/reports/noop.json": "2b5c6f94da4d2c6d9c860d3b533f5f34c794e228149e669a857bc40808afc941",
 
53
  "evidence/zod/reports/noop.json": "27c567c24789b240b14d24cb2d25a9e9151cb3d83c18e74dbb0559cc86cec2c8",
54
  "evidence/zod/reports/reference.json": "c77ba9fd4d0e99f08abd78e2a7100e691c46b890be98516c63a94803944935e8",
55
  "evidence/zod/summary.json": "258f27fc7d7f73e309197a549fff28c6593289b5f939268b77c3cd8dccc6137e",
56
+ "manifest.json": "0731d94de0a563fba382589e76d678c9ea096cad5c97438be1a7c7d22b7489f6",
57
+ "README.md": "98bf2c1848b3c2b0fde0050f193faa0526c72a007ea0dfd01b755922bce77c8d",
58
  "run_checks.py": "7b6e6b1b73094340091cfa149c2651d9090fd3d2966499e22fecfae78b496634",
59
  "sources/aioftp-v11/.dockerignore": "ecdcac502122148f8a35d7f4836863e16e6dbd07228292aabfe6d94ec881b59b",
60
  "sources/aioftp-v11/.gitignore": "cc4a0a767c03feb5e81b43560711e3260d719b16dcfde27af0fad38667b9f281",
 
1100
  "tasks/epicyon_deleted_post_announce_cache_contract/tests/evidence.py": "3e22e7f7c1bcc06ed05ae9a94cc700bee16540863d1f2985d3a58cad7a709199",
1101
  "tasks/epicyon_deleted_post_announce_cache_contract/tests/test.sh": "02c7fe9b4c0389ebd3153ee32e124d4448fd85ca67c203a2f40208a51fd2bbc5",
1102
  "tasks/epicyon_deleted_post_announce_cache_contract/tests/verify.py": "a91257b1582f794ffacd8519a92883daaa08d7cb073f0b34219028dea3364431",
1103
+ "tasks/journal_recovery_after_unclean_stop/environment/capture.py": "77c3c482a5590c9cbfc8489c556a8d57b150a0850baee666656f1b0d0d84a9f9",
1104
+ "tasks/journal_recovery_after_unclean_stop/environment/capture_submission.py": "85fe091fee151a60d43160dd1cadd83edf1218844c2fb248e88dbbab22df60f8",
1105
+ "tasks/journal_recovery_after_unclean_stop/environment/docker-compose.yaml": "b07573ec6bd178357718fde3cfb9df44a1a8bd4a87c7b091c8caff1807848b1a",
1106
+ "tasks/journal_recovery_after_unclean_stop/environment/Dockerfile": "d065f9c815e448d8260e0beec00edfe9d0080cfdb0317dc98ef56955a6655676",
1107
+ "tasks/journal_recovery_after_unclean_stop/environment/sanitize.py": "de556482d17c97d629f663f2cf9120b6388f7131bab7ceab1fce11dff2eff407",
1108
+ "tasks/journal_recovery_after_unclean_stop/instruction.md": "ee7bec9b0af00539f700ca7388f1627028f1d5e422735b7e6ef84046c55685e7",
1109
+ "tasks/journal_recovery_after_unclean_stop/solution/reference.patch": "1027bd83dbb91dd242cc39b17e16c23c3ff4999fdc00f7170453d19e49eabe00",
1110
+ "tasks/journal_recovery_after_unclean_stop/solution/solve.sh": "73c0764b02a4b12da8e8a08afca624ab995bef60e1e4480a53d611635d8cb994",
1111
+ "tasks/journal_recovery_after_unclean_stop/task.toml": "9c53e02635a7cbb6d6ee132caf3fc7482847e59bbc206ec0e036132ab3aca828",
1112
+ "tasks/journal_recovery_after_unclean_stop/tests/config.json": "b5c30ff1db60fa2f10305cc3f444253a63fcb7402ae90af3e6a60ad16ec28ef2",
1113
+ "tasks/journal_recovery_after_unclean_stop/tests/docker-compose.yaml": "8159b0badead234e0b7995f5b2c9d027b665cfb760bf2932d84806393e3cd878",
1114
+ "tasks/journal_recovery_after_unclean_stop/tests/Dockerfile": "af7d3d68ebb5d397e797337a2171e980a71d8d1610b1fc99cc422269bf165d92",
1115
+ "tasks/journal_recovery_after_unclean_stop/tests/evidence.py": "3e22e7f7c1bcc06ed05ae9a94cc700bee16540863d1f2985d3a58cad7a709199",
1116
+ "tasks/journal_recovery_after_unclean_stop/tests/test.sh": "02c7fe9b4c0389ebd3153ee32e124d4448fd85ca67c203a2f40208a51fd2bbc5",
1117
+ "tasks/journal_recovery_after_unclean_stop/tests/verify.py": "a91257b1582f794ffacd8519a92883daaa08d7cb073f0b34219028dea3364431",
1118
+ "tasks/manifest.json": "36ca60b034c7d2ce2d6b4e97fac504fec3f981996697ca756bc44b318469eaf4",
1119
  "tasks/microblogpub_deleted_object_resurrect_lookup_contract/environment/capture.py": "77c3c482a5590c9cbfc8489c556a8d57b150a0850baee666656f1b0d0d84a9f9",
1120
  "tasks/microblogpub_deleted_object_resurrect_lookup_contract/environment/capture_submission.py": "85fe091fee151a60d43160dd1cadd83edf1218844c2fb248e88dbbab22df60f8",
1121
  "tasks/microblogpub_deleted_object_resurrect_lookup_contract/environment/docker-compose.yaml": "b07573ec6bd178357718fde3cfb9df44a1a8bd4a87c7b091c8caff1807848b1a",
harbor/evidence/badger/agent-image-scan.txt ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ needles: 11861
2
+ 3 matching line(s): /workspace/repo/stream_writer_test.go
3
+ 1 matching line(s): /workspace/repo/txn.go
4
+ 11 matching line(s): /workspace/repo/db_test.go
5
+ 1 matching line(s): /workspace/repo/memtable.go
6
+ 9 matching line(s): /workspace/repo/value.go
7
+ 3 matching line(s): /workspace/repo/publisher_test.go
8
+ 1 matching line(s): /workspace/repo/iterator.go
9
+ 5 matching line(s): /workspace/repo/value_test.go
10
+ 1 matching line(s): /workspace/repo/merge_test.go
11
+ 1 matching line(s): /workspace/repo/l0_backpressure_test.go
12
+ 1 matching line(s): /workspace/repo/db2_test.go
13
+ 1 matching line(s): /workspace/repo/integration/lsmbench/main_test.go
14
+ 1 matching line(s): /workspace/repo/integration/lsmbench/main.go
15
+ 1 matching line(s): /workspace/repo/levels_test.go
16
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/policy.go
17
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/ring_test.go
18
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/stress_test.go
19
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/store_test.go
20
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/policy_test.go
21
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/flags.go
22
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mremap_size.go
23
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/rtutil_test.go
24
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap.go
25
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_linux.go
26
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_unix.go
27
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/allocator_test.go
28
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/buffer.go
29
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mremap_nosize.go
30
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/calloc.go
31
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/buffer_test.go
32
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/btree.go
33
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_darwin.go
34
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/calloc_test.go
35
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/histogram.go
36
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/file.go
37
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_wasip1.go
38
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/z_test.go
39
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/file_default.go
40
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_js.go
41
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_windows.go
42
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/simd/add_test.go
43
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/simd/search.go
44
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/simd/asm2.go
45
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/simd/baseline.go
46
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/mmap_plan9.go
47
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/z.go
48
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/flags_test.go
49
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/LICENSE
50
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/btree_test.go
51
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/file_linux.go
52
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/allocator.go
53
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/bbloom_test.go
54
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/z/histogram_test.go
55
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/ttl.go
56
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/sim/sim_test.go
57
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/sim/sim.go
58
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/sketch.go
59
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/ring.go
60
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/cache_test.go
61
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/store.go
62
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/cache.go
63
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/ttl_test.go
64
+ 1 matching line(s): /go/pkg/mod/github.com/dgraph-io/ristretto/v2@v2.2.0/sketch_test.go
65
+ scan finished
66
+ absent: /hud
67
+ absent: /app
68
+ absent: /tests
69
+ present: /opt/task-tools/baseline.git
70
+ reference-patch lines in the agent's tracked files: 14, of which the pristine checkout lacks: 0
71
+ grader lines in the agent's tracked files: 0, of which the pristine checkout lacks: 0
72
+ reference-patch lines in total: 204, grader lines in total: 30152
73
+ private lines in 0 other files outside the checkout: 0, of which upstream lacks: 0
74
+ --- private lines only the agent's checkout holds (expect none)
75
+ --- the agent's checkout: uncommitted changes (expect none), then its history
76
+ eae2288 baseline
harbor/evidence/badger/native-reference.json ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "reward": 1.0,
3
+ "done": true,
4
+ "content": null,
5
+ "info": {},
6
+ "isError": false,
7
+ "subscores": [
8
+ {
9
+ "name": "torn_value_log_tail_keeps_transactions_whole",
10
+ "weight": 0.25,
11
+ "value": 1.0,
12
+ "children": null,
13
+ "info": {
14
+ "exit_code": 0,
15
+ "stdout": "CHECK torn_value_log_tail_keeps_transactions_whole\n a torn value log tail costs whole commits and nothing else\n GREEN the_build_accepts_every_commit scenario c1\n GREEN reopens_read_write 11/11 all cuts of c1\n GREEN history_is_a_prefix 11/11 all cuts of c1\n GREEN no_value_nobody_wrote 11/11 all cuts of c1\n GREEN earlier_version_comes_back 11/11 all cuts of c1\n GREEN nothing_lost_when_the_cut_missed 3/3 miss cuts of c1\nverdict: PASS\nCRITERION torn_value_log_tail_keeps_transactions_whole: PASS\n",
16
+ "stderr": "",
17
+ "_parameters": {
18
+ "command": "bash /hud/grader/run_grading.sh torn_value_log_tail_keeps_transactions_whole 600",
19
+ "cwd": "/workspace/repo",
20
+ "timeout_seconds": 600
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "name": "mixed_version_transaction_whole_after_tear",
26
+ "weight": 0.19,
27
+ "value": 1.0,
28
+ "children": null,
29
+ "info": {
30
+ "exit_code": 0,
31
+ "stdout": "CHECK mixed_version_transaction_whole_after_tear\n a commit whose entries carry different versions from each other survives a tear whole or not at all\n GREEN the_build_accepts_every_commit scenario c3\n GREEN reopens_read_write 14/14 all cuts of c3\n GREEN history_is_a_prefix 14/14 all cuts of c3\n GREEN no_value_nobody_wrote 14/14 all cuts of c3\n GREEN earlier_version_comes_back 14/14 all cuts of c3\n GREEN nothing_lost_when_the_cut_missed 4/4 miss cuts of c3\nverdict: PASS\nCRITERION mixed_version_transaction_whole_after_tear: PASS\n",
32
+ "stderr": "",
33
+ "_parameters": {
34
+ "command": "bash /hud/grader/run_grading.sh mixed_version_transaction_whole_after_tear 600",
35
+ "cwd": "/workspace/repo",
36
+ "timeout_seconds": 600
37
+ }
38
+ }
39
+ },
40
+ {
41
+ "name": "history_comes_back_as_a_prefix",
42
+ "weight": 0.16,
43
+ "value": 1.0,
44
+ "children": null,
45
+ "info": {
46
+ "exit_code": 0,
47
+ "stdout": "CHECK history_comes_back_as_a_prefix\n commits behind the damage \u2014 deletes, inline-only commits, and values in older logs \u2014 decide whether it is a prefix\n GREEN the_build_accepts_every_commit scenario c2\n GREEN reopens_read_write 10/10 all cuts of c2\n GREEN history_is_a_prefix 10/10 all cuts of c2\n GREEN no_value_nobody_wrote 10/10 all cuts of c2\n GREEN keys_in_the_older_logs_survive 10/10 all cuts of c2\n GREEN nothing_lost_when_the_cut_missed 2/2 miss cuts of c2\nverdict: PASS\nCRITERION history_comes_back_as_a_prefix: PASS\n",
48
+ "stderr": "",
49
+ "_parameters": {
50
+ "command": "bash /hud/grader/run_grading.sh history_comes_back_as_a_prefix 600",
51
+ "cwd": "/workspace/repo",
52
+ "timeout_seconds": 600
53
+ }
54
+ }
55
+ },
56
+ {
57
+ "name": "writes_after_recovery_win",
58
+ "weight": 0.12,
59
+ "value": 1.0,
60
+ "children": null,
61
+ "info": {
62
+ "exit_code": 0,
63
+ "stdout": "CHECK writes_after_recovery_win\n a recovered build takes a write and serves it across a close and a reopen\n GREEN the_build_accepts_every_commit scenario c7\n GREEN reopens_read_write 2/2 all cuts of c7\n GREEN history_is_a_prefix 2/2 all cuts of c7\n GREEN no_value_nobody_wrote 2/2 all cuts of c7\n GREEN writes_after_recovery_win 2/2 all cuts of c7\nverdict: PASS\nCRITERION writes_after_recovery_win: PASS\n",
64
+ "stderr": "",
65
+ "_parameters": {
66
+ "command": "bash /hud/grader/run_grading.sh writes_after_recovery_win 600",
67
+ "cwd": "/workspace/repo",
68
+ "timeout_seconds": 600
69
+ }
70
+ }
71
+ },
72
+ {
73
+ "name": "read_only_open_after_kill_serves_acknowledged_commits",
74
+ "weight": 0.1,
75
+ "value": 1.0,
76
+ "children": null,
77
+ "info": {
78
+ "exit_code": 0,
79
+ "stdout": "CHECK read_only_open_after_kill_serves_acknowledged_commits\n opened read-only after a kill that destroyed nothing, the build serves the whole history and writes nothing\n GREEN the_build_accepts_every_commit scenario c4\n GREEN read_only_follows_the_rule 1/1 all cuts of c4\n GREEN read_only_alters_no_byte 1/1 all cuts of c4\n GREEN history_is_a_prefix 1/1 all cuts of c4\n GREEN read_only_and_read_write_agree 1/1 all cuts of c4\n GREEN read_only_follows_the_rule 3/3 miss cuts of c1\n GREEN read_only_alters_no_byte 3/3 miss cuts of c1\n GREEN read_only_follows_the_rule 2/2 miss cuts of c2\n GREEN read_only_alters_no_byte 2/2 miss cuts of c2\n GREEN read_only_follows_the_rule 4/4 miss cuts of c3\n GREEN read_only_alters_no_byte 4/4 miss cuts of c3\nverdict: PASS\nCRITERION read_only_open_after_kill_serves_acknowledged_commits: PASS\n",
80
+ "stderr": "",
81
+ "_parameters": {
82
+ "command": "bash /hud/grader/run_grading.sh read_only_open_after_kill_serves_acknowledged_commits 600",
83
+ "cwd": "/workspace/repo",
84
+ "timeout_seconds": 600
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "name": "read_only_open_refuses_a_torn_history",
90
+ "weight": 0.06,
91
+ "value": 1.0,
92
+ "children": null,
93
+ "info": {
94
+ "exit_code": 0,
95
+ "stdout": "CHECK read_only_open_refuses_a_torn_history\n opened read-only on a history it cannot serve whole, the build says so and alters no byte \u2014 and the same directory still recovers read-write into a prefix\n GREEN read_only_follows_the_rule 8/8 hit cuts of c1\n GREEN read_only_alters_no_byte 8/8 hit cuts of c1\n GREEN history_is_a_prefix 8/8 hit cuts of c1\n GREEN no_value_nobody_wrote 8/8 hit cuts of c1\n GREEN read_only_follows_the_rule 8/8 hit cuts of c2\n GREEN read_only_alters_no_byte 8/8 hit cuts of c2\n GREEN history_is_a_prefix 8/8 hit cuts of c2\n GREEN no_value_nobody_wrote 8/8 hit cuts of c2\n GREEN read_only_follows_the_rule 10/10 hit cuts of c3\n GREEN read_only_alters_no_byte 10/10 hit cuts of c3\n GREEN history_is_a_prefix 10/10 hit cuts of c3\n GREEN no_value_nobody_wrote 10/10 hit cuts of c3\nverdict: PASS\nCRITERION read_only_open_refuses_a_torn_history: PASS\n",
96
+ "stderr": "",
97
+ "_parameters": {
98
+ "command": "bash /hud/grader/run_grading.sh read_only_open_refuses_a_torn_history 600",
99
+ "cwd": "/workspace/repo",
100
+ "timeout_seconds": 600
101
+ }
102
+ }
103
+ },
104
+ {
105
+ "name": "history_from_released_build_replays_whole",
106
+ "weight": 0.06,
107
+ "value": 1.0,
108
+ "children": null,
109
+ "info": {
110
+ "exit_code": 0,
111
+ "stdout": "CHECK history_from_released_build_replays_whole\n three directories the released build wrote, torn while they were baked, replayed by this one\n GREEN killed_and_whole cut_in_written_bytes=false commits_back=100/100 (at least 100 were still there)\n GREEN torn_log_with_older_ones_behind_it cut_in_written_bytes=true commits_back=387/420 (at least 210 were still there)\n GREEN torn_value_log cut_in_written_bytes=true commits_back=52/80 (at least 38 were still there)\nverdict: PASS\nCRITERION history_from_released_build_replays_whole: PASS\n",
112
+ "stderr": "tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\n",
113
+ "_parameters": {
114
+ "command": "bash /hud/grader/run_grading.sh history_from_released_build_replays_whole 600",
115
+ "cwd": "/workspace/repo",
116
+ "timeout_seconds": 600
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "name": "build_vet_and_targeted_tests_green",
122
+ "weight": 0.06,
123
+ "value": 1.0,
124
+ "children": null,
125
+ "info": {
126
+ "exit_code": 0,
127
+ "stdout": "CHECK build_vet_and_targeted_tests_green\n GREEN go build ./...\n GREEN go vet . reports nothing the released tree did not report\n GREEN the tests that shipped are byte-for-byte the ones that shipped\n GREEN the upstream tests that pin recovery, truncation, batches and managed mode\n GREEN a torn value log still comes back as a history somebody wrote (vlog_zero_05)\nverdict: PASS\nCRITERION build_vet_and_targeted_tests_green: PASS\n",
128
+ "stderr": "",
129
+ "_parameters": {
130
+ "command": "bash /hud/grader/run_grading.sh build_vet_and_targeted_tests_green 900",
131
+ "cwd": "/workspace/repo",
132
+ "timeout_seconds": 900
133
+ }
134
+ }
135
+ }
136
+ ]
137
+ }
harbor/evidence/badger/reports/noop.json ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "revision": "coding-rubric-v2",
3
+ "task_id": "journal_recovery_after_unclean_stop",
4
+ "grader_version": "0.6.15",
5
+ "commands": [
6
+ {
7
+ "name": "torn_value_log_tail_keeps_transactions_whole",
8
+ "weight": 0.25,
9
+ "value": 0.0,
10
+ "children": null,
11
+ "info": {
12
+ "exit_code": 1,
13
+ "stdout": "CHECK torn_value_log_tail_keeps_transactions_whole\n a torn value log tail costs whole commits and nothing else\n GREEN the_build_accepts_every_commit scenario c1\n GREEN reopens_read_write 11/11 all cuts of c1\n RED history_is_a_prefix 3/11 all cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n RED no_value_nobody_wrote 3/11 all cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n RED earlier_version_comes_back 3/11 all cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n GREEN nothing_lost_when_the_cut_missed 3/3 miss cuts of c1\nverdict: FAIL\nCRITERION torn_value_log_tail_keeps_transactions_whole: FAIL\n",
14
+ "stderr": "",
15
+ "_parameters": {
16
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh torn_value_log_tail_keeps_transactions_whole 600'",
17
+ "cwd": "/workspace/repo",
18
+ "timeout_seconds": 600
19
+ }
20
+ }
21
+ },
22
+ {
23
+ "name": "mixed_version_transaction_whole_after_tear",
24
+ "weight": 0.19,
25
+ "value": 0.0,
26
+ "children": null,
27
+ "info": {
28
+ "exit_code": 1,
29
+ "stdout": "CHECK mixed_version_transaction_whole_after_tear\n a commit whose entries carry different versions from each other survives a tear whole or not at all\n GREEN the_build_accepts_every_commit scenario c3\n GREEN reopens_read_write 14/14 all cuts of c3\n RED history_is_a_prefix 8/14 all cuts of c3 <- mem_zero_25, mem_zero_35, mem_trunc_25, mem_trunc_35, vlog_zero_02, vlog_trunc_04\n RED no_value_nobody_wrote 12/14 all cuts of c3 <- vlog_zero_02, vlog_trunc_04\n RED earlier_version_comes_back 8/14 all cuts of c3 <- mem_zero_25, mem_zero_35, mem_trunc_25, mem_trunc_35, vlog_zero_02, vlog_trunc_04\n GREEN nothing_lost_when_the_cut_missed 4/4 miss cuts of c3\nverdict: FAIL\nCRITERION mixed_version_transaction_whole_after_tear: FAIL\n",
30
+ "stderr": "",
31
+ "_parameters": {
32
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh mixed_version_transaction_whole_after_tear 600'",
33
+ "cwd": "/workspace/repo",
34
+ "timeout_seconds": 600
35
+ }
36
+ }
37
+ },
38
+ {
39
+ "name": "history_comes_back_as_a_prefix",
40
+ "weight": 0.16,
41
+ "value": 0.0,
42
+ "children": null,
43
+ "info": {
44
+ "exit_code": 1,
45
+ "stdout": "CHECK history_comes_back_as_a_prefix\n commits behind the damage \u2014 deletes, inline-only commits, and values in older logs \u2014 decide whether it is a prefix\n GREEN the_build_accepts_every_commit scenario c2\n GREEN reopens_read_write 10/10 all cuts of c2\n RED history_is_a_prefix 2/10 all cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n RED no_value_nobody_wrote 2/10 all cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n RED keys_in_the_older_logs_survive 2/10 all cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n GREEN nothing_lost_when_the_cut_missed 2/2 miss cuts of c2\nverdict: FAIL\nCRITERION history_comes_back_as_a_prefix: FAIL\n",
46
+ "stderr": "",
47
+ "_parameters": {
48
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_comes_back_as_a_prefix 600'",
49
+ "cwd": "/workspace/repo",
50
+ "timeout_seconds": 600
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "writes_after_recovery_win",
56
+ "weight": 0.12,
57
+ "value": 0.0,
58
+ "children": null,
59
+ "info": {
60
+ "exit_code": 1,
61
+ "stdout": "CHECK writes_after_recovery_win\n a recovered build takes a write and serves it across a close and a reopen\n GREEN the_build_accepts_every_commit scenario c7\n GREEN reopens_read_write 2/2 all cuts of c7\n RED history_is_a_prefix 0/2 all cuts of c7 <- vlog_zero_25, vlog_trunc_15\n RED no_value_nobody_wrote 0/2 all cuts of c7 <- vlog_zero_25, vlog_trunc_15\n GREEN writes_after_recovery_win 2/2 all cuts of c7\nverdict: FAIL\nCRITERION writes_after_recovery_win: FAIL\n",
62
+ "stderr": "",
63
+ "_parameters": {
64
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh writes_after_recovery_win 600'",
65
+ "cwd": "/workspace/repo",
66
+ "timeout_seconds": 600
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "name": "read_only_open_after_kill_serves_acknowledged_commits",
72
+ "weight": 0.1,
73
+ "value": 0.0,
74
+ "children": null,
75
+ "info": {
76
+ "exit_code": 1,
77
+ "stdout": "CHECK read_only_open_after_kill_serves_acknowledged_commits\n opened read-only after a kill that destroyed nothing, the build serves the whole history and writes nothing\n GREEN the_build_accepts_every_commit scenario c4\n RED read_only_follows_the_rule 0/1 all cuts of c4 <- no_cut\n GREEN read_only_alters_no_byte 1/1 all cuts of c4\n GREEN history_is_a_prefix 1/1 all cuts of c4\n RED read_only_and_read_write_agree 0/1 all cuts of c4 <- no_cut\n RED read_only_follows_the_rule 0/3 miss cuts of c1 <- vlog_zero_60, vlog_trunc_60, vlog_trunc_minus1\n GREEN read_only_alters_no_byte 3/3 miss cuts of c1\n RED read_only_follows_the_rule 0/2 miss cuts of c2 <- vlog_zero_50, vlog_trunc_50\n GREEN read_only_alters_no_byte 2/2 miss cuts of c2\n RED read_only_follows_the_rule 0/4 miss cuts of c3 <- mem_zero_60, mem_trunc_60, mem_trunc_minus1, no_cut\n GREEN read_only_alters_no_byte 4/4 miss cuts of c3\nverdict: FAIL\nCRITERION read_only_open_after_kill_serves_acknowledged_commits: FAIL\n",
78
+ "stderr": "",
79
+ "_parameters": {
80
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_after_kill_serves_acknowledged_commits 600'",
81
+ "cwd": "/workspace/repo",
82
+ "timeout_seconds": 600
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "name": "read_only_open_refuses_a_torn_history",
88
+ "weight": 0.06,
89
+ "value": 0.0,
90
+ "children": null,
91
+ "info": {
92
+ "exit_code": 1,
93
+ "stdout": "CHECK read_only_open_refuses_a_torn_history\n opened read-only on a history it cannot serve whole, the build says so and alters no byte \u2014 and the same directory still recovers read-write into a prefix\n GREEN read_only_follows_the_rule 8/8 hit cuts of c1\n GREEN read_only_alters_no_byte 8/8 hit cuts of c1\n RED history_is_a_prefix 0/8 hit cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n RED no_value_nobody_wrote 0/8 hit cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n GREEN read_only_follows_the_rule 8/8 hit cuts of c2\n GREEN read_only_alters_no_byte 8/8 hit cuts of c2\n RED history_is_a_prefix 0/8 hit cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n RED no_value_nobody_wrote 0/8 hit cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n GREEN read_only_follows_the_rule 10/10 hit cuts of c3\n GREEN read_only_alters_no_byte 10/10 hit cuts of c3\n RED history_is_a_prefix 4/10 hit cuts of c3 <- mem_zero_25, mem_zero_35, mem_trunc_25, mem_trunc_35, vlog_zero_02, vlog_trunc_04\n RED no_value_nobody_wrote 8/10 hit cuts of c3 <- vlog_zero_02, vlog_trunc_04\nverdict: FAIL\nCRITERION read_only_open_refuses_a_torn_history: FAIL\n",
94
+ "stderr": "",
95
+ "_parameters": {
96
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_refuses_a_torn_history 600'",
97
+ "cwd": "/workspace/repo",
98
+ "timeout_seconds": 600
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "history_from_released_build_replays_whole",
104
+ "weight": 0.06,
105
+ "value": 0.0,
106
+ "children": null,
107
+ "info": {
108
+ "exit_code": 1,
109
+ "stdout": "CHECK history_from_released_build_replays_whole\n three directories the released build wrote, torn while they were baked, replayed by this one\n RED killed_and_whole cut_in_written_bytes=false commits_back=100/100 (at least 100 were still there) <- read_only_follows_the_rule\n RED torn_log_with_older_ones_behind_it cut_in_written_bytes=true commits_back=-1/420 (at least 210 were still there) <- history_is_a_prefix, keeps_enough_of_the_history, no_value_nobody_wrote\n the build gave back 0 of the 420 commits this directory acknowledged; the cut it carries is 209715 bytes into 313216 written ones, so at least 210 were still there\n RED torn_value_log cut_in_written_bytes=true commits_back=-1/80 (at least 38 were still there) <- history_is_a_prefix, keeps_enough_of_the_history, no_value_nobody_wrote\n the build gave back 0 of the 80 commits this directory acknowledged; the cut it carries is 524288 bytes into 818300 written ones, so at least 38 were still there\nverdict: FAIL\nCRITERION history_from_released_build_replays_whole: FAIL\n",
110
+ "stderr": "tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\n",
111
+ "_parameters": {
112
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_from_released_build_replays_whole 600'",
113
+ "cwd": "/workspace/repo",
114
+ "timeout_seconds": 600
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "name": "build_vet_and_targeted_tests_green",
120
+ "weight": 0.06,
121
+ "value": 0.0,
122
+ "children": null,
123
+ "info": {
124
+ "exit_code": 1,
125
+ "stdout": "CHECK build_vet_and_targeted_tests_green\n GREEN go build ./...\n GREEN go vet . reports nothing the released tree did not report\n GREEN the tests that shipped are byte-for-byte the ones that shipped\n GREEN the upstream tests that pin recovery, truncation, batches and managed mode\n RED a torn value log does not come back as a history somebody wrote (vlog_zero_05)\nverdict: FAIL\nCRITERION build_vet_and_targeted_tests_green: FAIL\n",
126
+ "stderr": "",
127
+ "_parameters": {
128
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh build_vet_and_targeted_tests_green 900'",
129
+ "cwd": "/workspace/repo",
130
+ "timeout_seconds": 900
131
+ }
132
+ }
133
+ }
134
+ ],
135
+ "status": "graded",
136
+ "patch_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
137
+ "result": {
138
+ "reward": 0.0,
139
+ "done": true,
140
+ "content": "Blocker criteria failed (mixed_version_transaction_whole_after_tear, torn_value_log_tail_keeps_transactions_whole); cap 0.60, reward 0.000 (uncapped 0.000).",
141
+ "info": {
142
+ "uncapped_reward": 0.0,
143
+ "failed_blockers": [
144
+ "mixed_version_transaction_whole_after_tear",
145
+ "torn_value_log_tail_keeps_transactions_whole"
146
+ ],
147
+ "blocker_cap": 0.6
148
+ },
149
+ "isError": false,
150
+ "subscores": [
151
+ {
152
+ "name": "torn_value_log_tail_keeps_transactions_whole",
153
+ "weight": 0.25,
154
+ "value": 0.0,
155
+ "children": null,
156
+ "info": {
157
+ "exit_code": 1,
158
+ "stdout": "CHECK torn_value_log_tail_keeps_transactions_whole\n a torn value log tail costs whole commits and nothing else\n GREEN the_build_accepts_every_commit scenario c1\n GREEN reopens_read_write 11/11 all cuts of c1\n RED history_is_a_prefix 3/11 all cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n RED no_value_nobody_wrote 3/11 all cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n RED earlier_version_comes_back 3/11 all cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n GREEN nothing_lost_when_the_cut_missed 3/3 miss cuts of c1\nverdict: FAIL\nCRITERION torn_value_log_tail_keeps_transactions_whole: FAIL\n",
159
+ "stderr": "",
160
+ "_parameters": {
161
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh torn_value_log_tail_keeps_transactions_whole 600'",
162
+ "cwd": "/workspace/repo",
163
+ "timeout_seconds": 600
164
+ }
165
+ }
166
+ },
167
+ {
168
+ "name": "mixed_version_transaction_whole_after_tear",
169
+ "weight": 0.19,
170
+ "value": 0.0,
171
+ "children": null,
172
+ "info": {
173
+ "exit_code": 1,
174
+ "stdout": "CHECK mixed_version_transaction_whole_after_tear\n a commit whose entries carry different versions from each other survives a tear whole or not at all\n GREEN the_build_accepts_every_commit scenario c3\n GREEN reopens_read_write 14/14 all cuts of c3\n RED history_is_a_prefix 8/14 all cuts of c3 <- mem_zero_25, mem_zero_35, mem_trunc_25, mem_trunc_35, vlog_zero_02, vlog_trunc_04\n RED no_value_nobody_wrote 12/14 all cuts of c3 <- vlog_zero_02, vlog_trunc_04\n RED earlier_version_comes_back 8/14 all cuts of c3 <- mem_zero_25, mem_zero_35, mem_trunc_25, mem_trunc_35, vlog_zero_02, vlog_trunc_04\n GREEN nothing_lost_when_the_cut_missed 4/4 miss cuts of c3\nverdict: FAIL\nCRITERION mixed_version_transaction_whole_after_tear: FAIL\n",
175
+ "stderr": "",
176
+ "_parameters": {
177
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh mixed_version_transaction_whole_after_tear 600'",
178
+ "cwd": "/workspace/repo",
179
+ "timeout_seconds": 600
180
+ }
181
+ }
182
+ },
183
+ {
184
+ "name": "history_comes_back_as_a_prefix",
185
+ "weight": 0.16,
186
+ "value": 0.0,
187
+ "children": null,
188
+ "info": {
189
+ "exit_code": 1,
190
+ "stdout": "CHECK history_comes_back_as_a_prefix\n commits behind the damage \u2014 deletes, inline-only commits, and values in older logs \u2014 decide whether it is a prefix\n GREEN the_build_accepts_every_commit scenario c2\n GREEN reopens_read_write 10/10 all cuts of c2\n RED history_is_a_prefix 2/10 all cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n RED no_value_nobody_wrote 2/10 all cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n RED keys_in_the_older_logs_survive 2/10 all cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n GREEN nothing_lost_when_the_cut_missed 2/2 miss cuts of c2\nverdict: FAIL\nCRITERION history_comes_back_as_a_prefix: FAIL\n",
191
+ "stderr": "",
192
+ "_parameters": {
193
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_comes_back_as_a_prefix 600'",
194
+ "cwd": "/workspace/repo",
195
+ "timeout_seconds": 600
196
+ }
197
+ }
198
+ },
199
+ {
200
+ "name": "writes_after_recovery_win",
201
+ "weight": 0.12,
202
+ "value": 0.0,
203
+ "children": null,
204
+ "info": {
205
+ "exit_code": 1,
206
+ "stdout": "CHECK writes_after_recovery_win\n a recovered build takes a write and serves it across a close and a reopen\n GREEN the_build_accepts_every_commit scenario c7\n GREEN reopens_read_write 2/2 all cuts of c7\n RED history_is_a_prefix 0/2 all cuts of c7 <- vlog_zero_25, vlog_trunc_15\n RED no_value_nobody_wrote 0/2 all cuts of c7 <- vlog_zero_25, vlog_trunc_15\n GREEN writes_after_recovery_win 2/2 all cuts of c7\nverdict: FAIL\nCRITERION writes_after_recovery_win: FAIL\n",
207
+ "stderr": "",
208
+ "_parameters": {
209
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh writes_after_recovery_win 600'",
210
+ "cwd": "/workspace/repo",
211
+ "timeout_seconds": 600
212
+ }
213
+ }
214
+ },
215
+ {
216
+ "name": "read_only_open_after_kill_serves_acknowledged_commits",
217
+ "weight": 0.1,
218
+ "value": 0.0,
219
+ "children": null,
220
+ "info": {
221
+ "exit_code": 1,
222
+ "stdout": "CHECK read_only_open_after_kill_serves_acknowledged_commits\n opened read-only after a kill that destroyed nothing, the build serves the whole history and writes nothing\n GREEN the_build_accepts_every_commit scenario c4\n RED read_only_follows_the_rule 0/1 all cuts of c4 <- no_cut\n GREEN read_only_alters_no_byte 1/1 all cuts of c4\n GREEN history_is_a_prefix 1/1 all cuts of c4\n RED read_only_and_read_write_agree 0/1 all cuts of c4 <- no_cut\n RED read_only_follows_the_rule 0/3 miss cuts of c1 <- vlog_zero_60, vlog_trunc_60, vlog_trunc_minus1\n GREEN read_only_alters_no_byte 3/3 miss cuts of c1\n RED read_only_follows_the_rule 0/2 miss cuts of c2 <- vlog_zero_50, vlog_trunc_50\n GREEN read_only_alters_no_byte 2/2 miss cuts of c2\n RED read_only_follows_the_rule 0/4 miss cuts of c3 <- mem_zero_60, mem_trunc_60, mem_trunc_minus1, no_cut\n GREEN read_only_alters_no_byte 4/4 miss cuts of c3\nverdict: FAIL\nCRITERION read_only_open_after_kill_serves_acknowledged_commits: FAIL\n",
223
+ "stderr": "",
224
+ "_parameters": {
225
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_after_kill_serves_acknowledged_commits 600'",
226
+ "cwd": "/workspace/repo",
227
+ "timeout_seconds": 600
228
+ }
229
+ }
230
+ },
231
+ {
232
+ "name": "read_only_open_refuses_a_torn_history",
233
+ "weight": 0.06,
234
+ "value": 0.0,
235
+ "children": null,
236
+ "info": {
237
+ "exit_code": 1,
238
+ "stdout": "CHECK read_only_open_refuses_a_torn_history\n opened read-only on a history it cannot serve whole, the build says so and alters no byte \u2014 and the same directory still recovers read-write into a prefix\n GREEN read_only_follows_the_rule 8/8 hit cuts of c1\n GREEN read_only_alters_no_byte 8/8 hit cuts of c1\n RED history_is_a_prefix 0/8 hit cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n RED no_value_nobody_wrote 0/8 hit cuts of c1 <- vlog_zero_05, vlog_zero_15, vlog_zero_25, vlog_zero_35, vlog_trunc_05, vlog_trunc_15 ...\n GREEN read_only_follows_the_rule 8/8 hit cuts of c2\n GREEN read_only_alters_no_byte 8/8 hit cuts of c2\n RED history_is_a_prefix 0/8 hit cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n RED no_value_nobody_wrote 0/8 hit cuts of c2 <- vlog_zero_03, vlog_zero_06, vlog_zero_10, vlog_zero_14, vlog_trunc_03, vlog_trunc_06 ...\n GREEN read_only_follows_the_rule 10/10 hit cuts of c3\n GREEN read_only_alters_no_byte 10/10 hit cuts of c3\n RED history_is_a_prefix 4/10 hit cuts of c3 <- mem_zero_25, mem_zero_35, mem_trunc_25, mem_trunc_35, vlog_zero_02, vlog_trunc_04\n RED no_value_nobody_wrote 8/10 hit cuts of c3 <- vlog_zero_02, vlog_trunc_04\nverdict: FAIL\nCRITERION read_only_open_refuses_a_torn_history: FAIL\n",
239
+ "stderr": "",
240
+ "_parameters": {
241
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_refuses_a_torn_history 600'",
242
+ "cwd": "/workspace/repo",
243
+ "timeout_seconds": 600
244
+ }
245
+ }
246
+ },
247
+ {
248
+ "name": "history_from_released_build_replays_whole",
249
+ "weight": 0.06,
250
+ "value": 0.0,
251
+ "children": null,
252
+ "info": {
253
+ "exit_code": 1,
254
+ "stdout": "CHECK history_from_released_build_replays_whole\n three directories the released build wrote, torn while they were baked, replayed by this one\n RED killed_and_whole cut_in_written_bytes=false commits_back=100/100 (at least 100 were still there) <- read_only_follows_the_rule\n RED torn_log_with_older_ones_behind_it cut_in_written_bytes=true commits_back=-1/420 (at least 210 were still there) <- history_is_a_prefix, keeps_enough_of_the_history, no_value_nobody_wrote\n the build gave back 0 of the 420 commits this directory acknowledged; the cut it carries is 209715 bytes into 313216 written ones, so at least 210 were still there\n RED torn_value_log cut_in_written_bytes=true commits_back=-1/80 (at least 38 were still there) <- history_is_a_prefix, keeps_enough_of_the_history, no_value_nobody_wrote\n the build gave back 0 of the 80 commits this directory acknowledged; the cut it carries is 524288 bytes into 818300 written ones, so at least 38 were still there\nverdict: FAIL\nCRITERION history_from_released_build_replays_whole: FAIL\n",
255
+ "stderr": "tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\n",
256
+ "_parameters": {
257
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_from_released_build_replays_whole 600'",
258
+ "cwd": "/workspace/repo",
259
+ "timeout_seconds": 600
260
+ }
261
+ }
262
+ },
263
+ {
264
+ "name": "build_vet_and_targeted_tests_green",
265
+ "weight": 0.06,
266
+ "value": 0.0,
267
+ "children": null,
268
+ "info": {
269
+ "exit_code": 1,
270
+ "stdout": "CHECK build_vet_and_targeted_tests_green\n GREEN go build ./...\n GREEN go vet . reports nothing the released tree did not report\n GREEN the tests that shipped are byte-for-byte the ones that shipped\n GREEN the upstream tests that pin recovery, truncation, batches and managed mode\n RED a torn value log does not come back as a history somebody wrote (vlog_zero_05)\nverdict: FAIL\nCRITERION build_vet_and_targeted_tests_green: FAIL\n",
271
+ "stderr": "",
272
+ "_parameters": {
273
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh build_vet_and_targeted_tests_green 900'",
274
+ "cwd": "/workspace/repo",
275
+ "timeout_seconds": 900
276
+ }
277
+ }
278
+ }
279
+ ]
280
+ }
281
+ }
harbor/evidence/badger/reports/reference.json ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "revision": "coding-rubric-v2",
3
+ "task_id": "journal_recovery_after_unclean_stop",
4
+ "grader_version": "0.6.15",
5
+ "commands": [
6
+ {
7
+ "name": "torn_value_log_tail_keeps_transactions_whole",
8
+ "weight": 0.25,
9
+ "value": 1.0,
10
+ "children": null,
11
+ "info": {
12
+ "exit_code": 0,
13
+ "stdout": "CHECK torn_value_log_tail_keeps_transactions_whole\n a torn value log tail costs whole commits and nothing else\n GREEN the_build_accepts_every_commit scenario c1\n GREEN reopens_read_write 11/11 all cuts of c1\n GREEN history_is_a_prefix 11/11 all cuts of c1\n GREEN no_value_nobody_wrote 11/11 all cuts of c1\n GREEN earlier_version_comes_back 11/11 all cuts of c1\n GREEN nothing_lost_when_the_cut_missed 3/3 miss cuts of c1\nverdict: PASS\nCRITERION torn_value_log_tail_keeps_transactions_whole: PASS\n",
14
+ "stderr": "",
15
+ "_parameters": {
16
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh torn_value_log_tail_keeps_transactions_whole 600'",
17
+ "cwd": "/workspace/repo",
18
+ "timeout_seconds": 600
19
+ }
20
+ }
21
+ },
22
+ {
23
+ "name": "mixed_version_transaction_whole_after_tear",
24
+ "weight": 0.19,
25
+ "value": 1.0,
26
+ "children": null,
27
+ "info": {
28
+ "exit_code": 0,
29
+ "stdout": "CHECK mixed_version_transaction_whole_after_tear\n a commit whose entries carry different versions from each other survives a tear whole or not at all\n GREEN the_build_accepts_every_commit scenario c3\n GREEN reopens_read_write 14/14 all cuts of c3\n GREEN history_is_a_prefix 14/14 all cuts of c3\n GREEN no_value_nobody_wrote 14/14 all cuts of c3\n GREEN earlier_version_comes_back 14/14 all cuts of c3\n GREEN nothing_lost_when_the_cut_missed 4/4 miss cuts of c3\nverdict: PASS\nCRITERION mixed_version_transaction_whole_after_tear: PASS\n",
30
+ "stderr": "",
31
+ "_parameters": {
32
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh mixed_version_transaction_whole_after_tear 600'",
33
+ "cwd": "/workspace/repo",
34
+ "timeout_seconds": 600
35
+ }
36
+ }
37
+ },
38
+ {
39
+ "name": "history_comes_back_as_a_prefix",
40
+ "weight": 0.16,
41
+ "value": 1.0,
42
+ "children": null,
43
+ "info": {
44
+ "exit_code": 0,
45
+ "stdout": "CHECK history_comes_back_as_a_prefix\n commits behind the damage \u2014 deletes, inline-only commits, and values in older logs \u2014 decide whether it is a prefix\n GREEN the_build_accepts_every_commit scenario c2\n GREEN reopens_read_write 10/10 all cuts of c2\n GREEN history_is_a_prefix 10/10 all cuts of c2\n GREEN no_value_nobody_wrote 10/10 all cuts of c2\n GREEN keys_in_the_older_logs_survive 10/10 all cuts of c2\n GREEN nothing_lost_when_the_cut_missed 2/2 miss cuts of c2\nverdict: PASS\nCRITERION history_comes_back_as_a_prefix: PASS\n",
46
+ "stderr": "",
47
+ "_parameters": {
48
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_comes_back_as_a_prefix 600'",
49
+ "cwd": "/workspace/repo",
50
+ "timeout_seconds": 600
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "writes_after_recovery_win",
56
+ "weight": 0.12,
57
+ "value": 1.0,
58
+ "children": null,
59
+ "info": {
60
+ "exit_code": 0,
61
+ "stdout": "CHECK writes_after_recovery_win\n a recovered build takes a write and serves it across a close and a reopen\n GREEN the_build_accepts_every_commit scenario c7\n GREEN reopens_read_write 2/2 all cuts of c7\n GREEN history_is_a_prefix 2/2 all cuts of c7\n GREEN no_value_nobody_wrote 2/2 all cuts of c7\n GREEN writes_after_recovery_win 2/2 all cuts of c7\nverdict: PASS\nCRITERION writes_after_recovery_win: PASS\n",
62
+ "stderr": "",
63
+ "_parameters": {
64
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh writes_after_recovery_win 600'",
65
+ "cwd": "/workspace/repo",
66
+ "timeout_seconds": 600
67
+ }
68
+ }
69
+ },
70
+ {
71
+ "name": "read_only_open_after_kill_serves_acknowledged_commits",
72
+ "weight": 0.1,
73
+ "value": 1.0,
74
+ "children": null,
75
+ "info": {
76
+ "exit_code": 0,
77
+ "stdout": "CHECK read_only_open_after_kill_serves_acknowledged_commits\n opened read-only after a kill that destroyed nothing, the build serves the whole history and writes nothing\n GREEN the_build_accepts_every_commit scenario c4\n GREEN read_only_follows_the_rule 1/1 all cuts of c4\n GREEN read_only_alters_no_byte 1/1 all cuts of c4\n GREEN history_is_a_prefix 1/1 all cuts of c4\n GREEN read_only_and_read_write_agree 1/1 all cuts of c4\n GREEN read_only_follows_the_rule 3/3 miss cuts of c1\n GREEN read_only_alters_no_byte 3/3 miss cuts of c1\n GREEN read_only_follows_the_rule 2/2 miss cuts of c2\n GREEN read_only_alters_no_byte 2/2 miss cuts of c2\n GREEN read_only_follows_the_rule 4/4 miss cuts of c3\n GREEN read_only_alters_no_byte 4/4 miss cuts of c3\nverdict: PASS\nCRITERION read_only_open_after_kill_serves_acknowledged_commits: PASS\n",
78
+ "stderr": "",
79
+ "_parameters": {
80
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_after_kill_serves_acknowledged_commits 600'",
81
+ "cwd": "/workspace/repo",
82
+ "timeout_seconds": 600
83
+ }
84
+ }
85
+ },
86
+ {
87
+ "name": "read_only_open_refuses_a_torn_history",
88
+ "weight": 0.06,
89
+ "value": 1.0,
90
+ "children": null,
91
+ "info": {
92
+ "exit_code": 0,
93
+ "stdout": "CHECK read_only_open_refuses_a_torn_history\n opened read-only on a history it cannot serve whole, the build says so and alters no byte \u2014 and the same directory still recovers read-write into a prefix\n GREEN read_only_follows_the_rule 8/8 hit cuts of c1\n GREEN read_only_alters_no_byte 8/8 hit cuts of c1\n GREEN history_is_a_prefix 8/8 hit cuts of c1\n GREEN no_value_nobody_wrote 8/8 hit cuts of c1\n GREEN read_only_follows_the_rule 8/8 hit cuts of c2\n GREEN read_only_alters_no_byte 8/8 hit cuts of c2\n GREEN history_is_a_prefix 8/8 hit cuts of c2\n GREEN no_value_nobody_wrote 8/8 hit cuts of c2\n GREEN read_only_follows_the_rule 10/10 hit cuts of c3\n GREEN read_only_alters_no_byte 10/10 hit cuts of c3\n GREEN history_is_a_prefix 10/10 hit cuts of c3\n GREEN no_value_nobody_wrote 10/10 hit cuts of c3\nverdict: PASS\nCRITERION read_only_open_refuses_a_torn_history: PASS\n",
94
+ "stderr": "",
95
+ "_parameters": {
96
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_refuses_a_torn_history 600'",
97
+ "cwd": "/workspace/repo",
98
+ "timeout_seconds": 600
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "history_from_released_build_replays_whole",
104
+ "weight": 0.06,
105
+ "value": 1.0,
106
+ "children": null,
107
+ "info": {
108
+ "exit_code": 0,
109
+ "stdout": "CHECK history_from_released_build_replays_whole\n three directories the released build wrote, torn while they were baked, replayed by this one\n GREEN killed_and_whole cut_in_written_bytes=false commits_back=100/100 (at least 100 were still there)\n GREEN torn_log_with_older_ones_behind_it cut_in_written_bytes=true commits_back=387/420 (at least 210 were still there)\n GREEN torn_value_log cut_in_written_bytes=true commits_back=52/80 (at least 38 were still there)\nverdict: PASS\nCRITERION history_from_released_build_replays_whole: PASS\n",
110
+ "stderr": "tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\n",
111
+ "_parameters": {
112
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_from_released_build_replays_whole 600'",
113
+ "cwd": "/workspace/repo",
114
+ "timeout_seconds": 600
115
+ }
116
+ }
117
+ },
118
+ {
119
+ "name": "build_vet_and_targeted_tests_green",
120
+ "weight": 0.06,
121
+ "value": 1.0,
122
+ "children": null,
123
+ "info": {
124
+ "exit_code": 0,
125
+ "stdout": "CHECK build_vet_and_targeted_tests_green\n GREEN go build ./...\n GREEN go vet . reports nothing the released tree did not report\n GREEN the tests that shipped are byte-for-byte the ones that shipped\n GREEN the upstream tests that pin recovery, truncation, batches and managed mode\n GREEN a torn value log still comes back as a history somebody wrote (vlog_zero_05)\nverdict: PASS\nCRITERION build_vet_and_targeted_tests_green: PASS\n",
126
+ "stderr": "",
127
+ "_parameters": {
128
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh build_vet_and_targeted_tests_green 900'",
129
+ "cwd": "/workspace/repo",
130
+ "timeout_seconds": 900
131
+ }
132
+ }
133
+ }
134
+ ],
135
+ "status": "graded",
136
+ "patch_sha256": "9d10b8e9292bd06f68fce59c0b0b5ef44c9ae9c6b3b1820fae8190ae37fb0077",
137
+ "result": {
138
+ "reward": 1.0,
139
+ "done": true,
140
+ "content": null,
141
+ "info": {},
142
+ "isError": false,
143
+ "subscores": [
144
+ {
145
+ "name": "torn_value_log_tail_keeps_transactions_whole",
146
+ "weight": 0.25,
147
+ "value": 1.0,
148
+ "children": null,
149
+ "info": {
150
+ "exit_code": 0,
151
+ "stdout": "CHECK torn_value_log_tail_keeps_transactions_whole\n a torn value log tail costs whole commits and nothing else\n GREEN the_build_accepts_every_commit scenario c1\n GREEN reopens_read_write 11/11 all cuts of c1\n GREEN history_is_a_prefix 11/11 all cuts of c1\n GREEN no_value_nobody_wrote 11/11 all cuts of c1\n GREEN earlier_version_comes_back 11/11 all cuts of c1\n GREEN nothing_lost_when_the_cut_missed 3/3 miss cuts of c1\nverdict: PASS\nCRITERION torn_value_log_tail_keeps_transactions_whole: PASS\n",
152
+ "stderr": "",
153
+ "_parameters": {
154
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh torn_value_log_tail_keeps_transactions_whole 600'",
155
+ "cwd": "/workspace/repo",
156
+ "timeout_seconds": 600
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "name": "mixed_version_transaction_whole_after_tear",
162
+ "weight": 0.19,
163
+ "value": 1.0,
164
+ "children": null,
165
+ "info": {
166
+ "exit_code": 0,
167
+ "stdout": "CHECK mixed_version_transaction_whole_after_tear\n a commit whose entries carry different versions from each other survives a tear whole or not at all\n GREEN the_build_accepts_every_commit scenario c3\n GREEN reopens_read_write 14/14 all cuts of c3\n GREEN history_is_a_prefix 14/14 all cuts of c3\n GREEN no_value_nobody_wrote 14/14 all cuts of c3\n GREEN earlier_version_comes_back 14/14 all cuts of c3\n GREEN nothing_lost_when_the_cut_missed 4/4 miss cuts of c3\nverdict: PASS\nCRITERION mixed_version_transaction_whole_after_tear: PASS\n",
168
+ "stderr": "",
169
+ "_parameters": {
170
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh mixed_version_transaction_whole_after_tear 600'",
171
+ "cwd": "/workspace/repo",
172
+ "timeout_seconds": 600
173
+ }
174
+ }
175
+ },
176
+ {
177
+ "name": "history_comes_back_as_a_prefix",
178
+ "weight": 0.16,
179
+ "value": 1.0,
180
+ "children": null,
181
+ "info": {
182
+ "exit_code": 0,
183
+ "stdout": "CHECK history_comes_back_as_a_prefix\n commits behind the damage \u2014 deletes, inline-only commits, and values in older logs \u2014 decide whether it is a prefix\n GREEN the_build_accepts_every_commit scenario c2\n GREEN reopens_read_write 10/10 all cuts of c2\n GREEN history_is_a_prefix 10/10 all cuts of c2\n GREEN no_value_nobody_wrote 10/10 all cuts of c2\n GREEN keys_in_the_older_logs_survive 10/10 all cuts of c2\n GREEN nothing_lost_when_the_cut_missed 2/2 miss cuts of c2\nverdict: PASS\nCRITERION history_comes_back_as_a_prefix: PASS\n",
184
+ "stderr": "",
185
+ "_parameters": {
186
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_comes_back_as_a_prefix 600'",
187
+ "cwd": "/workspace/repo",
188
+ "timeout_seconds": 600
189
+ }
190
+ }
191
+ },
192
+ {
193
+ "name": "writes_after_recovery_win",
194
+ "weight": 0.12,
195
+ "value": 1.0,
196
+ "children": null,
197
+ "info": {
198
+ "exit_code": 0,
199
+ "stdout": "CHECK writes_after_recovery_win\n a recovered build takes a write and serves it across a close and a reopen\n GREEN the_build_accepts_every_commit scenario c7\n GREEN reopens_read_write 2/2 all cuts of c7\n GREEN history_is_a_prefix 2/2 all cuts of c7\n GREEN no_value_nobody_wrote 2/2 all cuts of c7\n GREEN writes_after_recovery_win 2/2 all cuts of c7\nverdict: PASS\nCRITERION writes_after_recovery_win: PASS\n",
200
+ "stderr": "",
201
+ "_parameters": {
202
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh writes_after_recovery_win 600'",
203
+ "cwd": "/workspace/repo",
204
+ "timeout_seconds": 600
205
+ }
206
+ }
207
+ },
208
+ {
209
+ "name": "read_only_open_after_kill_serves_acknowledged_commits",
210
+ "weight": 0.1,
211
+ "value": 1.0,
212
+ "children": null,
213
+ "info": {
214
+ "exit_code": 0,
215
+ "stdout": "CHECK read_only_open_after_kill_serves_acknowledged_commits\n opened read-only after a kill that destroyed nothing, the build serves the whole history and writes nothing\n GREEN the_build_accepts_every_commit scenario c4\n GREEN read_only_follows_the_rule 1/1 all cuts of c4\n GREEN read_only_alters_no_byte 1/1 all cuts of c4\n GREEN history_is_a_prefix 1/1 all cuts of c4\n GREEN read_only_and_read_write_agree 1/1 all cuts of c4\n GREEN read_only_follows_the_rule 3/3 miss cuts of c1\n GREEN read_only_alters_no_byte 3/3 miss cuts of c1\n GREEN read_only_follows_the_rule 2/2 miss cuts of c2\n GREEN read_only_alters_no_byte 2/2 miss cuts of c2\n GREEN read_only_follows_the_rule 4/4 miss cuts of c3\n GREEN read_only_alters_no_byte 4/4 miss cuts of c3\nverdict: PASS\nCRITERION read_only_open_after_kill_serves_acknowledged_commits: PASS\n",
216
+ "stderr": "",
217
+ "_parameters": {
218
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_after_kill_serves_acknowledged_commits 600'",
219
+ "cwd": "/workspace/repo",
220
+ "timeout_seconds": 600
221
+ }
222
+ }
223
+ },
224
+ {
225
+ "name": "read_only_open_refuses_a_torn_history",
226
+ "weight": 0.06,
227
+ "value": 1.0,
228
+ "children": null,
229
+ "info": {
230
+ "exit_code": 0,
231
+ "stdout": "CHECK read_only_open_refuses_a_torn_history\n opened read-only on a history it cannot serve whole, the build says so and alters no byte \u2014 and the same directory still recovers read-write into a prefix\n GREEN read_only_follows_the_rule 8/8 hit cuts of c1\n GREEN read_only_alters_no_byte 8/8 hit cuts of c1\n GREEN history_is_a_prefix 8/8 hit cuts of c1\n GREEN no_value_nobody_wrote 8/8 hit cuts of c1\n GREEN read_only_follows_the_rule 8/8 hit cuts of c2\n GREEN read_only_alters_no_byte 8/8 hit cuts of c2\n GREEN history_is_a_prefix 8/8 hit cuts of c2\n GREEN no_value_nobody_wrote 8/8 hit cuts of c2\n GREEN read_only_follows_the_rule 10/10 hit cuts of c3\n GREEN read_only_alters_no_byte 10/10 hit cuts of c3\n GREEN history_is_a_prefix 10/10 hit cuts of c3\n GREEN no_value_nobody_wrote 10/10 hit cuts of c3\nverdict: PASS\nCRITERION read_only_open_refuses_a_torn_history: PASS\n",
232
+ "stderr": "",
233
+ "_parameters": {
234
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh read_only_open_refuses_a_torn_history 600'",
235
+ "cwd": "/workspace/repo",
236
+ "timeout_seconds": 600
237
+ }
238
+ }
239
+ },
240
+ {
241
+ "name": "history_from_released_build_replays_whole",
242
+ "weight": 0.06,
243
+ "value": 1.0,
244
+ "children": null,
245
+ "info": {
246
+ "exit_code": 0,
247
+ "stdout": "CHECK history_from_released_build_replays_whole\n three directories the released build wrote, torn while they were baked, replayed by this one\n GREEN killed_and_whole cut_in_written_bytes=false commits_back=100/100 (at least 100 were still there)\n GREEN torn_log_with_older_ones_behind_it cut_in_written_bytes=true commits_back=387/420 (at least 210 were still there)\n GREEN torn_value_log cut_in_written_bytes=true commits_back=52/80 (at least 38 were still there)\nverdict: PASS\nCRITERION history_from_released_build_replays_whole: PASS\n",
248
+ "stderr": "tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\ntar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.provenance'\n",
249
+ "_parameters": {
250
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh history_from_released_build_replays_whole 600'",
251
+ "cwd": "/workspace/repo",
252
+ "timeout_seconds": 600
253
+ }
254
+ }
255
+ },
256
+ {
257
+ "name": "build_vet_and_targeted_tests_green",
258
+ "weight": 0.06,
259
+ "value": 1.0,
260
+ "children": null,
261
+ "info": {
262
+ "exit_code": 0,
263
+ "stdout": "CHECK build_vet_and_targeted_tests_green\n GREEN go build ./...\n GREEN go vet . reports nothing the released tree did not report\n GREEN the tests that shipped are byte-for-byte the ones that shipped\n GREEN the upstream tests that pin recovery, truncation, batches and managed mode\n GREEN a torn value log still comes back as a history somebody wrote (vlog_zero_05)\nverdict: PASS\nCRITERION build_vet_and_targeted_tests_green: PASS\n",
264
+ "stderr": "",
265
+ "_parameters": {
266
+ "command": "setpriv --reuid 1000 --regid 1000 --clear-groups --no-new-privs env HOME=/tmp/agent-home bash -lc 'bash /hud/grader/run_grading.sh build_vet_and_targeted_tests_green 900'",
267
+ "cwd": "/workspace/repo",
268
+ "timeout_seconds": 900
269
+ }
270
+ }
271
+ }
272
+ ]
273
+ }
274
+ }
harbor/evidence/badger/summary.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "badger",
3
+ "task_id": "journal_recovery_after_unclean_stop",
4
+ "image": "ec-swe-badger:source-v2",
5
+ "build": {
6
+ "ok": true,
7
+ "image_id": "sha256:07828139bd6f6ce1204b51a18fc72537c75e861e64d27e3aac0e12d9e1cc451a",
8
+ "ladder": {
9
+ "gold": 1.0,
10
+ "base": 0.0
11
+ },
12
+ "source_digest": "944513a2a36fe7b1",
13
+ "source": "edited",
14
+ "seconds": 0
15
+ },
16
+ "qualified": false,
17
+ "measure": {
18
+ "ok": true,
19
+ "hud": "0.6.15",
20
+ "path": "/usr/local/go/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games",
21
+ "handed": [
22
+ "CGO_ENABLED",
23
+ "GOCACHE",
24
+ "GOFLAGS",
25
+ "GOMAXPROCS",
26
+ "GOMEMLIMIT",
27
+ "GOMODCACHE",
28
+ "GOPATH",
29
+ "GOPROXY",
30
+ "GOTOOLCHAIN",
31
+ "GOWORK"
32
+ ],
33
+ "repo_dir": "/workspace/repo",
34
+ "python_usr_local": true,
35
+ "seconds": 4
36
+ },
37
+ "parity": {
38
+ "ok": true,
39
+ "reward": 1.0,
40
+ "criteria": 8,
41
+ "unmet": [],
42
+ "info": null,
43
+ "seconds": 40
44
+ },
45
+ "prepare": {
46
+ "ok": true,
47
+ "bundle": "badger-r5",
48
+ "converter": "b8bba68767da888f",
49
+ "pinned_files": 23,
50
+ "criteria": 8,
51
+ "seconds": 1
52
+ },
53
+ "controls": {
54
+ "ok": false,
55
+ "checks": {
56
+ "noop_is_zero": true,
57
+ "reference_is_one": true,
58
+ "reference_equals_native": true,
59
+ "agent_is_isolated": true
60
+ },
61
+ "results": {
62
+ "noop": {
63
+ "run": "badger-r5-control-noop-1791907208",
64
+ "reward": 0.0,
65
+ "stop": "completed",
66
+ "error": null,
67
+ "seconds": 156,
68
+ "probe": false,
69
+ "status": "graded",
70
+ "verifier_error": null,
71
+ "exit_codes": [
72
+ 1
73
+ ],
74
+ "attempts": 1
75
+ },
76
+ "reference": {
77
+ "run": "badger-r5-control-reference-1791907364",
78
+ "reward": 1.0,
79
+ "stop": "completed",
80
+ "error": null,
81
+ "seconds": 161,
82
+ "probe": true,
83
+ "status": "graded",
84
+ "verifier_error": null,
85
+ "exit_codes": [
86
+ 0
87
+ ],
88
+ "subscores": {
89
+ "torn_value_log_tail_keeps_transactions_whole": [
90
+ 1.0,
91
+ 0.25
92
+ ],
93
+ "mixed_version_transaction_whole_after_tear": [
94
+ 1.0,
95
+ 0.19
96
+ ],
97
+ "history_comes_back_as_a_prefix": [
98
+ 1.0,
99
+ 0.16
100
+ ],
101
+ "writes_after_recovery_win": [
102
+ 1.0,
103
+ 0.12
104
+ ],
105
+ "read_only_open_after_kill_serves_acknowledged_commits": [
106
+ 1.0,
107
+ 0.1
108
+ ],
109
+ "read_only_open_refuses_a_torn_history": [
110
+ 1.0,
111
+ 0.06
112
+ ],
113
+ "history_from_released_build_replays_whole": [
114
+ 1.0,
115
+ 0.06
116
+ ],
117
+ "build_vet_and_targeted_tests_green": [
118
+ 1.0,
119
+ 0.06
120
+ ]
121
+ },
122
+ "attempts": 1
123
+ }
124
+ },
125
+ "bundle": "badger-r5",
126
+ "complete": false,
127
+ "seconds": 317
128
+ },
129
+ "leak": {
130
+ "scan_finished": true,
131
+ "hits_outside_checkout": [],
132
+ "other_files_holding_only_upstream_lines": 0,
133
+ "library_files_sharing_a_line": 49,
134
+ "most_lines_shared_by_one_library_file": 1,
135
+ "private_paths_absent": true,
136
+ "public_lines_shared_with_patch_and_graders": [
137
+ 14,
138
+ 0
139
+ ],
140
+ "private_lines_only_in_agent_checkout": [
141
+ 0,
142
+ 0
143
+ ],
144
+ "ok": true,
145
+ "seconds": 55
146
+ }
147
+ }
harbor/manifest.json CHANGED
@@ -10,6 +10,46 @@
10
  },
11
  "qualified_with": "stock Harbor 0.23.0 (oracle and nop agents) on Docker",
12
  "tasks": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  {
14
  "task_id": "bazel_remote_disk_eviction_accounting_contract",
15
  "name": "bazel-remote",
@@ -477,25 +517,6 @@
477
  }
478
  ],
479
  "being_rechecked": [
480
- {
481
- "task_id": "badger",
482
- "name": "badger",
483
- "dataset_instance_id": "dgraph-io__badger-journal_recovery_after_unclean_stop",
484
- "repository": "dgraph-io/badger",
485
- "source_folder": "badger-v2",
486
- "dockerfile": "Dockerfile.hud",
487
- "source_edited": {
488
- "changed": [
489
- "env.py",
490
- "pyproject.toml",
491
- "tasks.py"
492
- ],
493
- "removed": [],
494
- "what": "the environment name was changed to a neutral one (ec-swe-badger-journal)"
495
- },
496
- "package": null,
497
- "why_no_package": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them"
498
- },
499
  {
500
  "task_id": "geode",
501
  "name": "geode",
@@ -605,7 +626,6 @@
605
  }
606
  ],
607
  "not_included": {
608
- "badger": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",
609
  "geode": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",
610
  "kratos": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",
611
  "open-xml-sdk": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",
 
10
  },
11
  "qualified_with": "stock Harbor 0.23.0 (oracle and nop agents) on Docker",
12
  "tasks": [
13
+ {
14
+ "task_id": "journal_recovery_after_unclean_stop",
15
+ "name": "badger",
16
+ "dataset_instance_id": "dgraph-io__badger-journal_recovery_after_unclean_stop",
17
+ "repository": "dgraph-io/badger",
18
+ "language": "Go",
19
+ "source_folder": "badger-v2",
20
+ "dockerfile": "Dockerfile.hud",
21
+ "source_image": "ec-swe-badger:source-v2",
22
+ "source_image_id_at_qualification": "sha256:07828139bd6f6ce1204b51a18fc72537c75e861e64d27e3aac0e12d9e1cc451a",
23
+ "grader_version": "0.6.15",
24
+ "criteria": 8,
25
+ "reward_rule": "weighted_cap",
26
+ "blocker_cap": 0.6,
27
+ "author_calibration": {
28
+ "gold": 1.0,
29
+ "base": 0.0
30
+ },
31
+ "provenance": {
32
+ "repository": "dgraph-io/badger",
33
+ "environment_id": "5c04bdfd-7abc-40a6-8c86-cfe9e13930b5",
34
+ "build": 2,
35
+ "build_id": "f683e58c-4463-4e44-bfc1-c87834bfe006",
36
+ "hosted_task": "journal_recovery_after_unclean_stop",
37
+ "task_version": 1,
38
+ "source_archive_sha256": "3745442faf694143dd96944f41986e939cdfa02edac2676bbe5533dd0b0c5a34",
39
+ "hosted_revision_argument": "not recorded; the scenario does not read it"
40
+ },
41
+ "source_edited": {
42
+ "changed": [
43
+ "env.py",
44
+ "pyproject.toml",
45
+ "tasks.py"
46
+ ],
47
+ "removed": [],
48
+ "what": "the environment name was changed to a neutral one (ec-swe-badger-journal)"
49
+ },
50
+ "checks_on_shipped_files": "reference, empty change, image scan",
51
+ "further_checks": "not yet; on the preceding build, with stock Harbor: broken fix 0; missing grader file: no reward; planted score 0; author's patches: none supplied"
52
+ },
53
  {
54
  "task_id": "bazel_remote_disk_eviction_accounting_contract",
55
  "name": "bazel-remote",
 
517
  }
518
  ],
519
  "being_rechecked": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  {
521
  "task_id": "geode",
522
  "name": "geode",
 
626
  }
627
  ],
628
  "not_included": {
 
629
  "geode": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",
630
  "kratos": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",
631
  "open-xml-sdk": "its build files were given a neutral environment name; the package is being rebuilt and re-checked on them",