Spaces:
Running
Running
Upload result.html
Browse files- templates/result.html +36 -35
templates/result.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>AI SBOM Generated</title>
|
7 |
-
<
|
8 |
body {
|
9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
10 |
margin: 0;
|
@@ -1221,39 +1221,7 @@
|
|
1221 |
</div>
|
1222 |
</div>
|
1223 |
|
1224 |
-
<!-- Generic Scoring Explanation -->
|
1225 |
-
<div class="scoring-rubric">
|
1226 |
-
<h4>How AI SBOM Completeness is Scored</h4>
|
1227 |
-
<p>The completeness score evaluates how well your AI SBOM documents the model across five key categories:</p>
|
1228 |
-
<ul>
|
1229 |
-
<li><strong>Required Fields (20 points):</strong> Basic SBOM structure mandated by CycloneDX</li>
|
1230 |
-
<li><strong>Metadata (20 points):</strong> Information about the SBOM generation and model purpose</li>
|
1231 |
-
<li><strong>Component Basic (20 points):</strong> Essential model identification and licensing</li>
|
1232 |
-
<li><strong>Model Card (30 points):</strong> Detailed AI-specific documentation for transparency</li>
|
1233 |
-
<li><strong>External References (10 points):</strong> Links to model resources and documentation</li>
|
1234 |
-
</ul>
|
1235 |
-
|
1236 |
-
<p><strong>Calculation Method:</strong></p>
|
1237 |
-
<p>Each category score = (Present Fields ÷ Total Fields) × Maximum Points</p>
|
1238 |
-
<p>Subtotal = Sum of all category scores</p>
|
1239 |
-
<p>Final Score = Subtotal × Penalty Factor (if applicable)</p>
|
1240 |
-
<h4>Penalty Structure:</h4>
|
1241 |
-
<p><strong>Critical Fields Missing:</strong></p>
|
1242 |
-
<ul>
|
1243 |
-
<li>0-1 missing: No penalty</li>
|
1244 |
-
<li>2-3 missing: 10% penalty (×0.9)</li>
|
1245 |
-
<li>4+ missing: 20% penalty (×0.8)</li>
|
1246 |
-
</ul>
|
1247 |
-
|
1248 |
-
<p><strong>Important Fields Missing:</strong></p>
|
1249 |
-
<ul>
|
1250 |
-
<li>0-4 missing: No penalty</li>
|
1251 |
-
<li>5+ missing: 5% penalty (×0.95)</li>
|
1252 |
-
</ul>
|
1253 |
-
|
1254 |
-
<p><strong>Note:</strong> Penalties are cumulative and applied to the subtotal. For example, if you have 3 critical fields missing AND 5 important fields missing, both penalties apply: Subtotal × 0.9 × 0.95 = Final Score.</p>
|
1255 |
|
1256 |
-
</div>
|
1257 |
|
1258 |
<!-- Specific Breakdown for This SBOM -->
|
1259 |
<div class="note-box">
|
@@ -1306,7 +1274,6 @@
|
|
1306 |
</tbody>
|
1307 |
</table>
|
1308 |
</div>
|
1309 |
-
|
1310 |
|
1311 |
<p><strong>Calculation:</strong></p>
|
1312 |
<p>Subtotal:
|
@@ -1357,6 +1324,40 @@
|
|
1357 |
<li><strong>External References:</strong> Add links to source code, datasets, documentation, and versioned download locations to support traceability and reproducibility.</li>
|
1358 |
</ul>
|
1359 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1360 |
{% endif %}
|
1361 |
</div>
|
1362 |
</div>
|
@@ -1372,7 +1373,7 @@
|
|
1372 |
</div>
|
1373 |
</div>
|
1374 |
</div>
|
1375 |
-
|
1376 |
<!-- Support Section -->
|
1377 |
<div class="support-section">
|
1378 |
<h3>🛠️ Need Help or Found an Issue?</h3>
|
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>AI SBOM Generated</title>
|
7 |
+
<style>
|
8 |
body {
|
9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
10 |
margin: 0;
|
|
|
1221 |
</div>
|
1222 |
</div>
|
1223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1224 |
|
|
|
1225 |
|
1226 |
<!-- Specific Breakdown for This SBOM -->
|
1227 |
<div class="note-box">
|
|
|
1274 |
</tbody>
|
1275 |
</table>
|
1276 |
</div>
|
|
|
1277 |
|
1278 |
<p><strong>Calculation:</strong></p>
|
1279 |
<p>Subtotal:
|
|
|
1324 |
<li><strong>External References:</strong> Add links to source code, datasets, documentation, and versioned download locations to support traceability and reproducibility.</li>
|
1325 |
</ul>
|
1326 |
</div>
|
1327 |
+
|
1328 |
+
<!-- Generic Scoring Explanation -->
|
1329 |
+
<div class="scoring-rubric">
|
1330 |
+
<h4>How AI SBOM Completeness is Scored</h4>
|
1331 |
+
<p>The completeness score evaluates how well your AI SBOM documents the model across five key categories:</p>
|
1332 |
+
<ul>
|
1333 |
+
<li><strong>Required Fields (20 points):</strong> Basic SBOM structure mandated by CycloneDX</li>
|
1334 |
+
<li><strong>Metadata (20 points):</strong> Information about the SBOM generation and model purpose</li>
|
1335 |
+
<li><strong>Component Basic (20 points):</strong> Essential model identification and licensing</li>
|
1336 |
+
<li><strong>Model Card (30 points):</strong> Detailed AI-specific documentation for transparency</li>
|
1337 |
+
<li><strong>External References (10 points):</strong> Links to model resources and documentation</li>
|
1338 |
+
</ul>
|
1339 |
+
|
1340 |
+
<p><strong>Calculation Method:</strong></p>
|
1341 |
+
<p>Each category score = (Present Fields ÷ Total Fields) × Maximum Points</p>
|
1342 |
+
<p>Subtotal = Sum of all category scores</p>
|
1343 |
+
<p>Final Score = Subtotal × Penalty Factor (if applicable)</p>
|
1344 |
+
<h4>Penalty Structure:</h4>
|
1345 |
+
<p><strong>Critical Fields Missing:</strong></p>
|
1346 |
+
<ul>
|
1347 |
+
<li>0-1 missing: No penalty</li>
|
1348 |
+
<li>2-3 missing: 10% penalty (×0.9)</li>
|
1349 |
+
<li>4+ missing: 20% penalty (×0.8)</li>
|
1350 |
+
</ul>
|
1351 |
+
|
1352 |
+
<p><strong>Important Fields Missing:</strong></p>
|
1353 |
+
<ul>
|
1354 |
+
<li>0-4 missing: No penalty</li>
|
1355 |
+
<li>5+ missing: 5% penalty (×0.95)</li>
|
1356 |
+
</ul>
|
1357 |
+
|
1358 |
+
<p><strong>Note:</strong> Penalties are cumulative and applied to the subtotal. For example, if you have 3 critical fields missing AND 5 important fields missing, both penalties apply: Subtotal × 0.9 × 0.95 = Final Score.</p>
|
1359 |
+
|
1360 |
+
</div>
|
1361 |
{% endif %}
|
1362 |
</div>
|
1363 |
</div>
|
|
|
1373 |
</div>
|
1374 |
</div>
|
1375 |
</div>
|
1376 |
+
|
1377 |
<!-- Support Section -->
|
1378 |
<div class="support-section">
|
1379 |
<h3>🛠️ Need Help or Found an Issue?</h3>
|