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.7.0.tar.gz (355.2 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.7.0-py3-none-any.whl (486.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quodeq-0.7.0.tar.gz
Algorithm Hash digest
SHA256 ef8177f62c8fa6b4224108bed44ce74050ae25c3544916b45014465fe87cfaf2
MD5 04531f7a99561453fd19319c788a7d2e
BLAKE2b-256 a596db520cb9bd360f98e2b4c5f018162bae512f3ea1abcd4d7fc0139b110a8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for quodeq-0.7.0.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.7.0-py3-none-any.whl.

File metadata

  • Download URL: quodeq-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 486.3 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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c90a00b71e3d2a1db0ebeba37b3a2b1167750115fbd518d10a6bae609eccaa1e
MD5 fd3b564c712264cc08eec25faa2f30aa
BLAKE2b-256 d6f468f3ea51014b4c6b9eca1fd5e45dd0f3a021d4d15de8d0df1284c2b57d5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for quodeq-0.7.0-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