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.2

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.2.tar.gz (336.8 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.2-py3-none-any.whl (461.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quodeq-0.6.2.tar.gz
  • Upload date:
  • Size: 336.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quodeq-0.6.2.tar.gz
Algorithm Hash digest
SHA256 0940d6b62b7329c156b13070a16b1c9d97e113c90e870053225b92af3566b06d
MD5 e63b5ecb1d4db4d1e158eb190f28e3c9
BLAKE2b-256 283966a8084c486ab80b77fd8d0c9a1cb410920265cadafe03de7a2238809244

See more details on using hashes here.

Provenance

The following attestation bundles were made for quodeq-0.6.2.tar.gz:

Publisher: publish.yml on quodeq/quodeq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: quodeq-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 461.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quodeq-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7090b641821ad47d4a8d18ff75fb32a4c189914d5ac05bba0a9d6e2b8f00ad47
MD5 788e6e6a03084afc9262a899a7e1d055
BLAKE2b-256 517f0bb3c6ef8eabc1327c7beb858efd58bbe25a48c405e0c55f15014129f8d6

See more details on using hashes here.

Provenance

The following attestation bundles were made for quodeq-0.6.2-py3-none-any.whl:

Publisher: publish.yml on quodeq/quodeq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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