Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Math Modeling Competition Kit

PyPI Python License: MIT

A reusable engineering toolkit for mathematical modeling competitions.

Release status

The current public alpha line is v0.1.0a2.

This release is intentionally an engineering core, not an algorithm encyclopedia. It exposes reusable competition-engineering capabilities while excluding private contest artifacts, raw interaction histories, local provider configuration, and active future-competition training.

Core principle: Choose and validate the model early. Once the model is correct, optimize the algorithm and engineering implementation instead of endlessly replacing the model.

What v0.1 provides

  • deterministic workspace manifests;
  • bounded clean-room execution;
  • generic final-submission engineering audit;
  • claim/evidence provenance locks and stale detection;
  • cross-platform competition project scaffold;
  • deterministic LaTeX source/dependency/citation audit;
  • bounded shell-free paper build with PDF hash evidence;
  • revision-guarded multi-agent task state and role leases;
  • compact handoff, stale-lease reporting, writer/reviewer separation, and two-failure circuit breaking;
  • post-model-freeze warmup/repeated-run runtime benchmarking;
  • explicit runtime regression thresholds, environment-drift reporting, and output-identity locks;
  • Windows + Ubuntu CI on Python 3.11 and 3.13.

Reusable modeling modules such as rolling-horizon engines, scenario reduction, or solver abstractions are not part of v0.1 unless repeated real-project need has been established and the module has separately passed public-release review.

Installation

Install the current public alpha from PyPI:

python -m pip install --pre math-modeling-competition-kit==0.1.0a2

For the newest available release line:

python -m pip install --pre math-modeling-competition-kit

From a source checkout:

python -m pip install .

Verify the installation:

mmkit --help
mmkit-final-gate --help
python -c "import mmkit; print(mmkit.__version__)"

Workflow

Problem understanding
-> Model design
-> Model validation
-> MODEL_FROZEN
-> Correct implementation
-> Clean-room reproduction
-> Algorithm/runtime optimization
-> Production core
-> Paper/figures/tables
-> Final submission gate
-> Hash/freeze/submit

Quick start

Create a generic workspace without assuming a specific future contest:

mmkit init demo-project --competition CUSTOM --year 2027
cd demo-project
mmkit coord status .
mmkit reproduce . config/run_manifest.json --json coordination/reproduction.json
mmkit benchmark run . config/benchmark.json --json coordination/benchmark.json
mmkit paper init .
mmkit paper audit . paper/main.tex --json coordination/paper_audit.json

After a correct implementation is selected, lock an explicit runtime/output baseline before optimizing it:

mmkit benchmark lock coordination/benchmark.json \
  --output coordination/benchmark.baseline.json \
  --max-regression-percent 15

mmkit benchmark compare \
  coordination/benchmark.json \
  coordination/benchmark.baseline.json \
  --json coordination/benchmark.compare.json

When a TeX runtime is installed and the build contract is configured:

mmkit paper build . config/paper_build.json --json coordination/paper_build.json

Documentation

See:

  • docs/PROJECT_SCAFFOLD.md — workspace contract;
  • docs/MVP_REPRODUCIBILITY_FINAL_GATE.md — clean-room and final-gate semantics;
  • docs/PROVENANCE_MVP.md — claim/evidence locking;
  • docs/PAPER_PIPELINE_MVP.md — paper auditing/build semantics;
  • docs/AGENT_COORDINATION.md — multi-agent checkpoint/handoff semantics;
  • docs/ALGORITHM_RUNTIME_BENCHMARKING.md — post-model-freeze performance measurement;
  • docs/HISTORY.md — concise public project lineage;
  • docs/RELEASE_SCOPE_V0.1.md — public release boundary;
  • docs/PUBLISHING.md — Trusted Publishing release procedure.

Repository structure

  • src/mmkit/ — reusable Python package;
  • tools/ — release/final-gate and audit utilities;
  • coordination/ — public coordination contracts;
  • tests/ — automated tests;
  • docs/ — architecture, contracts, roadmap and release documents.

Historical private-workbench snapshots are intentionally not retained on the current public branch.

Design principles

  1. Model selection happens early.
  2. Correctness comes before performance.
  3. After correctness, optimize algorithms and implementation before changing models.
  4. Research pipelines and production pipelines must be separated.
  5. Every important paper claim should have a traceable producer.
  6. Final results must be reproducible from a clean environment.
  7. Only one final integrator may write to the final submission directory.
  8. New research routes stop before the submission deadline.
  9. Submission artifacts are validated, hashed and frozen.
  10. Postmortems are converted into reusable tooling only after privacy/provenance/reuse review.

Publication boundary

Future competition training and new competition-specific work are private by default. They are not copied into this public repository during active preparation or competition. Any later publication requires a separate post-competition distillation, provenance/license review, tests, PR, and explicit human publication decision.

Security

Do not commit credentials, tokens, private keys, raw account data, or local secret files. See SECURITY.md.

License

MIT

Release files for math-modeling-competition-kit 0.1.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for math-modeling-competition-kit 0.1.0a2
File Size Uploaded
math_modeling_competition_kit-0.1.0a2.tar.gz 46.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for math-modeling-competition-kit 0.1.0a2
File Interpreter ABI Platform
math_modeling_competition_kit-0.1.0a2-py3-none-any.whl Python 3 none any Details

Total release size: 89.7 kB

Release files / math_modeling_competition_kit-0.1.0a2.tar.gz

Download URL math_modeling_competition_kit-0.1.0a2.tar.gz
Size 46.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cd11c0b5c2b6c80af2666d526a3a06c38185998dfaf8afac1983a1ecf109579c
BLAKE2b-256 checksum
How to use checksums
9f6641a3c0dae9ccf8850fa2a27af1145924e1adf745baef92834f95410c586a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / math_modeling_competition_kit-0.1.0a2-py3-none-any.whl

Download URL math_modeling_competition_kit-0.1.0a2-py3-none-any.whl
Size 43.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3b6d1929b964688dbe78be7f2bd7bd87e398faa891181474f8bc8acba6882de
BLAKE2b-256 checksum
How to use checksums
4f15129f94e66a528e1f18a7c290f8cc3dfe98bdc98515facc19d2f13c30072d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page