Skip to content

Run isolated V111 fast residual screen #16

Run isolated V111 fast residual screen

Run isolated V111 fast residual screen #16

name: Trace Ace V112 Fast Raw Observable Screen
on:
pull_request:
branches: [agent/trace-ace-mastery-events]
paths:
- 'competitions/trace_the_ace/v112_fast_raw_observable_screen.py'
- '.github/workflows/trace-ace-v111-fast-residual-screen.yml'
workflow_dispatch:
jobs:
screen:
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with: {python-version: '3.12', cache: pip}
- run: python -m pip install --disable-pip-version-check numpy pandas scipy scikit-learn gdown
- name: Download frozen 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
- name: Resolve schemas
run: |
FEATURES=$(find data/meta -type f -name 'train_features*.csv' -print -quit)
LABELS=$(find data/meta -type f -name 'train_labels*.csv' -print -quit)
FIRST=$(find data/transcripts -type f -name '*.csv' -print -quit)
TRANSCRIPTS=$(dirname "$FIRST")
echo "FEATURES=$FEATURES" >> "$GITHUB_ENV"
echo "LABELS=$LABELS" >> "$GITHUB_ENV"
echo "TRANSCRIPTS=$TRANSCRIPTS" >> "$GITHUB_ENV"
- name: Run V112 shared fast pass
run: |
cd competitions/trace_the_ace
python v112_fast_raw_observable_screen.py --features "../../$FEATURES" --labels "../../$LABELS" --transcripts "../../$TRANSCRIPTS" --rows 2500 --out ../../v112_fast_raw_observable_screen.json
- run: cat v112_fast_raw_observable_screen.json
- uses: actions/upload-artifact@v4
with:
name: trace-ace-v112-fast-raw-observable-screen
path: v112_fast_raw_observable_screen.json
retention-days: 14