Skip to content

Improvement: every Octatrack module release proves its cost and admission on a unit - #2043

Merged
repeat98 merged 3 commits into
mainfrom
improvement/release-cost-record
Nov 23, 2026
Merged

repeat98 merged 3 commits into
mainfrom
improvement/release-cost-record

Conversation

@repeat98

@repeat98 repeat98 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Every Octatrack module release now has to show, on a unit and on the version it ships, that it is admitted and plays without dropping audio, besides its price, idle cost and curve. Owner's request (23 November 2026, base 0.8 readiness review): every refused pick, silent module, stall and crash costs the player, so every module goes through the whole cost procedure before a release.

What was wrong

Base 0.8's release review found three ways a release could pass with figures that did not describe it:

  • A price from another version. Tape Echo 0.1.9 shipped with the CPU price measured on 0.1.6 (18 November). Nothing compared the price record's version with the release.
  • A saturated curve. FM Synth 0.1.5's first instance-curve reading was 107.9 % of a frame. Past 100 % the frame guard drops renders, so the figure measures the overload, not the module. It was accepted and is what admission charges FM Synth today (first 31.3).
  • No admission test. No step checked that a module is actually admitted on an empty and a medium pattern and then plays clean. The base 0.8 readiness run (in Octatrack base 0.8: playback admission, saved effects, restore outcomes, stock OS fixes and screen capture, with FM Synth 0.1.5 and Tape Echo 0.1.9 #1910) found every machine refused alone on the medium patterns with a 24-module set installed.

Modules first listed before 7 October were also excused from evidence/performance.json (worst-case cycles, stock benchmark, stress run) at every later release.

What changed

  • device:price --curve runs an admission test after the curve. The module alone on the first curve track, picked stopped after the pattern has played 5 s, as a player would. Once on the empty pattern (--pick-pattern), once on the medium one (--measure-pattern). An admitted pick plays one reading; the run records admitted, the longest frame, renders dropped and stalls. It writes them as admission in evidence/frame-cost.json. It prints NOT RELEASABLE: … and exits 1 when the run does not carry a release.

  • The test procedure's step 9 (test:procedure) runs device:price with --curve T1,T3,T6,T7 for a module. It takes --pick-pattern and --measure-pattern, and fails on that exit.

  • module:doctor and modules:check, for a release dated from 24 November 2026 (RELEASE_COST_FROM):

    • refuse a curve whose first instance was read at 100 % of a frame or more (CURVE_ROOM);
    • refuse a curve without a clean admission run on both patterns (refused, unverified, a dropped render or a stall all fail);
    • refuse a CPU price whose evidence/cpu-price.json names another version;
    • require evidence/performance.json whatever day the module was first listed.

    Earlier releases are reported, not refused, so today's catalogue passes unchanged.

  • Docs: TEST_PROCEDURE.md gets "What a release measures": every figure a release proves (idle, mean, DSP, curve, admission, worst case) with its command and record, and why each rule exists. MODULE_PERFORMANCE.md and ADD_A_MODULE.md point there. A machine's price is the whole track against the same trigs on its sample, never trigs against none on an engine that already runs. To stay under the 40 KB document limit, MODULE_PERFORMANCE.md's admission paragraph drops its repeat of the curve how-to.

Guides: MODULE_PERFORMANCE.md tied neither a price nor a curve to the version it ships, accepted a saturated curve, and had no admission test; TEST_PROCEDURE.md's step 9 measured the price and rest only. Both are fixed here (TEST_PROCEDURE.md, What a release measures; step 9).

Verification

  • npm run check passes on this branch, rebased on main with base 0.8 (b5864cce7).

  • New tests in scripts/module-cpu-price.test.mjs:

    • a 107.9 % first reading fails;
    • a missing medium run, a refusal, an unverified pick, a dropped render and a stall each fail;
    • a release dated before the rule is reported, not refused;
    • a price read on 0.1.0 fails for 0.2.0.

    scripts/test-procedure.test.mjs expects step 9's --curve.

  • On the owner's MKII (OS 1.40C, development twin 678843cc of base 0.8, Dev17 bank C, unit queue, nothing kept): node scripts/octatrack-price.mjs --curve T1,T3,T6,T7 --pick-pattern 2 --measure-pattern 4 --limit 115 tapeecho, on Tape Echo 0.1.9's published package:

    • at rest: frame +0.4;
    • curve: +10.9, +15, +19.3, +22.2, giving first 10.9 and each 4.3;
    • admission: empty C02 admitted, longest frame 38.7 %, 0 dropped, 0 stalls; medium C04 admitted, 92.4 %, 0 dropped, 0 stalls;
    • exit 0.

    The run did not use --write, so no record changed.

Not done

🤖 Generated with Claude Code

…, admission run, its own price, worst case

device:price --curve now also runs an admission test: the module alone on the
empty and the medium pattern, picked stopped after each has played, must be
admitted and play a reading with no dropped render and no stall. The test
procedure's step 9 runs it for a module and fails on a refusal, a drop, a stall
or a first curve reading past 100 % of a frame.

A release dated from 24 November 2026 is refused by module:doctor and
modules:check without that run in evidence/frame-cost.json, with a saturated
first reading, with a CPU price record of another version, or without
evidence/performance.json, whatever day its module was first listed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 23, 2026
…it: the release cost table moves to TEST_PROCEDURE.md

The curve paragraph's own how-to already says how to measure, so the long admission
paragraph drops its repeat of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@repeat98
repeat98 enabled auto-merge November 23, 2026 13:32
@repeat98
repeat98 merged commit 8372443 into main Nov 23, 2026
13 checks passed
repeat98 added a commit that referenced this pull request Nov 23, 2026
…5.5)

Measured with the release cost procedure (#2043) on a 0.8 development twin (678843cc), Dev17 C04, picks on C02:
first instance read at 97.7 % of a frame, admitted alone on the empty (56 %) and the medium pattern (95.4 %), no
render dropped, no stall. Published 0.1.0 on the same twin and scene: first 27.5 (read at 101.1 %, saturated).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98 added a commit that referenced this pull request Nov 24, 2026
Adds the owner's approval for SYNTIZ 0.1.1-experimental (source a354b178), waiving
current-build hardware, chip worst-case cycles and release documentation, keeping
0.1.0's UI captures, after the #2043 cost run on base 0.8 (first copy 18.6 points,
each further 5.5, admitted empty and medium). SYNTIZ now qualifies as an
owner-approved update, so the qualification test lists it with the others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant