-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Release editions: add gitignore, readthedocs, update link in README, add exclude folders in pyproject, remove dev requirements * Update README, dependencies are currently not pinned * Change links in pyproject, approach to show tech documentation * Install project dependencies before building docs * Remove hdbscan from dependencies, import it from scikit-learn >= 1.3.0 * Add dynamic package versioning * FIX: pydantic < 2, link to examples in README * ADD: open-source community files * FIX: examples link in docs * FIX: bootstrap ratio test is for ratio metrics instead of binary; manual t-test is available for ratio metrics * ADD: tests for initialization and evaluation, Github Action for CI * FIX: statistic and p-value in tests are rounded to 5 digits; options in black CI * UPD: refactor code with black * FIX: typo in split builder parameters * UPD: version up and exclude tests from package build * UPD: target_flg -> target * UPD: make bootstrap available for binary metrics + tests * UPD: up minimum scipy version to 1.10.0 * FIX: zero p-value in bootstrap confidence interval * DEL: remove unnecessary test file * UPD: ability to save experiment plot and select its kind * UPD: change format of report output and add warning about usage of results * UPD: report returns dictionary with params, not just print report * ADD: make available to plot bootstrap distribution of differences * UPD: now injections are passed as MDEs, not multiplicators of a metric * UPD: change default treatment group name in splitter from 'target' to 'treatment' * UPD: update docs, fix typos in docstrings * CI: add GitHub Action for automated publishing to PyPI on release * UPD: updates for v0.0.4 * UPD: black formating * UPD: update report example in README
- Loading branch information
Showing
20 changed files
with
235 additions
and
230 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Publish Python Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools build wheel twine | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python -m build | ||
twine upload dist/* |
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 |
---|---|---|
@@ -1 +1 @@ | ||
0.0.3 | ||
0.0.4 |
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.