Skip to content

Run isolated V111 fast residual screen #13

Run isolated V111 fast residual screen

Run isolated V111 fast residual screen #13

name: Trace Ace V74 Runtime Package
on:
pull_request:
branches: [agent/trace-ace-mastery-events]
paths:
- 'competitions/trace_the_ace/runtime_v74/**'
- 'competitions/trace_the_ace/train_v74_runtime_assets.py'
- '.github/workflows/trace-ace-v74-runtime-package.yml'
jobs:
package:
runs-on: ubuntu-24.04
timeout-minutes: 8
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 joblib gdown
- name: Download metadata
run: |
gdown 1EpqoamY0vFI2qE57R6wdqU5HwuoVk3Zz -O metadata.zip
mkdir -p data/meta
unzip -q metadata.zip -d data/meta
- name: Resolve schemas
run: |
echo "FEATURES=$(find data/meta -type f -name 'train_features*.csv' -print -quit)" >> "$GITHUB_ENV"
echo "LABELS=$(find data/meta -type f -name 'train_labels*.csv' -print -quit)" >> "$GITHUB_ENV"
- name: Preflight
run: |
python -m py_compile competitions/trace_the_ace/runtime_v74/main.py competitions/trace_the_ace/runtime_v74/v74_runtime_core.py competitions/trace_the_ace/train_v74_runtime_assets.py
- name: Train frozen assets and parity test
run: |
python competitions/trace_the_ace/train_v74_runtime_assets.py --features "$FEATURES" --labels "$LABELS" --assets competitions/trace_the_ace/runtime_v74/assets
- name: Package
run: |
rm -rf v74_submission && mkdir -p v74_submission/assets
cp competitions/trace_the_ace/runtime_v74/main.py v74_submission/main.py
cp competitions/trace_the_ace/runtime_v74/v74_runtime_core.py v74_submission/v74_runtime_core.py
cp competitions/trace_the_ace/runtime_v74/assets/* v74_submission/assets/
(cd v74_submission && zip -q -r ../trace-ace-v74-pure-runtime.zip .)
unzip -l trace-ace-v74-pure-runtime.zip
cat competitions/trace_the_ace/runtime_v74/assets/manifest.json
- uses: actions/upload-artifact@v4
with:
name: trace-ace-v74-pure-runtime
path: |
trace-ace-v74-pure-runtime.zip
competitions/trace_the_ace/runtime_v74/assets/manifest.json
retention-days: 14