Turn readable evidence into an executable DOE plan, run sheet, and traceable report.
patsnap_searchpatsnap_fetchsearch_input.json, fetch_manifest.json, evidence_catalog.json, or other readable evidence files, continue with the current pipeline. If there is neither MCP access nor evidence input, stop at setup guidance.triz-analysisqfd-analysisUse scripts/doe_pipeline.py for all new work.
Available subcommands:
evidencefactordesignreportrun-allTreat evidence_pipeline.py, patent_factor_extractor.py, doe_designer.py, and doe_plan_report.py as compatibility wrappers rather than primary entrypoints.
Before producing an executable DOE plan, you need at least:
search_input.jsonfetch_manifest.jsoncontext.json is optional but strongly recommended for reportingIf key inputs are missing:
patsnap_search -> patsnap_fetch -> filesweb_search -> web_fetch -> filesinferenceRead the minimum required material for the current step:
references/output-contract.md before writing or reviewing artifactsreferences/patent-to-factor-mapping.md when converting evidence into factor hypothesesreferences/bioprocess-factor-library.md when normalizing factor names, units, and baseline mechanism descriptionsreferences/doe-method-selector.md when choosing PB, FFD, BBD, CCD, or explaining selection_rationalereferences/regulatory-qbd-guardrails.md before finalizing factors, ranges, or stop / continue criteriaDefine:
Prepare:
search_input.jsonfetch_manifest.jsoncontext.jsonbash
python3 scripts/doe_pipeline.py evidence \
--search-input <search_input.json> \
--fetch-manifest <fetch_manifest.json> \
--top-k 12 \
--output <evidence_catalog.json>
Continue only when the evidence catalog has enough coverage and failed fetches are not dominating the result.
bash
python3 scripts/doe_pipeline.py factor \
--evidence-catalog <evidence_catalog.json> \
--max-factors 8 \
--output <factor_hypotheses.json>
Before manually changing factor name, unit, or range, read the factor library and mapping guide.
bash
python3 scripts/doe_pipeline.py design \
--factors-json <factor_hypotheses.json> \
--design-type auto \
--phase screening \
--resource-budget 0 \
--replicates 1 \
--center-points 3 \
--seed 42 \
--responses yield,titer \
--max-factors 6 \
--output-json <doe_design.json> \
--output-csv <run_sheet.csv>
If you manually force PB, FFD, BBD, or CCD, justify the choice through references/doe-method-selector.md.
bash
python3 scripts/doe_pipeline.py report \
--context-json <context.json> \
--evidence-catalog <evidence_catalog.json> \
--factors-json <factor_hypotheses.json> \
--design-json <doe_design.json> \
--output <doe_plan.md>
The report must follow the output contract and explicitly separate facts, inferences, and unknowns.
run-all only when inputs are stable#bash
python3 scripts/doe_pipeline.py run-all \
--search-input <search_input.json> \
--fetch-manifest <fetch_manifest.json> \
--context-json <context.json> \
--output-dir <out_dir> \
--top-k 12 \
--max-factors 8 \
--design-type auto \
--phase screening \
--resource-budget 0 \
--replicates 1 \
--center-points 3 \
--seed 42 \
--responses yield,titer
Use run-all only when evidence inputs are stable and unlikely to change repeatedly.
evidence_catalog.jsonfactor_hypotheses.jsondoe_design.jsonrun_sheet.csvdoe_plan.mdValidate outputs by stage:
evidence_catalog.json
gates.status should be readyfactor_hypotheses.json
summary.status should be readydesign_ready_factors should existdoe_design.json
design_type, selection_rationale, runs[], and analysis_plan[]run_sheet.csv
run_order, run_id, replicate, and per-factor _actual / _coded columnsdoe_plan.md
references/output-contract.mdIf any stage fails validation, do not cover the gap by pushing ahead to later stages.
evidence and jump straight to factor or design work.Every DOE recommendation must trace back to the evidence catalog and factor hypotheses.
selection_rationale must explain:
doe_plan.md must distinguish facts, inferences, and unknowns.
Next-round criteria must be executable rather than generic advice.
Responses, constraints, and selected factors must stay consistent across artifacts.
run-all to hide unresolved problems while inputs are still changing.PB, FFD, BBD, or CCD without sufficient evidence coverage.references/regulatory-qbd-guardrails.md.triz-analysis when the real upstream problem is a system contradiction or solution-path decisionqfd-analysis when experiment priorities should first be driven by VOC / HOQ output