Initial Commit

This commit is contained in:
2026-09-15 15:24:03 -04:00
commit 4dc7086e7e
605 changed files with 101380 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# Re-measure which MATLAB functions this sandbox actually has.
#
# _MATLAB_ONLY in routers/matlab.py must match reality, and reality moves
# when the image is rebuilt on a newer Debian or a forge package changes.
# Guessing this list was wrong in BOTH directions the first time: fitlm
# and imread are present, contains and datetime are not.
set -euo pipefail
cd "$(dirname "$0")/.."
exec docker run --rm --network none -u 10001:10001 \
-v "$(pwd)/tests/matlab_availability.m":/tmp/avail.m:ro \
--tmpfs /tmp/octhome:uid=10001 -e HOME=/tmp/octhome \
--entrypoint bash local/owuitools-octave:latest -c '
mkdir -p /tmp/octhome
octave --no-window-system --norc --quiet --eval "
warning(\"off\",\"all\");
try, pkg load signal; pkg load control; pkg load statistics; pkg load optim; catch, end
run(\"/tmp/avail.m\");
" 2>/dev/null'