Core Folder
This folder contains shared runtime primitives used across the app.
Files
-
config.pyCentral settings model. Defines data directories, backend selection, GPU/runtime policy, Hugging Face model defaults, and trace paths. -
schema.pyPydantic data models for experiments, sessions, rounds, candidates, feedback, replay, and API payloads. -
logging.pyRich-backed backend logging setup with request-id support. -
tracing.pyTrace recorder that persists backend and frontend events into JSONL-style files underdata/traces/. -
__init__.pyPackage marker.
Why it matters
Most modules import from core/. If a behavior feels global, it is probably defined here.