-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* misc: extreme amounts of linting * fix: fix failing tests * chore: bump version * feat: add __all__ automatically for proper wildcard imports * fix: update pre-commit github action version * fix: update python version in all files * chore: refactor to enable integration testing * chore: further refactoring * fix: remove _all_ (broke rename symbol in vscode) * chore: refactor for integration testing * restructure: move synth data generation into dir with files * feat: update synth datasets * feat: ignore unused imports * refactor and pass tests! * feat: add integration tests from main script * feat: remove version number when running pytests for caching * fix: correct ordering in pytest * debug: dir structure in github actions * same * fix: update sed command * update sed command * fix: update sed command * standard sed * feat: echo for debugging * fix: correct id for action * fix: incorrect id in github action * fix: actually print toml contents * test new cach * feat: run pytest in parallel * feat: parallellise by using pytest tmp_path * test: lasses version bump induced failing tests, see if propagating * feat: add dask for faster concatenation * fix: clean up merge errors * chore: bunch of type checking * misc: fixes for overtaci * feat: add cache test for binary features * misc: remove outlier sample detection * fix: tiny fixes * fix: fix failing tests * fix: review comments* * feat: re-add Path * feat: add PROJECT_ROOT
- Loading branch information
1 parent
03eb389
commit 449e9f1
Showing
75 changed files
with
51,236 additions
and
998 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,12 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
### Caching | ||
- name: Overwrite version number from pyproject.toml, so it doesn't invalidate cache | ||
id: remove-version-from-toml | ||
run: | | ||
sed -i "s/version = \".*\"/version = \"0.0.0\"/g" pyproject.toml | ||
cat pyproject.toml | ||
- name: Load cached $HOME/.local (cache poetry) | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -51,6 +57,11 @@ jobs: | |
run: poetry install | ||
|
||
### Run tests | ||
- name: Parralelise pytest | ||
run: | | ||
echo -e "[pytest]\naddopts='-n 2'" > pytest.ini | ||
cat pytest.ini | ||
- name: Source .venv | ||
run: | | ||
source $VENV | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,3 @@ | |
predictor_dict_list=input_dict, | ||
n_rows=100, | ||
) | ||
|
||
|
||
__all__ = [ | ||
"df", | ||
"input_dict", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,3 @@ | |
|
||
if __name__ == "__main__": | ||
df = m.antipsychotics() | ||
|
||
|
||
__all__ = [ | ||
"df", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,3 @@ | |
|
||
if __name__ == "__main__": | ||
df = r.load_visits.physical_visits_to_psychiatry() | ||
|
||
|
||
__all__ = [ | ||
"df", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.