Skip to main content
Pre-release

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

Math Modeling Competition Kit

A reusable engineering toolkit for mathematical modeling competitions.

Release status

The current public line is preparing v0.1.0a1. This release is intentionally an engineering core, not an algorithm encyclopedia.

The v0.1.x public scope is distilled from the completed CUMCM 2026 development cycle and subsequent generic hardening of those engineering capabilities. It does not publish private contest artifacts, active future-competition training, or competition-specific tactics.

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

From a source checkout:

python -m pip install .

After the first PyPI release is explicitly approved and published:

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

The command-line entry point is:

mmkit --help

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/RELEASE_SCOPE_V0.1.md — exact first-release publication boundary;
  • docs/RELEASE_CHECKLIST_V0.1.md — release gate and remaining external actions.

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;
  • migration_sources/ — frozen historical migration evidence; not product code and not part of public distribution archives.

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.

License

MIT

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

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.0a1
File Size Uploaded
math_modeling_competition_kit-0.1.0a1.tar.gz 45.9 kB Details

Built distribution (wheel)

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

Total release size: 89.3 kB

Release files / math_modeling_competition_kit-0.1.0a1.tar.gz

Download URL math_modeling_competition_kit-0.1.0a1.tar.gz
Size 45.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ffa72024d3ad29b99a40d4cefa6963238e181046d3cc7f9afa1b251d4308728e
BLAKE2b-256 checksum
How to use checksums
deaaeeff12d71c96b0e7ed3bea8ac7de4f47a3011a6def030a8acad096f9fbbc
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.0a1-py3-none-any.whl

Download URL math_modeling_competition_kit-0.1.0a1-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a6bf391bbe477b7ef4395ae5f7c54a9bef3e732f1c49b3786ff5d8a04f8cebd
BLAKE2b-256 checksum
How to use checksums
d4290096fc2dc4cb0cab04bb76a6c1ae698dc986769832bb92f88fd5b080512c
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.0a1 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