Skip to content

Commit 9d74140

Browse files
committed
Reproduces correct results
1 parent 1fcda2f commit 9d74140

File tree

9 files changed

+20218
-0
lines changed

9 files changed

+20218
-0
lines changed

examples/covasim_/doubling_beta/data/high_contacts_avg_age_22.2.csv

Lines changed: 2437 additions & 0 deletions
Large diffs are not rendered by default.

examples/covasim_/doubling_beta/data/high_contacts_avg_age_30.1.csv

Lines changed: 2465 additions & 0 deletions
Large diffs are not rendered by default.

examples/covasim_/doubling_beta/data/low_contacts_avg_age_22.2.csv

Lines changed: 2537 additions & 0 deletions
Large diffs are not rendered by default.

examples/covasim_/doubling_beta/data/low_contacts_avg_age_30.1.csv

Lines changed: 2565 additions & 0 deletions
Large diffs are not rendered by default.

examples/covasim_/doubling_beta/data/older_population.csv

Lines changed: 5029 additions & 0 deletions
Large diffs are not rendered by default.

examples/covasim_/doubling_beta/data/younger_population.csv

Lines changed: 4973 additions & 0 deletions
Large diffs are not rendered by default.

examples/lr91/data/normalised_results.csv

Lines changed: 201 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Poisson Line Process Case Study: Statistical Metamorphic Testing
2+
In this case study, we demonstrate how causal testing can be used to implement statistical metamorphic testing as per Guderlei & Mayer 2007. As described in section 5.1 of the paper, this involves running a series of causal test cases that incrementally change the width and height of the sampling window. We then show how statistical estimation can produce similar results using only a fraction of the data.
3+
4+
## How to run
5+
To run this case study:
6+
1. Ensure all project dependencies are installed by running `pip install .` in the top level directory
7+
(instructions are provided in the project README).
8+
2. Change directory to `causal_testing/examples/poisson-line-process`.
9+
3. Run the command `python causal_test_poisson.py`
10+
11+
This should print a series of causal test results and produce two CSV files. `intensity_num_shapes_results_random_1000.csv` corresponds to table 1, and `width_num_shapes_results_random_1000.csv` relates to our findings reguarding the relationship of width and `P_u`.

0 commit comments

Comments
 (0)