FNE-AXIOMESH / run_checks.bat
PureOne's picture
FNE-AXIOMESH v0.2.0: dataset release with agent and expert support
1c1abed verified
Raw History Blame Contribute Delete
1.22 kB
@echo off
setlocal
cd /d "%~dp0"
where py >nul 2>nul
if not errorlevel 1 (
set "PY=py -3"
) else (
where python >nul 2>nul
if errorlevel 1 (
echo Python was not found. Install Python 3.10 or newer and reopen this file.
pause
exit /b 1
)
set "PY=python"
)
%PY% -c "import sys; assert sys.version_info >= (3,10); import numpy, pytest"
if errorlevel 1 (
echo Python 3.10+ with numpy and pytest is required.
echo Install dependencies using: %PY% -m pip install -r requirements.txt
pause
exit /b 1
)
set "PYTHONPATH=%CD%\src"
%PY% -m pytest -q
if errorlevel 1 goto failure
%PY% validate_release.py
if errorlevel 1 goto failure
%PY% run_experiments.py --output local_runs/checks
if errorlevel 1 goto failure
%PY% -m axiomesh.cli results\frozen_erased_seed.json --word=+0,+1,-0,-1,+2
if errorlevel 1 goto failure
%PY% agent_interface.py --request examples\agent_recover.json
if errorlevel 1 goto failure
echo.
echo Checks completed. New exact-family results are in local_runs\checks.
echo This is a research kernel, not a trained general-intelligence system.
pause
exit /b 0
:failure
echo.
echo A check failed. The error above has been left visible.
pause
exit /b 1