speechkid-api / score_engine.py

Commit History

shin Χ©-vs-Χ‘: low-band decisive-gap guard (block noise that squeaked past floor)
c544719

yoavzamir Claude Opus 4.8 commited on

shin Χ©-vs-Χ‘: lower presence floor 0.02->0.003 (fix isolated-sound false negatives)
2bdaa90

yoavzamir Claude Opus 4.8 commited on

Hybrid routing: STT for sound/syllable, math for words
e886925

yoavzamir Claude Opus 4.8 commited on

Add STT 'pocket' for MVP Χ©/Χ‘ & Χ§/Χͺ detection (toggle, math preserved)
f9e2cff

yoavzamir Claude Opus 4.8 commited on

Χ© scoring: replace brittle s_band heuristic with model-driven Χ©-vs-Χ‘
1c5d3cd

yoavzamir Claude Opus 4.8 commited on

k_sound: raise burst-centroid threshold 2500->3400 for child voices
ee40fa7

yoavzamir Claude Opus 4.8 commited on

Fix sh_sound crash (dict.score) + lenient s_band for isolated stage-1 Χ©
e65cfd7

yoavzamir Claude Opus 4.8 commited on

evaluate: never leak Python exceptions to the client; log traceback instead
74bdb13

yoavzamir Claude Opus 4.8 commited on

Add WavLM wetness/lateral-lisp detector β€” Χ©-syllable pipeline only
57503e9

yoavzamir Claude Fable 5 commited on

SH syllable: log temporal/envelope features for wet-detection probe
a88b2bb

yoavzamir Claude Fable 5 commited on

SH syllable: add CTC-based CH-substitution gate
3fa89e4

yoavzamir Claude Opus 4.7 commited on

SH syllable: extend extraction window from 120ms to 200ms
07a1e71

yoavzamir Claude Opus 4.7 commited on

SH syllable: log full feature set for wetness calibration
ae51de6

yoavzamir Claude Opus 4.7 commited on

K syllable: top-choice CTC with clinical-pedagogy accept rules
c9fbccd

yoavzamir Claude Opus 4.7 commited on

K syllables: switch to multi-way CTC competitive alignment
2d4c7ef

yoavzamir Claude Opus 4.7 commited on

K syllable: remove broken decay gate (was rejecting all correct K)
24ac94b

yoavzamir Claude Opus 4.7 commited on

K-syllable pipeline: 4-gate acoustic validation (per-vowel + decay + voicing)
cacf1cb

yoavzamir Claude Opus 4.7 commited on

Generalize Χ§ incorrect feedback β€” no longer assumes Χͺ substitution
8a75b97

yoavzamir Claude Opus 4.7 commited on

Add silence / no-signal gate to all scoring pipelines
74d77fe

yoavzamir Claude Opus 4.7 commited on

Drop sub3k gate from Χ© pipeline; raise s_band threshold to 0.45
a91ec2b

yoavzamir Claude Opus 4.7 commited on

Add CV-syllable scoring pipelines (sh_syllable_*, k_syllable_*)
bf5ec80

yoavzamir Claude Opus 4.7 commited on

Unify shin scoring: apply 4-gate system to all Χ© words
b95f8d8

yoavzamir Claude Opus 4.7 commited on

Add s_band + sub3k gates for sh_sound (15/15 calibration accuracy)
b5d54de

yoavzamir Claude Opus 4.7 commited on

Log full feature set for sh_sound calibration
867bf14

yoavzamir Claude Opus 4.7 commited on

Widen centroid ceiling for sh_sound + skip noise reduction
85d853d

yoavzamir Claude Opus 4.7 commited on

Remove s_band gate for isolated SH β€” not device-invariant
9b4d483

yoavzamir Claude Opus 4.6 commited on

Add s_band gate for isolated sh_sound β€” catches wet CH and S substitution
2e7c816

yoavzamir Claude Opus 4.6 commited on

Bypass AI gate for isolated sh_sound β€” centroid only
20299e3

yoavzamir Claude Opus 4.6 commited on

Fix plosive detection: onset detection + plosive-band centroid
248b486

yoavzamir Claude Sonnet 4.6 commited on

Fix isolated plosive detection: skip denoise, fix trim, fix burst detection
076a657

yoavzamir Claude Sonnet 4.6 commited on

Replace AI-based isolated K/T detection with burst spectral centroid
af422a6

yoavzamir Claude Sonnet 4.6 commited on

Improve isolated K/T: top-5 frame average + minimum 0.5s audio guarantee
111c9d0

yoavzamir commited on

Add non-stationary spectral gating noise reduction to preprocessing pipeline
407664a

yoavzamir commited on

Add Competitive Alignment for K (Χ§) vs T (Χͺ) substitution detection
cdf4445

yoavzamir Claude Opus 4.6 commited on

🎯 Lower centroid floor from 3000 to 2700 Hz
4fb96f1

yoavzamir Claude Opus 4.6 commited on

πŸ”§ Remove s_band gate β€” it measured S-like energy, not fricative presence
f11d5d0

yoavzamir Claude Opus 4.6 commited on

πŸ”§ Add leading silence trimming before Wav2Vec2 alignment
11fb2d0

yoavzamir Claude Opus 4.6 commited on

πŸ”§ Remove Slush Filter gate β€” unreliable on mobile microphones
63c65cc

yoavzamir Claude Opus 4.6 commited on

opus fixing
9579515

yoavzamir commited on

πŸš€ Replace static slush filter with Dynamic Peak detection to avoid vowel transitions
a43df98

yoavzamir commited on

🎯 Deploy universal data-driven calibration: 40ms targeted slush filter, AI>=0.70, Energy>=0.025
a7f42e9

yoavzamir commited on

πŸ› Fix JSON serialization error by casting numpy floats to native python floats
5126a5b

yoavzamir commited on

🧠 Strip AI of grading authority to prevent LM autocorrect bias. Rely 100% on physical acoustics.
d664820

yoavzamir commited on

βš–οΈ Enforce ruthless clinical AI threshold (0.80) to ban all substitutions and lisps
d8b8129

yoavzamir commited on

πŸ”§ Revert quantization to restore 100% precision and adjust energy threshold to 3%
6d07b58

yoavzamir commited on

🧹 Simplify to binary CORRECT/INCORRECT using science-based acoustic boundaries
e17da4f

yoavzamir commited on

🎯 Fine-tune S-Sub threshold to 10% for mobile rejection
c854abc

yoavzamir commited on

🧠 Use Wav2Vec2 rejection + acoustic energy to perfectly detect S-Substitution
8682955

yoavzamir commited on

πŸ›‘οΈ Make S-Substitution robust against mic variations using pure Centroid frequency
f96dca2

yoavzamir commited on

πŸš€ Fix extraction bug: Extract FORWARD from Wav2Vec2 onset
3bf0014

yoavzamir commited on