robustmargin 0.1.1__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. {robustmargin-0.1.1 → robustmargin-0.2.1}/PKG-INFO +8 -4
  2. {robustmargin-0.1.1 → robustmargin-0.2.1}/README.md +6 -3
  3. {robustmargin-0.1.1 → robustmargin-0.2.1}/pyproject.toml +1 -0
  4. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/__init__.py +1 -1
  5. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/censoring.py +250 -154
  6. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/intervals.py +85 -9
  7. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/models.py +516 -50
  8. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/ratio.py +15 -15
  9. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/testing.py +5 -3
  10. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/threshold.py +130 -43
  11. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/types.py +20 -8
  12. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin.egg-info/PKG-INFO +8 -4
  13. {robustmargin-0.1.1 → robustmargin-0.2.1}/LICENSE +0 -0
  14. {robustmargin-0.1.1 → robustmargin-0.2.1}/setup.cfg +0 -0
  15. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/empirical.py +0 -0
  16. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/py.typed +0 -0
  17. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/report.py +0 -0
  18. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/schema/scorecard-v1.json +0 -0
  19. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin/validation.py +0 -0
  20. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin.egg-info/SOURCES.txt +0 -0
  21. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin.egg-info/dependency_links.txt +0 -0
  22. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin.egg-info/requires.txt +0 -0
  23. {robustmargin-0.1.1 → robustmargin-0.2.1}/src/robustmargin.egg-info/top_level.txt +0 -0
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robustmargin
3
- Version: 0.1.1
3
+ Version: 0.2.1
4
4
  Summary: Robustness margins with confidence intervals, via dose-response threshold estimation.
5
5
  Author: robustmargin contributors
6
6
  License-Expression: Apache-2.0
7
7
  Project-URL: Homepage, https://github.com/robustmargin/robustmargin
8
8
  Project-URL: Source, https://github.com/robustmargin/robustmargin
9
+ Project-URL: Changelog, https://github.com/robustmargin/robustmargin/blob/main/CHANGELOG.md
9
10
  Project-URL: Issues, https://github.com/robustmargin/robustmargin/issues
10
11
  Classifier: Development Status :: 3 - Alpha
11
12
  Classifier: Intended Audience :: Science/Research
@@ -33,12 +34,14 @@ Requires-Dist: jsonschema>=4.20; extra == "dev"
33
34
  Dynamic: license-file
34
35
 
35
36
  # robustmargin
37
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.23585829.svg)](https://doi.org/10.5281/zenodo.23585829)
38
+
36
39
  Robustness margins with confidence intervals, via dose-response threshold estimation. Model-agnostic — no GPU, no ML framework required
37
40
 
38
- > **Status: latest release `0.1.1`.** Binomial dose-response fits, thresholds with profile-likelihood or delta
41
+ > **Status: latest release `0.2.1`.** Binomial dose-response fits, thresholds with profile-likelihood or delta
39
42
  > confidence intervals, censoring, ratios of two thresholds with Fieller or log-delta intervals,
40
43
  > fit diagnostics, and the grid break-point rule. Continuous outcomes, clustered and paired
41
- > inference, and design helpers are planned for `0.2`. While the version is below 1.0, a minor
44
+ > inference, and design helpers are planned for `0.3`. While the version is below 1.0, a minor
42
45
  > release may change the public API.
43
46
 
44
47
  ## What it does
@@ -171,7 +174,7 @@ assert any(w.startswith("NON_MONOTONE_DATA: ") for w in ratio.warnings)
171
174
  ```
172
175
 
173
176
  Treat an overdispersed fit's intervals as too narrow. Clustered inference, which addresses this,
174
- is planned for `0.2`.
177
+ is planned for `0.3`.
175
178
 
176
179
  ## Grid break-point rule
177
180
 
@@ -275,6 +278,7 @@ pytest # enforces 90% branch coverage
275
278
  CI runs the tests on Python 3.11, 3.12, and 3.13 against current dependencies. It also runs them
276
279
  on Python 3.11 against the oldest supported versions, pinned in
277
280
  [`ci/constraints-min.txt`](https://github.com/robustmargin/robustmargin/blob/main/ci/constraints-min.txt).
281
+ Changes are recorded in [`CHANGELOG.md`](https://github.com/robustmargin/robustmargin/blob/main/CHANGELOG.md).
278
282
 
279
283
  ## License
280
284
 
@@ -1,10 +1,12 @@
1
1
  # robustmargin
2
+ [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.23585829.svg)](https://doi.org/10.5281/zenodo.23585829)
3
+
2
4
  Robustness margins with confidence intervals, via dose-response threshold estimation. Model-agnostic — no GPU, no ML framework required
3
5
 
4
- > **Status: latest release `0.1.1`.** Binomial dose-response fits, thresholds with profile-likelihood or delta
6
+ > **Status: latest release `0.2.1`.** Binomial dose-response fits, thresholds with profile-likelihood or delta
5
7
  > confidence intervals, censoring, ratios of two thresholds with Fieller or log-delta intervals,
6
8
  > fit diagnostics, and the grid break-point rule. Continuous outcomes, clustered and paired
7
- > inference, and design helpers are planned for `0.2`. While the version is below 1.0, a minor
9
+ > inference, and design helpers are planned for `0.3`. While the version is below 1.0, a minor
8
10
  > release may change the public API.
9
11
 
10
12
  ## What it does
@@ -137,7 +139,7 @@ assert any(w.startswith("NON_MONOTONE_DATA: ") for w in ratio.warnings)
137
139
  ```
138
140
 
139
141
  Treat an overdispersed fit's intervals as too narrow. Clustered inference, which addresses this,
140
- is planned for `0.2`.
142
+ is planned for `0.3`.
141
143
 
142
144
  ## Grid break-point rule
143
145
 
@@ -241,6 +243,7 @@ pytest # enforces 90% branch coverage
241
243
  CI runs the tests on Python 3.11, 3.12, and 3.13 against current dependencies. It also runs them
242
244
  on Python 3.11 against the oldest supported versions, pinned in
243
245
  [`ci/constraints-min.txt`](https://github.com/robustmargin/robustmargin/blob/main/ci/constraints-min.txt).
246
+ Changes are recorded in [`CHANGELOG.md`](https://github.com/robustmargin/robustmargin/blob/main/CHANGELOG.md).
244
247
 
245
248
  ## License
246
249
 
@@ -58,6 +58,7 @@ dev = [
58
58
  [project.urls]
59
59
  Homepage = "https://github.com/robustmargin/robustmargin"
60
60
  Source = "https://github.com/robustmargin/robustmargin"
61
+ Changelog = "https://github.com/robustmargin/robustmargin/blob/main/CHANGELOG.md"
61
62
  Issues = "https://github.com/robustmargin/robustmargin/issues"
62
63
 
63
64
  [tool.setuptools.packages.find]
@@ -56,7 +56,7 @@ from robustmargin.validation import (
56
56
  diagnose,
57
57
  )
58
58
 
59
- __version__ = "0.1.1"
59
+ __version__ = "0.2.1"
60
60
 
61
61
  __all__ = [
62
62
  "AdjacentPair",