Make the evidence travelLesson 30 of 30 · 9 min
Leave a trail someone can check
Produce a scoped evidence report another person can reproduce and challenge.
Your final investigation combines a question, a prospective plan, observations and an analysis. Write the plan before collecting new evidence: treatment, response, useful threshold, experimental unit, randomisation, reset, count and exclusion rules. Record later deviations as deviations.
The published example starts with invented paired timings. Use Choose CSV to supply your own pairs. The checks beside that control describe the required file structure. You still need to justify the source and independence of the rows.
The analysis estimates a geometric mean A/B ratio and an approximate 95% t interval on log ratios. Use it only when its independence and distribution assumptions fit your plan. If your imported rows are correlated blocks from the previous lesson, collect independent sessions or use an appropriate hierarchical analysis before making that inference. A descriptive report is still useful when assumptions are unresolved.
Use the report fields to explain the question, method, data source, findings, limitations and next test. After export, keep the original CSV and the run JSON with the report.
Can a valid CSV establish that rows came from independent, comparable experiments?
Write a prediction (optional)
Run the prepared example
This page puts the example in the Python editor. Select Run Python with the code unchanged.
Use your own paired runs
Choose a CSV file up to 1 MB with the columns run_id, a_ms and b_ms. Include at least five independent paired runs. Each row needs a unique ID and two positive, finite times in milliseconds. The A/B ratios must vary to calculate the interval.
Write your question and plan before collecting your own data.
If you leave this control empty, the code uses invented timings. Select Run Python to check and analyse the selected input.
Next run uses invented starter data
A saved draft is open. To run the published example, open Editor tools and select Restore example. Recover draft brings your code back.
Execution error
Technical error details
What to compare
Find Geometric mean A/B ratio and Approximate 95% t interval for A/B. Compare the interval with 1 (equal times) and the required ratio in the line below. Check the INPUT line to see which data produced the result.
Your result
Result tools
Changing the useful threshold changes the minimum ratio you need for the decision. The interval still describes the timing pairs and depends on their sampling assumptions.
Published example output
The site ran the original code to produce this reference. Build environment ↗
INPUT: INVENTED starter data, not measurements. Pairs: 8 Geometric mean A/B ratio: 1.2002 Approximate 95% t interval for A/B: [1.1355 1.2686] Central B time reduction (%): 16.68 20% reduction requires A/B >= 1.25. Conditional inference: justify independent stable paired runs and approximately normal log ratios.
Changing the useful threshold changes the minimum ratio you need for the decision. The interval still describes the timing pairs and depends on their sampling assumptions.
Change and run again
For the practice run, change minimum_reduction_pct = 20 to minimum_reduction_pct = 10 in the Python editor. Select Run Python again with the same invented input. Compare the required A/B ratio and the interval with the first run. For your own investigation, record the threshold under Question & useful threshold before collecting data, enter it in the editor and choose your CSV. Return to the Python editor
What this example supports. The importer validates basic structure, not independence, design quality or causal interpretation. This course does not replace a domain-specific statistical analysis.
Try a fresh case
Your interval crosses both parity and your useful threshold. What is the honest finding?
Hints for this question
- Mark parity and the prespecified useful threshold on the interval.
- State what remains compatible with the evidence, then choose what new observation would be useful.
Write your investigation report
Before collecting data, write the question and plan. After running the analysis, add your evidence, finding and next test. The report includes the last successful run if you have one.