Skip to content

Trigger full readiness validation workflow #2

Trigger full readiness validation workflow

Trigger full readiness validation workflow #2

name: Apply full local experiment readiness pass
on:
push:
branches:
- agent/fix-level12-experiment-workflow
workflow_dispatch:
permissions:
contents: write
jobs:
apply-validate-commit:
if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: agent/fix-level12-experiment-workflow
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Apply source and notebook integration patch
run: python scripts/_agent_full_readiness_pass.py
- name: Install pip dependencies and tooling
run: |
python -m pip install --upgrade pip
python -m pip install --no-cache-dir -e ".[notebooks]"
python -m pip install pytest ruff
- name: Auto-fix safe lint issues
run: ruff check --fix src tests
- name: Validate source and portable tests
run: |
python -m compileall -q src tests
ruff check src tests
pytest -q -m "not slow" --tb=short
git diff --check
- name: Run real pip-installed Level 0 readiness
run: |
wwgpt readiness-check \
--output artifacts/readiness \
--device cpu \
--levels 0 \
--optimizers adamw
- name: Execute all schema-v3 notebooks
env:
MPLBACKEND: Agg
WWGPT_RESULTS_ROOT: tests/fixtures/schema_v3_results/experiments/level_00/multiplier_1
WWGPT_NOTEBOOK_OUTPUT_DIR: artifacts/notebooks
WWGPT_ANALYSIS_PLAN: configs/analysis_plan_exploratory.yaml
WWGPT_LEVEL: '0'
WWGPT_TOKEN_MULTIPLIER: '1'
WWGPT_BASE_OPTIMIZER: adamw
WWGPT_NOTEBOOK_STRICT: '0'
WWGPT_RUN_ANALYSIS: '0'
WWGPT_REUSE_ANALYSIS: '1'
run: ./scripts/run_analysis_notebooks.sh
- name: Commit validated repository changes
run: |
git config user.name "OpenAI Codex"
git config user.email "codex@openai.com"
git add -A
git commit -m "Complete local Level 0-2 experiment readiness"
git push origin HEAD:agent/fix-level12-experiment-workflow