chemparseplot.parse.benchmark#

Paired search costs and complete reaction outcomes from campaign tables.

Module Contents#

Functions#

load_benchmark_exports

Read verified cells.csv exports without silently dropping failed cases.

paired_costs

Ratio of total costs on the exact intersection of accepted reactions.

performance_ratios

Return cost/best accepted cost; failed checks retain their denominator.

cost_frontier

Mean costs on the same successful cases, retaining full-panel acceptance.

API#

chemparseplot.parse.benchmark.load_benchmark_exports(paths, panels)[source]#

Read verified cells.csv exports without silently dropping failed cases.

panels maps each panel name to its expected number of reactions. Costs include initialization when the export provides that count. A repeated GP reference must agree, including its result hash and source revision.

chemparseplot.parse.benchmark.paired_costs(rows, panel, method, reference='gpridge')[source]#

Ratio of total costs on the exact intersection of accepted reactions.

chemparseplot.parse.benchmark.performance_ratios(rows, panel, methods, metric)[source]#

Return cost/best accepted cost; failed checks retain their denominator.

chemparseplot.parse.benchmark.cost_frontier(rows, panel, methods, *, exclude=('plain',))[source]#

Mean costs on the same successful cases, retaining full-panel acceptance.

Equal points both belong to the frontier. A method dominates another only when neither cost is larger and at least one is strictly smaller.