Commit ac044f9
fix: align copilot.py inference with server.py — MetaLearner S/T/X/DA + TS warning
- Replace hardcoded "t"/"x" MetaLearner selection with data-driven
get_default_estimation_config() (considers sample size → S, treatment
balance → DA, linearity → T/X)
- Add time-series warning in estimate_effect when TS structure detected
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3a06e99 commit ac044f9
1 file changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
| 629 | + | |
629 | 630 | | |
630 | 631 | | |
631 | 632 | | |
| |||
658 | 659 | | |
659 | 660 | | |
660 | 661 | | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
661 | 670 | | |
662 | 671 | | |
663 | 672 | | |
| |||
817 | 826 | | |
818 | 827 | | |
819 | 828 | | |
820 | | - | |
821 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
822 | 837 | | |
823 | 838 | | |
824 | 839 | | |
| |||
0 commit comments