Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-and-relase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: '3.13'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -96,7 +96,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: '3.13'
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -123,7 +123,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: '3.13'
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: "Tests Core"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.14"]
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
name: "Tests vs fixest"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
os: ["ubuntu-latest"]
python-version: ["3.9", "3.14"]
Expand Down
4 changes: 2 additions & 2 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ website:
text: "On Small Sample Corrections"
- file: quantile-regression.qmd
text: "Quantile Regression"
- text: "Compare fixest & PyFixest"
file: compare-fixest-pyfixest.qmd
#- text: "Compare fixest & PyFixest"
# file: compare-fixest-pyfixest.qmd
- text: "Compare Stata & PyFixest"
file: stata-2-pyfixest.qmd
- text: "PyFixest on the GPU"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_quantreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ def test_quantreg_vs_r(data, fml, vcov, quantile, method):
# Compare coefficients
py_coef = fit_py.coef().to_numpy()
r_coef = np.array(fit_r.rx2("coefficients"))
np.testing.assert_allclose(py_coef, r_coef, rtol=1e-08, atol=1e-08)
np.testing.assert_allclose(py_coef, r_coef, rtol=1e-03, atol=1e-06)

py_se = fit_py.se().to_numpy()
r_summ = ro.r["summary"](fit_r, se=vcov)

coeff_mat = r_summ.rx2("coefficients")
r_se = np.array(coeff_mat)[:, 1]
np.testing.assert_allclose(py_se, r_se, rtol=1e-07, atol=1e-07)
np.testing.assert_allclose(py_se, r_se, rtol=1e-03, atol=1e-06)

if method == "fn":
# no residuals for pfn?
Expand Down
Loading