Skip to content

Commit 15fa8ee

Browse files
committed
Merge branch 'jmafoster1/remove-data-collector' of github.com:CITCOM-project/CausalTestingFramework into jmafoster1/remove-data-collector
2 parents b462aa1 + 98016cc commit 15fa8ee

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/ci-tests-drafts.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ jobs:
3030
run: |
3131
pytest --cov=causal_testing --cov-report=xml
3232
- name: "Upload coverage to Codecov"
33-
uses: codecov/codecov-action@v2
33+
uses: codecov/codecov-action@v5
3434
with:
3535
fail_ci_if_error: true
3636
token: ${{ secrets.CODECOV_TOKEN }}
37-
version: "v0.1.15"

.github/workflows/ci-tests.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ jobs:
3636
run: |
3737
pytest --cov=causal_testing --cov-report=xml
3838
- name: "Upload coverage to Codecov"
39-
uses: codecov/codecov-action@v2
39+
uses: codecov/codecov-action@v5
4040
with:
4141
fail_ci_if_error: true
4242
token: ${{ secrets.CODECOV_TOKEN }}
43-
version: "v0.1.15"

paper/paper.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ @article{textor2017dagitty
114114
month = {jan},
115115
pages = {dyw341},
116116
publisher = {Oxford University Press (OUP)},
117-
title = {Robust causal inference using directed acyclic graphs: the R package ‘dagitty’},
117+
title = {Robust causal inference using directed acyclic graphs: the {R} package ‘dagitty’},
118118
year = {2017}
119119
}

paper/paper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ bibliography: paper.bib
4545

4646
# Summary
4747
Scientific models possess several properties that make them notoriously difficult to test, including a complex input space, long execution times, and non-determinism, rendering existing testing techniques impractical.
48-
In fields such as epidemiology, where researchers seek answers to challenging causal questions, a statistical methodology known as Causal Inference (CI) [@pearl2009causality,@hernan2020causal] has addressed similar problems, enabling the inference of causal conclusions from noisy, biased, and sparse observational data instead of costly randomised trials.
48+
In fields such as epidemiology, where researchers seek answers to challenging causal questions, a statistical methodology known as Causal Inference (CI) [@pearl2009causality; @hernan2020causal] has addressed similar problems, enabling the inference of causal conclusions from noisy, biased, and sparse observational data instead of costly randomised trials.
4949
CI works by using domain knowledge to identify and mitigate for biases in the data, enabling them to answer causal questions that concern the effect of changing some feature on the observed outcome.
5050
The Causal Testing Framework (CTF) is a software testing framework that uses CI techniques to establish causal effects between software variables from pre-existing runtime data rather than having to collect bespoke, highly curated datasets especially for testing.
5151

@@ -56,7 +56,7 @@ Nondeterministic software can be tested using Statistical Metamorphic Testing [@
5656
However, this requires the software to be executed repeatedly for each set of parameters of interest, so is computationally expensive, and is constrained to testing properties over software inputs that can be directly and precisely controlled.
5757
Statistical Metamorphic Testing cannot be used to test properties that relate internal variables or outputs to each other, since these cannot be controlled a priori.
5858

59-
By employing domain knowledge in the form of a causal graph --- a lightweight model specifying the expected relationships between key software variables --- the CTF overcomes the limitations of Statistical Metamorphic Testing by enabling models to be tested using pre-existing runtime data.
59+
By employing domain knowledge in the form of a causal graph---a lightweight model specifying the expected relationships between key software variables---the CTF overcomes the limitations of Statistical Metamorphic Testing by enabling models to be tested using pre-existing runtime data.
6060
The CTF is written in Python but is language agnostic in terms of the system under test.
6161
All that is required is a set of properties to be validated, a causal model, and a set of software runtime data.
6262

0 commit comments

Comments
 (0)