Skip to content

Commit 8ae1692

Browse files
Move README.md to json_front_end.rst
1 parent 6603cce commit 8ae1692

File tree

2 files changed

+6
-43
lines changed

2 files changed

+6
-43
lines changed

causal_testing/json_front/README.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

docs/source/json_front_end.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ the framework
88

99
run_causal_tests.py
1010
-------------------
11-
`examples/poisson/run_causal_tests.py` contains python code written by the user to implement scenario specific features
11+
`examples/poisson/run_causal_tests.py <https://github.com/CITCOM-project/CausalTestingFramework/blob/main/examples/poisson/run_causal_tests.py>`_
12+
contains python code written by the user to implement scenario specific features
1213
such as:
1314
1. Custom Estimators
1415
2. Causal Variable specification
@@ -20,7 +21,8 @@ Use case specific information is also declared here such as the paths to the rel
2021

2122
causal_tests.json
2223
-----------------
23-
`examples/poisson/causal_tests.json` is the JSON file that allows for the easy specification of multiple causal tests.
24+
`examples/poisson/causal_tests.json <https://github.com/CITCOM-project/CausalTestingFramework/blob/main/examples/poisson/causal_tests.json>`_ contains python code written by the user to implement scenario specific features
25+
is the JSON file that allows for the easy specification of multiple causal tests.
2426
Each test requires:
2527
1. Test name
2628
2. Mutations
@@ -35,11 +37,11 @@ Run Commands
3537
------------
3638
To run the JSON frontend example from the root directory of the project, use::
3739

38-
python examples/poisson/run_causal_tests.py
40+
python examples\poisson\run_causal_tests.py --data_path="examples\poisson\data.csv" --dag_path="examples\poisson\dag.dot" --json_path="examples\poisson\causal_tests.json
3941

4042
A failure flag `-f` can be specified to stop the framework running if a test is failed::
4143

42-
python examples/poisson/run_causal_tests.py -f
44+
python examples\poisson\run_causal_tests.py -f --data_path="examples\poisson\data.csv" --dag_path="examples\poisson\dag.dot" --json_path="examples\poisson\causal_tests.json
4345

4446
There are two main outputs of this frontend, both are controlled by the logging module. Firstly outputs are printed to stdout (terminal).
4547
Secondly a log file is produced, by default a file called `json_frontend.log` is produced in the directory the script is called from.

0 commit comments

Comments
 (0)