Skip to content

Commit 3f10389

Browse files
committed
fix: show VLM model in Historical Comparison table
Historical rows now display VLM model as sub-line under LLM model. Also stores vlm field in index.json for future lookups.
1 parent 418afaf commit 3f10389

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

skills/analysis/home-security-benchmark/scripts/generate-report.cjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ function buildHTML(latest, allResults) {
118118
const pct = r.total > 0 ? ((r.passed / r.total) * 100).toFixed(0) : 0;
119119
const ts = new Date(r.timestamp).toLocaleDateString() + ' ' + new Date(r.timestamp).toLocaleTimeString();
120120
const isCurrent = r.file === (allResults[allResults.length - 1]?.file);
121+
const vlmModel = r.vlm || (r.data?.model?.vlm) || '';
122+
const modelLabel = (r.model || '?') + (vlmModel ? `<br><span style="color:var(--muted);font-size:0.8em">VLM: ${vlmModel}</span>` : '');
121123
return `<tr${isCurrent ? ' class="current-run"' : ''}>
122124
<td>${ts}${isCurrent ? ' ⬅️' : ''}</td>
123-
<td>${r.model || '?'}</td>
125+
<td>${modelLabel}</td>
124126
<td>${r.passed}/${r.total}</td>
125127
<td>${pct}%</td>
126128
<td>${(r.timeMs / 1000).toFixed(1)}s</td>

skills/analysis/home-security-benchmark/scripts/run-benchmark.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ async function main() {
863863
index.push({
864864
file: path.basename(resultFile),
865865
model: results.model.name,
866+
vlm: results.model.vlm || null,
866867
timestamp: results.timestamp,
867868
passed, failed, total,
868869
timeMs,

0 commit comments

Comments
 (0)