-
Notifications
You must be signed in to change notification settings - Fork 0
Run Engraph research evidence gates in CI #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| name: Engraph research integrity | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - feat/engraph-p3-perf | ||
| paths: | ||
| - models/** | ||
| - research-evidence/** | ||
| - scripts/research_receipt.py | ||
| - scripts/test_research_receipt.py | ||
| - scripts/test_verify_*.py | ||
| - scripts/verify_*.py | ||
| - examples/p3_actor_parity.rs | ||
| - src/llm.rs | ||
| - src/serve.rs | ||
| - Cargo.lock | ||
| - target/release/examples/p3_actor_parity | ||
| - .github/workflows/research-integrity.yml | ||
| push: | ||
| branches: | ||
| - feat/engraph-p3-perf | ||
| paths: | ||
| - models/** | ||
| - research-evidence/** | ||
| - scripts/research_receipt.py | ||
| - scripts/test_research_receipt.py | ||
| - scripts/test_verify_*.py | ||
| - scripts/verify_*.py | ||
| - examples/p3_actor_parity.rs | ||
| - src/llm.rs | ||
| - src/serve.rs | ||
| - Cargo.lock | ||
| - target/release/examples/p3_actor_parity | ||
| - .github/workflows/research-integrity.yml | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: engraph-research-integrity-${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| verify: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 10 | ||
| env: | ||
| PYTHONDONTWRITEBYTECODE: "1" | ||
| PYTHONPATH: scripts | ||
| steps: | ||
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | ||
| with: | ||
| fetch-depth: 0 | ||
| - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 | ||
| with: | ||
| python-version: "3.12" | ||
| - name: Verify shared manifest contract | ||
| run: python3 research-evidence/contracts/v2/verify_contract.py | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The contract verifier this step invokes calls Useful? React with 👍 / 👎. |
||
| - name: Verify model provenance | ||
| run: python3 scripts/verify_model_provenance.py | ||
| - name: Verify claim durability | ||
| run: python3 scripts/verify_claim_durability.py | ||
| - name: Verify authentic P3 correctness receipt | ||
| run: python3 scripts/research_receipt.py verify-record research-evidence/runs/p3-actor-parity-v2-20260717-a2.receipt.json | ||
| - name: Audit the authentic P3 attempt | ||
| run: python3 scripts/research_receipt.py audit-plans research-evidence/runs --attempt-id 076b69d2-3a1f-40d6-9555-9c7cc6c69302 --record-only | ||
| - name: Run integrity tests | ||
| run: python3 -m unittest discover -s scripts -p "test_*.py" -q | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
These tests include Useful? React with 👍 / 👎. |
||
| - name: Run integrity tests without assertions | ||
| run: python3 -O -m unittest discover -s scripts -p "test_*.py" -q | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The claim-durability verifier binds live claim surfaces from
README.mdand scans the whole README for unregistered high-risk claims (scripts/verify_claim_durability.py:481-513), butREADME.mdis not in either paths list. A PR or push onfeat/engraph-p3-perfthat changes only README claims will skip this workflow, leaving the live excerpt hashes and high-risk-claim guard unenforced in the path-scoped gate; includeREADME.mdin both filters.Useful? React with 👍 / 👎.