Tests only, no change to fitting or results. test-reference-regression.R compares the best model’s parameters with a snapshot made by curveRfreq 0.2.0 (2026-06-03), before the residual standard error was reported as an extra parameter row, sigma_resid. The test now compares the curve parameters with the snapshot exactly as before (they are unchanged to every digit) and checks sigma_resid against the fit’s own residual standard error.
curveRfreq 0.5.1
Maintenance release: no functional changes. Rebuilt and documented against curveRcore 0.5.2 (whose getting-started vignette now covers censoring and precision weights).
curveRfreq 0.5.0
Predictive intervals and threshold probabilities for test samples.predict_samples_freq() adds conc_q_lo / conc_q_med / conc_q_hi, p_below_lloq, p_above_uloq, p_below_cutoff, frac_draws_below_a and frac_draws_above_d from a Monte Carlo predictive distribution (MVN parameter draws plus residual noise, out-of-range draws kept as censored, summarised by curveRcore::summarize_conc_draws()). New arguments decision_cutoff, n_interval_draws (default 1000; 0 disables) and interval_seed on fit_calibration_freq() and fit_calibration_freq_multiplate() (curve i uses interval_seed + i). The global RNG stream is never changed. se_concentration / pcov are unchanged (delta method).
Parameter draws: one shared, named, persisted set. The selected model’s MVN parameter draws are now drawn once per fit (named like calib_param terms, seeded via interval_seed, global RNG untouched), used for the samples’ predictive intervals, and stored in $ensemble[[best]]$drawsby default – no longer only under persist_draws (which now only matters when n_interval_draws = 0). A fixed lower asymptote is recorded in $ensemble[[best]]$draws_fixed. With sigma_resid and the per-curve $meta$interval_seed, the stored draws reproduce the intervals exactly.
Bug fix:.mvn_draws() dropped the parameter names (as.numeric() ran before names() was read), so persisted frequentist draws were labelled p1, p2, ... and could not be joined to calib_param.
Requires curveRcore (>= 0.5.0); new dependency withr.
Vignette: corrected the pcov_pass and final_concentration descriptions.
Known, pre-existing: test-reference-regression.R fails on the stored fixture, which predates the sigma_resid parameter row; regenerate the fixture.
curveRfreq 0.4.3 (2026-09-26)
summary_table()$converged now means the selected model actually fitted. It was !is.na(selection$best_model_name), and the eligibility fallback in curveRcore::select_best_eligible() always returns a name – so a plate on which no nls() succeeded was still reported as converged. This was masked until now by a crash (below) that made the whole per-plate call fail and record the curve as failed for the wrong reason.
New additive fallback column in summary_table(), recording whether the selection came from the eligibility fallback. “Fitted cleanly” and “fitted but passed no gate” were previously conflated; on real plates the latter is common.
Fixed three NULL-fit dereferences.extract_best_parameters() guarded the model name but not the fit and hit summary(NULL)$coefficients ($ operator is invalid for atomic vectors); the grid fallback and the sample path in fit_calibration() had the same shape and reached vcov(NULL). All three now guard the fit, matching the check step 6a already performed.
Validated across 1,706 plates / 119 antigen units in four studies: no convergence count changed, and the 3-level case that per-plate NLS genuinely cannot fit is now reported as clean non-convergence rather than a caught crash.
curveRfreq 0.4.2
Created a new pcov_gate_class and changed the basis for pcov_pass classifcations.
curveRfreq 0.4.1
Fix: predict_samples_freq() now gates pcov_pass on pcov_threshold (not cv_x_max), matching predict_grid_freq(). Previously frequentist test samples with pcov between pcov_threshold and cv_x_max were incorrectly marked pcov_pass = TRUE.
curveRfreq 0.4.0 (2026-07-29)
Lockstep version bump — no functional changes. Released so the curveR stack shares a version and the worker image can pin curveRfreq@v0.4.0 for reproducible builds. Rebuilt/verified against curveRcore 0.4.0.
curveRfreq 0.1.0
Initial release.
fit_calibration_freq() — single-curve NLS calibration with multi-start Levenberg-Marquardt and AIC + eligibility-gate selection.