use a different github action for notifying discord
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* restore some key notebook tests
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* remove advanced marks from unit tests
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* remove advanced mark from test_validation.py
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* apply formatting
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update test durations, restore some test notebooks
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* bump the test splits
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* restore main notebook tests, take a more piecemeal approach
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
This removes the option to change the mechanism change test directly. As it turned out, changing the independence test is the more common case.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
* fix issues with docs-on-demand GH Actions script
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update image name
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* restore jupyter notebook from main
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* remove accidentally added file
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
add pytest markers for notebook, focused to remove runtime warnings
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
The causal-learn package provides more sophisticated implementations of the kernel independence tests. Instead of reimplementing it, we utilize the existing functions from causal-learn instead.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
The gcm module will heavily rely on the independence tests in the causal-learn package, i.e., it cannot be optional.
Signed-off-by: Patrick Bloebaum <bloebp@amazon.com>
This imports it within the function where it's used. It removes the hard dependency on EconML and only requires it when using sensitivity_non_parametric_partial_r2.
Signed-off-by: Peter Goetz <pego@amazon.com>
Signed-off-by: Peter Goetz <pego@amazon.com>
- Introduce a GH Action to build Docker image for docs generation every time the Dockerfile is changed
- Trigger docs generation when a new Docker image was built
- Minor fix in Dockerfile to avoid outdated apt database
Signed-off-by: Peter Goetz <pego@amazon.com>
* mark econml, pydot, and pygraphviz as extras
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* restore dep order
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update readme
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update dev-version text
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update pip command to use git+https
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* some clean-ups
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* remove some stray text
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* whitespace updates to clean up diff
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* fix tqdm spelling
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* add poetry install docs
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* remove dep list from readme
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update pyproject.toml link to be in rst format
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update image specification
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* ignore type errors in sphinx build
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* sphinx config update
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* ci: add the ability to run the docs build on demand
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* remove stray char
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* restore error_checks
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* homogenize github action names
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* update notebook refutation call
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* hit other invocation
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* use np.array
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* convert to np array internally
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* revent add_unobserved_common_cause.py
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* use float value for effect_fraction_on_treatment
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* revert sensitivity analysis workbook change
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* revert all docs updates
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
* add discord notifier action to build sequences
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>
Signed-off-by: Chris Trevino <darthtrevino@gmail.com>