Skip to content

Commit c4086db

Browse files
authored
Merge branch 'main' into s-cate
2 parents dda798f + 551ddfd commit c4086db

20 files changed

+906
-244
lines changed

.github/workflows/codeql.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
schedule:
9+
- cron: "16 12 * * 3"
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [ python ]
24+
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v3
28+
29+
- name: Initialize CodeQL
30+
uses: github/codeql-action/init@v2
31+
with:
32+
languages: ${{ matrix.language }}
33+
queries: +security-and-quality
34+
35+
- name: Autobuild
36+
uses: github/codeql-action/autobuild@v2
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v2
40+
with:
41+
category: "/language:${{ matrix.language }}"

.github/workflows/deploy_pkg.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
persist-credentials: false
1818

1919
- name: Install python
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
2222
python-version: '3.8'
2323

@@ -32,7 +32,7 @@ jobs:
3232
pip install wheel
3333
python setup.py sdist bdist_wheel
3434
35-
- uses: actions/upload-artifact@v2
35+
- uses: actions/upload-artifact@v3
3636
with:
3737
name: DoubleML-pkg
3838
path: dist/

.github/workflows/pytest.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ jobs:
2929
- {os: 'macOS-latest', python-version: '3.8'}
3030
- {os: 'ubuntu-latest', python-version: '3.9'}
3131
- {os: 'ubuntu-latest', python-version: '3.10'}
32+
- {os: 'ubuntu-latest', python-version: '3.11'}
3233

3334
steps:
34-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3536
with:
3637
fetch-depth: 2
3738
- name: Set up Python ${{ matrix.config.python-version }}
38-
uses: actions/setup-python@v2
39+
uses: actions/setup-python@v4
3940
with:
4041
python-version: ${{ matrix.config.python-version }}
4142
- name: Install OpenMP runtime for unit tests with xgboost learners
@@ -73,7 +74,7 @@ jobs:
7374
if: |
7475
matrix.config.os == 'ubuntu-latest' &&
7576
matrix.config.python-version == '3.8'
76-
uses: codecov/codecov-action@v2
77+
uses: codecov/codecov-action@v3
7778
with:
7879
file: ./coverage.xml
7980
flags: unittests
@@ -82,7 +83,7 @@ jobs:
8283
if: |
8384
matrix.config.os == 'ubuntu-latest' &&
8485
matrix.config.python-version == '3.8'
85-
uses: codacy/codacy-coverage-reporter-action@master
86+
uses: codacy/codacy-coverage-reporter-action@v1
8687
with:
8788
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
8889
coverage-reports: ./coverage.xml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/doubleml.svg)](https://anaconda.org/conda-forge/doubleml)
66
[![codecov](https://codecov.io/gh/DoubleML/doubleml-for-py/branch/main/graph/badge.svg?token=0BjlFPgdGk)](https://codecov.io/gh/DoubleML/doubleml-for-py)
77
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/1c08ec7d782c451784293c996537de14)](https://www.codacy.com/gh/DoubleML/doubleml-for-py/dashboard?utm_source=github.com&utm_medium=referral&utm_content=DoubleML/doubleml-for-py&utm_campaign=Badge_Grade)
8-
[![Python version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue)](https://www.python.org/)
8+
[![Python version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue)](https://www.python.org/)
99

1010
The Python package **DoubleML** provides an implementation of the double / debiased machine learning framework of
1111
[Chernozhukov et al. (2018)](https://doi.org/10.1111/ectj.12097).

doc/api/api.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,16 @@ Dataset generators
5656
datasets.make_irm_data
5757
datasets.make_iivm_data
5858
datasets.make_plr_turrell2018
59-
datasets.make_pliv_multiway_cluster_CKMS2021
59+
datasets.make_pliv_multiway_cluster_CKMS2021
60+
61+
Score mixin classes for double machine learning models
62+
------------------------------------------------------
63+
64+
.. currentmodule:: doubleml
65+
66+
.. autosummary::
67+
:toctree: generated/
68+
:template: class.rst
69+
70+
double_ml_score_mixins.LinearScoreMixin
71+
double_ml_score_mixins.NonLinearScoreMixin

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M.'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.5.dev0'
25+
release = '0.6.dev0'
2626

2727

2828
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)