@@ -10,16 +10,16 @@ This document provides step-by-step implementation instructions for migrating ho
1010
1111## Pre-Migration Checklist
1212
13- - [ ] Create a new git branch: ` git checkout -b pymc5-migration `
14- - [ ] Backup current environment configuration
15- - [ ] Document current test results baseline: ` pixi run pytest homepy/tests/ --tb=short > test_baseline.txt `
13+ - [x ] Create a new git branch: ` git checkout -b pymc5-migration `
14+ - [x ] Backup current environment configuration
15+ - [x ] Document current test results baseline: ` pixi run pytest homepy/tests/ --tb=short > test_baseline.txt `
1616- [ ] Review breaking changes in PyMC v5 release notes
1717
1818---
1919
20- ## Phase 1: Environment & Dependency Updates (30-60 min)
20+ ## Phase 1: Environment & Dependency Updates (30-60 min) β
COMPLETED
2121
22- ### Step 1.1: Update pyproject.toml
22+ ### Step 1.1: Update pyproject.toml β
2323
2424** File:** ` pyproject.toml `
2525
@@ -57,9 +57,9 @@ pixi run python -c "import arviz; print(f'ArviZ version: {arviz.__version__}')"
5757
5858---
5959
60- ## Phase 2: Global Import Replacements (60-90 min)
60+ ## Phase 2: Global Import Replacements (60-90 min) β
COMPLETED
6161
62- ### Step 2.1: Aesara β PyTensor Import Replacements
62+ ### Step 2.1: Aesara β PyTensor Import Replacements β
6363
6464** Files Affected:** All 33 Python files
6565
@@ -125,9 +125,9 @@ grep -r "from aesara" homepy/
125125
126126---
127127
128- ## Phase 3: AePPL Integration Updates (15-30 min)
128+ ## Phase 3: AePPL Integration Updates (15-30 min) β
COMPLETED
129129
130- ### Step 3.1: Update aesaraf.py
130+ ### Step 3.1: Update aesaraf.py β
131131
132132** File:** ` homepy/aesaraf.py `
133133
@@ -162,9 +162,9 @@ pixi run python -c "from homepy.aesaraf import *"
162162
163163---
164164
165- ## Phase 4: Variable Naming Updates (30-45 min)
165+ ## Phase 4: Variable Naming Updates (30-45 min) β
COMPLETED
166166
167- ### Step 4.1: Rename ` at ` variables to ` pt `
167+ ### Step 4.1: Rename ` at ` variables to ` pt ` β
168168
169169** Files with heavy ` at. ` usage:**
170170- ` homepy/models/base.py `
@@ -189,9 +189,9 @@ find homepy -name "*.bak" -delete
189189
190190---
191191
192- ## Phase 5: Sampling API Updates (30-45 min)
192+ ## Phase 5: Sampling API Updates (30-45 min) β
COMPLETED
193193
194- ### Step 5.1: Update models/base.py sampling calls
194+ ### Step 5.1: Update models/base.py sampling calls β
195195
196196** File:** ` homepy/models/base.py `
197197
@@ -250,7 +250,7 @@ grep -n "return_inferencedata" homepy/
250250
251251---
252252
253- ## Phase 6: Graph Operations Updates (45-60 min)
253+ ## Phase 6: Graph Operations Updates (45-60 min) β
COMPLETED
254254
255255### Step 6.1: Update aesara.function() calls
256256
@@ -293,7 +293,7 @@ from pytensor.graph.rewriting.basic import in2out, node_rewriter
293293
294294---
295295
296- ## Phase 7: Random Variable Updates (30-45 min)
296+ ## Phase 7: Random Variable Updates (30-45 min) β
COMPLETED
297297
298298### Step 7.1: Update RandomStateSharedVariable
299299
@@ -325,7 +325,7 @@ shared_var = pytensor.shared(value)
325325
326326---
327327
328- ## Phase 8: Testing & Validation (3-6 hours)
328+ ## Phase 8: Testing & Validation (3-6 hours) π IN PROGRESS
329329
330330### Step 8.1: Unit Tests
331331
0 commit comments