Skip to content

wl5e/autoclave-cycle-verifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autoclave Cycle Verifier

A GMP-compliant command-line tool that reads an autoclave temperature/pressure log (CSV) and verifies whether the cycle meets your defined acceptance criteria, such as minimum holding time above a target temperature, maximum temperature, and pressure range.

Features

  • Parses CSV logs with columns: time, temperature_C, pressure_bar
  • Verifies continuous holding at or above a temperature threshold for a minimum duration
  • Checks temperature never exceeds the allowed maximum
  • Validates pressure stays within a configurable range during the hold
  • Prints a detailed pass/fail report with timestamps
  • Exit code reflects verification result (0 = pass, 1 = fail), suitable for CI/GMP documentation systems

Installation

No dependencies outside the Python standard library. Requires Python 3.8+.

git clone https://github.com/yourusername/autoclave-cycle-verifier.git
cd autoclave-cycle-verifier

Usage

python autoclave_cycle_verifier.py --file cycle_log.csv

Optional arguments:

--hold-temp        Holding temperature threshold (°C), default 121.0
--min-hold-time    Minimum continuous hold time (minutes), default 15
--max-temp         Maximum allowed temperature (°C), default 125.0
--min-pressure     Minimum allowed pressure (bar) during hold, default 1.0
--max-pressure     Maximum allowed pressure (bar) during hold, default 2.0

Example with custom criteria:

python autoclave_cycle_verifier.py --file run_123.csv --hold-temp 121.1 --min-hold-time 30 --max-temp 124.0

Input Format

CSV file with header and comma-separated values. Expected columns (case-insensitive): time, temperature_C, pressure_bar. Time must be supported by Python's dateutil-free parsing (ISO format or HH:MM:SS). The log is expected to contain a full cycle with a clear heating, holding, and cooling phase.

License

MIT

About

A GMP-compliant CLI tool to verify autoclave sterilization cycles from temperature/pressure log files against user-defined acceptance criteria.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages