Commit 09a3ef4
Address PR #369 R1 P3: refresh placebo docstring + per-draw τ regression
- _placebo_variance_se docstring step 3 now describes the warm-start
semantics (was still saying "uniform initialization, fresh start"
after PR #369 landed the warm-start). Adds Parameters entries for
init_omega / init_lambda / _placebo_indices.
- test_placebo_se_matches_r now also asserts elementwise match between
Python's placebo_effects and R_PLACEBO_TAUS from the fixture, so a
permutation that diverged on a single draw but happened to leave
sd() unchanged would still trip the regression.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1224a19 commit 09a3ef4
2 files changed
Lines changed: 44 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
1712 | | - | |
1713 | | - | |
1714 | | - | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1715 | 1723 | | |
1716 | 1724 | | |
1717 | 1725 | | |
| |||
1736 | 1744 | | |
1737 | 1745 | | |
1738 | 1746 | | |
| 1747 | + | |
| 1748 | + | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
| 1756 | + | |
| 1757 | + | |
| 1758 | + | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
1739 | 1762 | | |
1740 | 1763 | | |
1741 | 1764 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
1611 | | - | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
1612 | 1614 | | |
1613 | 1615 | | |
| 1616 | + | |
1614 | 1617 | | |
1615 | 1618 | | |
1616 | 1619 | | |
1617 | 1620 | | |
1618 | 1621 | | |
1619 | 1622 | | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
1620 | 1637 | | |
1621 | 1638 | | |
1622 | 1639 | | |
| |||
0 commit comments