Scientific Hypothesis Generation
Turn an observation into a transparent set of candidate explanations and tests. A hypothesis is a proposal to be challenged, not a finding, fact, diagnosis, or recommendation.
Non-negotiable boundaries
Before using unpublished, sensitive, controlled, personal, proprietary, export-controlled, or security-relevant material:
- Confirm authorization and the applicable institutional, funder, publisher, data-use, privacy, and AI policies.
- Keep the material local unless an authorized human explicitly approves a named external destination and data scope.
- Minimize inputs. Do not place sensitive or unpublished data in web searches or external AI systems without authorization.
- Stop at the appropriate human, animal, biosafety, dual-use, data-governance, or regulatory gate.
Never:
- present a hypothesis, mechanism, causal effect, citation, or apparent pattern as established evidence;
- claim novelty because a quick search found nothing;
- infer causation from association, temporal order alone, predictive accuracy, or model output;
- supply patient-specific diagnosis, treatment, dose, prognosis, or other clinical advice;
- provide harmful experimental optimization or operational detail for pathogens, toxins, weapons, evasion, or other misuse;
- bypass IRB/REC, IACUC, IBC, biosafety, dual-use, privacy, legal, or regulatory review;
- fabricate sources, identifiers, search coverage, data, results, approvals, or preregistration;
- automatically score, rank, select, accept, or reject scientific hypotheses.
If a request crosses a safety gate, produce only a high-level risk/oversight note and route it to the qualified local authority. Do not continue with operational detail.
Keep the objects distinct
| Object |
Meaning |
| Observation |
What was measured, noticed, or reported, with provenance and uncertainty |
| Research question |
The answerable question that defines scope |
| Hypothesis |
A candidate explanatory or relational proposition |
| Mechanism |
The proposed process connecting conditions to an outcome |
| Causal estimand |
The precisely defined causal contrast to estimate |
| Prediction |
An observable implication derived before checking the target result |
| Alternative explanation |
A rival account, including bias or non-causal explanations |
| Null hypothesis |
A specified no-effect/no-difference model used by an analysis |
| Negative control |
A control expected not to operate through the proposed mechanism |
| Operationalization |
How a construct becomes a variable, measurement, intervention, or category |
| Analysis plan |
Prespecified transformations, models, contrasts, uncertainty, and decision rules |
| Evidence |
Observations or sources that bear on a claim; never the claim itself |
Do not collapse these labels. A mechanistic story is not a prediction; a prediction is not evidence; rejection of one null does not prove a mechanism; support for one candidate does not eliminate unconsidered rivals.
Workflow
1. Run the scope and safety gate
Record:
- accountable human owner and intended use;
- data sensitivity, authorization, retention, and permitted processing;
- affected people, animals, ecosystems, communities, or security interests;
- required ethics, feasibility, biosafety, dual-use, and regulatory reviews;
- unresolved blocks and domain expertise needed.
No script approval is an ethics, safety, regulatory, or scientific approval.
2. Freeze the observation
Write the observation before interpretation:
- measurement or source;
- population, system, place, and time;
- unit of observation and unit of analysis;
- uncertainty, missingness, exclusions, and preprocessing;
- whether the pattern was expected, exploratory, or selected after viewing results.
Use “reported,” “observed,” or “associated,” not causal language, unless a causal design and estimand justify it.
3. Frame the research question
Choose a framework only when it fits:
- PICO/PICOT for intervention/effectiveness questions: population, intervention, comparator, outcome, and optionally time.
- PECO for exposure questions.
- Population–index test–reference standard–target condition for diagnostic accuracy.
- Population–prognostic factor–outcome–time for prognosis.
- A domain-specific construct–context–outcome frame for qualitative, descriptive, mechanistic, or theoretical work.
PICO is not a universal template. Define stakeholders, context, boundaries, feasibility, and what answer would change knowledge or practice. FINER is a question-refinement mnemonic—Feasible, Interesting, Novel, Ethical, Relevant—not a scoring system. Treat “Novel” as unresolved until a documented, fit-for-purpose search and expert review support it.
4. Establish a dated evidence boundary
Search before making literature-dependent statements. Prefer primary research, official policies, primary methods papers, current reporting guidelines, and systematic reviews used for orientation.
Record:
- search date and cutoff;
- databases/indexes, queries, filters, and screening boundary;
- included and excluded source types;
- sources supporting, challenging, or contextualizing each claim;
- known access, language, database, and time limitations.
A search can establish what was searched, not universal absence. Say “not located within the documented search boundary,” never “no prior work exists.” Use assets/search_boundary_template.json, assets/evidence_ledger_template.csv, and references/literature_search_strategies.md.
5. Generate rivals before choosing tests
Create multiple candidates from genuinely different explanatory classes when plausible:
- proposed mechanism;
- measurement or processing artifact;
- confounding or common cause;
- selection or attrition;
- conditioning on a collider;
- reverse causation;
- temporal, contextual, or boundary-condition differences;
- stochastic variation;
- competing mechanisms at another scale.
Generate an initial rival set independently before AI-assisted expansion to reduce anchoring and homogenization. Do not force a fixed number or false symmetry. Keep every candidate labeled candidate.
Platt’s strong-inference pattern motivates alternative hypotheses and crucial tests, but failed alternatives do not make the survivor true. Unknown alternatives, auxiliary assumptions, measurement error, and mixed mechanisms remain possible.
6. Declare the claim type and estimand
Classify each target as:
- descriptive;
- associational;
- predictive;
- causal;
- mechanistic.
For a causal target, define before analysis:
- target population or system;
- intervention/exposure and comparator;
- outcome and time horizon;
- population-level summary;
- treatment versions and intercurrent-event handling where relevant;
- identification assumptions and target-trial/design analogue.
Document confounding, selection, collider, measurement, and reverse-causation risks separately. An observational causal estimate remains assumption-dependent. Use references/causal_inference_and_claims.md.
7. Derive discriminating predictions
For every candidate:
- State conditions and boundary conditions.
- Name the observable and measurement.
- State the expected pattern and uncertainty.
- State a result incompatible with the candidate under declared assumptions.
- Contrast the expected result with at least one rival.
- Define indeterminate outcomes and what would be learned from them.
Prefer tests where rivals predict meaningfully different outcomes. Add positive, procedural, and negative controls when scientifically appropriate. A negative control must be incapable of operating through the target mechanism while sharing relevant bias pathways; it is not a decorative untreated group.
Use assets/prediction_rival_matrix_template.csv and assets/falsification_controls_template.json.
8. Operationalize and validate measurement
For every construct record:
- variable role and operational definition;
- population/system, unit, timing, and conditions;
- instrument/method, calibration, quality control, and masking;
- reliability/repeatability;
- validity evidence and applicability;
- missingness, detection limits, transformations, cut points, and their rationales;
- measurement invariance or cross-group comparability when relevant;
- foreseeable measurement bias and limitations.
Do not treat a convenient proxy as the construct itself. Validate with:
python3 scripts/check_operationalization.py local-operationalization.json
9. Match design and analysis to the claim
Specify:
- sampling, experimental unit, allocation, randomization, masking, and controls;
- inclusion/exclusion and stopping rules;
- sample-size, precision, or information rationale based on declared assumptions;
- outcomes, contrasts, estimands, models, effect measures, and uncertainty;
- missing-data and intercurrent-event handling;
- multiplicity across outcomes, models, subgroups, looks, and hypotheses;
- assumptions, diagnostics, robustness, and sensitivity analyses;
- replication or independent validation plan;
- what is confirmatory versus exploratory.
Do not use universal sample-size minima. Do not interpret a thresholded p-value as the probability a hypothesis is true or as effect importance. See references/experimental_design_patterns.md.
For intervention trials, use the current SPIRIT 2025 protocol guidance and CONSORT 2025 reporting guidance where applicable. These improve completeness; they do not certify design quality, ethics, or regulatory compliance.
10. Prevent HARKing and expose deviations
Before accessing the target outcomes, timestamp the question, candidates, predictions, outcomes, exclusions, transformations, analysis, multiplicity, missing-data plan, and stopping rule when feasible.
Afterward:
- label data-dependent ideas and analyses exploratory;
- preserve and report planned analyses;
- list deviations with date, rationale, who decided, and expected impact;
- never rewrite an observed pattern as an a priori prediction.
Preregistration is a transparent plan, not a ban on adaptation. Registered Reports add results-blind peer review and in-principle acceptance under journal policy. See references/preregistration_and_open_science.md.
11. Plan replication and updating
Distinguish:
- reproducibility: consistent computational results from the same data/code/conditions;
- replicability: consistency across studies collecting new data for the same question.
Preserve provenance, versions, code, materials, and decision logs when sharing is authorized. Plan independent replication or transport tests across relevant boundaries. Update candidate status when contrary, null, or replication evidence arrives; do not hide negative results.
12. Apply human accountability
The accountable human must verify:
- every citation and source-to-claim link;
- domain plausibility and measurement validity;
- causal assumptions and statistical design;
- ethics, feasibility, safety, privacy, and regulatory status;
- all AI-assisted text, ideas, and citations;
- whether broader expertise or community input is required.
AI can confabulate citations, anchor reasoning, and homogenize candidate sets. Record permitted AI use and material influence. Keep independent human ideation and rival generation in the process.
Local tool index
All CLIs are bounded, dependency-free, local, deterministic, and non-scoring:
| Task |
Asset |
Command |
| Hypothesis-record schema |
assets/hypothesis_record_template.json |
python3 scripts/validate_hypothesis_schema.py record.json |
| Measurement checklist |
assets/operationalization_template.json |
python3 scripts/check_operationalization.py checklist.json |
| Prediction/rival matrix |
assets/prediction_rival_matrix_template.csv |
python3 scripts/validate_prediction_matrix.py matrix.csv |
| Claim-language lint |
Annotated Markdown |
python3 scripts/lint_causal_claims.py draft.md |
| Falsification/controls |
assets/falsification_controls_template.json |
python3 scripts/check_falsification_controls.py controls.json |
| Evidence/source audit |
assets/evidence_ledger_template.csv + assets/search_boundary_template.json |
python3 scripts/audit_evidence_ledger.py ledger.csv boundary.json |
| Preregistration scaffold |
assets/preregistration_scaffold_template.md |
python3 scripts/generate_preregistration_scaffold.py record.json -o preregistration.md |
Exit codes are 0 for structurally valid output, 1 for completed validation with errors, and 2 for malformed/unsafe input. Reports validate declarations and internal consistency only; they do not verify scientific truth or choose a hypothesis. Full schemas are in references/tool_reference.md.
References
references/concepts_and_workflow.md — object model, strong inference, uncertainty, and candidate lifecycle
references/hypothesis_quality_criteria.md — non-scoring human review criteria
references/literature_search_strategies.md — traceable, bounded evidence search
references/causal_inference_and_claims.md — estimands and causal-bias risks
references/experimental_design_patterns.md — design, controls, measurement, multiplicity, and replication
references/preregistration_and_open_science.md — preregistration, Registered Reports, deviations, and open science
references/ethics_safety_and_ai.md — oversight gates, dual use, data handling, and responsible AI
references/tool_reference.md — CLI schemas, limits, and examples
references/source_ledger.md — dated authoritative source notes
references/security_validation.md — baseline findings and validation record
The bundled source ledger is assets/source_ledger.csv, verified through 2026-07-23. Recheck time-sensitive policy and guidance before a later or jurisdiction-specific use.
1---2name: hypothesis-generation3description: Formulate evidence-bounded scientific questions, candidate hypotheses, rival explanations, causal or associational claims, discriminating predictions, measurements, and preregistration-ready analysis plans. Use when turning observations or preliminary findings into transparent, testable research plans without treating hypotheses as facts.4license: MIT5---6
7# Scientific Hypothesis Generation
8
9Turn an observation into a transparent set of candidate explanations and tests. A hypothesis is a proposal to be challenged, not a finding, fact, diagnosis, or recommendation.
10
11## Non-negotiable boundaries
12
13Before using unpublished, sensitive, controlled, personal, proprietary, export-controlled, or security-relevant material:
14
151. Confirm authorization and the applicable institutional, funder, publisher, data-use, privacy, and AI policies.
162. Keep the material local unless an authorized human explicitly approves a named external destination and data scope.
173. Minimize inputs. Do not place sensitive or unpublished data in web searches or external AI systems without authorization.
184. Stop at the appropriate human, animal, biosafety, dual-use, data-governance, or regulatory gate.
19
20Never:
21
22- present a hypothesis, mechanism, causal effect, citation, or apparent pattern as established evidence;
23- claim novelty because a quick search found nothing;
24- infer causation from association, temporal order alone, predictive accuracy, or model output;
25- supply patient-specific diagnosis, treatment, dose, prognosis, or other clinical advice;
26- provide harmful experimental optimization or operational detail for pathogens, toxins, weapons, evasion, or other misuse;
27- bypass IRB/REC, IACUC, IBC, biosafety, dual-use, privacy, legal, or regulatory review;
28- fabricate sources, identifiers, search coverage, data, results, approvals, or preregistration;
29- automatically score, rank, select, accept, or reject scientific hypotheses.
30
31If a request crosses a safety gate, produce only a high-level risk/oversight note and route it to the qualified local authority. Do not continue with operational detail.
32
33## Keep the objects distinct
34
35| Object | Meaning |
36|---|---|
37| **Observation** | What was measured, noticed, or reported, with provenance and uncertainty |
38| **Research question** | The answerable question that defines scope |
39| **Hypothesis** | A candidate explanatory or relational proposition |
40| **Mechanism** | The proposed process connecting conditions to an outcome |
41| **Causal estimand** | The precisely defined causal contrast to estimate |
42| **Prediction** | An observable implication derived before checking the target result |
43| **Alternative explanation** | A rival account, including bias or non-causal explanations |
44| **Null hypothesis** | A specified no-effect/no-difference model used by an analysis |
45| **Negative control** | A control expected not to operate through the proposed mechanism |
46| **Operationalization** | How a construct becomes a variable, measurement, intervention, or category |
47| **Analysis plan** | Prespecified transformations, models, contrasts, uncertainty, and decision rules |
48| **Evidence** | Observations or sources that bear on a claim; never the claim itself |
49
50Do not collapse these labels. A mechanistic story is not a prediction; a prediction is not evidence; rejection of one null does not prove a mechanism; support for one candidate does not eliminate unconsidered rivals.
51
52## Workflow
53
54### 1. Run the scope and safety gate
55
56Record:
57
58- accountable human owner and intended use;
59- data sensitivity, authorization, retention, and permitted processing;
60- affected people, animals, ecosystems, communities, or security interests;
61- required ethics, feasibility, biosafety, dual-use, and regulatory reviews;
62- unresolved blocks and domain expertise needed.
63
64No script approval is an ethics, safety, regulatory, or scientific approval.
65
66### 2. Freeze the observation
67
68Write the observation before interpretation:
69
70- measurement or source;
71- population, system, place, and time;
72- unit of observation and unit of analysis;
73- uncertainty, missingness, exclusions, and preprocessing;
74- whether the pattern was expected, exploratory, or selected after viewing results.
75
76Use “reported,” “observed,” or “associated,” not causal language, unless a causal design and estimand justify it.
77
78### 3. Frame the research question
79
80Choose a framework only when it fits:
81
82- **PICO/PICOT** for intervention/effectiveness questions: population, intervention, comparator, outcome, and optionally time.
83- **PECO** for exposure questions.
84- **Population–index test–reference standard–target condition** for diagnostic accuracy.
85- **Population–prognostic factor–outcome–time** for prognosis.
86- A domain-specific construct–context–outcome frame for qualitative, descriptive, mechanistic, or theoretical work.
87
88PICO is not a universal template. Define stakeholders, context, boundaries, feasibility, and what answer would change knowledge or practice. FINER is a question-refinement mnemonic—Feasible, Interesting, Novel, Ethical, Relevant—not a scoring system. Treat “Novel” as unresolved until a documented, fit-for-purpose search and expert review support it.
89
90### 4. Establish a dated evidence boundary
91
92Search before making literature-dependent statements. Prefer primary research, official policies, primary methods papers, current reporting guidelines, and systematic reviews used for orientation.
93
94Record:
95
96- search date and cutoff;
97- databases/indexes, queries, filters, and screening boundary;
98- included and excluded source types;
99- sources supporting, challenging, or contextualizing each claim;
100- known access, language, database, and time limitations.
101
102A search can establish what was searched, not universal absence. Say “not located within the documented search boundary,” never “no prior work exists.” Use `assets/search_boundary_template.json`, `assets/evidence_ledger_template.csv`, and `references/literature_search_strategies.md`.
103
104### 5. Generate rivals before choosing tests
105
106Create multiple candidates from genuinely different explanatory classes when plausible:
107
108- proposed mechanism;
109- measurement or processing artifact;
110- confounding or common cause;
111- selection or attrition;
112- conditioning on a collider;
113- reverse causation;
114- temporal, contextual, or boundary-condition differences;
115- stochastic variation;
116- competing mechanisms at another scale.
117
118Generate an initial rival set independently before AI-assisted expansion to reduce anchoring and homogenization. Do not force a fixed number or false symmetry. Keep every candidate labeled `candidate`.
119
120Platt’s strong-inference pattern motivates alternative hypotheses and crucial tests, but failed alternatives do not make the survivor true. Unknown alternatives, auxiliary assumptions, measurement error, and mixed mechanisms remain possible.
121
122### 6. Declare the claim type and estimand
123
124Classify each target as:
125
126- descriptive;
127- associational;
128- predictive;
129- causal;
130- mechanistic.
131
132For a causal target, define before analysis:
133
134- target population or system;
135- intervention/exposure and comparator;
136- outcome and time horizon;
137- population-level summary;
138- treatment versions and intercurrent-event handling where relevant;
139- identification assumptions and target-trial/design analogue.
140
141Document confounding, selection, collider, measurement, and reverse-causation risks separately. An observational causal estimate remains assumption-dependent. Use `references/causal_inference_and_claims.md`.
142
143### 7. Derive discriminating predictions
144
145For every candidate:
146
1471. State conditions and boundary conditions.
1482. Name the observable and measurement.
1493. State the expected pattern and uncertainty.
1504. State a result incompatible with the candidate under declared assumptions.
1515. Contrast the expected result with at least one rival.
1526. Define indeterminate outcomes and what would be learned from them.
153
154Prefer tests where rivals predict meaningfully different outcomes. Add positive, procedural, and negative controls when scientifically appropriate. A negative control must be incapable of operating through the target mechanism while sharing relevant bias pathways; it is not a decorative untreated group.
155
156Use `assets/prediction_rival_matrix_template.csv` and `assets/falsification_controls_template.json`.
157
158### 8. Operationalize and validate measurement
159
160For every construct record:
161
162- variable role and operational definition;
163- population/system, unit, timing, and conditions;
164- instrument/method, calibration, quality control, and masking;
165- reliability/repeatability;
166- validity evidence and applicability;
167- missingness, detection limits, transformations, cut points, and their rationales;
168- measurement invariance or cross-group comparability when relevant;
169- foreseeable measurement bias and limitations.
170
171Do not treat a convenient proxy as the construct itself. Validate with:
172
173```bash
174python3 scripts/check_operationalization.py local-operationalization.json
175```
176
177### 9. Match design and analysis to the claim
178
179Specify:
180
181- sampling, experimental unit, allocation, randomization, masking, and controls;
182- inclusion/exclusion and stopping rules;
183- sample-size, precision, or information rationale based on declared assumptions;
184- outcomes, contrasts, estimands, models, effect measures, and uncertainty;
185- missing-data and intercurrent-event handling;
186- multiplicity across outcomes, models, subgroups, looks, and hypotheses;
187- assumptions, diagnostics, robustness, and sensitivity analyses;
188- replication or independent validation plan;
189- what is confirmatory versus exploratory.
190
191Do not use universal sample-size minima. Do not interpret a thresholded p-value as the probability a hypothesis is true or as effect importance. See `references/experimental_design_patterns.md`.
192
193For intervention trials, use the current SPIRIT 2025 protocol guidance and CONSORT 2025 reporting guidance where applicable. These improve completeness; they do not certify design quality, ethics, or regulatory compliance.
194
195### 10. Prevent HARKing and expose deviations
196
197Before accessing the target outcomes, timestamp the question, candidates, predictions, outcomes, exclusions, transformations, analysis, multiplicity, missing-data plan, and stopping rule when feasible.
198
199Afterward:
200
201- label data-dependent ideas and analyses exploratory;
202- preserve and report planned analyses;
203- list deviations with date, rationale, who decided, and expected impact;
204- never rewrite an observed pattern as an a priori prediction.
205
206Preregistration is a transparent plan, not a ban on adaptation. Registered Reports add results-blind peer review and in-principle acceptance under journal policy. See `references/preregistration_and_open_science.md`.
207
208### 11. Plan replication and updating
209
210Distinguish:
211
212- **reproducibility:** consistent computational results from the same data/code/conditions;
213- **replicability:** consistency across studies collecting new data for the same question.
214
215Preserve provenance, versions, code, materials, and decision logs when sharing is authorized. Plan independent replication or transport tests across relevant boundaries. Update candidate status when contrary, null, or replication evidence arrives; do not hide negative results.
216
217### 12. Apply human accountability
218
219The accountable human must verify:
220
221- every citation and source-to-claim link;
222- domain plausibility and measurement validity;
223- causal assumptions and statistical design;
224- ethics, feasibility, safety, privacy, and regulatory status;
225- all AI-assisted text, ideas, and citations;
226- whether broader expertise or community input is required.
227
228AI can confabulate citations, anchor reasoning, and homogenize candidate sets. Record permitted AI use and material influence. Keep independent human ideation and rival generation in the process.
229
230## Local tool index
231
232All CLIs are bounded, dependency-free, local, deterministic, and non-scoring:
233
234| Task | Asset | Command |
235|---|---|---|
236| Hypothesis-record schema | `assets/hypothesis_record_template.json` | `python3 scripts/validate_hypothesis_schema.py record.json` |
237| Measurement checklist | `assets/operationalization_template.json` | `python3 scripts/check_operationalization.py checklist.json` |
238| Prediction/rival matrix | `assets/prediction_rival_matrix_template.csv` | `python3 scripts/validate_prediction_matrix.py matrix.csv` |
239| Claim-language lint | Annotated Markdown | `python3 scripts/lint_causal_claims.py draft.md` |
240| Falsification/controls | `assets/falsification_controls_template.json` | `python3 scripts/check_falsification_controls.py controls.json` |
241| Evidence/source audit | `assets/evidence_ledger_template.csv` + `assets/search_boundary_template.json` | `python3 scripts/audit_evidence_ledger.py ledger.csv boundary.json` |
242| Preregistration scaffold | `assets/preregistration_scaffold_template.md` | `python3 scripts/generate_preregistration_scaffold.py record.json -o preregistration.md` |
243
244Exit codes are `0` for structurally valid output, `1` for completed validation with errors, and `2` for malformed/unsafe input. Reports validate declarations and internal consistency only; they do not verify scientific truth or choose a hypothesis. Full schemas are in `references/tool_reference.md`.
245
246## References
247
248- `references/concepts_and_workflow.md` — object model, strong inference, uncertainty, and candidate lifecycle
249- `references/hypothesis_quality_criteria.md` — non-scoring human review criteria
250- `references/literature_search_strategies.md` — traceable, bounded evidence search
251- `references/causal_inference_and_claims.md` — estimands and causal-bias risks
252- `references/experimental_design_patterns.md` — design, controls, measurement, multiplicity, and replication
253- `references/preregistration_and_open_science.md` — preregistration, Registered Reports, deviations, and open science
254- `references/ethics_safety_and_ai.md` — oversight gates, dual use, data handling, and responsible AI
255- `references/tool_reference.md` — CLI schemas, limits, and examples
256- `references/source_ledger.md` — dated authoritative source notes
257- `references/security_validation.md` — baseline findings and validation record
258
259The bundled source ledger is `assets/source_ledger.csv`, verified through **2026-07-23**. Recheck time-sensitive policy and guidance before a later or jurisdiction-specific use.