FlowCompile

Project Structure

FlowCompile is organized as a Python package plus experiment configs, prepared data, setup scripts, tests, and Sphinx docs.

Top-Level Layout

configs/              Local model config template and paper experiment configs
data/                 Prepared validate/test splits and prompt assets
docs/                 Sphinx documentation site
scripts/              Dataset and local serving helpers
tests/                Unit and smoke tests
src/flowcompile/    Main Python package

Package Layout

src/flowcompile/
  benchmarks/   Dataset-specific evaluation and registration
  compiler/     Latency, trace prep, agent data, profiling, prediction, validation
  core/         CLI, logging, data paths, LLM client helpers, analysis
  dsl/          Python DSL capture, auto-backward proxy, structures, runtime glue
  experiments/  Analysis commands such as correlation
  routers/      KNN routing implementations and helper conversions
  runtime/      Runtime config selection and inference helpers
  workflows/    Workflow definitions and extension points

Where to Look First

Configuration and Results

Generated results/, runtime_outputs/, logs/, docs build outputs, Python caches, and local config files are ignored by git.

Documentation Strategy

The docs site documents the project in three layers: