Floor-then-ica S1: staging validation and Zapline-plus sizing

Open
#2,701 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Start with the floor-then-ica plan in #2584 and inspect the staging dispatch, lineage, and read-side identity gates, then review the canary validation and sizing procedures for nemar-floor and nemar-ica. Record I3 and I4 results, the Zapline-plus pilot and sizing tables, and update registry values and runner registrations from the measurements; acceptance requires all of these results and changes.

Written by the indexing model from the issue text.

Description

Card S1 of the floor-then-ica plan (#2584): prove floor-then-ica on staging and re-measure the sizing of both recipes with Zapline-plus before production.

Staging validation

  • Refusals: an ICA dispatch with no stored floor, a floor still storing, an expired floor and a stale floor are each refused parent_not_stored with the right reason and nothing written.
  • Dispatch after stored: once the floor is stored, ICA is dispatched with the decisions file staged, the launcher fetches it and the job runs with --floor-decisions.
  • Lineage: the ICA derivative is keyed with its parent_key, derivative.json names DerivedFrom, and the records' lineage matches.
  • Gate I3: over the canary's recordings, the SHA-256 of the array handed to ASR is equal for ICA from the stored floor and ICA with the floor in the job.
  • Gate I4 (GPU): equal iterations, stop reasons and log-likelihoods in both modes.
  • Decomposition re-validated: nemar-ica 1.0.0-b3 against 1.0.0-b2 on the canary (the owner's option A changes ICA's outputs; the fixture's five iterations are not a scientific comparison).
  • Line noise (moved here from nemarOrg/nemar-process#142): a stratified real-data pilot of residual line power at the fundamental and harmonics, Zapline-plus against the old band-stop, across sampling rates and channel counts.
  • Equivalence on read: the read-side identity gates for the stored Zapline-plus filters (a reader applying the stored factors reproduces the floor's samples).

Sizing (re-measure with Zapline-plus)

Zapline-plus roughly doubles the floor's CPU per recording (a 64-channel, 30-minute recording's fit takes about the floor's whole previous mean), so both registrations are re-measured:

  • nemar-floor: today 4 cores, 16,384 MB, 360 minutes, sized for the b2 floor. Re-measure CPU-seconds, wall time and peak memory per step (including line_noise) and set cores, memory and minutes from it.
  • nemar-ica: today 6 cores, memoryMb 13312. Until C3 ships, b3 nemar-ica is handed no floor and runs the floor (now with Zapline-plus) inside its own job, so its CPU and memory are measured in that mode as well as from the stored floor; the 4, 6, 8 and 10 core comparison (smallest count within 5 percent of 10 cores' throughput) is repeated.
  • Registry values updated from the measurements.
  • GPU runners re-registered with the new sizes, and the workstation split (floor jobs beside ICA) re-checked.

Acceptance

A staging ICA job verified and keyed with its parent; I3 and I4 recorded; the pilot and sizing tables posted here; the registry change and re-registration done.

Posted with the help of an AI agent (Claude).

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.