sillsdev / sillsdev/interlinearizer-extension
Staleness detection for segment-level analyses
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 55
Description
TokenAnalysisLink, PhraseAnalysisLink, and AlignmentEndpoint all carry surfaceText snapshots for drift detection, but SegmentAnalysisLink has only segmentId — a changed verse silently keeps its free translation looking fresh. Options:
- Add a
baselineTextHash(or fullbaselineTextsnapshot) toSegmentAnalysisLink, compared on load; flipstatusto'stale'on mismatch, or - Record the owning
Book.textVersionon the link and compare at book level (coarser, but nearly free).
Prefer the per-segment hash: book-level textVersion marks every segment stale on any edit anywhere in the book.
Size: S
Priority: P3 (do before free-translation features expand)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate SegmentAnalysisLink and compare its loading logic with the existing TokenAnalysisLink, PhraseAnalysisLink, and AlignmentEndpoint drift checks. Implement the preferred per-segment baseline comparison so changed text becomes stale while unchanged text remains fresh, then add or update tests covering both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100