Metadata-Version: 2.4
Name: ai-eng-audit
Version: 0.1.0
Summary: Local CLI plotting AI spend against engineering throughput
Author-email: 0error-ob <22552513+0error-ob@users.noreply.github.com>
License: MIT License
        
        Copyright (c) 2026 AI Eng Audit Contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/0error-ob/ai-eng-audit
Project-URL: Repository, https://github.com/0error-ob/ai-eng-audit
Project-URL: Issues, https://github.com/0error-ob/ai-eng-audit/issues
Project-URL: Documentation, https://github.com/0error-ob/ai-eng-audit/blob/main/docs/methodology.en.md
Keywords: engineering-effectiveness,ai-spend,github,metrics,audit,dora
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# AI Eng Audit

Plot AI tool spend against engineering throughput on a shared chart. Local, open-source, one command.

## What it is

Over the last year a lot of teams burned real money on Claude, Cursor, Copilot, and the rest. The invoices are clear; the output is not.

The current version reads your local git history and PR data and produces a report on the shape of engineering output:

- PRs merged to the default branch and the L1 ship rate
- PRs that were opened and then closed, merged and then reverted, or sitting open for too long
- commit distribution on the default branch over time

The next version pairs this with the monthly billing CSV exported from your AI vendor, putting spend and shipped output on the same timeline.

## How to use it

```bash
export GITHUB_TOKEN=ghp_xxxxx
pip install ai-eng-audit
ai-eng-audit scan --repo /path/to/your/repo --window 90d
```

Python 3.11+. Generate a `GITHUB_TOKEN` PAT at https://github.com/settings/tokens with `repo` scope.

Add `--format json` for JSON output. Per-metric definitions are in [docs/methodology.en.md](docs/methodology.en.md).
