File size: 4,473 Bytes
2d6c392
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
  "audit_recipe_sha256": "fe4f81e28745a75ba3d9a88036af6af9d67600ad0b65beb3e85d71f7da1443e3",
  "created_at": "2026-08-11T07:26:57.506838+00:00",
  "dataset_id": "GD_19330e06aae0462447c1fd05ccaa38d7",
  "external_sca_blind_gate": "not_run; excluded from grade and required before production promotion",
  "grade_point_average": 3.6600000000000006,
  "input_artifacts": {
    "dataset_card": {
      "path": "artifacts/reference_v3_multidomain/dataset/dataset_card.json",
      "sha256": "0acbdc0b4817c53d1b183cb1b987516d1dd1b441384ccda59d16a317da9bdb3e"
    },
    "selection": {
      "path": "artifacts/reference_v3_multidomain/model_selection.json",
      "sha256": "69b6ff21747261c953a38e3b6fe1a7c968aab0a3e79c745b3bb5fbcb0b53ab78"
    },
    "test_evaluation": {
      "path": "artifacts/reference_v3_multidomain/test_evaluation.json",
      "sha256": "df89765ad0df31237cb808750130341c881a049405cc8ffaa70f5b6216a193d7"
    }
  },
  "integrity_failures": [],
  "schema": "bora-gold-quality-audit-v1",
  "target": "average B+ or better; no critical provenance/split unit below B",
  "target_pass": true,
  "units": [
    {
      "gate": "all pair/manifests/split SHA-256 values resolve",
      "grade": "A",
      "unit": "Immutable artifact lineage",
      "value": 1.0
    },
    {
      "gate": "P1 DWARF address mapping; stripped analysis never receives source names",
      "grade": "A",
      "unit": "Address-grounded true-strip alignment",
      "value": 0.995
    },
    {
      "gate": "distinct immutable repositories",
      "grade": "A",
      "unit": "Real-project breadth",
      "value": 138
    },
    {
      "gate": "accepted nontrivial P1 pairs",
      "grade": "A",
      "unit": "Gold sample size",
      "value": 42449
    },
    {
      "gate": "independent compiler families",
      "grade": "B+",
      "unit": "Compiler-family diversity",
      "value": 2
    },
    {
      "gate": "distinct target architectures",
      "grade": "A",
      "unit": "Architecture diversity",
      "value": 3
    },
    {
      "gate": "distinct executable container formats represented by accepted P1 pairs",
      "grade": "B+",
      "unit": "Binary container diversity",
      "value": {
        "elf": 40733,
        "pe": 1716
      }
    },
    {
      "gate": "distinct target OS and libc/runtime families represented by accepted P1 pairs",
      "grade": "B+",
      "unit": "OS/libc diversity",
      "value": {
        "libcs": {
          "glibc": 40733,
          "mingw": 1716
        },
        "operating_systems": {
          "linux": 40733,
          "windows": 1716
        }
      }
    },
    {
      "gate": "Itanium and MSVC ABI coverage are tracked separately",
      "grade": "C",
      "unit": "C++ ABI diversity",
      "value": {
        "itanium": 8020
      }
    },
    {
      "gate": "same source occurrence has two or more independently built target profiles",
      "grade": "B",
      "unit": "Same-source cross-domain positives",
      "value": {
        "fraction": 0.26503186478248825,
        "multi_domain_source_occurrences": 1913,
        "source_occurrences": 7218
      }
    },
    {
      "gate": "distinct optimization modes",
      "grade": "A",
      "unit": "Optimization diversity",
      "value": 4
    },
    {
      "gate": "zero lineage overlap and sufficiently broad development/test repositories",
      "grade": "A",
      "unit": "Repo/lineage/near-clone disjoint split",
      "value": {
        "minimum_holdout_repositories": 14,
        "overlap": {
          "development_test": 0,
          "train_development": 0,
          "train_test": 0
        }
      }
    },
    {
      "gate": "three seeds; Recall@1 max-minus-min",
      "grade": "A",
      "unit": "Multi-seed development stability",
      "value": 0.0033506449991623777
    },
    {
      "gate": "development-only selection and test/model SHA-256 values form one immutable chain",
      "grade": "A",
      "unit": "Frozen selection/evaluation lineage",
      "value": 1.0
    },
    {
      "gate": "selected on development only; paired query bootstrap on untouched test",
      "grade": "A",
      "unit": "Frozen internal test retrieval",
      "value": {
        "baseline": "v14_champion",
        "mrr_delta": 0.05932346545058792,
        "paired_ci_lower": {
          "mrr": 0.05392515608399423,
          "recall_at_1": 0.05624834173520826
        },
        "recall_at_1_delta": 0.06394269036879807
      }
    }
  ]
}