cell_curator.sweep_benchmark_risk_coverage¶
- cell_curator.sweep_benchmark_risk_coverage(predictions, *, thresholds=None, agreement='strict', ontology=None, abstain_unknown=False)[source]¶
Report coverage, selective accuracy, and risk across a confidence grid.
This is the form the package’s selective-prediction claim takes: comparable accuracy at matched coverage. It is public because a comparative claim is only checkable by whoever holds the competing table, so the curve has to be computable over an export the caller brings, not only over this package’s own runs. It publishes nothing, because a published result is a commitment and a curve is a reading.
agreement="relaxed"counts a call as correct when its Cell Ontology term is the true term or anis_aancestor or descendant of it, for tables whose truth is annotated more finely than the system under comparison answers, and it takes the local snapshot the relaxed criterion is read from. The default stays exact-label equality, so an existing comparison is unchanged, and the strict curve ignoresontologyentirely. Each point records the agreement it was computed under.