Nicolas Cantu 9a975c73d7 Restructuration projet : applications, pour enfants, these
**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/
2026-03-02 00:18:40 +01:00

31 lines
971 B
Bash

#!/usr/bin/env bash
# Setup environment for Collatz demonstration pipeline
# See commandes.md for full workflow
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
DATA_ROOT="${DATA_ROOT:-$PROJECT_ROOT/data}"
OUT_ROOT="${OUT_ROOT:-$PROJECT_ROOT/out}"
cd "$PROJECT_ROOT"
echo "Project root: $PROJECT_ROOT"
echo "Data root: $DATA_ROOT"
echo "Output root: $OUT_ROOT"
# Install dependencies
if [[ -f collatz_k_scripts/requirements.txt ]]; then
pip install -r collatz_k_scripts/requirements.txt
fi
# Create directory structure
mkdir -p "$DATA_ROOT"/{source,audits,candidats,certificats,logs,noyaux}
mkdir -p "$OUT_ROOT"/{audits,candidats,certificats,logs,noyaux,rapports,preuves,verification,docs}
echo "Setup complete. Ensure input files are in $DATA_ROOT/source/:"
echo " - audit_60_etats_B12_mod4096_horizon7.json"
echo " - complétion_minorée_m15_vers_m16.md"
echo " - candidats_D10_palier2p17.md"