PT9 import report doesn't say which words it dropped

Aperta
#643 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
51/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
data, frontend

Direzione di ricerca

Start with src/components/modals/Pt9ImportModal.tsx at the report display around lines 310–311, then trace where import drops and formMismatch are recorded. The issue proposes recording verse references, cluster forms, and drop reasons, with a separate count for parses dropped while words are kept. Done means users can inspect those drops in the modal; the issue does not name the report-generation files or tests.

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

Descrizione

The import modal lists how many clusters were dropped for each reason:
https://github.com/sillsdev/interlinearizer-extension/blob/be80462fab5af0adea8b379651242e2eeae2d22d/src/components/modals/Pt9ImportModal.tsx#L310-L311

It never says which verses or words they were, so a user can't find or redo what was lost.

Why it matters now

#637 drops a parse whose morpheme forms don't spell out its token, even when a word gloss at the same range keeps its gloss. Deliberate analyses can land there:

Word Parse Why the forms differ from the word
evler (Turkish) ev + -lar One suffix form used across vowel harmony
running run + -ing The stem's citation form
sheep (plural) sheep + -Ø Zero morpheme
anak-anak (Indonesian) anak + ~ Reduplication marker

Each of these only adds 1 to the formMismatch count:

  • It looks the same as a stale or mistyped parse.
  • The user isn't told that the word gloss survived without its morphemes.

Proposed

Drafted by Claude; not human-reviewed.

  • Record each drop in the book report with its verse ref, the cluster's forms, and the drop reason.
  • Count "parse dropped, word kept" separately from formMismatch, since it is a partial loss.
  • List the drops in the modal (collapsed by default, or copyable), not only in the logged JSON.

Out of scope

Lingua principale
TypeScript
Stelle
2
Fork
0
Merge medio
1g 1h
PR unite (30g)
105

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 sillsdev/interlinearizer-extension

Tutte le issue di sillsdev/interlinearizer-extension

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.