Skip to content

Commit ea518b4

Browse files
committed
trace ace: launch V90 regime-gated composition test [run-v90]
1 parent f7b1ce7 commit ea518b4

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Trace the Ace V90 regime gated composition
2+
on:
3+
push:
4+
branches: [agent/trace-ace-mastery-events]
5+
paths:
6+
- 'competitions/trace_the_ace/v90_regime_gated_composition.py'
7+
- '.github/workflows/trace-ace-v90-regime-gated.yml'
8+
workflow_dispatch:
9+
jobs:
10+
v90:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 360
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.12'
18+
- name: Install dependencies
19+
run: pip install numpy pandas scipy scikit-learn gdown
20+
- name: Download data
21+
run: |
22+
gdown 1nOjremWhpZ_QKSLvZfGcNkS_C3kMMBUI -O transcripts.zip
23+
gdown 1EpqoamY0vFI2qE57R6wdqU5HwuoVk3Zz -O metadata.zip
24+
mkdir -p data/transcripts data/meta
25+
unzip -q transcripts.zip -d data/transcripts
26+
unzip -q metadata.zip -d data/meta
27+
- name: Run V90
28+
shell: bash
29+
run: |
30+
FEATURES=$(find data/meta -type f -name 'train_features*.csv' | head -1)
31+
LABELS=$(find data/meta -type f -name 'train_labels*.csv' | head -1)
32+
TRANSCRIPTS=$(dirname "$(find data/transcripts -type f -name '*.csv' | head -1)")
33+
cd competitions/trace_the_ace
34+
python v90_regime_gated_composition.py --features "../../$FEATURES" --labels "../../$LABELS" --transcripts "../../$TRANSCRIPTS" --out ../../v90_regime_gated.json
35+
- name: Upload result
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: trace-ace-v90-regime-gated
39+
path: v90_regime_gated.json

0 commit comments

Comments
 (0)