trace ace: fix V85 gdown invocation [run-v85] #2
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: Trace the Ace V85 EvidenceEvent state | |
| on: | |
| push: | |
| branches: [agent/trace-ace-mastery-events] | |
| paths: | |
| - 'competitions/trace_the_ace/v85_evidence_state.py' | |
| - '.github/workflows/trace-ace-v85-evidence-state.yml' | |
| workflow_dispatch: | |
| jobs: | |
| v85: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 360 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: pip install numpy pandas scipy scikit-learn gdown | |
| - name: Download data | |
| run: | | |
| gdown 1nOjremWhpZ_QKSLvZfGcNkS_C3kMMBUI -O transcripts.zip | |
| gdown 1EpqoamY0vFI2qE57R6wdqU5HwuoVk3Zz -O metadata.zip | |
| mkdir -p data/transcripts data/meta | |
| unzip -q transcripts.zip -d data/transcripts | |
| unzip -q metadata.zip -d data/meta | |
| find data -maxdepth 3 -type f | head | |
| - name: Resolve schemas and run V85 | |
| shell: bash | |
| run: | | |
| FEATURES=$(find data/meta -type f -name 'train_features*.csv' | head -1) | |
| LABELS=$(find data/meta -type f -name 'train_labels*.csv' | head -1) | |
| TRANSCRIPTS=$(dirname "$(find data/transcripts -type f -name '*.csv' | head -1)") | |
| echo "$FEATURES $LABELS $TRANSCRIPTS" | |
| cd competitions/trace_the_ace | |
| python v85_evidence_state.py --features "../../$FEATURES" --labels "../../$LABELS" --transcripts "../../$TRANSCRIPTS" --out ../../v85_evidence_state.json | |
| - name: Upload aggregate result | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: trace-ace-v85-evidence-state | |
| path: v85_evidence_state.json |