diff options
| author | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
| commit | c25cbdf6fb6d946175f4335fab77bfea601b56db (patch) | |
| tree | 6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /UnitTests.txt | |
| parent | 71f5689252c9f13e70e1c24856904475b2307809 (diff) | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'UnitTests.txt')
| -rw-r--r-- | UnitTests.txt | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/UnitTests.txt b/UnitTests.txt index 749ac9ca..9a4bd69b 100644 --- a/UnitTests.txt +++ b/UnitTests.txt @@ -132,3 +132,94 @@ Commit No_AP MyCall BothCalls 7ad881: 1 7ad881: 2 7ad881: 3 + +Mode: JTTY +Data: W2PU_260807 (25 files, real on-air conversational QSO test between K9AN + and W2PU, 2026-08-07, D:\data\JTTY\W2PU_260807\) +Message: conversational (not a fixed repeated test message) +RxFreq: 1500/10 and 1500/50 (FTol) + +Metric: total accumulated decode lines logged by rjtty across the 25-file +corpus (each successful frame merge prints the slot's current full text, so +this counts decode *events*, not distinct correct messages -- a regression +check against the known-good snapshot, not a literal "number correct" count). + +Commit Lines(ftol=10) Lines(ftol=50) +----------------------------------------------------------------- +4e5aa053f (pre jtty_peakup fix): 240 238 +86fff7d28 (jtty_peakup fix): 241 241 +be1082f82 (merge-history dedup): 233 239 +0a6391c89/3bb309215 (3.5 Hz gate): 235 241 +7e511f229 (jtty_peakup stage 2): 235 241 +a09c8fd4c (retighten to 3.0 Hz): 235 241 +3d4676a45 (closed-slot dedup): 209 211 + +86fff7d28 fixed lib/jtty/jtty_peakup.f90's time-search upper bound (ib was +clamped to the sync-pattern length instead of the c1 buffer's actual valid +range, silently zeroing ~17.5% of channel-0 candidate refinements whose +coarse time offset exceeded ~0.416 s). 260807_134202.wav went from a +3-way-split, partly garbled decode to a single clean thread exactly matching +the known-correct message ("LOST THE END DUE TO 3 MINUTE TRANSITION"); +several other files' frequency estimates were also measurably more stable +post-fix. No duplicate-word corruption found in a full corpus diff. + +be1082f82 added per-slot merge-history dedup (matching a rediscovered frame +against a slot's full frame history, not just its current position), which +correctly recognizes more retro-resweep rediscoveries as dupes instead of +reprinting them -- the drop from 241 is dedup working better, not lost +content (spot-checked: no decoded text regressed). + +0a6391c89 tightened decode_and_merge's slot-merge frequency gate from 8.0 Hz +to 3.5 Hz (after a data-driven 3.0 Hz attempt was reverted -- a genuine +same-message frame pair on 260807_140633.wav measured df1~3.0 Hz, right at +that boundary, corrupting "KNOW IF PRIOR" into "KNOPRIOR"); erred tight +deliberately, accepting more orphan fragments (260807_134312.wav, +260807_134915.wav) in exchange for fewer wrong merges pending better +frequency-estimation precision. 3bb309215 is a same-day comment-only cleanup +of the debugging-narrative comments added along the way, no logic change. + +7e511f229 added a second refinement stage to jtty_peakup.f90: the existing +coarse search only combines the 13 sync symbols non-coherently (32 ms +coherent chunks, power-summed); stage 2 fits the near-linear phase ramp +across those symbols (from the coarse 0.5 Hz grid's own residual frequency +error) and coherently combines all 13 for a sharper f1. Measured on 51 +genuine on-air decodes down to -12 dB SNR: post-fit residual phase scatter +tracks SNR the way ordinary estimation noise does, with no evidence the +channel decorrelates over the full 416 ms window. No decoded-text changes +at either FTol; only displayed frequencies shifted ~1 Hz tighter (e.g. one +message's frame-to-frame spread went from 1.0 Hz to 0.4 Hz). + +a09c8fd4c retightened the frequency gate from 3.5 back to 3.0 Hz once the +jtty_peakup refinement above made that safe: the same 260807_140633.wav +case that forced 3.5 Hz measured under 2.3 Hz post-refinement. One file's +decoded text actually improved (a "RTTYS" merge artifact at 3.5 Hz resolves +to the correct "RTTY FOLKS" at 3.0 Hz); the two genuinely-wider-than-gate +files still show their known orphan fragments either way. + +3d4676a45 fixed a duplicate-decode bug found via a new QRM test (see below): +decode_and_merge's match scan skipped closed slots (is_last_frame) entirely, +including the history-dedup fallback, so a closed slot's own signal being +rediscovered later (e.g. a short single-frame message found again by an +overlapping search window) always spawned a brand-new slot instead of being +recognized as a duplicate. Closed slots now still run the history-dedup +check while staying closed to new continuations; a pure dedup hit (no new +text merged) also no longer reprints an unchanged line. The line-count drop +here (235/241 to 209/211) is these now-suppressed duplicate reprints, not +lost content (full-corpus diff was pure deletions, no text changes, no new +duplicate-word corruption). + +Mode: JTTY +Data: sjtty_qrm QRM-overlap test (synthetic, generated by lib/jtty/sjtty_qrm.f90) +Message: multiple simultaneous signals at nearby frequencies, generated by: + sjtty_qrm 384 MM 1200 1800 5 1 -5 +RxFreq: 1500/50 (FTol) + +This generates one on-frequency signal (1500 Hz, "599 123") plus 4 nearby +interferers with substantial frequency overlap (this run: KP4SX @1758.3, +LV7QFH @1240.1, N2PPI @1430.0, N6GP @1511.6 Hz). Confirmed post-3d4676a45: +rjtty and the WSJT-X GUI both decode all 5 signals exactly once each in the +"All Decodes" pane; the "QSO Frequency" pane (narrower FTol) correctly shows +only the signals within tolerance of RxFreq. No fixed WAV file is kept in +the repo (regenerate with sjtty_qrm as needed) -- this is a good spot-check +for the closed-slot dedup fix and for signal-subtraction/QRM handling more +generally. |
