Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

P3: uncovered pixels lower fidelity but are missing from cell diffs and diff images

Aperta
#88 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend, testing

Direzione di ricerca

Start with the gated score near line 263 of packages/editor-2.5d-react/src/visual/fidelity.ts to see how uncovered pixels are counted, then find where the per-cell diffRatio and the diff/heatmap mask are built from pixelmatch output. Add uncovered pixels to the cell counts and give them their own colour in the mask. Extend the pale-ink test in fidelity.test.ts to assert both: the cell reports the uncovered misses, and the diff image marks them. Done when the black-block-plus-pale-block case shows nonzero cell differences and a highlighted extra block.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:holodeck review-finding

From the GPT Sol 6.1 review of #84.

The gated score in packages/editor-2.5d-react/src/visual/fidelity.ts (around line 263) counts uncovered pixels as misses. The per-cell diffRatio values and the diff/heatmap images, however, still count only pixelmatch differences. GPT's reproduction: a matching black block plus an extra pale block scores fidelity 0.5 with 1,000 uncovered pixels, yet every cell reports zero differences and nothing highlights the extra block. An agent tuning the render can't see where the uncovered misses are.

Fix: add uncovered pixels to the cell counts and give them their own colour in the diff mask. Extend the pale-ink test in fidelity.test.ts to assert both.

🤖 Generated with Claude Code

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
11h 21m
PR unite (30g)
41

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperdrive-technology/holodeck

Tutte le issue di hyperdrive-technology/holodeck

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.