Skip to content

Commit

Permalink
Merge pull request #11 from sdaza/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
sdaza authored Dec 8, 2024
2 parents 77fea26 + 038967f commit f643224
Show file tree
Hide file tree
Showing 6 changed files with 1,953 additions and 30 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches:
- '**' # Triggers on any branch
pull_request:
branches:
- '**' # Triggers on pull requests to any branch

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10' # Specify the Python version

- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest tests/ # Adjust the path to your test directory
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.DS_Store
testing
experiment_utils/dev*
experiment_utils/dev*
__pycache__
experiment_utils.egg-info
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ pip install git+https://github.com/sdaza/experiment-utils.git
analyzer = ExperimentAnalyzer(
df,
treatment_col="treatment",
group_col="group",
outcomes=['registrations', 'visits'],
covariates=covariates,
instrument_col="instrument",
experiment_identifier=["campaign_key"],
adjustment=None)

Expand Down
Loading

0 comments on commit f643224

Please sign in to comment.