What’s new
Changes to the QC Analytical Results API by version.
1.4.1 (with QC Analytical Results 2.6)
- Gross errors: a new
cause,above_detection, for a result at or above the upper detection limit. The laboratory reported its limit, not the grade, sowhyasks for a re-assay by the ore-grade method. It is checked before the other causes. - The step that keeps a result within 2 reporting steps of the median from being a gross error now comes from the other results only. A slip’s own gap no longer widens it.
1.4.0 (with QC Analytical Results 2.5)
- Gross errors on
shewhart,cusumandewma. A result more than 10 SD from the centre is a mistake, not a laboratory bias, and thespecgainsgross_errors, one row for each, worst first. Withuse_certified_valuesthe centre is the certified value and SD, and the result must also be 10 SD from the median of the CRM’s results, by their robust SD (1.4826 × MAD). Without it, only the median and robust SD are used. A result within 2 reporting steps of the median is never one. Each row hascheck_id,value,n_sd(signed),causeandwhy.causeisswap(the result matches another CRM’s certified value in the dataset),slip(about 10, 100 or 1,000 times the centre, or that fraction),near_detection(at or below twice the detection limit) ornone.whyis the sentence the app shows. With no gross error thespecis as in 1.3.0, andgross_error_centrenames the centre when there is one. - Every other chart is as in 1.3.0.
1.3.0 (with QC Analytical Results 2.4)
- Two charts of a whole laboratory, as on the app’s Charts tab. Each takes every CRM, so neither takes
crm_type,crmsoruse_certified_values. week-by-week: the laboratory’s CRM results week by week, for every analyte with the same method asanalyte. Thespechascells, one row for each analyte and week:analyte,week(its Monday),n(results),crms,median_sd(the median of the results’ distance from certified, in certified SDs; null under 3 results) andtop_crm(the CRM with the most results for the analyte, to open its Shewhart chart).analyteslists the rows in order.statsgivesanalytes,crm_results,weeks,left_outandleft_why. The weeks followdate_type. A CRM result at or above the upper detection limit, or with no date, is left out and counted.bias-against-grade: the laboratory’s bias against grade foranalyte. Thespechascrms, one row for each CRM with 5 results or more (crm,n,certified,sd,median,bias,pct,z,q1_pct,q3_pct),fit(the pattern,proportional,constant,unclear,noneortoo_few, withprop_pct,constand each shape’s misfit) andsentence. Sendcutoff, andore_gradeif you wish, in the analyte’s units, and thespecaddscutoff_sentence: the bias at those grades and the outcome, judged atcaution_pct(default 3) andfail_pct(default 10).- Every other chart is as in 1.2.0.
1.2.0 (with QC Analytical Results 2.2.1)
- Changes in precision on
rd-sequenceandrd-rolling-median: send"change_points": trueand thespecgainschange_points(onrd-sequencefaceted by stage, each panel has its own), one row for each change in precision found in the pairs. The analysis is Taylor’s, run on the ranks of each pair’s |RD| in the chart’s order. Each row hasindex(the last pair before it, in that order),x(where to draw it),confidence,level(changeat 95% or more,possibleat 90 to 95%),median_rd_beforeandmedian_rd_after,median_grade_beforeandmedian_grade_after(the median of each pair’s mean),grade_ratio(after over before) andgrade_moved(true when the grade rose by a quarter or more, or fell by a fifth or more: lower grades give poorer precision, so the grade may explain the change).rd-sequenceaddsdateorlabel(the x axis value);rd-rolling-medianaddsdate,despatchanddespatch_next(the same despatch when the change falls inside one). Leave it out and the spec is as before.
1.1.0 (with QC Analytical Results 2.1.1)
- Change points on
shewhartandcusum: send"change_points": trueand thespecgainschange_points, a table with one row for each shift found in the results (Taylor’s change-point analysis):index(the last result before it),x(halfway between that result and the next, in the axis’s units),check_id,lab_job,despatch,dateon a date axis,confidence(0 to 1),level(changeat 0.95 or more,possibleat 0.90 to 0.95),mean_before,mean_afterandshift_sd(the shift in standard deviations, when the SD is known). It is empty when there is none.meta.change_pointsistrue. Without the parameter, every chart’sspecis exactly as in 1.0.0.
1.0.0 (October 2026)
The first version: datasets of two kinds, the 18 charts of the app, keys from the Toolkit account page, request ids. Every chart’s spec follows one convention: plain lower-case names (value, check_id, pair_mean, never a database column name), outlier as true/false and band as ok, warning or action, control limits as centre, warning_low, warning_high, action_low, action_high, statistics keyed as numbers (n, mean, pct_outside_2sd), the Nelson rules as a table of rule, description, status, and faceted charts as panels keyed by check stage, each shaped like the single chart.