Skip to content

Commit 3d6228d

Browse files
committed
workflow: run cache-only V127 transcript schema audit
1 parent a7effc8 commit 3d6228d

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Trace Ace V127 Transcript Schema Audit
2+
3+
on:
4+
pull_request:
5+
branches: [agent/v121-cache-batch2]
6+
paths:
7+
- '.github/workflows/trace-ace-v127-transcript-schema-audit.yml'
8+
- 'competitions/trace_the_ace/v127_transcript_schema_audit.py'
9+
workflow_dispatch:
10+
11+
jobs:
12+
audit:
13+
runs-on: ubuntu-24.04
14+
timeout-minutes: 10
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.12'
20+
- name: Restore frozen transcript archive from GitHub cache only
21+
id: transcript-cache
22+
uses: actions/cache@v4
23+
with:
24+
path: transcripts.zip
25+
key: trace-ace-transcripts-v1-603547640
26+
- name: Require cache hit and frozen archive
27+
run: |
28+
test '${{ steps.transcript-cache.outputs.cache-hit }}' = 'true'
29+
test -f transcripts.zip
30+
test "$(stat -c%s transcripts.zip)" = '603547640'
31+
echo 'e685b85b04694e130c25b17d09cdd1892fbda5e9fa685e98b2300114b915aa2d transcripts.zip' | sha256sum -c -
32+
unzip -tq transcripts.zip >/dev/null
33+
- name: Run V127 discovery-only audit
34+
run: python competitions/trace_the_ace/v127_transcript_schema_audit.py --archive transcripts.zip --sample 256 --rows-per-file 20 --out v127_transcript_schema_audit.json
35+
- name: Show decision
36+
run: cat v127_transcript_schema_audit.json
37+
- uses: actions/upload-artifact@v4
38+
with:
39+
name: trace-ace-v127-transcript-schema-audit
40+
path: v127_transcript_schema_audit.json
41+
retention-days: 14

0 commit comments

Comments
 (0)