
Data Centers on the Ballot
return `${sw('r')}Restrict ahead${sw('a')}Allow ahead${sw('t')}Too close (under 2 pts)${sw('r early')}Early count (under half in)${sw('r won')}Won (complete count)${withNone ? `${sw('n')}No results posted` : ''}${past}`;
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Decided earlier in 2026: ''; return${sw('r')}Restrict ahead${sw('a')}Allow ahead${sw('t')}Too close (under 2 pts)${sw('r early')}Early count (under half in)${sw('r won')}Won (complete count)${withNone ? ${sw('n')}No results posted : ''}${past}`;
}
// ---------- scorecard ----------
// Types of measure, most common first; ties keep KIND_ORDER.
function kindsByCount() { const c = (k) => A.nov.filter((v) => v.kind === k).length; return KIND_ORDER.filter((k) => c(k)).sort((a, b) => c(b) - c(a)); }
function segCounts(items) {
const rep = items.filter((v) => v.has), c = { rw: 0, rl: 0, t: 0, al: 0, aw: 0, n: items.length - rep.length };
rep.forEach((v) => { if (v.out.tier === 'close') c.t++; else if (v.leader === 'restrict') c[v.out.tier === 'won' ? 'rw' : 'rl']++; else c[v.out.tier === 'won' ? 'aw' : 'al']++; });
return c;
}
function segBar(c, total, keyPrefix, cls, label) {
return c[k]).map(([k, l]) =>${l} ${c[k]}).join(' · ')})}">${SEGS.filter(([k]) => c[k]).map(([k, l]) => ``).join('')}
; } // The measures decided earlier in 2026, beside the Nov 3 tally and never inside it. function earlierScoreHTML() { const d = A.decided; if (!d.length) return ''; const c = segCounts(d), tally = c.aw === 0 ? Restrict won all ${d.length}: c.rw === 0 ?Allow won all ${d.length}:Restrict ${c.rw} · Allow ${c.aw}; return Decided earlier in 2026See them ›${tally}${segBar(c, d.length, 'score:past:', 'bar thin', 'Decided earlier in 2026')}
; } function renderScore() { const n = A.nov.length, el = $('#scorecard'); if (A.pre) { const max = Math.max(...KIND_ORDER.map((k) => A.nov.filter((v) => v.kind === k).length)); el.innerHTML = On the ballot · ${n} measures
${pngActions('score')}
+ kindsByCount().map((k) => { const items = A.nov.filter((v) => v.kind === k); if (!items.length) return ''; return${KIND_LABEL[k]}${items.length}
; }).join('') + earlierScoreHTML() + ${A.nov.filter((v) => v.race.yes_means === 'allow').length} of the ${n} are worded so that YES is the pro-data-center side; the tracker flips those so Restrict and Allow always mean the same thing. Click a type to see those measures.
Leading means ahead by 2 points or more; won means a complete count (every precinct in, or the county's final count in states that count mail ballots for days). ${A.decided.length ? 'The measures decided earlier in 2026 are not in the Nov 3 counts. ' : ''}Nothing here is certified.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。