Kusshal commited on
Commit
c0b70e9
·
verified ·
1 Parent(s): fb0cbee

sync EmbedEd artifacts (phase01-v5)

Browse files
.gitattributes CHANGED
@@ -25,3 +25,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
  *.zstandard filter=lfs diff=lfs merge=lfs -text
27
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
  *.zstandard filter=lfs diff=lfs merge=lfs -text
27
  *tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ artifacts/codexglue_data.jsonl filter=lfs diff=lfs merge=lfs -text
29
+ artifacts/fragments.jsonl filter=lfs diff=lfs merge=lfs -text
artifacts/codexglue_data.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8bc51e62deddcc45bd26c5b57f5add2a2cf377f13b9f6c2fb656fbc8fca4dd2
3
+ size 15174797
artifacts/fragments.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cbcb4fce6b1a2dc8d01b6856f89186392347aa7c6eea5d02e5d2a2a489e6b2f
3
+ size 14045244
artifacts/manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "phase01-v5",
3
+ "n_data_lines": 9126,
4
+ "n_fragments": 8063,
5
+ "n_pairs": {
6
+ "train": 901028,
7
+ "valid": 415416,
8
+ "test": 415416
9
+ }
10
+ }
artifacts/overlap.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "train_frag": 6527,
3
+ "test_frag": 860,
4
+ "overlap": 76,
5
+ "overlap_frac_of_test": 0.0884
6
+ }
artifacts/pairs_test.tsv ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/pairs_train.tsv ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/pairs_valid.tsv ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/token_lengths.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tokenizer": "microsoft/graphcodebert-base",
3
+ "n": 8063,
4
+ "p50": 474,
5
+ "p90": 1535,
6
+ "p95": 2233,
7
+ "p99": 5944,
8
+ "max": 36823,
9
+ "recommended_max_len": 512
10
+ }
report/measurements.md ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Measurements
2
+
3
+ ## Phase 0 — measured numbers
4
+
5
+ generated by `python -m embeded.data.prepare_data` — version `phase01-v5`
6
+
7
+ | quantity | spec value | measured | ok |
8
+ |---|---|---|---|
9
+ | data.jsonl lines | 9126 | 9126 | ✅ |
10
+ | unique fragments | 8063 | 8063 | ✅ |
11
+ | train pairs | 901028 | 901028 | ✅ |
12
+ | valid pairs | 415416 | 415416 | ✅ |
13
+ | test pairs | 415416 | 415416 | ✅ |
14
+
15
+ **Train/test fragment overlap** (§4.2, text space): 76 of 860 test fragments (8.8%) also appear in a train pair. Standard-benchmark F1 is an optimistic upper bound to this extent; the generalisation test is there to expose it.
16
+
17
+ **Token lengths** (microsoft/graphcodebert-base): p50=474 p90=1535 p95=2233 p99=5944 max=36823 → **max_len = 512**.
18
+
19
+
20
+ ## Phase 0.5 — throughput (measured, fixes BATCH / TRAIN_PAIRS_CAP / EPOCHS)
21
+
22
+ generated by `python -m scripts.phase0_throughput --candidates 512:4 512:8 512:16 512:32 --minutes 0.5` — version `phase01-v5`, recipe `AMP_DTYPE=float16`, `GRAD_CHECKPOINT=False` (Colab Tesla T4, 14.5 GB, 2026-09-26)
23
+
24
+ | max_len:batch (triples) | triples/s | peak GB | cap for one 40-min epoch |
25
+ |---|---|---|---|
26
+ | 512:4 | 11.9 | 4.37 | 28,648 |
27
+ | 512:8 | 13.5 | 6.71 | 32,367 |
28
+ | 512:16 | 14.1 | 11.39 | 33,951 |
29
+ | 512:32 | OOM on Tesla T4 | — | — |
30
+
31
+ Suggested: **BATCH = 8, TRAIN_PAIRS_CAP = 32,367, EPOCHS = 1** (rule: fastest-within-10% with the lowest peak memory; 13.5 vs top 14.1 triples/s). `settings.py` at run time: BATCH = 8, TRAIN_PAIRS_CAP = 32,000, EPOCHS = 1.
32
+
33
+ Frozen in `settings.py` as `TRAIN_PAIRS_CAP = 32_000` (= 1,600 anchors × k=20 = 4,000 steps of 8; measured cap rounded down). Context: the same test in plain fp32 with the original candidates OOMed on its first candidate (256:32 = 96 sequences/step, 14.3 GB), which is why the training recipe is fp16 AMP.
34
+
35
+ ## s′ acquisition (Phase 0.7)
36
+
37
+ **verdict: PASS** — Clones paper replication package release zip/datasets/bcb_v2_sampled_bf/data_bcb_v2_sampled_bf.pickle: 4600 pairs, labels {1: 2300, 0: 2300}, functionality cols {'functionality_id': 23} (+4 duplicate copy/copies: Clones paper replication package release zip/llms/dataset.pickle, Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/blocks.pickle, Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pair_ids.pickle, Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pairs.pickle)
38
+
39
+ ```json
40
+ {
41
+ "n_files": 2129,
42
+ "n_git_files_skipped": 0,
43
+ "files": [
44
+ {
45
+ "path": "Detecting_clones_of_unseen_functionality_ASE25.zip",
46
+ "size": 138423097
47
+ },
48
+ {
49
+ "path": "Clones paper replication package release zip/datasets/bcb_v2_sampled/bcb_funcs_all.tsv",
50
+ "size": 81658277
51
+ },
52
+ {
53
+ "path": "Clones paper replication package release zip/llms/llm_data_oj.csv",
54
+ "size": 35637449
55
+ },
56
+ {
57
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/ast.pkl",
58
+ "size": 31429135
59
+ },
60
+ {
61
+ "path": "Clones paper replication package release zip/datasets/oj/programs.pkl",
62
+ "size": 30572619
63
+ },
64
+ {
65
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/ast.pkl",
66
+ "size": 28254515
67
+ },
68
+ {
69
+ "path": "Clones paper replication package release zip/llms/dataset.pickle",
70
+ "size": 13348027
71
+ },
72
+ {
73
+ "path": "Clones paper replication package release zip/datasets/bcb_v2_sampled_bf/data_bcb_v2_sampled_bf.pickle",
74
+ "size": 13347993
75
+ },
76
+ {
77
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/methods.pickle",
78
+ "size": 8286455
79
+ },
80
+ {
81
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/blocks.pickle",
82
+ "size": 7942669
83
+ },
84
+ {
85
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/methods.pickle",
86
+ "size": 7518647
87
+ },
88
+ {
89
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/blocks.pickle",
90
+ "size": 6950754
91
+ },
92
+ {
93
+ "path": "Clones paper replication package release zip/llms/llm_data.csv",
94
+ "size": 5699841
95
+ },
96
+ {
97
+ "path": "Clones paper replication package release zip/oj_dataset_experiments/astnn/data/c/oj_and_scb/programs.pkl",
98
+ "size": 4682591
99
+ },
100
+ {
101
+ "path": "Clones paper replication package release zip/codegrid/data/word2vec_bcb_v2_sampled_bf_and_scb.bin",
102
+ "size": 3767507
103
+ },
104
+ {
105
+ "path": "Clones paper replication package release zip/codegrid/data/word2vec_bcb_v2_sampled_bf.bin",
106
+ "size": 3536861
107
+ },
108
+ {
109
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/embedding/node_w2v_128",
110
+ "size": 3153555
111
+ },
112
+ {
113
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/embedding/node_w2v_128",
114
+ "size": 3086471
115
+ },
116
+ {
117
+ "path": "Clones paper replication package release zip/oj_dataset_experiments/astnn/data/c/oj_and_scb/pair_ids.pkl",
118
+ "size": 2139613
119
+ },
120
+ {
121
+ "path": "Clones paper replication package release zip/datasets/bcb_v2_sampled/bcb_pair_ids.pkl",
122
+ "size": 1167949
123
+ },
124
+ {
125
+ "path": "Clones paper replication package release zip/oj_dataset_experiments/codegrid/data/word2vec_oj_and_scb.bin",
126
+ "size": 565457
127
+ },
128
+ {
129
+ "path": "Clones paper replication package release zip/datasets/oj/oj_clone_ids.pkl",
130
+ "size": 401007
131
+ },
132
+ {
133
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/pair_ids.pickle",
134
+ "size": 264781
135
+ },
136
+ {
137
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/pairs.pickle",
138
+ "size": 264781
139
+ },
140
+ {
141
+ "path": "Clones paper replication package release zip/oj_dataset_experiments/codegrid/data/word2vec_oj.bin",
142
+ "size": 216582
143
+ },
144
+ {
145
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pair_ids.pickle",
146
+ "size": 184724
147
+ },
148
+ {
149
+ "path": "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pairs.pickle",
150
+ "size": 184724
151
+ },
152
+ {
153
+ "path": "Clones paper replication package release zip/llms/llm_experiments.ipynb",
154
+ "size": 50156
155
+ },
156
+ {
157
+ "path": "Clones paper replication package release zip/astnn/create_dataset_for_astnn_pipeline.ipynb",
158
+ "size": 43078
159
+ },
160
+ {
161
+ "path": "Clones paper replication package release zip/assets/contrastive_learning_architecture.drawio.pdf",
162
+ "size": 37880
163
+ }
164
+ ],
165
+ "probes": {
166
+ "Clones paper replication package release zip/datasets/bcb_v2_sampled/bcb_funcs_all.tsv": {
167
+ "kind": "text",
168
+ "rows": 1674982,
169
+ "cols": [
170
+ "74",
171
+ "\" static void copy(String src, String dest) throws IOException {"
172
+ ]
173
+ },
174
+ "Clones paper replication package release zip/llms/llm_data_oj.csv": {
175
+ "kind": "text",
176
+ "rows": 2268479,
177
+ "cols": [
178
+ "id1",
179
+ "id2",
180
+ "label",
181
+ "code1",
182
+ "functionality_id1",
183
+ "code2",
184
+ "functionality_id2",
185
+ "functionality_id"
186
+ ]
187
+ },
188
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/ast.pkl": {
189
+ "kind": "pickle",
190
+ "error": "load failed: ModuleNotFoundError: No module named 'javalang'"
191
+ },
192
+ "Clones paper replication package release zip/datasets/oj/programs.pkl": {
193
+ "kind": "pickle",
194
+ "error": "load failed: ModuleNotFoundError: No module named 'pandas.core.indexes.numeric'"
195
+ },
196
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/ast.pkl": {
197
+ "kind": "pickle",
198
+ "error": "load failed: ModuleNotFoundError: No module named 'javalang'"
199
+ },
200
+ "Clones paper replication package release zip/llms/dataset.pickle": {
201
+ "kind": "dataframe",
202
+ "rows": 4600,
203
+ "columns": [
204
+ "code1",
205
+ "code2",
206
+ "label",
207
+ "functionality_id"
208
+ ],
209
+ "label_counts": {
210
+ "1": 2300,
211
+ "0": 2300
212
+ },
213
+ "unique_label": 2,
214
+ "unique_functionality_id": 23
215
+ },
216
+ "Clones paper replication package release zip/datasets/bcb_v2_sampled_bf/data_bcb_v2_sampled_bf.pickle": {
217
+ "kind": "dataframe",
218
+ "rows": 4600,
219
+ "columns": [
220
+ "code1",
221
+ "code2",
222
+ "label",
223
+ "functionality_id"
224
+ ],
225
+ "label_counts": {
226
+ "1": 2300,
227
+ "0": 2300
228
+ },
229
+ "unique_label": 2,
230
+ "unique_functionality_id": 23
231
+ },
232
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/methods.pickle": {
233
+ "kind": "dataframe",
234
+ "rows": 5371,
235
+ "columns": [
236
+ "id",
237
+ "code"
238
+ ],
239
+ "unique_id": 5371
240
+ },
241
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/blocks.pickle": {
242
+ "kind": "dataframe",
243
+ "rows": 6594,
244
+ "columns": [
245
+ "id1",
246
+ "id2",
247
+ "label",
248
+ "functionality_id",
249
+ "code_x",
250
+ "code_y"
251
+ ],
252
+ "label_counts": {
253
+ "1": 3297,
254
+ "0": 3297
255
+ },
256
+ "unique_id1": 4073,
257
+ "unique_id2": 2481,
258
+ "unique_label": 2
259
+ },
260
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/methods.pickle": {
261
+ "kind": "dataframe",
262
+ "rows": 4140,
263
+ "columns": [
264
+ "id",
265
+ "code"
266
+ ],
267
+ "unique_id": 4140
268
+ },
269
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/blocks.pickle": {
270
+ "kind": "dataframe",
271
+ "rows": 4600,
272
+ "columns": [
273
+ "id1",
274
+ "id2",
275
+ "label",
276
+ "functionality_id",
277
+ "code_x",
278
+ "code_y"
279
+ ],
280
+ "label_counts": {
281
+ "1": 2300,
282
+ "0": 2300
283
+ },
284
+ "unique_id1": 3072,
285
+ "unique_id2": 1515,
286
+ "unique_label": 2,
287
+ "unique_functionality_id": 23
288
+ },
289
+ "Clones paper replication package release zip/llms/llm_data.csv": {
290
+ "kind": "text",
291
+ "rows": 123799,
292
+ "cols": [
293
+ "code1",
294
+ "code2",
295
+ "label",
296
+ "functionality_id"
297
+ ]
298
+ },
299
+ "Clones paper replication package release zip/oj_dataset_experiments/astnn/data/c/oj_and_scb/programs.pkl": {
300
+ "kind": "dataframe",
301
+ "rows": 8290,
302
+ "columns": [
303
+ "id",
304
+ "code"
305
+ ],
306
+ "unique_id": 8290
307
+ },
308
+ "Clones paper replication package release zip/oj_dataset_experiments/astnn/data/c/oj_and_scb/pair_ids.pkl": {
309
+ "kind": "dataframe",
310
+ "rows": 50920,
311
+ "columns": [
312
+ "id1",
313
+ "id2",
314
+ "label",
315
+ "functionality_id",
316
+ "functionality_id2"
317
+ ],
318
+ "label_counts": {
319
+ "0": 47174,
320
+ "1": 3746
321
+ },
322
+ "unique_id1": 8099,
323
+ "unique_id2": 8095,
324
+ "unique_label": 2
325
+ },
326
+ "Clones paper replication package release zip/datasets/bcb_v2_sampled/bcb_pair_ids.pkl": {
327
+ "kind": "dataframe",
328
+ "rows": 97535,
329
+ "columns": [
330
+ "id1",
331
+ "id2",
332
+ "label"
333
+ ],
334
+ "label_counts": {
335
+ "4": 20000,
336
+ "5": 20000,
337
+ "0": 20000,
338
+ "3": 18317,
339
+ "1": 15555,
340
+ "2": 3663
341
+ },
342
+ "unique_label": 6
343
+ },
344
+ "Clones paper replication package release zip/datasets/oj/oj_clone_ids.pkl": {
345
+ "kind": "dataframe",
346
+ "rows": 50000,
347
+ "columns": [
348
+ "id1",
349
+ "id2",
350
+ "label"
351
+ ],
352
+ "label_counts": {
353
+ "0": 46714,
354
+ "1": 3286
355
+ },
356
+ "unique_label": 2
357
+ },
358
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/pair_ids.pickle": {
359
+ "kind": "dataframe",
360
+ "rows": 6600,
361
+ "columns": [
362
+ "id1",
363
+ "id2",
364
+ "label",
365
+ "functionality_id"
366
+ ],
367
+ "label_counts": {
368
+ "1": 3300,
369
+ "0": 3300
370
+ },
371
+ "unique_id1": 4076,
372
+ "unique_id2": 2484,
373
+ "unique_label": 2
374
+ },
375
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf_and_scb/pairs.pickle": {
376
+ "kind": "dataframe",
377
+ "rows": 6600,
378
+ "columns": [
379
+ "id1",
380
+ "id2",
381
+ "label",
382
+ "functionality_id"
383
+ ],
384
+ "label_counts": {
385
+ "1": 3300,
386
+ "0": 3300
387
+ },
388
+ "unique_id1": 4076,
389
+ "unique_id2": 2484,
390
+ "unique_label": 2
391
+ },
392
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pair_ids.pickle": {
393
+ "kind": "dataframe",
394
+ "rows": 4600,
395
+ "columns": [
396
+ "id1",
397
+ "id2",
398
+ "label",
399
+ "functionality_id"
400
+ ],
401
+ "label_counts": {
402
+ "1": 2300,
403
+ "0": 2300
404
+ },
405
+ "unique_id1": 3072,
406
+ "unique_id2": 1515,
407
+ "unique_label": 2,
408
+ "unique_functionality_id": 23
409
+ },
410
+ "Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pairs.pickle": {
411
+ "kind": "dataframe",
412
+ "rows": 4600,
413
+ "columns": [
414
+ "id1",
415
+ "id2",
416
+ "label",
417
+ "functionality_id"
418
+ ],
419
+ "label_counts": {
420
+ "1": 2300,
421
+ "0": 2300
422
+ },
423
+ "unique_id1": 3072,
424
+ "unique_id2": 1515,
425
+ "unique_label": 2,
426
+ "unique_functionality_id": 23
427
+ },
428
+ "Clones paper replication package release zip/llms/functionalities.pickle": {
429
+ "kind": "dataframe",
430
+ "rows": 43,
431
+ "columns": [
432
+ "name",
433
+ "description",
434
+ "id",
435
+ "search_heuristic"
436
+ ],
437
+ "unique_name": 43,
438
+ "unique_id": 43
439
+ }
440
+ },
441
+ "scb": {
442
+ "Clones paper replication package release zip/datasets/scb/C": {
443
+ "Stand Alone Clones": {
444
+ "files": 1000,
445
+ "clone_named": 1000
446
+ }
447
+ },
448
+ "Clones paper replication package release zip/datasets/scb/Java": {
449
+ "Stand Alone Clones": {
450
+ "files": 1000,
451
+ "clone_named": 1000
452
+ }
453
+ }
454
+ },
455
+ "verdict": [
456
+ "PASS",
457
+ "Clones paper replication package release zip/datasets/bcb_v2_sampled_bf/data_bcb_v2_sampled_bf.pickle: 4600 pairs, labels {1: 2300, 0: 2300}, functionality cols {'functionality_id': 23} (+4 duplicate copy/copies: Clones paper replication package release zip/llms/dataset.pickle, Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/blocks.pickle, Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pair_ids.pickle, Clones paper replication package release zip/astnn/data/java/bcb_v2_sampled_bf/pairs.pickle)"
458
+ ]
459
+ }
460
+ ```
461
+
462
+ ## Gate G1 — hardness check
463
+
464
+ ### run 2026-09-26 (Colab T4, first mining run) — version `phase01-v5`, margin 0.02
465
+
466
+ - C1: mean cos(anchor, negative) = 0.96068 (sd 0.026, n = 20000)
467
+ - C2: mean cos(anchor, negative) = 0.97526 (sd 0.022, n = 20000)
468
+ - C3: mean cos(anchor, negative) = 0.98845 (sd 0.007, n = 20000)
469
+ - **verdict: FAIL** — C1→C2 gap +0.0146 < margin 0.02 (mining produced equally easy negatives)
470
+
471
+ Context recorded at the time: ordering C1 < C2 ≤ C3 holds; the C1→C2 gap is ≈70 standard errors (n = 20,000) and d ≈ 0.6, but the full C1→C3 range of this untuned, anisotropic space is only 0.028, so the absolute 0.02 margin (set in `settings.py` before the spread was known) asks C2 to cover ~75% of it. Per SCOPE P6-3 training is blocked; next step is `python -m scripts.hardness_diagnostics` (percentile-rank view), then either a mining fix or an explicit, documented re-operationalisation of "visible gap" — decided before any training, with this run kept here either way.
sync_manifest.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "phase01-v5",
3
+ "synced_at_utc": "2026-09-26T15:24:12Z",
4
+ "staged_files": [
5
+ "artifacts/codexglue_data.jsonl",
6
+ "artifacts/fragments.jsonl",
7
+ "artifacts/manifest.json",
8
+ "artifacts/overlap.json",
9
+ "artifacts/pairs_test.tsv",
10
+ "artifacts/pairs_train.tsv",
11
+ "artifacts/pairs_valid.tsv",
12
+ "artifacts/token_lengths.json",
13
+ "report/measurements.md"
14
+ ]
15
+ }