|
| 1 | +name: PR126 Stage C final review fixes |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - agent/panel-p1-stage-c-covariance |
| 7 | + paths: |
| 8 | + - '.github/workflows/pr126-stage-c-final-review-fix.yml' |
| 9 | + |
| 10 | +permissions: |
| 11 | + contents: write |
| 12 | + |
| 13 | +jobs: |
| 14 | + patch-and-validate: |
| 15 | + runs-on: ubuntu-latest |
| 16 | + timeout-minutes: 20 |
| 17 | + steps: |
| 18 | + - uses: actions/checkout@v4 |
| 19 | + with: |
| 20 | + ref: agent/panel-p1-stage-c-covariance |
| 21 | + fetch-depth: 0 |
| 22 | + - uses: actions/setup-python@v5 |
| 23 | + with: |
| 24 | + python-version: '3.11' |
| 25 | + - name: Install focused dependencies |
| 26 | + run: | |
| 27 | + python -m pip install --upgrade pip |
| 28 | + python -m pip install -e . 'linearmodels==7.0' 'statsmodels==0.14.6' pytest |
| 29 | + - name: Apply final review fixes |
| 30 | + run: python dev/benchmarks/_pr126_patch_final_review_fixes.py |
| 31 | + - name: Focused Stage C review gates |
| 32 | + run: | |
| 33 | + python -m pytest \ |
| 34 | + dev/tests/test_panel_stage_c_edge_contracts.py \ |
| 35 | + dev/tests/test_panel_stage_c_performance_runner_contract.py \ |
| 36 | + dev/tests/test_panel_stage_c_external.py \ |
| 37 | + dev/tests/test_panel_stage_c_external_defaults.py \ |
| 38 | + dev/tests/test_panel_stage_c_linearmodels_estimators.py \ |
| 39 | + -q --tb=short |
| 40 | + python -m py_compile \ |
| 41 | + statgpu/panel/_covariance.py \ |
| 42 | + dev/benchmarks/benchmark_panel_stage_c_covariance.py |
| 43 | + git diff --check |
| 44 | + - name: Commit validated fixes |
| 45 | + run: | |
| 46 | + git config user.name 'github-actions[bot]' |
| 47 | + git config user.email '41898282+github-actions[bot]@users.noreply.github.com' |
| 48 | + git add \ |
| 49 | + statgpu/panel/_covariance.py \ |
| 50 | + dev/tests/test_panel_stage_c_edge_contracts.py \ |
| 51 | + dev/benchmarks/benchmark_panel_stage_c_covariance.py \ |
| 52 | + dev/tests/test_panel_stage_c_performance_runner_contract.py \ |
| 53 | + dev/tests/test_panel_stage_c_external_defaults.py \ |
| 54 | + dev/plans/panel_p1_stage_c_covariance_plan.md |
| 55 | + git commit -m 'fix: close Stage C final review gaps' |
| 56 | + git push origin HEAD:agent/panel-p1-stage-c-covariance |
0 commit comments