Skip to content

Commit fae7636

Browse files
authored
Merge pull request #19 from DoubleML/dev
Update `main` with changes on `dev`
2 parents 5302f31 + 4989b28 commit fae7636

File tree

261 files changed

+9985
-6476
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+9985
-6476
lines changed

.github/workflows/apo_sim.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
strategy:
1818
matrix:
1919
script: [
20-
'scripts/irm/irm_apo_coverage.py',
20+
'scripts/irm/apo.py',
21+
'scripts/irm/apos.py',
2122
]
2223

2324
steps:
@@ -47,28 +48,37 @@ jobs:
4748
with:
4849
ref: ${{ env.TARGET_BRANCH }}
4950

51+
- name: Install uv
52+
uses: astral-sh/setup-uv@v5
53+
with:
54+
version: "0.7.8"
55+
5056
- name: Set up Python
5157
uses: actions/setup-python@v5
5258
with:
53-
python-version: '3.12'
59+
python-version-file: "monte-cover/pyproject.toml"
5460

55-
- name: Install dependencies
61+
- name: Install Monte-Cover
5662
run: |
57-
python -m pip install --upgrade pip
58-
pip install -r requirements.txt
63+
cd monte-cover
64+
uv venv
65+
uv sync
5966
6067
- name: Install DoubleML from correct branch
6168
run: |
62-
pip uninstall -y doubleml
63-
pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
69+
source monte-cover/.venv/bin/activate
70+
uv pip uninstall doubleml
71+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
6472
6573
- name: Set up Git configuration
6674
run: |
6775
git config --global user.name 'github-actions'
6876
git config --global user.email 'github-actions@github.com'
6977
7078
- name: Run scripts
71-
run: python ${{ matrix.script }}
79+
run: |
80+
source monte-cover/.venv/bin/activate
81+
uv run ${{ matrix.script }}
7282
7383
- name: Commit any existing changes
7484
run: |
@@ -86,4 +96,4 @@ jobs:
8696
git pull --rebase origin ${{ env.TARGET_BRANCH }}
8797
git push origin ${{ env.TARGET_BRANCH }}
8898
env:
89-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/did_sim.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
'scripts/did/did_pa_atte_coverage.py',
2121
'scripts/did/did_cs_atte_coverage.py',
2222
'scripts/did/did_pa_multi.py',
23+
'scripts/did/did_cs_multi.py',
2324
]
2425

2526
steps:
@@ -52,7 +53,7 @@ jobs:
5253
- name: Install uv
5354
uses: astral-sh/setup-uv@v5
5455
with:
55-
version: "0.6.11"
56+
version: "0.7.8"
5657

5758
- name: Set up Python
5859
uses: actions/setup-python@v5

.github/workflows/iivm_sim.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
script: [
20-
'scripts/irm/iivm_late_coverage.py',
20+
'scripts/irm/iivm_late.py',
2121
]
2222

2323
steps:
@@ -47,28 +47,37 @@ jobs:
4747
with:
4848
ref: ${{ env.TARGET_BRANCH }}
4949

50+
- name: Install uv
51+
uses: astral-sh/setup-uv@v5
52+
with:
53+
version: "0.7.8"
54+
5055
- name: Set up Python
5156
uses: actions/setup-python@v5
5257
with:
53-
python-version: '3.12'
58+
python-version-file: "monte-cover/pyproject.toml"
5459

55-
- name: Install dependencies
60+
- name: Install Monte-Cover
5661
run: |
57-
python -m pip install --upgrade pip
58-
pip install -r requirements.txt
62+
cd monte-cover
63+
uv venv
64+
uv sync
5965
6066
- name: Install DoubleML from correct branch
6167
run: |
62-
pip uninstall -y doubleml
63-
pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
68+
source monte-cover/.venv/bin/activate
69+
uv pip uninstall doubleml
70+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
6471
6572
- name: Set up Git configuration
6673
run: |
6774
git config --global user.name 'github-actions'
6875
git config --global user.email 'github-actions@github.com'
6976
7077
- name: Run scripts
71-
run: python ${{ matrix.script }}
78+
run: |
79+
source monte-cover/.venv/bin/activate
80+
uv run ${{ matrix.script }}
7281
7382
- name: Commit any existing changes
7483
run: |
@@ -86,4 +95,4 @@ jobs:
8695
git pull --rebase origin ${{ env.TARGET_BRANCH }}
8796
git push origin ${{ env.TARGET_BRANCH }}
8897
env:
89-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/irm_sim.yml

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
strategy:
1818
matrix:
1919
script: [
20-
'scripts/irm/irm_ate_coverage.py',
21-
'scripts/irm/irm_atte_coverage.py',
22-
'scripts/irm/irm_cate_coverage.py',
23-
'scripts/irm/irm_gate_coverage.py',
20+
'scripts/irm/irm_ate.py',
21+
'scripts/irm/irm_atte.py',
22+
'scripts/irm/irm_cate.py',
23+
'scripts/irm/irm_gate.py',
2424
'scripts/irm/irm_ate_sensitivity.py',
2525
'scripts/irm/irm_atte_sensitivity.py',
2626
]
@@ -52,28 +52,37 @@ jobs:
5252
with:
5353
ref: ${{ env.TARGET_BRANCH }}
5454

55+
- name: Install uv
56+
uses: astral-sh/setup-uv@v5
57+
with:
58+
version: "0.7.8"
59+
5560
- name: Set up Python
5661
uses: actions/setup-python@v5
5762
with:
58-
python-version: '3.12'
63+
python-version-file: "monte-cover/pyproject.toml"
5964

60-
- name: Install dependencies
65+
- name: Install Monte-Cover
6166
run: |
62-
python -m pip install --upgrade pip
63-
pip install -r requirements.txt
67+
cd monte-cover
68+
uv venv
69+
uv sync
6470
6571
- name: Install DoubleML from correct branch
6672
run: |
67-
pip uninstall -y doubleml
68-
pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
73+
source monte-cover/.venv/bin/activate
74+
uv pip uninstall doubleml
75+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
6976
7077
- name: Set up Git configuration
7178
run: |
7279
git config --global user.name 'github-actions'
7380
git config --global user.email 'github-actions@github.com'
7481
7582
- name: Run scripts
76-
run: python ${{ matrix.script }}
83+
run: |
84+
source monte-cover/.venv/bin/activate
85+
uv run ${{ matrix.script }}
7786
7887
- name: Commit any existing changes
7988
run: |
@@ -91,4 +100,4 @@ jobs:
91100
git pull --rebase origin ${{ env.TARGET_BRANCH }}
92101
git push origin ${{ env.TARGET_BRANCH }}
93102
env:
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pliv_sim.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
script: [
20-
'scripts/plm/pliv_late_coverage.py',
20+
'scripts/plm/pliv_late.py',
2121
]
2222

2323
steps:
@@ -47,28 +47,37 @@ jobs:
4747
with:
4848
ref: ${{ env.TARGET_BRANCH }}
4949

50+
- name: Install uv
51+
uses: astral-sh/setup-uv@v5
52+
with:
53+
version: "0.7.8"
54+
5055
- name: Set up Python
5156
uses: actions/setup-python@v5
5257
with:
53-
python-version: '3.12'
58+
python-version-file: "monte-cover/pyproject.toml"
5459

55-
- name: Install dependencies
60+
- name: Install Monte-Cover
5661
run: |
57-
python -m pip install --upgrade pip
58-
pip install -r requirements.txt
59-
62+
cd monte-cover
63+
uv venv
64+
uv sync
65+
6066
- name: Install DoubleML from correct branch
6167
run: |
62-
pip uninstall -y doubleml
63-
pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
68+
source monte-cover/.venv/bin/activate
69+
uv pip uninstall doubleml
70+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
6471
6572
- name: Set up Git configuration
6673
run: |
6774
git config --global user.name 'github-actions'
6875
git config --global user.email 'github-actions@github.com'
6976
7077
- name: Run scripts
71-
run: python ${{ matrix.script }}
78+
run: |
79+
source monte-cover/.venv/bin/activate
80+
uv run ${{ matrix.script }}
7281
7382
- name: Commit any existing changes
7483
run: |
@@ -86,4 +95,4 @@ jobs:
8695
git pull --rebase origin ${{ env.TARGET_BRANCH }}
8796
git push origin ${{ env.TARGET_BRANCH }}
8897
env:
89-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/plr_sim.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
strategy:
1818
matrix:
1919
script: [
20-
'scripts/plm/plr_ate_coverage.py',
20+
'scripts/plm/plr_ate.py',
2121
'scripts/plm/plr_ate_sensitivity.py',
22-
'scripts/plm/plr_cate_coverage.py',
23-
'scripts/plm/plr_gate_coverage.py',
22+
'scripts/plm/plr_cate.py',
23+
'scripts/plm/plr_gate.py',
2424
]
2525

2626
steps:
@@ -53,8 +53,8 @@ jobs:
5353
- name: Install uv
5454
uses: astral-sh/setup-uv@v5
5555
with:
56-
version: "0.6.11"
57-
56+
version: "0.7.8"
57+
5858
- name: Set up Python
5959
uses: actions/setup-python@v5
6060
with:
@@ -98,4 +98,4 @@ jobs:
9898
git pull --rebase origin ${{ env.TARGET_BRANCH }}
9999
git push origin ${{ env.TARGET_BRANCH }}
100100
env:
101-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/quant_sim.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
strategy:
1818
matrix:
1919
script: [
20-
'scripts/irm/cvar_coverage.py',
21-
'scripts/irm/pq_coverage.py',
22-
'scripts/irm/lpq_coverage.py',
20+
'scripts/irm/cvar.py',
21+
'scripts/irm/pq.py',
22+
'scripts/irm/lpq.py',
2323
]
2424

2525
steps:
@@ -49,28 +49,37 @@ jobs:
4949
with:
5050
ref: ${{ env.TARGET_BRANCH }}
5151

52+
- name: Install uv
53+
uses: astral-sh/setup-uv@v5
54+
with:
55+
version: "0.7.8"
56+
5257
- name: Set up Python
5358
uses: actions/setup-python@v5
5459
with:
55-
python-version: '3.12'
60+
python-version-file: "monte-cover/pyproject.toml"
5661

57-
- name: Install dependencies
62+
- name: Install Monte-Cover
5863
run: |
59-
python -m pip install --upgrade pip
60-
pip install -r requirements.txt
64+
cd monte-cover
65+
uv venv
66+
uv sync
6167
6268
- name: Install DoubleML from correct branch
6369
run: |
64-
pip uninstall -y doubleml
65-
pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
70+
source monte-cover/.venv/bin/activate
71+
uv pip uninstall doubleml
72+
uv pip install "doubleml @ git+https://github.com/DoubleML/doubleml-for-py@${{ env.DML_BRANCH }}"
6673
6774
- name: Set up Git configuration
6875
run: |
6976
git config --global user.name 'github-actions'
7077
git config --global user.email 'github-actions@github.com'
7178
7279
- name: Run scripts
73-
run: python ${{ matrix.script }}
80+
run: |
81+
source monte-cover/.venv/bin/activate
82+
uv run ${{ matrix.script }}
7483
7584
- name: Commit any existing changes
7685
run: |
@@ -88,4 +97,4 @@ jobs:
8897
git pull --rebase origin ${{ env.TARGET_BRANCH }}
8998
git push origin ${{ env.TARGET_BRANCH }}
9099
env:
91-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)