Sepse Calculator
PT · EN

Rules and AI reading the same patient

Drag the vital signs and lab values. See where clinical criteria and a machine learning model place the same patient, and why they sometimes disagree.

Educational toolNot validated in patientsAdults only · no treatment advice
Fictional cases, for teaching.
Where each reading places this patient
Rules
low signalintermediatehigh signal
AI

The Rules position adds up weights we chose for teaching (for example, 2 SIRS criteria with high lactate give a high signal). It is not a published score.

RWhat the rules say

  • SIRS · 1991. Left the definition of sepsis in 2016, with Sepsis-3. Still used for screening.
  • qSOFA · 2016. Flags risk of deterioration. The Surviving Sepsis Campaign (2021 and 2026) recommends against using it as a single screening tool.
  • Lactate > 2 mmol/L. Part of the Sepsis-3 criterion for septic shock, together with the need for vasopressors.

AIWhat weighed for the model

The author's Model 2025, frozen: a Random Forest of 100 trees, trained on 8,000 synthetic cases based on the literature. It uses 5 variables and does not see blood pressure or mental status, so it cannot speak of septic shock. Bars: how much each variable pushed the reading up or down for this patient. Model card.

How a tool like this would really work

In a hospital, nobody would type numbers into a page. The system would read the health record, recalculate with every new data point and alert the team. The last step is always human.

Data arrive

Vital signs and lab results come from the health record, with the time they were taken.

here, you type

Rules

Published criteria (SIRS, qSOFA, lactate) that any physician can check by hand.

Model

Learns patterns from real hospital stays and must be tested outside the place where it was trained.

Explanation

Shows what drove the alert. Without it, the team has no way to disagree.

Alert

A threshold chosen to avoid too many alarms, which the team would learn to ignore.

Human decision

The physician examines the patient, decides and documents. The tool does not decide.

From prototype to bedside

A model that works on a computer is not yet a clinical tool. These are the steps, each with a published example.

step 1 · you are here

Teaching

Shows how rules and a model reason, side by side.

Not for clinical use.

step 2

External validation

Test it in another hospital. A sepsis model widely used in the US had an AUC of 0.63 in an independent evaluation, below what its developer reported.

Wong et al., JAMA Intern Med, 2021.

step 3

Prospective study

Measure outcomes with the alert in use. In five hospitals, TREWS linked prompt confirmation of the alert to lower mortality.

Adams et al., Nat Med, 2022.

step 4

Regulation and governance

In Brazil, software that supports clinical decisions can be a medical device, and the physician's responsibility follows the Federal Council of Medicine (CFM) resolution on AI.

ANVISA, RDC 657/2022; CFM 2.454/2026.

Model card · Model 2025

What a health AI model needs to declare, following the TRIPOD+AI checklist. This is the award-winning model and it stays frozen: future retraining will come as new models, side by side, without erasing this one.

Purpose
Teaching: showing how a model reads vital signs and lab values. Not for diagnosis, screening or clinical decisions.
Origin
Work by Cassiana Souza Meyer and Tatiana Moreira de Almeida Callitto, 1st place at the 10th Multiprofessional Congress of Centro Universitário São Camilo, Brazil (2025).
Algorithm
Random Forest (scikit-learn): 100 trees, maximum depth 10, balanced class weights.
Variables
Temperature, heart rate, respiratory rate, white blood cells and lactate.
What it does not see
Blood pressure, mental status, oxygen saturation, age, prior conditions and source of infection.
Version on this site
Retrained from the original code with the same seed (scikit-learn 1.9; the original used 1.3.2) and exported to run in the browser. Checked against the answers of the previous site.
Data
8,000 synthetic cases generated by code (seed 42), with ranges taken from the literature. No real patients.
Classes
Low risk (40%), high risk (40%) and very high risk (20%). The top class was generated with lactate of 4 mmol/L or more; it is not septic shock under Sepsis-3.
Performance
99.8% correct on a test of 1,600 cases from the same generator. This only shows it learned the generator's rules; it does not measure performance in patients.
External validation
None. It has never been tested in real patients.
Known gaps
No training case has a temperature between 37.5 and 38 °C, or white cells between 4 and 4.5 or between 11 and 12 ×10³/µL. In those ranges the model answers without ever having seen an example.

About the work

Sepse Calculator was created by Dr. Cassiana Souza Meyer, a physician, as an educational tool on transparency in health AI.

The work Sistema Educativo Híbrido para Predição de Sepse: Combinando Transparência com Machine Learning (A Hybrid Educational System for Sepsis Prediction: Combining Transparency with Machine Learning), by Cassiana Souza Meyer and Tatiana Moreira de Almeida Callitto, won 1st place in the Professional Category, Product Development, at the 10th Multiprofessional Congress of Centro Universitário São Camilo, Brazil (2025). Archived awards page, in Portuguese.

Abstract in the congress proceedings, p. 268. ISBN 978-65-84146-20-4 · ISSN 3086-240X.

ORCID 0009-0002-6628-5435 · More work at Inteligência na Saúde, in Portuguese.

What this tool does not do

  • It does not diagnose sepsis or recommend treatment.
  • It does not calculate SOFA, which needs lab tests it does not ask for.
  • It does not give a probability of sepsis. Positions on the ruler are comparative.
  • It has not been validated in patients. The model was trained on synthetic cases and uses only 5 variables.
  • It applies to adults only. In children, sepsis follows the Phoenix criteria (2024).

References

  1. Singer M, Deutschman CS, Seymour CW, et al. The Third International Consensus Definitions for Sepsis and Septic Shock (Sepsis-3). JAMA. 2016;315(8):801-810. doi:10.1001/jama.2016.0287
  2. Bone RC, et al. ACCP/SCCM Consensus Conference: definitions for sepsis and organ failure. Crit Care Med. 1992;20(6):864-874. PMID 1597042
  3. Prescott HC, Antonelli M, Alhazzani W, et al. Surviving Sepsis Campaign: International Guidelines for Management of Sepsis and Septic Shock 2026. Crit Care Med. 2026;54(4):725-812. doi:10.1097/CCM.0000000000007075. Co-published in Intensive Care Med. 2026;52:863-936.
  4. Ranzani OT, et al. Development and Validation of the Sequential Organ Failure Assessment (SOFA)-2 Score. JAMA. 2025;334(23):2090-2103. doi:10.1001/jama.2025.20516
  5. Moreno R, et al. Rationale and Methodological Approach Underlying the Development of the SOFA-2 Score. JAMA Netw Open. 2025;8(10):e2545040. doi:10.1001/jamanetworkopen.2025.45040
  6. Schlapbach LJ, Watson RS, Sorce LR, et al. International Consensus Criteria for Pediatric Sepsis and Septic Shock. JAMA. 2024;331(8):665-674.
  7. Collins GS, Moons KGM, Dhiman P, et al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. BMJ. 2024;385:e078378.
  8. Wong A, Otles E, Donnelly JP, et al. External Validation of a Widely Implemented Proprietary Sepsis Prediction Model in Hospitalized Patients. JAMA Intern Med. 2021;181(8):1065-1070.
  9. Adams R, Henry KE, Sridharan A, et al. Prospective, multi-site study of patient outcomes after implementation of the TREWS machine learning-based early warning system for sepsis. Nat Med. 2022;28:1455-1460. doi:10.1038/s41591-022-01894-0
  10. ANVISA (Brazilian Health Regulatory Agency). RDC No. 657, March 24, 2022 (software as a medical device). In Portuguese.
  11. Conselho Federal de Medicina (Brazilian Federal Council of Medicine). Resolution CFM No. 2,454, February 11, 2026. DOU, Feb 27, 2026, ed. 39, section 1, p. 158. In Portuguese.

Content last reviewed: December 2026.