V5.3-r3 human-calibrated rubric / 人工校准评分细则 #82
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| core-tests: | |
| name: Core tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install project | |
| run: python -m pip install -e . | |
| - name: Run core tests with discovery guard | |
| run: python scripts/run_ci_tests.py core | |
| physics-tests: | |
| name: Physics tests | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install project | |
| run: python -m pip install -e . | |
| - name: Run Physics tests with discovery guard | |
| run: python scripts/run_ci_tests.py physics | |
| safety-gates: | |
| name: Safety and provenance gates | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| - name: Install project | |
| run: python -m pip install -e . | |
| - name: Audit committed research records | |
| run: | | |
| python -m benchmark.core.research_records --manifest experiments/records/tooling-surveys/sources.json | |
| python -m benchmark.core.research_records --manifest experiments/records/literature-surveys/sci_brain_run_manifest.json | |
| - name: Require error-book artifacts for the active grading skill | |
| run: python -m benchmark.core.cli check-error-book-registry --registry experiments/records/grading-skill-error-book-registry.json --repo-root . | |
| - name: Exercise research-record negative controls | |
| run: python -m unittest discover -s tests/benchmark/core -p "test_research_records.py" -v | |
| - name: Exercise held-out approval controls | |
| run: python -m unittest discover -s tests/benchmark/core -p "test_advisor_workflow.py" -v | |
| - name: Exercise privacy and sealed-test controls | |
| run: | | |
| python -m unittest discover -s tests/benchmark/physics -p "test_privacy.py" -v | |
| python -m unittest discover -s tests/benchmark/physics -p "test_packets.py" -v | |
| python -m unittest discover -s tests/benchmark/physics -p "test_cli_run.py" -v |