Skip to content

Implementation-note status

Every implementation note belongs to one lifecycle directory:

  • completed — implemented features and finished investigations
  • planned — proposed or partially implemented work
  • rejected — retired, superseded, or rejected designs

The directory is authoritative. Historical sections inside a note can retain their original proposal language when that chronology is useful.

The topic index below lists the active records and where to resume. The developer documentation index connects these records to refactoring work, current algorithms and policies.

Record conventions:

  • Existing <name>_completed.md / <name>_unfinished.md splits preserve the delivered record and one live list of open work. New development keeps its contract, plan, review findings and validation criteria in one living note.
  • Dated plans and requested run reports retain their measurements and caveats. A completed investigation can leave research questions or maintainer-owned map assessment open; its classification describes the delivered scope.
  • planned/next_release/ holds proposals deferred past the current release; the rejected/ folder is top level only (no nested planned/rejected/).

Open work by topic

Navigation reviewed 2026-11-04. Status describes the records, with no new runtime validation implied. Follow each note's current banner and dated evidence before resuming an old command or experiment.

Topic Record Status and next action
Polar shift search Laplace width Proposal split from the completed shift search (2026-11-03); Hans's call on conditional or marginal width.
Continuous local refinement Done record, todo plan Objective: match refine=prob_neigh map quality with the faster Cartesian route, within about 2x its current cost. Next action is the four-run attribution experiment (no code) that says which of the three differences carries the gap. Delivered prior mechanisms and history are archived.
Stage scheduling Data-driven progression Proposal; decide how stage progression should use measured information.
Small membrane proteins in solve3D Diagnosis and experimental plan PorF (1 of 5 restarts failed) and the export gate (3 of 3) at 603c4449, with the review of 2026-11-15 merged in: the size ladder's stages 3-4 are too coarse for 150-170 Å targets, and the stage 1-2 sticky subset was never searched again after stage 2 on large sets but entered the final map (release fix written 2026-11-16 on Hans's ruling, uncompiled). Frozen floors and verdict tables; Phase 1 (lpstart=16.25 on PorF, the export gate and PfCRT) running since 2026-11-15; ruling needed on the explicit lp.
Multi-state regression Investigation, fix check, stage-5 check Measurements show partial recovery; diagnosis and scientific closeout remain.
Species discovery Single open-work list Finish the applicable sensitivity/half-map checks and promotion decisions; historical numbers are in the linked evidence record.
Atomicity prior Integration closeout Prior implemented; reconcile remaining workflow integration and validation.
Nanoparticle rejection Separate trajectory workflow The earlier nano-context run and report are completed; the separate workflow retains its own proposal and acceptance criteria.
Wave-model integration Wave summary Operators and simulator delivered; refinement coupling remains to be planned.
NU auxiliary candidates Blush competition Proposed experiment; precomputed-map controls precede native inference.
Order prior → automsk=order Implementation, PCG order prior The order prior (pcg_order=yes) is retired (2026-11-21, it did not do its job in the loop). Its order weight and core guard become automsk=no|density|nu|order (yes renamed density), a reference mask on gridding and PCG; implemented and validated on simulated data, with real-data tests outstanding.
NU masking Cross-validated threshold Its first step is now the order weight of the PCG order prior (row above).
Distributed execution Coarray SPMD Proposal; complete measurements and lifecycle gates before implementation.
Pose student working grid Negative result, algorithm page The low-pass crop of the student (box_crop from lp) cost reads on every fixed set and was dropped (2026-11-11); the network's half ring is capped at twice π k_max instead, in the working tree for review: bgal trains twice as fast with the reads inside the base's spread.
Particle centring Completed plan, algorithm page Centring particles at scale (a sample's few low-resolution classes, then one wide-prior pass over all): delivered 2026-11-13 with its workflow test center_ptcls, uncommitted for review; trpv1's picks centred to a 3.5 Å median residual in 40 s.
2D student in the stream Plan The pool's learn job, seeding new particles by prediction and the candidates in the pool's search: planned 2026-11-14 from what the 2D run measured, owners Joe and Cyril, awaiting Hans's approval; Phases 5 to 7 of the 2D plan, replaced.
Students' in-plane posterior Plan Both students learn the teacher's in-plane marginal (log-sum over rotations) through a log-sum-exp readout, and optionally the in-plane posterior itself; variants outside the tree until a pre-registered verdict. Planned 2026-11-15.
Pose student: physical teacher, raw picks Plan The pose student revisited with what the class student showed: the physical teacher (no prob_beta), the physical posterior's best pose as the reference, raw picks with alignment after prediction over the cone (S1, SK); three solve3D teachers per real set. Planned 2026-11-16; rebased on fd9af0add (ruling R4) with Phases 0 and 1 redone 2026-11-17 (the alignment after prediction, the physical teacher's switch and audit, the reference, the validation rewritten); Phase 2 done 2026-11-17 (the alignment over the cone kept, the mode's pair removed); Phase 3 done 2026-11-17 (the physical teacher adopted, judged on the unseen maps by ruling R5); Phase 4 2026-11-18 on master's 68638be28 (ruling R6): the raw-pick route not adopted (its map coarser than the 2D-centred route's on streptavidin); ruling R7's centring policy adopted (training and predicted particles centred by the prior solve2D, shift refinement only after the prediction, over the cone: unseen maps as good as or finer than the centred route's on every set) (report).
Center student Negative result, the measurement A real-space network centring raw picks before the class student: rejected 2026-11-18 before launch. Given the full search's own shifts, the class student's class averages gained at most 0.15 Å at FRC 0.5 (streptavidin, bgal) and lost 2.4 Å on trpv1: its alignment over the candidate list already finds those shifts. Open, separately: whether the class student's aligned shifts serve the pose student as well as solve2D's (the stream's link).
Students' alignment cost Plan Both students align every candidate after prediction (class: up to 16 classes; pose: up to 64 directions and their mirrors), the main cost (0.5 to 5 ms per particle). Refining only the screen's best few, as the classic 2D search does, measured on class averages and unseen maps; the smallest non-inferior nbest at 0.7 of the cost or less is adopted. Planned 2026-11-18 (run align_prune).
Students' network Plan The HHCNN's readout sees two or three radial bands at a 15 Å band (ring pooling), and its class templates are free per class. Two changes measured as arms on both students against today's network: the rings as channels with no ring pooling (R), and templates computed by the network from the references (T), with a transfer test to another teacher's references. Class averages and unseen maps decide; adopted only if one arm passes on both students. Planned 2026-11-19 (run hhcnn_arch).
Probability-table scoring Plan, report The probability tables' score loops as matrix products: a cgemm block kernel in the polar calculator (fixed 16 x 32 product), adopted in the dense 3D table and for the neighbourhood table's state representatives; the members and the geom cones measured and left per pair. On beta-galactosidase the dense score loop costs 0.38-0.40 of the per-pair routine's and the state mode's 0.53, with the base's resolution; fills identical across threads, batches and parts. Run table_gemm on the Dell, 2026-11-21; awaiting review.
Float32 kernels and the PCG preconditioner Plan, report Run 2026-11-28/29 on the Dell (f32_pcg); the Apple-silicon read (2026-11-30) restored nothing. Kept: the PCG's line-partial inner products and threaded vector passes (two-iteration solve 15 % faster), refinement's solves without the diagnostic preconditioner application, the probability tables' single-precision distance conversion, posterior weights and shift-map cell scoring, and the continuous pose kernel in float32 under objfun=euclid (18-24 % cheaper per pixel). Restored: the float32 shift-search kernels (L-BFGS-B needed more evaluations). The preconditioner comparison found no valid yardstick; the preconditioner stays.
Float32 correlation kernel in residual form Plan Planned 2026-11-29, ruled 2026-11-30, not launched; base d860f264e: continuous pose refinement under objfun=cc in float32 by working on the per-pixel residual of the two unit-norm images (1 - cc =
Batch-threaded plane insertion Plan, report The gridding reconstructor inserts each batch of planes with its threads across the batch: slabs of the expanded lattice, one owning thread each, walked in the per-plane order so that every byte is the per-plane loop's; a team of one and batches that load one slab too heavily take the per-plane loop. On dell2 at sixteen threads the stage takes 0.40 to 0.62 of its former time per pose with identical bytes. On the M5 Ultra a batch takes 0.18 of the per-plane loop's time at ten threads (box 160) with identical bytes. Run rec_slabs on dell2 2026-11-28/29 done; the Mac read of 2026-11-29 keeps the change on the maintainer's ruling. Follow-ups: flex's M-step, the PCG accumulation, the slab layout (equal work).
Batch-threaded PCG accumulation Plan Planned 2026-11-29 for the Dell run pcg_slabs, decisions ruled, not launched: the PCG reconstructor's accumulation meets its team 4 to 13 times per particle and does not scale past four threads on the M5 Ultra; in the new walk each thread owns a range of the two accumulators for a whole chunk of a batch and replays today's order restricted to it, so every byte of the right-hand side and the density is today's. Today's loop stays as reference and fallback; a Mac read precedes any commit.
Class student on raw picks Plan, report No centring: the class student predicts on raw picks, then aligns each particle over the 30 Å disk against each class of its candidate list and keeps the best; adopted 2026-11-16 (better agreement with the reference and sharper class averages than the centred route on the three sets), uncommitted for review. Supersedes the 2026-11-13 centring of unseen particles.
particle_sieving_2 Plan, report A second sieving program beside particle_sieving: solve2D on the particles of 200 micrographs into 100 classes, junk classes labelled by the class-average CNN (p_junk > 0.9), the rest classified by the class student in batches of 10,000, a greedy refine2D round at the full box (the first a full update), relabelling and retraining every 5 batches; the batch particles' sigma2 records seeded from the global curves (sigma2_state_extend). One new module in src/main/sieve. Delivered 2026-11-23, uncommitted, for Joe's review (CTest budget 46 to confirm); a real set (53,050 particles) run twice on thunder; the selection is not judged.
Selection student Plan A particle-level challenger to the class-average rejection: the class student's network trained across data sets to predict whether a particle ends up in a selected class (psel, the posterior mass on a bank of selected classes; one marginal-loss option in the HHCNN). Labels and control from solve2D plus model_cavgs_rejection at two seeds; leave-one-data-set-out verdict against the pipeline's own reproducibility, pre-registered. Planned 2026-11-15, awaiting Hans's approval and his data list.
2D student against reference matching Record Reference matching at the working box: 0.5 to 0.7 ms per particle, no centring, class averages equal to the student's; the student's prediction 0.1 ms cheaper on centred particles. Small sets only: it does not decide for data sets of millions, and the 2D student stays open. With the relation to NUViT. Measured 2026-11-14, one seed.
Student prediction in parts Completed plan, report predict_classes and predict_poses as distributed masters (nparts), byte-identical to shared memory, shift registration in parts, nparts on both validation programs; training stays in one process. Delivered 2026-11-14, uncommitted; the run at real scale is Hans's.
2D student Completed plan, algorithm page, future directions Supervised 2D class assignment on the 3D student's shared core (learn_class_student, predict_classes, validate_class_student, the candidate artifact in the sparse 2D search), delivered 2026-11-14 through Phase 4, uncommitted for review: the feasibility verdict passed by Hans's inspection of the class averages (ruling 15); solve2D at scale costs the same by both routes at 35,645 particles. The stream phases moved to their own plan.
Probabilistic alignment pipeline Batch pipeline Done by the run prob_pipeline on the Dell (2026-11-04/05): keyed draws, one batch pipeline for shared memory and the parts, the table programs retired; the Progress section holds the evidence and the measurements.
Threading Safety and budget Policy decisions and safety work remain planned; the delivered BLAS configuration is archived below with its qualification limits.
Performance follow-up Multi-state run record, speed-week closeout, architecture proposals Keep applicable measurements open; dispose explicitly of acceptance criteria for retired search policies. The multi-state run's unfinished split was removed on 2026-11-04; its open items are stated in the run record's status. The original speed-week checklist is archived below.
Testing and benchmarks Order of work Dataset work, benchmarks and remaining extensions stay planned; the delivered truth-suite implementation and report are archived below. Current rules live in the test policy.
Batch completion Diagnostics and timeout Exit-code/lost-job handling delivered; periodic reporting and hung-job backstop remain.
Chunked solve3D solve3D_chunks open validation Three validation runs remain (its section 9): the whole-stack ribosome rerun, the boundary cases, the published project.
Deferred NU atom support C-alpha mask Next-release proposal.
Deferred optics CTF, aberrations and Ewald Next-release survey and agreed order of work.

Completed investigations and reference material

Topic Entry point Retained follow-up
Class-average CNN in Fortran Run report, completed plan, guide The class-average CNN of scripts/sscnn/ (junk, secondary structure, likely protein) runs inside SIMPLE as the read-only program cavg_cnn_predict, with no new libraries and PyTorch's probabilities to 2e-7 on three real stacks; delivered 2026-11-20, uncommitted for review. The maintainer reads the three prediction tables; using the predictions in a selection is a later plan.
Learned pose assignment Run report, completed plan, code review, algorithm page The pose student (HHCNN, learn_pose_student, predict_poses, the per-particle cone of the neighbourhood search) delivered 2026-11-08 under rulings R1-R5, its classes changed to the grid's mirror pairs on 2026-11-09, and the validation program validate_pose_student with its benchmarks added the same day (the plan's last two Progress entries), uncommitted for review; the maintainer judges the student-only maps, the in-loop consumer, the acceptance values and the arrangement of the halves; the multi-state extension is the plan's section 15.
Pose student review and training speed Run report, completed plan, review with its resolution The autonomous run student_speed (2026-11-09 to 2026-11-10, the Dell) corrected the review's seven findings (PS01 to PS07), each with its test, and made the student's training about ten times faster on the subsets and bgal (1.6 times on the 24,000-particle training half), the reads' means within the seed spread apart from one at its edge, uncommitted for review; the maintainer rules on whether the reads are equal (bgal's seeded fraction sits at the edge of the corrected spread) and checks the review's macOS configuration.
Wave optics Operators and report, simulator Operator limitations and future integration remain explicit in the report and wave summary.
Polar performance Layout benchmark, Mac kernels, x86 kernels Adoption decisions and real-run measurements retain their original scope. Candidate sources are linked from the x86 report.
Speed week Implementation record, closeout, run report Delivered work closed by maintainer decision. Remaining high-resolution profiling, optional shared-memory reuse and representative benchmarks are explicit limits; later pipeline and multi-state work keep their own plans.
Platinum pipeline Hand-run pipeline, one-program workflow Maintainer map assessment and further rejection research remain recorded.
Atomic reconstruction Current prior algorithm, dated methods, AET comparison Current behavior is separated from the original experiments and outlook.
Species evidence Dated evidence and handoff Next steps are maintained only in the planned species record.
Nano rejection context Implementation and investigation, run report Run closed; phase 4 cancelled by maintainer ruling. Findings and possible improvements are retained without reopening the delivered scope.
Atomic density model Implementation and run record, report Both runs delivered; unresolved model interpretation, known failure cases and validation remain explicit limits of the completed implementation.
Atomic B factors Rendering and fitted-model record Products and reconstruction feedback delivered through the density-model work. Early controls are historical; physical interpretation and targeted validation remain open limits.
Truth-suite implementation Completed phases 0-9, run report Delivered tooling and run evidence; dataset work and remaining extensions stay in the testing and benchmarking plan. No new passing-run claim.
Trajectory denoising FLEX kernel Implemented and now the only trajectory-denoising path. Targeted validation and possible improvements are retained; comparisons with retired alternatives are historical.
Posterior search Pose marginalization Posterior draws, annealing, diagnostics and cone-restrained weighted insertion delivered. Superseded controls and later proposals remain dated history; calibration and real-data limits are explicit.
Resource planning Implementation record, validation closeout External planner delivered. Full-workload/four-node/production qualification remains unmeasured; native JSON consumption and optional extensions are not implemented.
BLAS configuration OpenMP BLAS policy Configure/build logic implemented. Recorded probes use stand-in libraries; real-toolchain and workload qualification remain unrecorded.
Polar shift search Living plan, closed, review, dynamic centring Closed 2026-11-03; the items left open are listed at the top of the plan, the Laplace width is planned.

The lifecycle directories above contain the remaining historical records. Their length alone is not a reason to discard measurements or decision rationale.