Skip to main content

Source code quality evaluation platform powered by AI

Project description

Quodeq

The quality code compass

Your guide to drive any codebase to excellence.

v0.6.1

Quodeq scans any codebase with AI and scores it across six quality dimensions — Security, Reliability, Maintainability, Performance, Flexibility, and Usability — based on ISO 25010. Get grades, find violations, fix what matters.


Requirements

Dependency Version
Python 3.12+ Runtime
Node.js 18+ Dashboard UI
npm 9+ Bundled with Node.js
Claude Code latest AI analysis engine

Install

Recommended:

pipx install quodeq

Homebrew:

brew install quodeq/tap/quodeq

pip:

pip install quodeq

Dashboard

The Quodeq Dashboard is the recommended way to use Quodeq. It lets you launch evaluations, browse results, and track quality over time — all from a single web UI.

quodeq dashboard

Opens at http://localhost:4173 with:

  • Overall grade & score — A-F letter grade, numeric score /10, trend across runs
  • Dimension breakdown — individual scores per quality dimension with severity counts
  • Violations explorer — drill into findings by file, principle, or CWE classification
  • Top offending files — ranked list of where to focus remediation
  • Run history — track how your codebase evolves over time

Click any dimension, file, or principle to explore the details.

QuodeqBar (macOS)

On macOS, QuodeqBar lives in your menu bar and manages the dashboard for you — start/stop the server, see evaluation status at a glance, and open the dashboard in one click.

CLI-only usage

You can also run evaluations directly from the terminal without the dashboard:

quodeq evaluate /path/to/project

Run quodeq evaluate --help for all options.


The Q² Scoring Formula

Quodeq scores each principle on a 0–10 scale using four independent constraints:

  1. Violation Base — hyperbolic curve where the first violations hurt most (10 / (1 + K * weighted_violations))
  2. Compliance Lift — evidence of good practices fills the gap between the base and 10
  3. Violation Ceiling — log₂-based cap prevents compliance from overriding significant violations
  4. Severity Grade Floor — grade labels match reality (only critical violations can produce a "Critical" grade)

The final score: max(floor, min(ceiling, base + (10 - base) * lift))

Full details in src/quodeq/core/scoring/README.md.

Supported Languages

Quodeq can evaluate any codebase in any language. The AI analysis engine reads and understands code regardless of the tech stack.

How It Works

  1. Detect — identifies the languages and structure of the codebase
  2. Analyze — spawns an AI CLI with read-only tools to explore the code
  3. Collect — findings stream as structured JSONL via tool calls
  4. Score — maps findings to ISO 25010 principles with CWE classifications
  5. Report — produces per-dimension reports with grades, violations, and compliance

Results are stored in ~/.quodeq/evaluations/ and persist across sessions.

CLI Reference

quodeq evaluate

Flag Default Description
repo (required) Path or URL to the repository
-o, --output ~/.quodeq/evaluations Reports output directory
-d, --dimensions all Comma-separated dimensions to evaluate
--max-turns 200 Max AI conversation turns per dimension
--max-duration 1800 Max seconds per dimension

quodeq dashboard

Flag Default Description
--port 4173 Dashboard server port
--evaluations ~/.quodeq/evaluations Evaluations directory
--open true Open browser automatically

Development

git clone https://github.com/quodeq/quodeq.git && cd quodeq
uv sync
uv run pytest

Changelog

See CHANGELOG.md for release history.

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quodeq-0.6.1.tar.gz (445.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quodeq-0.6.1-py3-none-any.whl (533.5 kB view details)

Uploaded Python 3

File details

Details for the file quodeq-0.6.1.tar.gz.

File metadata

  • Download URL: quodeq-0.6.1.tar.gz
  • Upload date:
  • Size: 445.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for quodeq-0.6.1.tar.gz
Algorithm Hash digest
SHA256 84fde05b25f438fd7f64f2af7d46be478127bd6eac2e927f580bf2d78c748010
MD5 5570c12bb2612319ed558170d13950c6
BLAKE2b-256 174acba405bfa669051cb11094e238ffe347352cdd488e4011bf0e3207906cc1

See more details on using hashes here.

File details

Details for the file quodeq-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: quodeq-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 533.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for quodeq-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4c0a66b62364340e34df16560237681004ccf9c0937af6a41991e0a179723cd
MD5 0ce4178de86062d14eacf7081ddf7d02
BLAKE2b-256 1d004eb7582c0be77c85af439e927c7cef8cc068263e1e14092057cd0832587c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page