Problem
No example demonstrates the Annotation workflow for external cost/metadata lookup tables — a common use case in lab/clinical DOE where each assay, reagent, or test has a known unit cost.
Proposed
Add examples/assay_study.py showing:
CATEGORICAL factors (e.g., assay type: PCR, ELISA, rapid antigen)
- A cost lookup table via
Annotation(name="unit_cost", lookup={...}, key="assay")
- Cost as an
Observable("cost", Direction.MINIMIZE) in the scorer for Pareto optimization (accuracy vs. cost)
- Multi-phase study: screening → refinement with
top_k_pareto_filter
- Accessing
results.annotations to inspect per-trial costs
Notes
Demonstrates both paths: Annotation for metadata and Observable for optimization. Should include a corresponding docs page (docs/guide/assay.md) with narrative.
Problem
No example demonstrates the
Annotationworkflow for external cost/metadata lookup tables — a common use case in lab/clinical DOE where each assay, reagent, or test has a known unit cost.Proposed
Add
examples/assay_study.pyshowing:CATEGORICALfactors (e.g., assay type: PCR, ELISA, rapid antigen)Annotation(name="unit_cost", lookup={...}, key="assay")Observable("cost", Direction.MINIMIZE)in the scorer for Pareto optimization (accuracy vs. cost)top_k_pareto_filterresults.annotationsto inspect per-trial costsNotes
Demonstrates both paths:
Annotationfor metadata andObservablefor optimization. Should include a corresponding docs page (docs/guide/assay.md) with narrative.