A release’s notes are kept as they were written. Where a later release corrected a figure, the correction is on the later release’s entry, and the older entry says so.
0.10.0 — 2026-12-01
The trust layer is the default, SSVEP is fixed, and two Bayesian heads join the SDK.Upgrading from 0.8 or 0.9
Profiles saved by 0.8 or 0.9 still load. One default changed, and two behaviours you may rely on are different.fit_calibrated. In 0.8 and 0.9 it pinned an accept rate: it tuned the confidence floor so that the target share of held-out trials passed. From 0.10.0, on the four heads above, it fits the risk gate at alpha 0.1 — a certificate that at most 10 % of all trials end in a wrong command being sent. method now defaults to None (the head’s own gate) and accepts "risk"; method="accept_rate" is what 0.8 and 0.9 did; method="conformal" fits the conformal gate instead. Without a certificate nothing changes: the fixed gate stays, every BrainState carries extras["gate_calibrated"] = False, and a warning says so once per process. NimbusFusion is unchanged: fit_calibrated still pins an accept rate on it. A certificate costs labelled trials the head has not seen — at least nine for alpha 0.1, in practice 8–12 per class — and is void after any update of the head. Why the default changed: Trust & calibration.
SSVEP encoder defaults. FBCCA now builds the cumulative Chebyshev sub-band bank of Nakanishi et al. (2018), with one reference harmonic per sub-band; TRCA keeps the band-limited three-band bank. A profile saved under the 0.9.0 defaults must be refit — re-attaching a new-default encoder to it fails loudly on the feature count. To keep using such a profile, re-attach with make_fbcca_encoder(stim_freqs, sfreq=sfreq, filter_bank="legacy", n_harmonics=2). Encoder state_dicts written by 0.9.0 still load: FBCCA silently, TRCA with a warning that its stored geometry predates the per-sub-band fix.
In a live loop. predict_one — and any predict call that holds exactly one trial — now takes the next draw of the gate’s deployment stream, exactly as each row of a batch takes its own. Before, a loop re-seeded on every call and the gate turned into a fixed one: on one decoder a loop certified 100 % of the trials where a batch certifies 84 %. The stream position is saved with the profile (live_draws); profiles written earlier load unchanged and start at the first draw.
Added
Personalizer.calibrate_risk_gate— a confidence bar that bounds wrong commands. Promises that at mostalphaof all trials end in a wrong command being sent, by conformal risk control. Deterministic; composes with the conformal gate; saved with the model and the profile.nimbus_bci.metrics.risk_gateexportsRiskGate,risk_control_barandevaluate_risk_gate.NimbusProbit— a Bayesian probit head with honest confidence on few trials.Personalizer(..., head="probit"). Read by expectation propagation on the trials, so features may outnumber trials many times over. As accurate as a plain logistic regression and better calibrated; a calibration claim, not a decoding one. Model page.- A certificate decides on four heads. On
NimbusProbit,NimbusLDA,NimbusQDAandNimbusSoftmaxa fresh conformal or risk gate replaces the confidence floor and entropy ceiling. - SSVEP: TDCA and
NimbusFusion.SsvepTdcaEncoderreaches 0.97 at 1 s on the 40-class Wang2016 grid.NimbusFusionmakes the classic decision a head whose accuracy is the rule’s. The README’s recipe reaches 0.966 at 1 s on Nakanishi 2015. SSVEP · NimbusFusion. - Deciding inside a certified set.
choose_within_sets/spell_with_priorpick, in each certified prediction set, the member a language prior finds most plausible. Raises the information rate, not the guarantee. - Each gate’s own verdict on every
BrainState.extras["conformal_set"]andextras["risk_passed"]let a loop running both gates audit each promise on its own. NimbusLDA(kappa0=...)— the prior weight on the class means, as a number or chosen by cross-validation. Better calibrated than the default head when features outnumber trials; a plainLogisticRegressionis still more accurate.- Certified typing over LSL.
examples/certified_typing_live.pyruns the deployed SSVEP path one trial at a time;examples/lsl_speller_standin.pystands in for a speller application. - Research previews.
nimbus_bci.sleep— sleep staging over any frozen encoder; the API is buildable, accuracy on real nights is not a measured claim.Personalizer.for_errp(...)— an error-potential recipe with no certified cell.
Changed
- The pinned-rate gate can let the entropy ceiling yield. On three or more classes
calibrate_decision_gate(..., entropy="keep")is the unchanged default and now says so;entropy="yield"raises the ceiling to the smallest value that lets the target share through. The ceiling is a config value as well:DecisionConfig(entropy_threshold=...). - No sdist is published. It carried the plaintext of the compiled modules, which undid the compilation. Wheels: macOS (x86_64, Apple Silicon), Linux x86_64 (
manylinux_2_28), Windows AMD64, CPython 3.11 to 3.13. See Installation.
Fixed
- The conformal gate lost its coverage under tied posteriors. A classifier that emits exactly tied posteriors was certified when it should have abstained: with every posterior flat, realized coverage was 0.025 against a nominal 0.90. Calibration now uses the same rank order as prediction; on Wang2016’s TRCA head coverage moves from −0.142 below nominal to +0.007 above it. Posteriors without exact ties are unchanged to the bit.
- The conformal gate froze its randomization in a live loop — see Upgrading above.
- The SSVEP encoders. TRCA now learns one spatial filter per class per sub-band; TRCA no longer depends on the units of the data; FBCCA no longer reads noise from rank-deficient trials such as an average reference; the default FBCCA reference gets one harmonic per sub-band.
- The head contract. A softmax model now reloads — 0.9.0 refused its own artifact — and its labelled history is saved with it.
evaluate_cvscores the head it was given, and a head’s constructor settings surviveloadandfrom_profile. - The default head when features outnumber the trials no longer returns a uniform distribution for every trial.
Personalizer(head="lda")isNimbusLDA(prior_fraction=0.05); its scatter is now the OAS-shrunk pooled covariance in that case.
Corrected
- The 0.9.0 figure for classic FBCCA — 0.668 at 4 s on Wang2016 — measured the encoder defects and is withdrawn. With the fixes it reads 0.936 [0.882, 0.978] at 4 s and 0.723 at 2 s.
0.9.0 — 2026-11-17
The certified decision layer, and the third paradigm. The upgrade from 0.8 is additive — defaults are byte-identical, test-pinned.0.10.0 corrected two SSVEP figures of this release: its encoders carried defects that held them far below the published decoders.
Added
- Conformal prediction-set gating — a certified bound, not a pinned rate.
Personalizer.calibrate_conformal_gate(X_val, y_val, alpha=0.1)fits adaptive prediction sets on held-out trials: distribution-free under exchangeability, the true label is in the set at least1 − alphaof the time. With the default singleton gate, the probability that an emitted command should have been rejected is at mostalpha. Also as the one-call recipe,fit_calibrated(..., method="conformal"). - Mechanical certificate staleness. The certification is stamped with the head revision and geometry it was calibrated at. Any online adaptation flips
Personalizer.conformal_staletoTrueand stamps every trial withBrainState.extras["conformal_stale"]. The flag survivesrestore_head, deliberately. - SSVEP — the third paradigm.
nimbus_bci.ssvepwith filter-bank CCA and TRCA,Personalizer.for_ssvep(classes, stim_freqs, sfreq=...), and the Bayesian head on top. numpy and scipy only; no new extra. - Guards. A reference harmonic past Nyquist raises rather than aliasing; an under-resolved stimulus grid warns;
sfreqis mandatory; a changed epoch length is refused.
Readings recorded as they came
- On a low-SNR corpus. On MAMEM3’s single-trial SNR the prediction sets were the full class list for 9 of 11 subjects: the gate refused to certify single decisions, and said so.
- The SSVEP encoders underperformed the literature. In 0.9.0’s encoders, classic FBCCA read 0.668 at 4 s on Wang2016 and TRCA failed to replicate. 0.10.0 traced both to encoder defects and corrected them.
0.8.x and 0.7.x — 2026-09 to 2026-10
Upgrading from 0.6 or 0.7
Nothing in 0.7 or 0.8 breaks existing saved profiles or bundles from 0.6. The upgrade introduces new guardrails, deployment contracts, and an opt-in safety layer:adapt_pseudo. In 0.6 its entropy and epistemic gates were disabled by default (None). In 0.8.0+ the entropy gate defaults to bits (class-count-aware), the epistemic gate to (normalized scale), the cumulative update cap to max_pseudo_updates=200 per session, and a model without Monte Carlo sampling refuses with AdaptationRefusedError rather than self-training unguided. Either enable MC sampling (mc=MCSamplingConfig.head_only(32)) or pass epistemic=1.0 if you accept unguided self-training. For multiclass problems (), the default epistemic threshold may need re-tuning for your uncertainty scale.
Precomputed embeddings (x_kind="embeddings"). If your pipeline serves precomputed embeddings, declare it at construction (Personalizer(x_kind="embeddings", classes=...)); encoder.encode() is never called. Trunk adaptation (adapt_trunk, adapt_async, fit_tent) and Riemannian reference tracking cannot operate on precomputed embeddings and raise PersonalizerInputError. The contract round-trips through profile metadata (export_profile() / from_profile()).
Head snapshot and rollback. snapshot = p.snapshot_head() before adapting; p.restore_head(snapshot) to undo an update that failed verification. Enforcement is session-scoped: save() and load() do not persist safety counters — attach a fresh SafetyConfig when loading a profile. Details: Online Safety Layer.
0.6.0 — 2026-09-13
The personalization release: factories, portable profiles, paradigm recipes, cheaper online adaptation.Upgrading from 0.5
The public top-level API (
from nimbus_bci import Personalizer, …) is unchanged. Prefer factories over preset strings: Personalizer.for_deployment(enc, classes) is the strict gate, for_research the permissive one with the knobs.
Added
- Factories
for_deployment,for_research,for_features,for_riemann,for_p300,for_balora;fit_calibrated(...); the adaptation gatewayadapt(...)/adapt_async(...)withBrainStateBatch. - Portable profiles
export_profile/from_profile/UserProfile, and the MI / P300 session bundles. Session-bundle sidecars requiretrusted=Trueon load;saverecordssidecar_sha256, verified before unpickle. - P300 / Riemann / MI recipes — see Paradigms & profiles. Embedding transforms and opt-in
[train]PEFT / BaLoRA — see Research. calibration_status/suggest_calibration_trials; optional forgettingλ<1andprior_fraction=on LDA/QDA; metricscohen_kappa,roc_auc_score,brier_score,temperature_scale_logits;adapt_errp,adapt_pseudo,fit_tent, T3A,fit_population(research).- Update cost is the robust claim (held even where accuracy gates failed) — cite wall-time ratios, details on Evidence.
Next read
Installation
Wheels, platforms and the optional extras.
Trust & calibration
The risk gate, the conformal gate, and the certificate default.