Parsimony: an environment or rule context that spells one host word is not flagged
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 53/100
Research direction
Start by reading the schema v9 pattern_node facts and existing Grammar-group Measures to see how environments and rule contexts are represented and findings name their users. Build the proposed P-env-literal-host measure and compare a seeded-defect fixture with a clean control; use one real grammar to assess false positives from two-segment boundary-anchored sides. Done when the measure reports the specified literal-only sides and runs in under 1 second at 25,000 entries.
Written by the indexing model from the issue text.
Description
An environment or rule context that spells out one host word gets no Parsimony finding. / # w o r d _ restricts an allomorph to a single word: lexical listing written as phonology. A 25,000-entry grammar had four such environments and two rule contexts of this shape, and Parsimony was silent.
What we know:
pattern_nodein the facts (schema v9) gives each side's nodes: phonemes, literal segments, natural classes and boundaries, for allomorph environments and rule contexts alike.- Context made only of literal segments, three or more long or anchored to a boundary, is the shape a reviewer flags (Black 3.1.3, 6.1.2.2).
Proposed change: a Grammar-group Measure P-env-literal-host, one finding per environment or rule context side made only of literal segments (at least three, or at least two next to a word or morpheme boundary), naming the users. Static; under 1 s at 25,000 entries.
Not known: whether two-segment boundary-anchored sides give false positives on real grammars; the fixture and one real grammar decide the threshold.
Next: build it with a seeded-defect fixture and a clean control.
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- Avg merge
- 3h 55m
- Merged PRs (30d)
- 36
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
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.
More from sillsdev/motif
-
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown paneOpentextediting
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
textediting
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
textediting
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
textediting
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
Similar issues
-
bug emitter:client:csharp
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/typespec#12572 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
needs-area-label
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
AWS Lambda: KeyNotFoundException drops HTTP-triggered transactions when allowAllHeaders is disabledOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
newrelic/newrelic-dotnet-agent#3949 · 1 comment ·
Maintainers usually reply within 1 day
-
area-networking
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/aspnetcore#70545 · 1 comment ·
Maintainers usually reply within 1 day
-
priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 80/100