Skip to content

Commit c491689

Browse files
kronosapiensclaude
andauthored
Hide posterior weights from results page and lower confidence threshold (#111)
Remove posterior weight display (score and progress bar) from /results screen to reduce uncertainty. Keep weights only in /graph page. Also reduce CONFIDENCE_N from 12 to 10 pairs to unlock results sooner. Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 12a536b commit c491689

3 files changed

Lines changed: 2 additions & 41 deletions

File tree

backend/src/constants/judging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const JUDGING_SESSION_SIZE = 10;
77
* Minimum comparisons per entry before results are public.
88
* Results are locked until totalComparisons >= entryCount * CONFIDENCE_N.
99
*/
10-
export const CONFIDENCE_N = 12;
10+
export const CONFIDENCE_N = 10;
1111

1212
export function getTotalPairCount(entryCount: number): number {
1313
if (entryCount < 2) {

client/src/pages/Results.css

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -227,18 +227,6 @@
227227
white-space: nowrap;
228228
}
229229

230-
.results-score {
231-
font-size: 20px;
232-
font-weight: 700;
233-
color: var(--mist);
234-
font-variant-numeric: tabular-nums;
235-
flex-shrink: 0;
236-
}
237-
238-
.results-entry--top1 .results-score {
239-
color: var(--gold);
240-
}
241-
242230
.results-entry-team {
243231
font-size: 13px;
244232
color: var(--stone);
@@ -278,29 +266,6 @@
278266
transform: translateY(-1px);
279267
}
280268

281-
/* ─── Score Bar ─── */
282-
283-
.results-bar {
284-
height: 3px;
285-
background: var(--ash);
286-
border-radius: 2px;
287-
overflow: hidden;
288-
margin-top: 4px;
289-
}
290-
291-
.results-bar-fill {
292-
height: 100%;
293-
background: var(--neon-red);
294-
border-radius: 2px;
295-
box-shadow: 0 0 6px var(--neon-glow);
296-
transition: width 1.2s ease-out;
297-
}
298-
299-
.results-entry--top1 .results-bar-fill {
300-
background: var(--gold);
301-
box-shadow: 0 0 6px var(--gold-dim);
302-
}
303-
304269
/* ─── Nav ─── */
305270

306271
.results-nav {

client/src/pages/Results.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export default function Results() {
109109
<div className="results-entry-header">
110110
<span className="results-entry-emoji">{r.entry.emoji}</span>
111111
<h2 className="results-entry-title">{r.entry.title}</h2>
112-
<span className="results-score">{r.weight.toFixed(1)}%</span>
113112
</div>
114113
<div className="results-entry-team">{r.entry.team.join(', ')}</div>
115114
<div className="results-entry-chips">
@@ -121,9 +120,6 @@ export default function Results() {
121120
</a>
122121
)}
123122
</div>
124-
<div className="results-bar">
125-
<div className="results-bar-fill" style={{ width: `${r.weight}%` }} />
126-
</div>
127123
</div>
128124
</div>
129125
))}
@@ -136,7 +132,7 @@ export default function Results() {
136132
<button
137133
className="results-export-btn"
138134
onClick={() => {
139-
const csv = ['project,weight', ...rankings.map((r) => `"${r.entry.title.replace(/"/g, '""')}",${r.weight.toFixed(1)}`)].join('\n');
135+
const csv = ['rank,project', ...rankings.map((r, i) => `${i + 1},"${r.entry.title.replace(/"/g, '""')}"`)].join('\n');
140136
const blob = new Blob([csv], { type: 'text/csv' });
141137
const a = document.createElement('a');
142138
a.href = URL.createObjectURL(blob);

0 commit comments

Comments
 (0)