Skip to content

Releases

Caladrius v0.3.2

Choose a tag to compare

@github-actions github-actions released this 22 Oct 21:07

Caladrius v0.3.2: plots become objects of the workflow, like an NCA or a fit, saved in the project and exported as SVG.

What changed since v0.3.1:

  • Plots in the project tree (T-110): a plot has its own page and its own setup: the source (a worksheet, or a fit already run), the subjects (ticked, or all), the scale (linear, semi-log or both), the layout (overlaid, or one panel per subject) and a title. It is named from its content, saved with the project, redrawn by "Run again" and marked stale when its source changes; a fit read by a plot cannot be removed before the plot.
  • Views of a fit: from a stored fit result, a plot shows the fitted curve over the observations, observed against predicted, the residuals or the weighted residuals. "Keep a plot of this fit" under a fit result creates it in one click.
  • From the raw data: "Keep as a plot" on the worksheet's raw data card (v0.3.1) turns the quick look into a plot object; "New plot" is also on the worksheet screen and in the New analysis menu.
  • SVG export: a plot exports as an SVG file (light theme colours, one legend), through a save dialog on the desktop and a download in the browser. The points of a plot export as a table too.
  • Commands: the new commands plot.xy and export.plot are available from the CLI and the MCP server, with the same parameters as in the interface.
  • Validation: a plot only draws values already in the worksheet or in the stored fit result; nothing is computed, no numerical crate changed. Conformance 48,955 of 48,955 values, as in v0.3.1.

Prebuilt binaries for Linux and Windows (desktop application, CLI, MCP server) are attached below with SHA-256 sums, next to the browser page caladrius-web-v0.3.2.tar.gz. No value in the conformance table comes from any commercial software; see the README.

Caladrius v0.3.1

Choose a tag to compare

@github-actions github-actions released this 22 Oct 20:15

Caladrius v0.3.1: the logo and its green in the interface, a typed table with subjects in columns and visible units, and a plot of the raw data before any analysis.

What changed since v0.3.0:

  • Logo and theme (T-107): the logo in the window and task bar icon, on the welcome page and in the top bar; in the browser, a favicon and the logo on the loading screen. The logo's green is the accent of the light and dark themes (same values as the website, WCAG AA contrast tested). The version number shows under the logo and in the status bar; window and tab title Caladrius - <project>. The Windows .exe file icon in Explorer is not set yet.
  • Typed table (T-108): with "Several subjects", a grid of times in rows and subjects in columns, with a number of subjects, subject names and an optional dose line; the times are typed once for every subject. A wide table pasted from a spreadsheet (times down the first column, one column per subject) is read the same way; one row per sample stays one click away. Typed grid, wide paste and long CSV give the same worksheet and the same NCA for every subject.
  • Units (T-108): a menu next to every unit cell, in the typed table and the worksheet, lists the units the engine recognises (time s, min, h, d; any mass per volume for concentrations; any mass or mass per kg for doses, mg/kg included), from the new read-only command units.check, also on the CLI and the MCP server. The cell stays free text and the engine's checks show as soon as it loses the focus.
  • Raw data plot (T-109): the worksheet screen plots the concentrations as entered against time, linear and semi-log side by side, before any analysis: one line, colour and marker shape per subject, points below the limit of quantification as hollow triangles, a legend that hides or shows a subject, values under the pointer. Read only, no computation.
  • Validation: no engine number changed; conformance 48,955 of 48,955 values, as in v0.3.0.

Prebuilt binaries for Linux and Windows (desktop application, CLI, MCP server) are attached below with SHA-256 sums, next to the browser page caladrius-web-v0.3.1.tar.gz. No value in the conformance table comes from any commercial software; see the README.

Caladrius v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 18:44
1807e34

Caladrius v0.3.0: the same interface in a browser tab, data typed or pasted without a CSV file, and multiple dosing.

What changed since v0.2.0:

  • Caladrius in the browser (T-106): the desktop interface compiled to WebAssembly and drawn on a WebGL canvas, with the same engine and the same commands. Files are read inside the page and saved as downloads; settings stay in the browser's local storage; nothing is sent anywhere. Built by cargo xtask web; the page is attached below as caladrius-web-v0.3.0.tar.gz (a folder any static server can serve). On one test profile the NCA in the page equals caladrius-cli nca.run to the last digit; the oracle suite itself is not run inside WebAssembly.
  • Type or paste data (T-103): a table of time, concentration, dose and an optional subject column, with units in the headers; Ctrl+V of spreadsheet cells (header line skipped, decimal comma accepted). The table goes through the same data.preview and data.import commands as a CSV file: typed, pasted and imported versions of one profile give byte-identical NCA results.
  • Multiple dosing and steady state (T-049, T-051): dosing regimens (schedule, number of doses, steady state) for every one- and two-compartment model in the engine, the CLI and the MCP server, checked against the multiple-dosing oracle that v0.2.0 shipped.
  • Import: text cells below the limit of quantification (< LQ, BLQ, <LOQ...) are read as BLQ points (T-097); a dose per kg of body weight gives clearances in L/time/kg and volumes in L/kg (T-098).
  • Validation: conformance 48,955 of 48,955 values (32,036 at v0.2.0), with the same 16 documented differences; clippy::indexing_slicing denied in the four numerical crates (T-053).

Prebuilt binaries for Linux and Windows (desktop application, CLI, MCP server) are attached below with SHA-256 sums, next to the browser page. No value in the conformance table comes from any commercial software; see the README.

Caladrius v0.2.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 09:55

Caladrius v0.2.0: two-compartment models end to end, exact fit defaults, a comparison command, and the first prebuilt binaries.

What changed since v0.1.0:

  • Two-compartment models (IV bolus, IV infusion, first-order oral with and without lag, zero-order oral with and without lag) in the three usual parameter sets (clearances and volumes, micro-constants, macro-constants): specification with two independent sources, oracle of 11,145 values and 5,681 derivative values evaluated in 256-bit arithmetic and cross-checked against a matrix exponential and an ODE solver, engine, CLI, MCP server and desktop UI (model picked by route, compartments and parameter set, with the diagram and the equation).
  • Fit defaults reach the exact minimum (closed-form derivatives when available, relative decrease 1e-10): 0 of 490 estimates differ from the R reference by more than 1e-4 on the 185 reference fits (worst 7.4e-6). The former defaults (forward differences, increment 1e-3, convergence 1e-4) remain as the preset reference_conventions, selectable from the UI, the CLI, the MCP server and project files. Options files that relied on omitted keys now get the new defaults (specs/differences.md D-03, D-04).
  • analysis.compare: differences, percentages and ratios between two analyses computed by the engine, with a refusal and its reason when units differ or a value is missing (CLI compare, MCP analysis_compare).
  • Validation: README section "What is verified, and what is not" with a coverage table per model, docs/validation.md (versions, methods, coverage, documented differences, limits, how to reproduce), conformance 32,036 of 32,036 values with 16 documented differences; cargo xtask lint (contract rules) and cargo xtask review (stated numbers against the files that own them) run in CI.
  • Desktop UI: fit page with live curve and residual plots, simulation page, project files, command palette, settings; screenshots in docs/screens/.
  • Specifications: multiple dosing and steady state specified (oracle and engine to follow), second source with page citations for the compartmental models.

Prebuilt binaries for Linux and Windows (desktop application, CLI, MCP server) are attached below with SHA-256 sums. No value in the conformance table comes from any commercial software; see the README.

Caladrius v0.1.0

Choose a tag to compare

@abdou-rgd abdou-rgd released this 08 Oct 22:42

Caladrius v0.1.0: first tagged release of the open-source pharmacokinetic engine of Officina.

What is in it: non-compartmental analysis (AUC rules, λz selection, extrapolation, derived parameters, quality flags, explicit units), one-compartment models (IV bolus, IV infusion, zero- and first-order absorption, lag), weighted least-squares fitting (Gauss-Newton with Levenberg damping, five weightings, analytic derivatives for every model, confidence intervals, matrices, trace), a command registry with stable ids, a CLI, an MCP server for agents, and an egui desktop application (import preview, worksheet, NCA page with λz point selection, fit page with live curve, simulation, project files, command palette, settings).

What is verified, and what is not: see the README section of that name. Conformance: 15130/15130 values against PKNCA 0.12.1 (NCA, 1e-6 relative), closed forms (models) and R nls/nlsLM (fits, 1e-4 relative, margins stated), 16 documented differences; the only comparison with the reference software is one private exercise, counts only, never published. Default fit settings land about 5e-3 from the exact minimum (D-03, open decision Q-014).

Process: built by role-based agents under a written contract (AGENTS.md) with a clean-room rule and a versioned board; every numerical change is reviewed by an agent that did not write it. CI runs fmt, clippy, the workspace tests, the layer and wasm checks and the conformance drift check on every push.