Fragile is a research codebase for the Fractal Gas optimization algorithm and the Fractal Set data structure, with a Jupyter Book that captures the theory, derivations, and experiments.
src/fragile/: installable package (core implementation lives insrc/fragile/fractalai/)docs/: Jupyter Book (source indocs/source/, build output indocs/_build/)tests/: pytest suitesexamples/,media/,outputs/: notebooks, assets, generated artifacts
src/fragile/fractalai/core/: companion selection, fitness, cloning, kinetics, and the Fractal Set data structuresrc/fragile/fractalai/experiments/: simulations, dashboards, convergence studiessrc/fragile/fractalai/experiments/gauge/: U(1) and SU(2) gauge symmetry testssrc/fragile/fractalai/theory/: theory utilities and analysis scripts- CLI entry point:
src/fragile/fractalai/cli.py
rye sync(recommended)pip install -e .
- Build:
rye run build-docs - Build and serve:
rye run docs
- Tests:
rye run test - Doctests:
rye run doctest - Lint/format:
rye run lint
MIT