Skip to content

Commit f3bfa5b

Browse files
committed
feat: split Model card into separate LLM and VLM stat cards
Report hero now shows: - LLM: gpt-5.2-codex (Apple M3) - VLM: LFM2.5-VL-1.6B-Q8_0.gguf (Vision Model) VLM card only appears when VLM was used in the run.
1 parent 3f10389 commit f3bfa5b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border
176176
<div class="container">
177177
178178
<h1>🛡️ Home Security AI Benchmark</h1>
179-
<p class="subtitle">${model.name || 'Unknown Model'}${model.vlm ? ' + VLM: ' + model.vlm : ''}${new Date(latest.timestamp).toLocaleDateString()} ${new Date(latest.timestamp).toLocaleTimeString()}</p>
179+
<p class="subtitle">${new Date(latest.timestamp).toLocaleDateString()} ${new Date(latest.timestamp).toLocaleTimeString()}</p>
180180
181181
<div class="hero">
182182
<div class="stat-card">
183183
<div class="label">Pass Rate</div>
184-
<div class="value" style="color:${totals.failed === 0 ? 'var(--green)' : totals.passed > totals.failed ? 'var(--yellow)' : 'var(--red)'}">${passRate}%</div>
184+
<div class="value" style="color:${totals.failed === 0 ? 'var(--green)' : totals.passed > totals.failed ? 'var(--yellow)' : 'var(--red)'}"> ${passRate}%</div>
185185
<div class="sub">${totals.passed}/${totals.total} tests passed</div>
186186
</div>
187187
<div class="stat-card">
@@ -195,10 +195,15 @@ footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border
195195
<div class="sub">${tokPerSec} tok/s</div>
196196
</div>
197197
<div class="stat-card">
198-
<div class="label">Model</div>
198+
<div class="label">LLM</div>
199199
<div class="value" style="font-size:1rem">${model.name || '?'}</div>
200-
<div class="sub">${model.vlm ? 'VLM: ' + model.vlm : system.cpu || '?'}</div>
201-
</div>
200+
<div class="sub">${system.cpu || '?'}</div>
201+
</div>${model.vlm ? `
202+
<div class="stat-card">
203+
<div class="label">VLM</div>
204+
<div class="value" style="font-size:1rem">${model.vlm}</div>
205+
<div class="sub">Vision Model</div>
206+
</div>` : ''}
202207
</div>
203208
204209
<h2>Suite Summary</h2>

0 commit comments

Comments
 (0)