← Back to Leaderboard
Nnanogenomic

nanogenomic/NERFAudit

Local Python auditing and guardrails for coding-agent regressions

View on GitHub ↗
AI BenchmarkQuickstart ↓
Engineering Health (Methodology)
A · 77/100
Maintenance Activity
● Updated today
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption11/25
Release Cadence11/20
License Clarity20/20
CLILocal AI
Total Stars
★ 62
24h Growth
+45
7d Growth
+62
Forks
5

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

nanogenomic/NERFAudit Star History (2026-12-01 - 2026-12-04) DAILY STAR HISTORY (4-DAY D1 TELEMETRY) +61 in 3d · avg +20/day 66 33 0 2026-12-01: ★ 12026-12-02: ★ 32026-12-03: ★ 622026-12-04: ★ 62 ★ 62 12-01 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

NERFAudit is a local Python toolkit with two paths. The retrospective path ingests harness-specific transcripts, normalizes them into turn records, and applies a common set of detectors to the available evidence: tool calls, code diffs, shell exit codes, routing metadata, and billing snapshots. It emits summary.json, monthly_usage_normalized.csv, and turns.jsonl.gz; plot and report render the results separately from collection.

The code-checking path can run against Git history, HEAD, staged changes, or individual files without transcripts. Its deterministic guard uses the Python standard library and .nerfaudit-rules.json; the repository requirements also list pandas, NumPy, matplotlib, and pytest. Integration surfaces are CLI commands, Git and Claude Code hooks, portable agent skills, and action.yml. Nothing in those interfaces requires an MCP server.

Key Capabilities & Differentiators

Documented transcript inputs cover Claude Code, Codex, Gemini/Antigravity, Pi, Hermes, Grok sessions, and Grok Bot exports or desktop caches. The 22 detectors cover both behavior visible in transcripts, such as completion reports at odds with tool results, and code signals, such as unwired parameters or weakened tests. watch-redirect records requested-versus-served model mismatches from supplied identifiers; it does not independently identify the backend model. Grok Bot inputs without tool calls yield a warning and provide weaker evidence.

The v1 smoke suite has eight single-turn workspaces; v2 has six stateful workflows totaling 38 turns. Both offer deterministic grading, with clean and project-context modes. For production telemetry, the reference corpus spans 268,979 canonical turns and 45,039 code-writing turns. blind-pack and calibrate provide a separate workflow for reviewing and estimating detector prevalence rather than treating every flag as a confirmed incident.

Trade-offs & Limitations

Compared with a linter or a standalone mutation tester, NERFAudit adds context from agent sessions, tool outcomes, routing, and billing. It does not replace type checking, broad mutation coverage, or normal CI. Raw pattern matches are leads, not verdicts: defensive exception handling, helper-wrapped assertions, and shell fallbacks can all trigger benign hits. Missing fields limit what each adapter can prove, and Git diffs alone do not establish agent authorship or intent.

The production dataset is observational: workloads, session lengths, and harness guardrails differ across arms. Logged token totals include extensive cache replay and should not be read as novel generation. Use reviewed incidents and raw rates alongside the composite indices, and use matched controlled tasks for provider comparisons. The controlled suite gives tighter comparisons on selected tasks, not a general model ranking.

Hardware & Deployment Guide

Run the CLI with Python from a local checkout or install it from GitHub; Git is needed for repository scans and hooks. examples/quickstart_demo.py exercises the workflow without transcripts, and report generates a self-contained HTML scorecard with no CDN dependency. The guard itself needs no GPU or model API. Large runs should be sized for transcript volume, Git history, and output retention; mutation probes additionally run the test command you supply.

The package manifest identifies version 1.2.0, while no GitHub release is listed. That version adds three 0–100 composite indices while retaining the raw rates. Pilot code checks before enabling block-mode hooks or CI failures. For automated deployments, pin a reviewed revision rather than installing from a moving branch. Keep raw logs and blind-grading keys private, and review any export even after it passes the privacy gate.

Session ingestion: audit accepts selected local harnesses; Hermes input can be a root directory or a direct .db file.
Telemetry: summary.json separates main-thread and subagent activity; a separate Codex ledger tracks account-level credit drawdown.
Code guardrails: Python AST and staged-diff checks flag unwired parameters, stubbed implementations, weakened tests, and swallowed errors.
Runtime probes: Targeted single-function mutation checks whether a chosen test detects a change without editing the original file; changed-line coverage uses sys.settrace.
Controlled benchmarks: Eight single-turn workspaces in v1 and six stateful workflows spanning 38 turns in v2, with deterministic graders.
Calibration and sharing: blind-pack separates client metadata from review packets, calibrate estimates prevalence with Wilson intervals, and privacy-check gates exports.
Best For

Engineering teams auditing coding-agent incidents from local logs and Git, or piloting deterministic checks for weakened tests and unwired code.

Skip If

You need a turnkey fleet dashboard, uniform live enforcement across all supported harnesses, or a provider ranking that generalizes beyond matched workloads.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLILocal AI
# Option A: One-line isolated CLI install (Linux / macOS, no sudo)
curl -fsSL https://nerfaudit.com/install.sh | bash

# Option B: Direct from GitHub via pip or uvx
pip install git+https://github.com/nanogenomic/NERFAudit.git

# Option C: Clone locally to run tests & fork-submit results
git clone https://github.com/nanogenomic/NERFAudit.git
cd NERFAudit
pip install -e ".[dev]"

# Verify all unmocked unit & end-to-end tests pass
pytest -v tests/

# Run the 1-second synthetic demo (no local transcripts required)
python3 examples/quickstart_demo.py

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/nanogenomic/NERFAudit.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

nanogenomic/NERFAudit Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about NERFAudit

Where does NERFAudit fit into an existing coding-agent workflow?

Use scan-head or scan-staged for Python code and test checks without collecting transcripts. Use audit when you need agent-session or routing evidence. For live enforcement, the documented integrations are Claude Code PostToolUse/Stop hooks, a chained Git pre-commit hook, and a reusable GitHub Action. Broad transcript support does not imply live hooks for every harness.

Does local auditing need a GPU, and what drives runtime?

The deterministic guard uses the Python standard library and no additional model calls, so it has no GPU or VRAM requirement. Audit sizing depends on log volume and Git history; mutation-probe cost depends on the selected test command. Budget separately for any model or API used to run the controlled benchmark.

Can a commercial team run it privately and share only aggregates?

The toolkit is MIT-licensed and can run internally without submitting results to the community observatory. Export and blocklist checks help catch disclosure risks, but do not establish that an artifact is safe to publish. Review exports and apply your own retention and sharing policy to transcripts, derived artifacts, and blind-grading keys.

Should it replace our linter, mutation tester, or CI test suite?

Keep the existing tools. Linters catch code-level patterns, and mutation tools measure whether tests detect behavior changes. NERFAudit adds agent-specific evidence: tool-call outcomes, requested-versus-served model records when available, and a review workflow for calibrating detector results. Use it alongside, not instead of, those checks.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining nanogenomic/NERFAudit? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature nanogenomic/NERFAudit on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare