PT9 import report doesn't say which words it dropped

オープン
#643 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
51/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react, typescript
領域
data, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
2
フォーク
0
平均マージ
1日 1時間
マージ済み PR(30日)
105

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sillsdev/interlinearizer-extension のほかの issue

sillsdev/interlinearizer-extension の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。