impart563/clinical-lab-qc/io does not have a README file

    CsvBatchParseDetailedResult

    pub(all) struct CsvBatchParseDetailedResult {
    runs : Array[SourcedQCRun]
    diagnostics : Array[SourcedCsvDiagnostic]
    } derive(
    Debug
    )

    Detailed result from ordered, multi-source CSV parsing. If any source has CSV diagnostics, runs is empty so callers cannot accidentally replay a partial batch.

    CsvDiagnostic

    pub(all) struct CsvDiagnostic {
    issue :
    InputIssue

    line : Int?
    column : Int?
    field : String?
    } derive(
    Debug
    )

    A CSV problem with machine-readable source coordinates when the parser can identify them. line, column, and field are one-based physical CSV positions; track-integrity issues are reported separately by replay.

    CsvParseDetailedResult

    pub(all) struct CsvParseDetailedResult {
    runs : Array[
    QCRun
    ]
    diagnostics : Array[CsvDiagnostic]
    } derive(
    Debug
    )

    Detailed CSV parsing result. The compatibility API parse_qc_csv returns the same runs and issues without source coordinates.

    ProgramConfigResult

    pub(all) struct ProgramConfigResult {
    program :
    AssayProgram
    ?
    issues : Array[String]
    } derive(
    Debug
    )

    QCCsvInput

    pub(all) struct QCCsvInput {
    label : String
    text : String
    } derive(
    Debug
    )

    One in-memory CSV source for an ordered batch replay. label is a caller- supplied display name, not a file-system path.

    SourcedCsvDiagnostic

    pub(all) struct SourcedCsvDiagnostic {
    source_label : String
    diagnostic : CsvDiagnostic
    } derive(
    Debug
    )

    A CSV diagnostic associated with the display label of its source CSV.

    SourcedQCRun

    pub(all) struct SourcedQCRun {
    source_label : String
    run :
    QCRun

    } derive(
    Debug
    )

    A parsed run associated with the display label of its source CSV.

    parse_assay_program_json

    fn parse_assay_program_json(text : String) -> ProgramConfigResult

    Parse a versioned JSON assay configuration and validate the resulting program. Decimal values are strings so conversion to the program's scaled Int64 values never passes through floating-point arithmetic.

    parse_qc_csv

    parse_qc_csv_batch_detailed

    Parse multiple long-form QC CSV inputs in their supplied order. Each file has its own header. The result is atomic: when any input has CSV diagnostics, no parsed runs are returned for replay.

    parse_qc_csv_detailed

    fn parse_qc_csv_detailed(program :
    AssayProgram
    , text : String) -> CsvParseDetailedResult

    Parse the documented long-form QC CSV while retaining structured physical line, column, and field information for each CSV diagnostic.

    render_audit_csv

    Render one CSV row for each assessment, observation, evidence point, and issue. Scaled measurement columns remain exact integers; precision states the scale.

    render_audit_csv_batch

    Render a batch CSV audit table with a source_label column on every run-associated record.

    render_audit_html

    Render a deterministic, self-contained HTML audit report with an embedded Levey–Jennings chart. The document has no scripts, external styles, or network dependencies and can be opened offline.

    render_audit_html_batch

    Render an offline HTML report with run-to-file provenance.

    render_audit_json

    Render a versioned JSON audit report containing the assay configuration, epoch snapshots, assessments, issues, and reconciliable track summaries.

    render_audit_json_batch

    Render a batch JSON report with a source label on every run and schema version 2. Labels are reduced to display names so filesystem paths are not written into review artifacts.

    render_audit_manifest

    Render a deterministic manifest for the files produced by the offline review bundle. The manifest contains no source path or wall-clock time.

    render_audit_manifest_batch

    Render a deterministic batch manifest with sanitized source display names.

    render_audit_markdown

    Render Markdown with status, rule, and epoch counts before run evidence.

    render_audit_markdown_batch

    Render Markdown with an explicit run-to-file provenance table.

    render_levey_jennings_svg

    Render a deterministic, offline Levey–Jennings SVG with epoch breaks, missing-value gaps, and rule-evidence markers.

    render_levey_jennings_svg_batch

    fn render_levey_jennings_svg_batch(program :
    AssayProgram
    , sourced_runs : Array[SourcedQCRun], trajectory :
    Trajectory
    ) -> String

    Render an offline Levey–Jennings SVG with source provenance in its machine-readable metadata block.

    render_trajectory_json

    fn render_trajectory_json(trajectory :
    Trajectory
    ) -> String

    render_trajectory_markdown

    fn render_trajectory_markdown(trajectory :
    Trajectory
    ) -> String