Kusshal commited on
Commit
37ae395
·
verified ·
1 Parent(s): cefbb4f

sync EmbedEd artifacts (phase01-v6)

Browse files
artifacts/gate_runs.json CHANGED
@@ -32,6 +32,38 @@
32
  }
33
  }
34
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  {
36
  "stamp": null,
37
  "version": "phase01-v6",
 
32
  }
33
  }
34
  },
35
+ {
36
+ "stamp": null,
37
+ "version": "phase01-v6",
38
+ "rule": "D1 scale-aware: C1 < C2 <= C3 and d(C1->C2) >= 0.5",
39
+ "ok": true,
40
+ "d_c1_c2": 0.614,
41
+ "ci": [
42
+ 0.795,
43
+ 1.202
44
+ ],
45
+ "recorded_source": null,
46
+ "per_condition": {
47
+ "C1": {
48
+ "mean_cos": 0.96068,
49
+ "std": 0.0257,
50
+ "n_samples": 20000,
51
+ "n_anchors": 1000
52
+ },
53
+ "C2": {
54
+ "mean_cos": 0.97526,
55
+ "std": 0.02162,
56
+ "n_samples": 20000,
57
+ "n_anchors": 1000
58
+ },
59
+ "C3": {
60
+ "mean_cos": 0.98845,
61
+ "std": 0.00722,
62
+ "n_samples": 20000,
63
+ "n_anchors": 1000
64
+ }
65
+ }
66
+ },
67
  {
68
  "stamp": null,
69
  "version": "phase01-v6",
report/measurements.md CHANGED
@@ -503,6 +503,17 @@ Context recorded at the time: ordering C1 < C2 ≤ C3 holds; the C1→C2 gap is
503
  - legacy absolute-margin rule (0.02): FAIL — C1→C2 gap +0.0146 < margin 0.02 (mining produced equally easy negatives) (reported for the record; not the verdict since v6)
504
  - **verdict: PASS** — order C1 < C2 <= C3 holds (0.9607 < 0.9753 <= 0.9885) and d(C1→C2) = 0.614 >= 0.5 (absolute gap +0.0146)
505
 
 
 
 
 
 
 
 
 
 
 
 
506
  ## Gate G1 — diagnostics (scale of the space; no verdict)
507
 
508
  `python -m scripts.hardness_diagnostics` — version `phase01-v6`, 1600 anchors × k=20, corpus 6451. Percentile = share of corpus fragments less similar to the anchor than the negative (50 = random, 100 = nearest).
@@ -528,6 +539,7 @@ Label-noise floors (correction 5; proxies, not the audit): share of negatives th
528
  | C3 negatives | 0.00% | 0.05% | 0.40 | 31.4% | 6.9% |
529
  | labelled positives | — | — | 0.28 | 5.1% | 0.2% |
530
 
 
531
  ## False-negative audit (50 + 50, blind; SCOPE P2-9)
532
 
533
  `python -m scripts.audit_sample score` — version `phase01-v6`. Share of mined negatives judged to be clones (functional equivalence). Headline counts `unsure` as not_clone; the upper bound counts it as clone.
 
503
  - legacy absolute-margin rule (0.02): FAIL — C1→C2 gap +0.0146 < margin 0.02 (mining produced equally easy negatives) (reported for the record; not the verdict since v6)
504
  - **verdict: PASS** — order C1 < C2 <= C3 holds (0.9607 < 0.9753 <= 0.9885) and d(C1→C2) = 0.614 >= 0.5 (absolute gap +0.0146)
505
 
506
+ ### run 2026-09-28 16:35 UTC — version `phase01-v6`, rule: D1 scale-aware: C1 < C2 <= C3 and d(C1->C2) >= 0.5
507
+
508
+ - C1: mean cos(anchor, negative) = 0.96068 (sd 0.026, n = 20000, anchors = 1000)
509
+ - C2: mean cos(anchor, negative) = 0.97526 (sd 0.022, n = 20000, anchors = 1000)
510
+ - C3: mean cos(anchor, negative) = 0.98845 (sd 0.007, n = 20000, anchors = 1000)
511
+ - corpus percentile of the negative in its anchor's similarity ranking, median: C1 50.1 / C2 91.9 / C3 99.8 (50 = random, 100 = nearest); inside the anchor's top-20: C1 0.3% / C2 15.4% / C3 94.8%
512
+ - embeddings: microsoft/graphcodebert-base max_len=512 n=8063 version=phase01-v5
513
+ - d(C1→C2) = 0.614, 95% CI 0.795–1.202 (2000 resamples over anchors, not negatives)
514
+ - legacy absolute-margin rule (0.02): FAIL — C1→C2 gap +0.0146 < margin 0.02 (mining produced equally easy negatives) (reported for the record; not the verdict since v6)
515
+ - **verdict: PASS** — order C1 < C2 <= C3 holds (0.9607 < 0.9753 <= 0.9885) and d(C1→C2) = 0.614 >= 0.5 (absolute gap +0.0146)
516
+
517
  ## Gate G1 — diagnostics (scale of the space; no verdict)
518
 
519
  `python -m scripts.hardness_diagnostics` — version `phase01-v6`, 1600 anchors × k=20, corpus 6451. Percentile = share of corpus fragments less similar to the anchor than the negative (50 = random, 100 = nearest).
 
539
  | C3 negatives | 0.00% | 0.05% | 0.40 | 31.4% | 6.9% |
540
  | labelled positives | — | — | 0.28 | 5.1% | 0.2% |
541
 
542
+
543
  ## False-negative audit (50 + 50, blind; SCOPE P2-9)
544
 
545
  `python -m scripts.audit_sample score` — version `phase01-v6`. Share of mined negatives judged to be clones (functional equivalence). Headline counts `unsure` as not_clone; the upper bound counts it as clone.
sync_manifest.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "version": "phase01-v6",
3
- "synced_at_utc": "2026-09-28T15:32:51Z",
4
  "staged_files": [
5
  "artifacts/audit/audit_key.csv",
6
  "artifacts/audit/audit_labels.csv",
 
1
  {
2
  "version": "phase01-v6",
3
+ "synced_at_utc": "2026-09-28T16:35:50Z",
4
  "staged_files": [
5
  "artifacts/audit/audit_key.csv",
6
  "artifacts/audit/audit_labels.csv",