Ticket 39: rename Chirp → Up Chirp + PR #33 fix-forward repair #34
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ykp/gensig!34
Loading…
Reference in a new issue
No description provided.
Delete branch "up-chirp-rename"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket 39 — rename waveform "Chirp" → "Up Chirp"
First ticket of the chirp-directions round (backlog 39; Down/Double chirp follow in 40/41).
Rename (no behavior change):
WAVEFORM_CHIRP/"Chirp"→WAVEFORM_UP_CHIRP/"Up Chirp"across model, validation, dispatch, UI policy, main window, tests and spec (§1/§2/§3/§4/§5/§7/§8)"WaveformType": "Chirp"maps to"Up Chirp"on load (single funnel in_SETTERS); saves always write the current name"Chirp duration (phase-1)") per round decision Q5PR #33 fix-forward repair (operator-confirmed: keep the features, new limits ARE the intent):
IndentationErrorintests/test_comb.pythat broke collection on masterDURATION_MIN_US1.0 → 0.1 µs (L4/L8) andCombOversampling(4,64)→ (0,64) withk = 0closest-nfft mode (L13) — spec L4/L8/L13 + docstrings updatednfft_forValueError)model.default_signal_filename), comb center snap to the tone-spacing grid inderive_band_status(display-only),chirp_durationspin → plain entry, chirp/comb stitching settings, iteration-cap fallback proofgenerate.pydocstring + spec §5.1 document the new{prefix}_{waveform}_{fmin}-{fmax}_{dur}µs_{seed}.signaming; spec §5.2.1/§5.2.2 cover the stitching settings + configurable guard limit; spec §7.2 documents the comb center snap; README status refreshedGate
pytest: 1173 passed, 63 skipped (headless tkinter tier), coverage 95.24 % (≥ 85 % required)ruff check gensig tests: cleanmypy gensig tests: cleanBefore this branch, master @
73148fbhad 1 collection error + 30 failing tests (verified on a clean checkout); this PR takes the suite fully green.Ticket 39 — rename the Chirp waveform type to Up Chirp: - WAVEFORM_CHIRP/'Chirp' -> WAVEFORM_UP_CHIRP/'Up Chirp' across model, validation, dispatch, policy, UI, tests and spec (§1/§2/§3/§4/§5/§7/§8); UI labels stay neutral ('Chirp duration (phase-1)') per round decision - legacy project JSON: WaveformType 'Chirp' maps to 'Up Chirp' on load (single funnel in _SETTERS; to_dict always writes the current name) - foundation for the Down/Double chirp directions round (backlog 40/41) PR #33 fix-forward repair (operator-confirmed; new limits ARE the intent): - fix IndentationError in tests/test_comb.py (broke test collection) - new limits confirmed intentional: DURATION_MIN_US 1.0 -> 0.1 µs (L4/L8) and CombOversampling range (4,64) -> (0,64) with k=0 closest-nfft mode (L13); spec L4/L8/L13 + docstrings updated to match - guard validation's L13 duration rule against out-of-range oversampling (L13_OVERSAMPLING is the finding instead of an nfft_for ValueError) - tests updated to the implemented PR #33 behavior: descriptive output filename (model.default_signal_filename), comb center snap to the tone-spacing grid in derive_band_status, chirp_duration spin -> plain entry, stitching settings (chirp/comb), iteration-cap fallback proof - generate.py docstring + spec §5.1 document the new output naming rule; spec §5.2.1/§5.2.2 cover the stitching settings and guard-limit setting; spec §7.2 documents the comb center snap (display only) - ruff clean (wrapped long lines, sorted imports, whitespace), mypy clean; pytest 1173 passed / 63 skipped (headless tier), coverage 95.24%