Skip to content

Sync repo to published Zenodo v6 + recover missing snapshot artifact … #7

Sync repo to published Zenodo v6 + recover missing snapshot artifact …

Sync repo to published Zenodo v6 + recover missing snapshot artifact … #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
paper-arithmetic:
name: paper arithmetic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
# Validates every derived number (ratio, percentage, comparison) in
# PAPER.md / README.md against the raw benchmark tables — catches
# copy-paste errors and stale numbers without needing GPU access.
- name: Verify paper arithmetic
run: node tests/paper_arithmetic.test.js
acrobot-equivalence:
name: acrobot cross-API equivalence (CPU, f64)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- run: pip install numpy jax torch --index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple
# NumPy, PyTorch, and JAX must produce IDENTICAL fitness for shared
# genomes — the property that makes the cross-API speedup table
# meaningful. GPU kernels (CUDA/Triton) are checked in the Colab
# notebook against the same reference.
- name: Acrobot implementation equivalence
run: JAX_ENABLE_X64=1 python tests/acrobot_equivalence_test.py