Skip to main content

PUMA Logo

PUMA

Local LLM benchmarking platform for ICT Project Management tasks. Reproducible by design, sustainability-aware, fully open-source.

Lint and test Docs CI Documentation Python 3.11+ License: MIT Runs on Docker
CodeCarbon Ollama Latest release
PUMA Community

PUMA Platform
Wiki · Contribute · Issues PUMA · PUMA Community · PUMA Vault

PUMA Info
Youtube · PUMA Wiki · PUMA Community Wiki · NotebookLM · Drive (info)

PUMA Contact
Reddit · Discord · GitHub Discussions · Twitter/X ·


Following empirical evidence, ICT project management faces triage, estimation, and learning inefficiencies.
Observed widely, these persist despite abundant historical data.
Laying a rigorous foundation requires reproducible benchmarking.
Leveraging labeled datasets enables systematic evaluation of LLM performance.
Outcomes are compared using quantitative metrics and statistical analysis.
With an incremental design, a minimal viable benchmark is defined.
Through open-source release, results become reproducible and verifiable.
Hence, the framework supports extensibility across models and tasks.
Eventually, it enables integration into real organizational settings.

Within ICT environments, recurring inefficiencies hinder effective decision-making.
Heterogeneous data sources complicate prioritization and estimation processes.
In response, this work builds a reproducible LLM-based benchmark.
The focus is on issue triage and story-point estimation tasks.
Evaluation follows controlled experiments with statistical validation.
Protocols ensure reproducibility through fixed parameters and configurations.
Using carbon tracking, the framework measures energy impact.
Moreover, the MVP delivers a valid and original contribution.
All artefacts are released as open source for replication and extension.

PUMA Community
HF Organization · HF Submissions · HF Leaderboard · Zenodo · Kaggle · Zotero

PUMA Code
PUMA Project · PUMA Community · PUMA Vault


Overview

PUMA is a local-first benchmarking platform for open-weight language models on ICT Project Management tasks. PUMA runs entirely on your hardware via Ollama; it never calls an external inference API and never needs an account or token to evaluate a model. The platform exercises two production scenarios end to end — issue triage (multi-class classification on the Jira Social Repository dataset) and effort estimation (story-point regression on the TAWOS dataset) — plus an experimental backlog-prioritisation scenario. Every run reports both quality metrics (F1-macro, accuracy, MAE, MdAE, calibration / ECE, confusion matrix) and a full sustainability footprint (CO2 grams, energy kWh, tracking mode) via CodeCarbon. Results are persisted to a local SQLite database with a bi-temporal schema so historical runs are reproducible bit-exact. Users who want to share their evaluations can publish to the companion data hub at pumacp/puma-community with a single CLI command.

Features

  • Local-first execution via Ollama. CPU-only and GPU configurations supported on Linux; native Apple Silicon support on macOS.
  • Two production scenarios: triage_jira (issue classification) and effort_tawos (story-point estimation), plus experimental prioritization_jira.
  • Multi-strategy prompting: zero-shot, zero-shot-CoT, few-shot (k=3 / k=5 / k=8), CoT few-shot, RCOIF, contextual anchoring, EGI, self-consistency.
  • Multi-dimensional metrics: F1-macro, accuracy, MAE, MdAE, ECE, per-class breakdown, confusion matrix, Wilcoxon signed-rank pairwise tests.
  • Sustainability tracking via CodeCarbon with chip-aware tracking modes on Apple Silicon and Linux.
  • 15 hardware profiles spanning CPU-only, GPU-equipped, and Apple Silicon M3 / M4 / M5 generations; 17 supported model tags in the catalog.
  • Streamlit dashboard for browsing runs, comparing models, exploring metrics, and publishing results to PUMA Community.
  • Reproducible by design: deterministic seed, temperature 0.0, Ollama logprobs API for calibration, predictions-hash integrity check.

Quick start

git clone https://github.com/pumacp/puma.git
cd puma
docker compose up -d

Run a benchmark:

docker compose run --rm puma_runner puma run \
  --scenario triage_jira \
  --model qwen2.5:3b \
  --strategy zero_shot \
  --instances 50

Open the dashboard:

docker compose run --rm -p 8501:8501 puma_runner \
  streamlit run src/puma/dashboard/app.py
# Then open http://localhost:8501

Manual install (advanced)

git clone https://github.com/pumacp/puma.git
cd puma
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
# Install Ollama separately: https://ollama.com/download
puma --help

Released packages (available with the v4.0.0 release)

⚠️ Recommended path: git clone + docker compose (builds the image locally and works without external dependencies). The published packages currently have known issues pending resolution: the PyPI wheel (pip install puma-cp) does not package a required configuration file, and the docker pull ghcr.io/... image is not available in the registry. See known_debt.md.

pip install puma-cp                          # from PyPI
docker pull ghcr.io/pumacp/puma:latest       # from GitHub Container Registry

Share your results with the community (optional)

puma auth login github                       # store a Personal Access Token (one-off)
puma share-results --dry-run --run-id <id>   # preview the payload as a local JSON file
puma share-results --run-id <id>             # fork, branch, commit, and open the PR

The tool builds the payload from your local SQLite results, scans for personal data, signs the integrity hash, and opens the Pull Request on your behalf against pumacp/puma-community.

The first official community submission is documented end to end in the first-submission write-up.

CLI overview

The puma entry point exposes a Typer-based hierarchy of commands. The most useful top-level commands:

  • puma preflight — detect hardware capabilities and select an execution profile.
  • puma models — read-only sub-group inspecting the models Ollama already has locally (list / show <name> / recommended). Pulling is delegated to ollama pull <tag> (or docker compose exec puma_ollama ollama pull <tag> in the Compose flow).
  • puma run — execute a benchmark for a given scenario / model / strategy.
  • puma compare — compare two runs side by side.
  • puma validate-baseline — verify reproducibility against a published baseline.
  • puma list-runs — show the runs stored in the local SQLite database.
  • puma prepare-datasets — fetch and pre-process the supported datasets.
  • puma wilcoxon — Wilcoxon signed-rank pairwise comparison.
  • puma bias-analysis — gendered-prefix robustness sweep.
  • puma generate-plots — render result plots (Sustainability Frontier, reliability diagrams, etc.).
  • puma db — inspect or migrate the local results database (migrate, downgrade, history, status).
  • puma auth — manage credentials for community publishing (login, status, logout).
  • puma share-results — publish a run to PUMA Community.
  • puma dashboard — launch the Streamlit dashboard.

Architecture

The platform is organised in layered modules under src/puma/:

  • Orchestrator schedules instances against the model under test, applies the chosen prompting strategy, and records per-prediction latency.
  • Inference cache keeps runs deterministic by caching (prompt, seed, model) results when the user explicitly opts in.
  • Scenarios are pluggable task modules — triage, effort, prioritization — each owning its prompt templates and label space.
  • Metrics engine computes performance, calibration, sustainability, and pairwise-test metrics on top of the stored predictions.
  • Storage is a SQLite database with a bi-temporal schema (runs, instances, predictions, metrics, emissions, profile_snapshots) managed by SQLAlchemy + Alembic.
  • Dashboard is a Streamlit app with eight views (Overview, Model Comparison, Reliability, Robustness, Fairness, Sustainability Frontier, Instance Drill-down, and PUMA Community).
  • Community integration composes the data-layer modules with a credential store, a local rate limiter, and a narrow PyGithub wrapper to open Pull Requests against pumacp/puma-community.

Repository structure

puma/
├── .github/workflows/    # CI: lint-and-test, smoke, release
├── alembic/              # Database migrations
├── assets/img/           # Logo and visual assets
├── config/               # Hardware profiles and model catalog
├── data/                 # SQLite database and cache (gitignored)
├── docs/                 # Internal documentation
├── scripts/              # Helper scripts
├── src/puma/             # Python source
│   ├── cli.py            # Top-level CLI entry point
│   ├── community/        # PUMA Community submission flow
│   ├── dashboard/        # Streamlit dashboard and views
│   ├── orchestrator/     # Run scheduling and run-spec parsing
│   ├── scenarios/        # Task modules (triage, effort, prioritization)
│   ├── metrics/          # Metric computation
│   ├── sustainability/   # CodeCarbon integration
│   ├── preflight/        # Hardware detection and profile selection
│   └── storage/          # SQLite ORM (SQLAlchemy + Alembic)
├── tests/                # pytest suite (unit, integration, smoke, community)
├── CODE_OF_CONDUCT.md    # Contributor Covenant v2.1
├── CONTRIBUTING.md       # Development guide
├── docker-compose.yml    # Docker stack definition
├── Dockerfile            # Runner image
├── LICENSE               # MIT
├── pyproject.toml        # Package metadata and dependencies
└── README.md             # This file

Documentation

Project resources

Code repositories

Documentation sites (GitHub Pages)

Hugging Face Hub

Persistent archives & DOIs

Community catalogs

Conversation & community

Knowledge management & research

Planned channels (post-Sprint-12 activation)

  • Mastodon — @pumacp@fosstodon.org (account creation pending)
  • Bluesky — @pumacp.bsky.social (account creation pending)
  • Telegram — deferred pending phone-number policy decision
  • PUMA Community — companion data repository for community submissions, with auto-validation and outward mirrors to Hugging Face, Zenodo, and Kaggle.
  • Ollama — local LLM runtime that PUMA delegates to for all model execution.
  • CodeCarbon — sustainability tracking library PUMA uses for energy and emissions reporting.
  • Datasets used — Jira Social Repository (Zenodo DOI 5901893) and TAWOS.

Citation

If you use PUMA in your work, please cite the repository:

@software{puma_project,
  author  = {{PUMA Project contributors}},
  title   = {PUMA: PUMA Understanding & Management w Agents},
  url     = {https://github.com/pumacp/puma},
  version = {2.7.0},
  year    = {2026}
}

Update version to match the tag you used.

License

PUMA is released under the MIT License. See LICENSE for the full text. Third-party dependencies retain their own licenses; the canonical list lives in pyproject.toml.

Code of Conduct

This project follows the Contributor Covenant v2.1. Conduct concerns can be reported privately to pumacapstoneproject@gmail.com.

Metadata

Release files for puma-cp 4.0.1

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

Source distribution (sdist)

Source distribution for puma-cp 4.0.1
File Size Uploaded Provenance Actions
puma_cp-4.0.1.tar.gz 197.2 kB Without provenance Details for puma_cp-4.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for puma-cp 4.0.1
File Interpreter ABI Platform Actions
puma_cp-4.0.1-py3-none-any.whl Python 3 none any Details for puma_cp-4.0.1-py3-none-any.whl

Total release size: 437.7 kB

Release files / puma_cp-4.0.1.tar.gz

Download URL puma_cp-4.0.1.tar.gz
Size 197.2 kB
Tags Source
SHA-256 checksum
How to use checksums
98ff23adcaa000c2d4090cf7c6306650d2754822b488f902d21de1fec7ecb78d
BLAKE2b-256 checksum
How to use checksums
fa25441fd02b2730590a005b6297e38182640621850eeb4a10206f0a7b05a962
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / puma_cp-4.0.1-py3-none-any.whl

Download URL puma_cp-4.0.1-py3-none-any.whl
Size 240.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b986c51dcfce3cd0e0378b154f82641b922d98a918481b6f4c3e4277d16c5345
BLAKE2b-256 checksum
How to use checksums
fe70ac80b2b9b16757559f07d7b6e2f785b2c60e29ff13a68305883971ef2070
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for puma-cp 4.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.0.1 This release

2 release files No provenance

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