Skip to content

Commit 29dc725

Browse files
Merge pull request #23 from DiogoRibeiro7/chore/update_todo
Chore/update todo
2 parents b1803f2 + 8173f7c commit 29dc725

File tree

13 files changed

+35
-59
lines changed

13 files changed

+35
-59
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ dist/
5050
# Temporary
5151
*.log
5252
*.tmp
53+
54+
55+
tasks.py
56+
TODO.md

TODO.md

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,25 @@ This document outlines future enhancements, features, and ideas for improving th
66

77
## 📦 1. Interface and UX
88

9-
- [ ] Create a `generate(..., return_type="df" | "dict")` interface
9+
- [] Create a `generate(..., return_type="df" | "dict")` interface
1010
- [ ] Add `__version__` using `importlib.metadata` or `poetry-dynamic-versioning`
1111
- [ ] Build a CLI with `typer` or `click`
12-
- [ ] Add example notebooks for each model (`notebooks/` folder)
12+
- [] Add example notebooks or scripts for each model (`examples/` folder)
1313

1414
---
1515

1616
## 📚 2. Documentation
1717

18-
- [ ] Add a "Model Comparison Guide" section
19-
- [ ] Add "How It Works" sections for each model
20-
- [ ] Include usage tutorials in Jupyter format on RTD
18+
- [] Add a "Model Comparison Guide" section (`index.md` + `theory.md`)
19+
- [] Add "How It Works" sections for each model (`theory.md`)
20+
- [] Include usage examples in index with real calls
2121
- [ ] Optional: add multilingual docs using `sphinx-intl`
2222

2323
---
2424

2525
## 🧪 3. Testing and Quality
2626

27+
- [] Add tests for each model (e.g., `test_tdcm.py`, `test_thmm.py`, `test_aft.py`)
2728
- [ ] Add property-based tests with `hypothesis`
2829
- [ ] Cover edge cases (e.g., invalid parameters, n=0, negative censoring)
2930
- [ ] Run tests on multiple Python versions (CI matrix)
@@ -34,7 +35,8 @@ This document outlines future enhancements, features, and ideas for improving th
3435

3536
- [ ] Add Piecewise Exponential Model support
3637
- [ ] Add competing risks / multi-event simulation
37-
- [ ] Implement parametric AFT models (log-normal, log-logistic)
38+
- [] Implement parametric AFT models (log-normal)
39+
- [ ] Implement parametric AFT models (log-logistic, weibull)
3840
- [ ] Simulate time-varying hazards
3941
- [ ] Add informative or covariate-dependent censoring
4042

@@ -59,18 +61,32 @@ This document outlines future enhancements, features, and ideas for improving th
5961
## 🔁 7. Other Ideas
6062

6163
- [ ] Add performance benchmarks for each model
62-
- [ ] Improve PyPI discoverability (add keywords)
64+
- [] Improve PyPI discoverability (added tags, keywords, docs)
6365
- [ ] Create a Streamlit or Gradio live demo
6466

6567
---
6668

6769
## 🧠 8. New Survival Models to Implement
6870

69-
- [ ] Accelerated Failure Time (AFT) models:
70-
- [X] Log-Normal AFT
71-
- [ ] Log-Logistic AFT
72-
- [ ] Weibull AFT formulation
73-
- [ ] Piecewise Exponential Model
74-
- [ ] Competing Risks simulation
75-
- [ ] Recurrent Events simulation
71+
- [] Log-Normal AFT
72+
- [ ] Log-Logistic AFT
73+
- [ ] Weibull AFT
74+
- [ ] Piecewise Exponential
75+
- [ ] Competing Risks
76+
- [ ] Recurrent Events
7677
- [ ] Mixture Cure Model
78+
79+
---
80+
81+
## 🧬 9. Advanced Data Simulation Features
82+
83+
- [ ] Recurrent events (multiple events per individual)
84+
- [ ] Frailty models (random effects)
85+
- [ ] Time-varying hazard functions
86+
- [ ] Multi-line start-stop formatted data
87+
- [ ] Competing risks with cause-specific hazards
88+
- [ ] Simulate violations of PH assumption
89+
- [ ] Grouped / clustered data generation
90+
- [ ] Mixed covariates: categorical, continuous, binary
91+
- [ ] Joint models (longitudinal + survival outcome)
92+
- [ ] Controlled scenarios for robustness tests

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "gen_surv"
33
version = "0.7.1"
44
description = "A Python package for simulating survival data, inspired by the R package genSurv"
5-
authors = ["Diogo Ribeiro <diogo_dj@hotmail.com>"]
5+
authors = ["Diogo Ribeiro <diogo.debastos.ribeiro@gmail.com>"]
66
license = "MIT"
77
readme = "README.md"
88
packages = [{ include = "gen_surv" }]

stubs/gen_surv/__init__.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs/gen_surv/aft.pyi

Lines changed: 0 additions & 3 deletions
This file was deleted.

stubs/gen_surv/bivariate.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs/gen_surv/censoring.pyi

Lines changed: 0 additions & 4 deletions
This file was deleted.

stubs/gen_surv/cmm.pyi

Lines changed: 0 additions & 5 deletions
This file was deleted.

stubs/gen_surv/cphm.pyi

Lines changed: 0 additions & 6 deletions
This file was deleted.

stubs/gen_surv/interface.pyi

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)