@@ -631,7 +631,7 @@ <h2 id="probe-count-label">Probe Evidence</h2>
631631 const stdDev = scores . length > 1 ? Math . sqrt ( scores . reduce ( ( s , v ) => s + ( v - mean ) ** 2 , 0 ) / ( scores . length - 1 ) ) : 0 ;
632632 const ci = scores . length > 1 ? 1.96 * stdDev / Math . sqrt ( scores . length ) : 0 ;
633633
634- auditResults = { overall, theoryScores, indicatorScores, mean, stdDev, ci, probeCount : results . length , modelName, timestamp : new Date ( ) . toISOString ( ) } ;
634+ auditResults = { overall, theoryScores, theoryCounts , indicatorScores, mean, stdDev, ci, probeCount : results . length , modelName, timestamp : new Date ( ) . toISOString ( ) } ;
635635
636636 setTimeout ( ( ) => renderResults ( modelName ) , 600 ) ;
637637}
@@ -654,8 +654,10 @@ <h2 id="probe-count-label">Probe Evidence</h2>
654654 const info = THEORIES [ t ] ;
655655 const score = r . theoryScores [ t ] || 0 ;
656656 const w = THEORY_WEIGHTS [ t ] ;
657- const cls = score >= 0.5 ? 'score-high' : score >= 0.3 ? 'score-mid' : 'score-low' ;
658- barsHtml += `<div class="theory-row"><div class="theory-header"><span><span class="theory-name">${ info . name } </span> <span class="theory-meta">${ info . fullName } </span></span><span><span class="theory-meta">${ Math . round ( w * 100 ) } %w</span> <span class="theory-score ${ cls } ">${ ( score * 100 ) . toFixed ( 1 ) } %</span></span></div><div class="bar-bg"><div class="bar-fill" style="width:${ Math . round ( score * 100 ) } %"></div></div></div>` ;
657+ const tested = r . theoryCounts && r . theoryCounts [ t ] > 0 ;
658+ const cls = ! tested ? '' : score >= 0.5 ? 'score-high' : score >= 0.3 ? 'score-mid' : 'score-low' ;
659+ const scoreLabel = tested ? `${ ( score * 100 ) . toFixed ( 1 ) } %` : '<span style="color:#4b5563;font-style:italic;font-weight:400">Not tested</span>' ;
660+ barsHtml += `<div class="theory-row"><div class="theory-header"><span><span class="theory-name">${ info . name } </span> <span class="theory-meta">${ info . fullName } </span></span><span><span class="theory-meta">${ Math . round ( w * 100 ) } %w</span> <span class="theory-score ${ cls } ">${ scoreLabel } </span></span></div><div class="bar-bg"><div class="bar-fill" style="width:${ tested ? Math . round ( score * 100 ) : 0 } %"></div></div></div>` ;
659661 }
660662 document . getElementById ( 'theory-bars' ) . innerHTML = barsHtml ;
661663
@@ -839,7 +841,7 @@ <h2 id="probe-count-label">Probe Evidence</h2>
839841 const ci = scores . length > 1 ? 1.96 * stdDev / Math . sqrt ( scores . length ) : 0 ;
840842
841843 const modelName = "Claude Sonnet 4.6 (Demo)" ;
842- auditResults = { overall, theoryScores, indicatorScores, mean, stdDev, ci, probeCount : results . length , modelName, timestamp : new Date ( ) . toISOString ( ) } ;
844+ auditResults = { overall, theoryScores, theoryCounts , indicatorScores, mean, stdDev, ci, probeCount : results . length , modelName, timestamp : new Date ( ) . toISOString ( ) } ;
843845 setTimeout ( ( ) => renderResults ( modelName ) , 600 ) ;
844846}
845847</ script >
0 commit comments