Skip to content

test: v1.4.0 coverage 80% lines β€” industry standard reached - #130

Merged
TeFuirnever merged 3 commits into
mainfrom
feat/v1.4.0-coverage-80
Jul 31, 2026
Merged

test: v1.4.0 coverage 80% lines β€” industry standard reached#130
TeFuirnever merged 3 commits into
mainfrom
feat/v1.4.0-coverage-80

Conversation

@TeFuirnever

Copy link
Copy Markdown
Owner

🎯 Industry standard 80% line coverage reached!

Full-src lines coverage: 80.3% β€” the industry-standard threshold.

New tests (36 total)

File Tests Coverage impact
ai-config-expanded.test.tsx 33 AIConfigSection 41%β†’100% stmts
sonner-toaster.test.tsx 2 sonner.tsx 33%β†’100%
settings-sections (unskipped) +1 custom model input now passes

Coverage journey

Stage Stmts Lines Tests
Start 62% (helpers) β€” 783
v1.1.0 65% 66% 1073
v1.2.0 70% 70% 1090
v1.3.0 79% 80% 1148
v1.4.0 79.6% 80.3% 1184

Verification

  • βœ… 1184 pass, 1 skip, 0 fail (106 files)
  • βœ… typecheck + typecheck:tests exit 0
  • βœ… lint clean
  • βœ… coverage gate passes

woshiguanxiaoliang added 3 commits July 31, 2026 13:15
Apply the strategic-plan Β§T2-2.5 README rewrite with 'ι”™δ½η«žδΊ‰'
(dislocated competition) positioning decided with user:

- Hero: strengthen value prop to 'speak β†’ text β†’ AI polish β†’ paste',
  add prominent GIF placeholder + maintainer recording TODO
- Positioning note: explicitly state Murmur doesn't compete head-on
  with system dictation on real-time latency; focuses on file
  transcription + AI post-processing + fully local + custom models.
  Real-time streaming acknowledged as roadmap item.
- Comparison table: reorganize rows to lead with differentiators
  (file transcription, AI post-processing, custom prompts, 11+ models)
  instead of generic 'Chinese accuracy'. Add a coexistence note
  acknowledging system dictation's real-time advantage.
- Feature grid: promote file transcription to first row (was buried),
  reflect batch + AI polish capabilities.
- Roadmap link: point to follow-ups.md + CHANGELOG (live sources)
  instead of strategic-plan-gap-analysis.md (frozen historical
  snapshot, per 2026-07-31 freeze notice).
- English section: align structure with Chinese (was shorter and
  missing positioning note, GIF placeholder, and differentiator-first
  comparison table).
Answer the core strategic blind spot identified by strategic-plan
reviewers: 'why would users not use system dictation?'

Decision: dislocated competition (ι”™δ½η«žδΊ‰) β€” Murmur does NOT compete
head-on with macOS/Windows system dictation on real-time latency.
Instead it focuses on three things system dictation can't do:

1. File transcription (system dictation is an input method, not a
   file processor)
2. AI post-processing (remove filler, fix errors, format as meeting
   notes / Xiaohongshu / Zhihu β€” system dictation only does raw
   transcription)
3. Fully local + customizable models (Ollama / 11+ providers β€”
   system dictation uses Apple private models, non-replaceable)

Key insight: these aren't things system dictation does poorly, but
things it structurally won't do (product category difference, not
feature gap).

Includes:
- Why head-on competition is a dead end (architecture + ecosystem)
- Core user personas (writers, meeting note-takers, privacy users,
  content creators, devs β€” NOT real-time typists)
- Competitor matrix (direct: Whisper Desktop/iFlytek/Feishu;
  indirect: system dictation β€” coexist, not replace)
- Moat ranking (AI post-processing strongest; Chinese accuracy
  needs FunASR caveat)
- Risk mitigation (Apple Intelligence 3-6mo threat, etc.)
- Success metrics re-aligned to positioning (AI activation rate +
  file transcription usage, NOT real-time latency)
- Decision record (should convert to ADR after 3-6mo validation)
Lines coverage crosses 80% β€” the industry standard threshold.

New test files:
- ai-config-expanded.test.tsx (33, 1 skip): AIConfigSection 41%β†’100%
  stmts. Custom model input, temperature/max-tokens sliders, AI toggle,
  test config flow, save button, quick start panel, preset sorting.
- sonner-toaster.test.tsx (2): Toaster wrapper theme passthrough
- settings-sections: unskipped last custom-model test (now 28/28 pass)

Coverage: 79.0% β†’ 79.6% stmts / 80.3% lines (crossed 80%).
AIConfigSection: 41% β†’ 100% statements.
Tests: 1148 β†’ 1184 (+36). Threshold bumped 76β†’77 (stmts), 77β†’78 (lines).
@TeFuirnever
TeFuirnever merged commit 6c2170e into main Jul 31, 2026
1 check passed
@TeFuirnever
TeFuirnever deleted the feat/v1.4.0-coverage-80 branch July 31, 2026 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant