Skip to content

Repository layout

The library is the package phoskintime/ at the repository root; its modules are imported as phoskintime.networkmodel, phoskintime.common, and so on. pixi puts the root on the Python path.

Path Contents
models/ Mechanism files (*.toml, format phoskintime-mechanism/1): the reactions and rate laws of each model family; examples/ holds an acetylation example.
phoskintime/networkmodel/sim/ In-silico experiments on a fitted SBML model, with the experiment bundle, the browser engine and the golden files of the conformance suite.
phoskintime/networkmodel/ The network model: data loading (io.py), topology, mechanism files (mechanism.py), the SBML model (simulate_sbml.py, exchange/sbml.py), the problem and objective (problem.py, objective_np.py), the fit engines (fit_sbmlsim.py, fit_pypesto.py), profiles, Laplace and MCMC posterior, sensitivity, exports, the run entry point (runner.py, phoskintime run), the library interface (api.py), the example project (example.py), post-run analyses (analysis/, phoskintime analyze), exchange formats (exchange/: SBML, PEtab) and the guided app (app/, phoskintime app).
phoskintime/common/ Shared code: run provenance and result folders (results.py), the KinOpt/TFOpt file contract (external_results.py), the run bundle (bundle/, contract 1.0), Fréchet distance, steady states, table tools.
phoskintime/config/ The phoskintime command line (cli.py), paths (constants.py), logging (logconf.py).
phoskintime/config_loader.py, configs/config.toml The configuration loader and the single configuration file ([paths], [networkmodel]).
configs/priors_*.toml Prior specifications (priors_lognormal.toml is the default).
phoskintime/processing/ Preprocessing of the raw inputs (phoskintime prep) and result mapping (map.py). Raw inputs go in processing/raw/ at the repository root, which is not in the repository.
phoskintime/networkpruning/ Network preprocessing and pruning used by the network model.
contracts/phoskintime/1.0/ The published run-bundle contract (manifest.schema.json, tables.json), written by pixi run build-contract.
tools/ Developer tools: build_contract.py, build_brand.py, the tutorial builder (build_tutorials.py), the release checks (check_release.py), the CBC Dec 2026 poster figures (cbc_dec_26.py), the equation pages (build_equations.py), the golden files of the experiment conformance suite (build_sim_golden.py).
validation/petab/ A separate pixi environment with AMICI and pyPESTO for cross-validating exported PEtab problems.
notebooks/ The tutorial notebook (network model on dummy data).
tests/ Test suite (pixi run -e dev test).
docs/ Documentation sources (Zensical, zensical.toml); docs/assets/brand/ holds the logo and wordmarks.

Root files: pixi.toml / pixi.lock (environments), pyproject.toml (metadata, packaging, pytest, coverage and ruff settings), zensical.toml, CHANGELOG.md, KNOWN_ISSUES.md, ROADMAP.md, CITATION.cff, LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, TERMS_OF_USE.md.

Not in the repository (git-ignored): data/ (processed inputs written by phoskintime prep, and the KinOpt/TFOpt workbooks), processing/ (the raw inputs and intermediate files of preprocessing), results*/ (run folders), site/ (the built documentation).