cmpatino HF Staff Claude Opus 4.8 (1M context) commited on
Commit
2cb3a4e
Β·
1 Parent(s): 99adf89

Remove status (NEGATIVE) tag from the hover card

Browse files

Drop the per-submission status pill from the point card and its unused CSS,
so the score line shows only the score and the verified mark.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. index.html +1 -6
index.html CHANGED
@@ -145,10 +145,6 @@
145
  font-size: 9px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase;
146
  padding: 2px 6px; border-radius: 3px; background: var(--accent); color: #fff; align-self: center;
147
  }
148
- .pc-tag {
149
- font-size: 9px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase;
150
- padding: 2px 6px; border-radius: 3px; border: 1px solid var(--border); color: var(--muted-2); align-self: center;
151
- }
152
  .pc-rows {
153
  display: grid; grid-template-columns: 62px 1fr; gap: 4px 10px;
154
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; line-height: 1.45;
@@ -512,7 +508,6 @@ function buildPointCardHtml(e) {
512
  : `<div class="pc-head">${avatar}${idBlock}</div>`;
513
 
514
  const verified = e.verification === 'valid' ? '<span class="pc-verified">β—ˆ verified</span>' : '';
515
- const tag = (e.status && e.status !== 'agent-run') ? `<span class="pc-tag">${escapeHtml(e.status)}</span>` : '';
516
 
517
  const rows = [];
518
  if (e.ppl) rows.push(['ppl', fmtNumStr(e.ppl)]);
@@ -533,7 +528,7 @@ function buildPointCardHtml(e) {
533
  if (e.filename) linkBtns.push(`<a href="${escapeHtml(submissionHref(e.filename))}" target="_blank" rel="noopener noreferrer">Submission β†—</a>`);
534
  (e.links || []).forEach(l => linkBtns.push(`<a href="${escapeHtml(l.href)}" target="_blank" rel="noopener noreferrer">${escapeHtml(l.label)} β†—</a>`));
535
 
536
- return `${head}<div class="pc-score"><span class="big">${fmt2(e.score)}</span> tok/s ${verified} ${tag}</div><div class="pc-rows">${rowsHtml}</div>${note}<div class="pc-links">${linkBtns.join('')}</div>`;
537
  }
538
 
539
  function entryFromElement(el, c) {
 
145
  font-size: 9px; font-weight: 600; letter-spacing: 0.7px; text-transform: uppercase;
146
  padding: 2px 6px; border-radius: 3px; background: var(--accent); color: #fff; align-self: center;
147
  }
 
 
 
 
148
  .pc-rows {
149
  display: grid; grid-template-columns: 62px 1fr; gap: 4px 10px;
150
  font-family: "JetBrains Mono", monospace; font-size: 10.5px; line-height: 1.45;
 
508
  : `<div class="pc-head">${avatar}${idBlock}</div>`;
509
 
510
  const verified = e.verification === 'valid' ? '<span class="pc-verified">β—ˆ verified</span>' : '';
 
511
 
512
  const rows = [];
513
  if (e.ppl) rows.push(['ppl', fmtNumStr(e.ppl)]);
 
528
  if (e.filename) linkBtns.push(`<a href="${escapeHtml(submissionHref(e.filename))}" target="_blank" rel="noopener noreferrer">Submission β†—</a>`);
529
  (e.links || []).forEach(l => linkBtns.push(`<a href="${escapeHtml(l.href)}" target="_blank" rel="noopener noreferrer">${escapeHtml(l.label)} β†—</a>`));
530
 
531
+ return `${head}<div class="pc-score"><span class="big">${fmt2(e.score)}</span> tok/s ${verified}</div><div class="pc-rows">${rowsHtml}</div>${note}<div class="pc-links">${linkBtns.join('')}</div>`;
532
  }
533
 
534
  function entryFromElement(el, c) {