**Motivations:** - Clarifier l'organisation du dépôt par domaine applicatif - Séparer les contenus par public cible (adulte, enfant, thèse) **Evolutions:** - Nouvelle arborescence applications/ (collatz, IA) - Dossier pour enfants/ pour les contenus jeunesse - Dossier these/ pour le livre jeune adulte - Scripts de pipeline Collatz (01-setup, 02-run-pipeline, 03-run-direct-pipeline) - Candidats D18 palier2p30, registreK partagé en archives zip - Plan de relecture scientifique mis à jour **Pages affectées:** - .cursor/plans/relecture-scientifique-collatz.md - v0/ → applications/collatz/, applications/IA/, pour enfants/, these/ - IA_agents/ → pour enfants/
33 lines
858 B
Bash
33 lines
858 B
Bash
#!/usr/bin/env bash
|
|
# Run collatz_k_pipeline directly with explicit paths
|
|
# Use when input files are not in default data/source/
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
|
|
AUDIT60="${AUDIT60:-$PROJECT_ROOT/data/source/audit_60_etats_B12_mod4096_horizon7.json}"
|
|
M15M16="${M15M16:-$PROJECT_ROOT/data/source/complétion_minorée_m15_vers_m16.md}"
|
|
D10="${D10:-$PROJECT_ROOT/data/source/candidats_D10_palier2p17.md}"
|
|
OUT="${OUT:-$PROJECT_ROOT/out}"
|
|
|
|
cd "$PROJECT_ROOT/collatz_k_scripts"
|
|
|
|
for f in "$AUDIT60" "$M15M16" "$D10"; do
|
|
if [[ ! -f "$f" ]]; then
|
|
echo "Missing: $f"
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
mkdir -p "$OUT"
|
|
|
|
python collatz_k_pipeline.py \
|
|
--audit60 "$AUDIT60" \
|
|
--m15m16 "$M15M16" \
|
|
--d10 "$D10" \
|
|
--out "$OUT"
|
|
|
|
echo "Pipeline complete. Outputs in $OUT"
|