Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
50c4596
build: set dependencies for working with jupyter
uriahf Mar 31, 2025
1c29e4c
chore: close #23
uriahf Mar 31, 2025
271334d
docs: trying to create predictions from AFT model
uriahf Mar 31, 2025
52fc8d1
docs: try to add aft predictions, something is wrong with `add_cutoff…
uriahf Mar 31, 2025
f0b9955
fix: close #25
uriahf Mar 31, 2025
76f913c
fix: use `drop` with pd.cut
uriahf Mar 31, 2025
5c227b7
docs: close #24
uriahf Mar 31, 2025
d924d88
docs: publish aft example
uriahf Mar 31, 2025
3b2a7d6
docs: add `before we validate` vignette
uriahf Apr 2, 2025
3f9036d
docs: update `before_we_validate.qmd`
uriahf Apr 3, 2025
d99facf
docs: update `before we validate` vignette
uriahf Apr 5, 2025
4bb1f7c
fix: close #31
uriahf Apr 6, 2025
ddfc394
fix: close #32
uriahf Apr 6, 2025
6db90d8
chore: remove unnecessary code
uriahf Apr 6, 2025
ccf75f8
build: move html file to gitignore
uriahf Apr 6, 2025
cd5c5f0
build: add html files to gitignore
uriahf Apr 6, 2025
a1fdbdb
build: add html files to gitignore
uriahf Apr 6, 2025
68a4e14
feat: try to create `render_summary_report()` (so far doesn't work we…
uriahf Apr 6, 2025
5da71ee
feat: try to run `render_summary_report()`
uriahf Apr 6, 2025
14e9ec8
build: add html files to .gitignore
uriahf Apr 6, 2025
2bcd80b
chore: remove unecessary code
uriahf Apr 6, 2025
7d8ffdc
build: add papermilll as dependency
uriahf Apr 8, 2025
d479504
chore: try to move `walkthrough_aj_estimate.qmd` parts to external sc…
uriahf Apr 8, 2025
e8c75c4
chore: read `probs` from file
uriahf Apr 12, 2025
0f9c831
chore: read reals as a file
uriahf Apr 12, 2025
0d9488b
build: update .gitignore
uriahf Apr 12, 2025
854b1d9
chore: read `times` from file
uriahf Apr 13, 2025
df1fb3a
build: ignore all html files
uriahf Apr 13, 2025
f201aec
refactor: remove explicit names of reference groups
uriahf Apr 14, 2025
f754ae0
docs: close #37
uriahf Apr 16, 2025
4db1ee1
docs: add references to `before_we_validate.qmd`
uriahf Apr 16, 2025
7f3b2b8
docs: change fill color of node
uriahf Apr 16, 2025
fcbe66d
refactor: close #35
uriahf Apr 16, 2025
3dbf317
chore: sort imports
uriahf Apr 16, 2025
02b5679
refactor: add helper `assign_and_explode()`
uriahf Apr 16, 2025
bdfa75d
docs: all kind of quarto stuff
uriahf Apr 16, 2025
06938a5
docs: close #38
uriahf Apr 16, 2025
1ffc440
docs: update `before_we_validate.qmd`
uriahf Apr 26, 2025
bc726c2
build: add polars as a dependency
uriahf Apr 26, 2025
bee01e9
refactor: try to improve the code
uriahf Apr 26, 2025
d206df0
refactor: close #34
uriahf Apr 26, 2025
a08ecd9
refactor: close #34
uriahf Apr 26, 2025
292c40f
feat: migrate internal parts from pandas to polars
uriahf May 3, 2025
a17b436
perf: initial migration to polars
uriahf May 7, 2025
3d47e26
feat: close #53
uriahf May 8, 2025
ac4a7c7
chore: try to enforce consistensy for code types when using crude or …
uriahf May 8, 2025
f97e6af
feat: close #58
uriahf May 9, 2025
e455f68
chore: created a reproducible chunk for pl.concat aj_estimate_competi…
uriahf May 9, 2025
48e2a81
chore: write some hacky code to make the excluded-censored combinatio…
uriahf May 10, 2025
01d27cb
refactor: replace pandas with polars for improved performance
uriahf May 16, 2025
725441d
refactor: turn reference_groups to Enum
uriahf May 16, 2025
8bdca24
refactor: Cast "censoring_assumption" as Enum
uriahf May 16, 2025
af0a836
refactor: Cast "competing_assumption" as Enum
uriahf May 16, 2025
f8fac38
fix: make probability_threshold strata values compatible
uriahf May 19, 2025
1f07258
fix: change np.quantile
uriahf May 19, 2025
116586f
refactor: close #56
uriahf May 19, 2025
29e0467
refactor: initial code for rendering summary report
uriahf May 20, 2025
faf3863
chore: start to wrap aj_data creation in a function
uriahf May 20, 2025
9101962
chore: close #66
uriahf Jun 25, 2025
2c15094
test: add a test for create_aj_data
uriahf Jun 25, 2025
201c132
chore: close #66
uriahf Jun 25, 2025
96607c0
test: add test for extract_aj_estimate_for_strata()
uriahf Jun 25, 2025
2099548
build: add dependencies for polarstate and marimo
uriahf Jun 26, 2025
e8bc16b
chore: fix import path from pandas
uriahf Jun 26, 2025
6de9c48
chore: runn ruff format
uriahf Jun 26, 2025
4fce700
chore: run ruff format
uriahf Jun 26, 2025
f028b6a
chore: create temporal function `create_aj_data_polars` / `create_aj_…
uriahf Jun 28, 2025
b65a7e9
build: update pandas as a dependency
uriahf Jun 28, 2025
1815c18
fix: close #68
uriahf Jun 29, 2025
b773b73
tests: update horizons to float
uriahf Jun 30, 2025
fe95e21
fix: change create_aj_data_polars to create_aj_data
uriahf Jun 30, 2025
403e2bf
fix: small fixes in order to let ruff check pass
uriahf Jun 30, 2025
5205c39
refactor: fix a bug in `create_aj_data` and close #71
uriahf Jul 2, 2025
d547ba9
fix: cast fixed_time_horizon as Float64
uriahf Jul 2, 2025
a559f1c
chore: run ruff format
uriahf Jul 2, 2025
e281587
refactor: close #73
uriahf Jul 2, 2025
4da51f4
refactor: close #74
uriahf Jul 2, 2025
f13e538
refactor: close #79
uriahf Jul 3, 2025
cf821ae
refactor: close #80
uriahf Jul 3, 2025
9983cbc
refactor: close #81
uriahf Jul 3, 2025
89e1586
refactor: close #82
uriahf Jul 3, 2025
a9c5d5b
refactor: close #83
uriahf Jul 3, 2025
b8dd0a8
style: run uv format
uriahf Jul 3, 2025
b98df80
build: add pre-commit
uriahf Jul 3, 2025
6c63f97
docs: close #78
uriahf Jul 3, 2025
0d7631a
build: close #77
uriahf Jul 3, 2025
40454b6
Merge pull request #84 from uriahf/65-create-a-clean-marimo-version-o…
uriahf Jul 3, 2025
1e7804e
build: fix requires-python to support >=3.9
uriahf Jul 3, 2025
3cbab2b
Merge pull request #86 from uriahf/65-create-a-clean-marimo-version-o…
uriahf Jul 3, 2025
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
4 changes: 4 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
- name: Show package version
run: grep -r "version" pyproject.toml || grep -r "__version__" rtichoke/ || python -c "import rtichoke; print(rtichoke.__version__)"

- name: Render and Publish
working-directory: docs
run: uv run quarto publish gh-pages --no-browser --token "${{ secrets.GITHUB_TOKEN }}"

- name: Publish package
if: github.ref == 'refs/heads/main' && matrix.python-version == '3.10'
run: uv publish
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,18 @@ dmypy.json

# MacOS
.DS_Store
*.html
docs/walkthrough_aj_estimate.html
docs/_site/walkthrough_aj_estimate.html
docs/_site/walkthrough_aj_estimate.html
src/rtichoke/summary_report/summary_report_template.html
docs/_site/walkthrough_aj_estimate.html
docs/_site/walkthrough_aj_estimate.html
docs/combined_adjusted_data.pkl
docs/_site/walkthrough_aj_estimate.html
probs_dict.pkl
docs/_site/walkthrough_aj_estimate.html
reals_dict.pkl
times_dict.pkl
docs/_site/example.html
docs/_site/walkthrough_aj_estimate.html
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.13
hooks:
# Run the linter.
- id: ruff-check
# Run the formatter.
- id: ruff-format
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.7.12
hooks:
# Update the uv lockfile
- id: uv-lock
14 changes: 0 additions & 14 deletions .readthedocs.yml

This file was deleted.

41 changes: 41 additions & 0 deletions docs/_brand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
color:
palette:
white: "#fff7f5"
black: "#000000"
navbar-bg: white # alias
navbar-fg: "#c54b29"
navbar-hl: "#c54b29"
primary: "#FEF0EC"
link: "#ce3d15"
background: white
foreground: black
primary: primary
light: white
dark: black
danger: navbar-fg
link: link

typography:
fonts:
- family: Fraunces
source: google
weight: [400, 700]
style: [normal, italic]
- family: Commissioner
source: google
weight: [400, 600]
style: [normal, italic]
base:
family: Commissioner
size: 16px
weight: 400
line-height: 1.5
headings:
family: Fraunces
weight: 700
style: normal
line-height: 1.2
link:
color: link
weight: 600
decoration: underline
27 changes: 19 additions & 8 deletions docs/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,38 @@ metadata-files:
- _sidebar.yml

website:
title: "My Documentation Site"
title: "rtichoke"
navbar:
left:
- href: index.qmd
text: Home
- href: about.qmd
text: About
- href: reference.qmd
text: Reference
- href: walkthrough_aj_estimate.qmd
text: Example
- href: before_we_validate.qmd
text: Before we Validate

quartodoc:
# the name used to import the package you want to create reference docs for
package: rtichoke
sidebar: "_sidebar.yml"
sections:
- title: Calibration
desc: Functions to inspect docstrings.
desc: Functions for Calibration.
contents:
- create_calibration_curve
- title: Discrimination
desc: Functions to inspect docstrings.
desc: Functions for Discrimination.
contents:
- create_roc_curve
- create_precision_recall_curve
- create_gains_curve
- plot_precision_recall_curve
- create_lift_curve
- plot_roc_curve
- plot_precision_recall_curve
- plot_gains_curve
- plot_lift_curve
- title: Utility
desc: Functions for Utility.
contents:
- create_decision_curve
- plot_decision_curve
10 changes: 10 additions & 0 deletions docs/_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ website:
- reference/create_calibration_curve.qmd
section: Calibration
- contents:
- reference/create_roc_curve.qmd
- reference/create_precision_recall_curve.qmd
- reference/create_gains_curve.qmd
- reference/create_lift_curve.qmd
- reference/plot_roc_curve.qmd
- reference/plot_precision_recall_curve.qmd
- reference/plot_gains_curve.qmd
- reference/plot_lift_curve.qmd
section: Discrimination
- contents:
- reference/create_decision_curve.qmd
- reference/plot_decision_curve.qmd
section: Utility
id: reference
- id: dummy-sidebar
Loading
Loading