lifejacket 0.2.1__tar.gz → 1.0.0__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.
- lifejacket-1.0.0/PKG-INFO +56 -0
- lifejacket-1.0.0/README.md +37 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/after_study_analysis.py +397 -387
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/arg_threading_helpers.py +75 -69
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/calculate_derivatives.py +19 -21
- lifejacket-0.2.1/lifejacket/trial_conditioning_monitor.py → lifejacket-1.0.0/lifejacket/deployment_conditioning_monitor.py +146 -128
- lifejacket-0.2.1/lifejacket/form_adaptive_meat_adjustments_directly.py → lifejacket-1.0.0/lifejacket/form_adjusted_meat_adjustments_directly.py +7 -7
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/get_datum_for_blowup_supervised_learning.py +315 -307
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/helper_functions.py +45 -38
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/input_checks.py +263 -261
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/small_sample_corrections.py +42 -40
- lifejacket-1.0.0/lifejacket.egg-info/PKG-INFO +56 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket.egg-info/SOURCES.txt +2 -2
- {lifejacket-0.2.1 → lifejacket-1.0.0}/pyproject.toml +2 -2
- lifejacket-0.2.1/PKG-INFO +0 -100
- lifejacket-0.2.1/README.md +0 -81
- lifejacket-0.2.1/lifejacket.egg-info/PKG-INFO +0 -100
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/__init__.py +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/constants.py +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket/vmap_helpers.py +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket.egg-info/dependency_links.txt +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket.egg-info/entry_points.txt +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket.egg-info/requires.txt +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/lifejacket.egg-info/top_level.txt +0 -0
- {lifejacket-0.2.1 → lifejacket-1.0.0}/setup.cfg +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lifejacket
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: Consistent standard errors for longitudinal data collected under pooling online decision policies.
|
|
5
|
+
Author-email: Nowell Closser <nowellclosser@gmail.com>
|
|
6
|
+
Requires-Python: >=3.10
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: click>=8.0
|
|
9
|
+
Requires-Dist: jax>=0.4.0
|
|
10
|
+
Requires-Dist: jaxlib>=0.4.0
|
|
11
|
+
Requires-Dist: numpy>=1.20.0
|
|
12
|
+
Requires-Dist: pandas>=1.3.0
|
|
13
|
+
Requires-Dist: scipy>=1.7.0
|
|
14
|
+
Requires-Dist: plotext>=5.0.0
|
|
15
|
+
Provides-Extra: dev
|
|
16
|
+
Requires-Dist: pytest>=7.0; extra == "dev"
|
|
17
|
+
Requires-Dist: black>=22.0; extra == "dev"
|
|
18
|
+
Requires-Dist: flake8>=4.0; extra == "dev"
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
_ _ __ _ _ _
|
|
22
|
+
| (_)/ _| (_) | | | |
|
|
23
|
+
| |_| |_ ___ _ __ _ ___| | _____| |_
|
|
24
|
+
| | | _/ _ \ |/ _` |/ __| |/ / _ \ __|
|
|
25
|
+
| | | || __/ | (_| | (__| < __/ |_
|
|
26
|
+
|_|_|_| \___| |\__,_|\___|_|\_\___|\__|
|
|
27
|
+
_/ |
|
|
28
|
+
|__/
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Save your standard errors from pooling in online decision-making algorithms.
|
|
32
|
+
|
|
33
|
+
## Setup (if not using conda)
|
|
34
|
+
### Create and activate a virtual environment
|
|
35
|
+
- `python3 -m venv .venv; source /.venv/bin/activate`
|
|
36
|
+
|
|
37
|
+
### Adding a package
|
|
38
|
+
- Add to `requirements.txt` with a specific version or no version if you want the latest stable
|
|
39
|
+
- Run `pip freeze > requirements.txt` to lock the versions of your package and all its subpackages
|
|
40
|
+
|
|
41
|
+
## Running the code
|
|
42
|
+
- `export PYTHONPATH to the absolute path of this repository on your computer
|
|
43
|
+
- `./run_local_synthetic.sh`, which outputs to `simulated_data/` by default. See all the possible flags to be toggled in the script code.
|
|
44
|
+
|
|
45
|
+
## Linting/Formatting
|
|
46
|
+
|
|
47
|
+
## Testing
|
|
48
|
+
python -m pytest
|
|
49
|
+
python -m pytest tests/unit_tests
|
|
50
|
+
python -m pytest tests/integration_tests
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## TODO
|
|
55
|
+
1. Add precommit hooks (pip freeze, linting, formatting)
|
|
56
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
```python
|
|
2
|
+
_ _ __ _ _ _
|
|
3
|
+
| (_)/ _| (_) | | | |
|
|
4
|
+
| |_| |_ ___ _ __ _ ___| | _____| |_
|
|
5
|
+
| | | _/ _ \ |/ _` |/ __| |/ / _ \ __|
|
|
6
|
+
| | | || __/ | (_| | (__| < __/ |_
|
|
7
|
+
|_|_|_| \___| |\__,_|\___|_|\_\___|\__|
|
|
8
|
+
_/ |
|
|
9
|
+
|__/
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Save your standard errors from pooling in online decision-making algorithms.
|
|
13
|
+
|
|
14
|
+
## Setup (if not using conda)
|
|
15
|
+
### Create and activate a virtual environment
|
|
16
|
+
- `python3 -m venv .venv; source /.venv/bin/activate`
|
|
17
|
+
|
|
18
|
+
### Adding a package
|
|
19
|
+
- Add to `requirements.txt` with a specific version or no version if you want the latest stable
|
|
20
|
+
- Run `pip freeze > requirements.txt` to lock the versions of your package and all its subpackages
|
|
21
|
+
|
|
22
|
+
## Running the code
|
|
23
|
+
- `export PYTHONPATH to the absolute path of this repository on your computer
|
|
24
|
+
- `./run_local_synthetic.sh`, which outputs to `simulated_data/` by default. See all the possible flags to be toggled in the script code.
|
|
25
|
+
|
|
26
|
+
## Linting/Formatting
|
|
27
|
+
|
|
28
|
+
## Testing
|
|
29
|
+
python -m pytest
|
|
30
|
+
python -m pytest tests/unit_tests
|
|
31
|
+
python -m pytest tests/integration_tests
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## TODO
|
|
36
|
+
1. Add precommit hooks (pip freeze, linting, formatting)
|
|
37
|
+
|