Skip to main content

AI Code Quality Auditor — the Referee Tool

CI PyPI License: MIT Live dashboard

An empirical Safety Harness for agentic AI coding systems. Quantifies where AI-assisted development fails at governance, security, and ethical alignment — before the code reaches production.

🟢 Try it in 30 seconds:

pipx install ai-code-quality-auditor
auditor --help

🚀 Or wire it into your CI in 6 lines (.github/workflows/auditor.yml):

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: dominicrume/NEW-enterprise-ai-code-quality-auditor@main
        with:
          run-id: ${{ github.run_id }}
          conditions: claude_code,cursor_agent

📊 Live dashboard: https://auditor-dashboard-rume.fly.dev/report/main_001_plus_human

This is the experimental instrument for the MSc dissertation "AI-Assisted Coding Assessment Tool: Evaluating LLM Performance, Governance, and Security in an Agent Education System" (Aston University, MSc AI & Business Strategy). The same instrument is the working prototype for the PhD extension at the Aston-Capgemini Centre of Excellence for Enterprise AI.


What it does

Given a fixed specification (the "spec box"), the Auditor:

  1. Runs five experimental conditions against the same task (human control, visualisation→Claude→Replit, Cursor IDE, autonomous agent).
  2. Captures every output and every interaction event.
  3. Scores each result on five empirical metrics: security vulnerability density, cyclomatic complexity, code duplication, hallucination frequency (features outside spec), and keystroke dynamics (correction frequency).
  4. Emits CSV/JSON reports for statistical comparison.

Quick start

cp .env.example .env
pip install -e .
auditor run --spec specs/agent_education_system.yaml --workflow human_control
auditor report --out data/reports/

Read in this order

  1. docs/ARCHITECTURE.md — how the pieces fit
  2. docs/METHODOLOGY.md — how an experiment is run
  3. docs/METRICS.md — what each metric means and how it's computed
  4. docs/ETHICS.md — GDPR, synthetic data, academic integrity
  5. docs/DISSERTATION_LINKAGE.md — which folder serves which proposal section
  6. docs/ROADMAP.md — the PhD extension (API security + enterprise risk)

Principles

  • One analyzer per metric. One adapter per AI workflow. Single responsibility.
  • The spec is data, not code — externalised in specs/ for reproducibility.
  • Synthetic data only. No PII, no proprietary corporate records, ever.
  • Every analyzer has a test. Green tests = trustable experiment.

Download files

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

Source Distribution

ai_code_quality_auditor-0.3.0.tar.gz (72.7 kB view details)

Uploaded Source

Built Distribution

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

ai_code_quality_auditor-0.3.0-py3-none-any.whl (75.4 kB view details)

Uploaded Python 3

File details

Details for the file ai_code_quality_auditor-0.3.0.tar.gz.

File metadata

  • Download URL: ai_code_quality_auditor-0.3.0.tar.gz
  • Upload date:
  • Size: 72.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for ai_code_quality_auditor-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1b6d1342feb7c86db73d939e27d5a83452bfc7fa573a4174b66446aa6d7ed15a
MD5 65b2001ca45988e1640cfa70a9f3c9c9
BLAKE2b-256 a8ea788512ef18ed6e8f49d073eae980a52fa3b679a64a22586b981034447a8e

See more details on using hashes here.

File details

Details for the file ai_code_quality_auditor-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_code_quality_auditor-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad65a79afaf67695eb358b7ad821d25ef8846b613a542ccb3c30bc22c9460016
MD5 d86cb700c807f97098828f7c3c97256f
BLAKE2b-256 4401514cb6c276e7da89abc4c0df2e03f796ce3172dba8b8fd6bfded24493244

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.0

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

2 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