CellTriage / src /__init__.py
Sarvarbek13's picture
CellTriage QC operator console - inference only, CPU-bound classical ML
749bffa verified
Raw
History Blame Contribute Delete
1.58 kB
"""CellTriage -- cost-optimal, risk-controlled end-of-line QC for lithium-ion cells.
Predict cycle life from N early cycles, attach a distribution-free confidence
statement, convert it into a grade assignment (A/B/C) or a "keep testing"
verdict under an explicit cost matrix, and allocate scarce aging-chamber
capacity to the cells where more testing is worth the most.
The thesis of the project is that point accuracy is the wrong objective for
manufacturing QC: what a manufacturer needs is a decision with a bounded escape
rate, because escape rate is what warranty exposure is priced on.
Package layout
--------------
``src.utils`` logging, paths, validated config, seeds, provenance
``src.data`` ingestion, parsing, validation, cleaning, splitting
``src.features`` leakage-safe feature construction from cycles 1..N
``src.models`` classical estimators (no neural networks)
``src.uncertainty`` conformal prediction and risk control
``src.decision`` cost model, triage policy, budget and capacity allocation
``src.explain`` TreeSHAP attribution and mechanistic validation
``src.evaluation`` nested CV, metrics, protocol-shift analysis
``src.pipelines`` end-to-end orchestration
Importing this package is deliberately side-effect free apart from exposing
metadata: a bare ``import src`` must succeed on a clean checkout before any
dependency beyond the standard library is installed.
"""
from __future__ import annotations
__version__ = "0.1.0"
__phase__ = "Phase 1 - repository scaffold"
__all__ = ["__version__", "__phase__"]