惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
博客园_首页
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
小众软件
小众软件
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
有赞技术团队
有赞技术团队
WordPress大学
WordPress大学
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
IT之家
IT之家
量子位
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Announcements
Recent Announcements
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
The GitHub Blog
The GitHub Blog

Show HN

GitHub - astefanutti/shaderbang: Shebang for Shaders Show HN: Generate Claude Code Workflows using Spec Driven Development approach Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal).
GitHub - tc7kxsszs5-cloud/avera
kiku79 · 2026-06-19 · via Show HN

A deterministic regression gate for code changes. Green CI proves nothing failed — AVERA proves nothing regressed.

Live Demo License Python

AVERA compares a baseline test run against the current one and blocks a release only when there is proof of an introduced regression — a test that passed before and fails now — with a tamper-evident evidence trail behind the verdict. Local-first, deterministic, no LLM in the decision.


30-second try (zero config)

Install from source (AVERA is not yet on PyPI), then point it at two JUnit files — verdict + gate out, no project setup, no requirements file:

git clone https://github.com/tc7kxsszs5-cloud/avera && cd avera
pip install -e .

avera check --baseline main.xml --current pr.xml
#
# AVERA Check
# Verdict:  confirmed_regression
# Introduced failures (1): pkg.tests.test_thing
# Gate [general.v1]: block         (exit 1 — fails the CI step)

Works with anything that emits JUnit / xUnit XML (pytest, jest, go test, JUnit, …). Add --json for machines; the exit code drops into any pipeline.


Does it actually work? Reproduce it yourself.

AVERA ships a public blind-replay benchmark of real regressions. AVERA is given only the before/after test results — no hint where the bug is — and must catch it.

AVERA_PY=python3 ./benchmark/reproduce.sh
# PASS  toolz-f0831e7  -> confirmed_regression / block

That case is commit f0831e7 in the real pytoolz/toolz library (later reverted in PR #551). Given only the two result sets, AVERA independently identified the introduced failure (test_isiterable, pass→fail), ruled confirmed_regression, and returned gate=block under every domain policy. See benchmark/ — and add your own case.


The problem it closes

A passing CI run only proves no expressed test failed — not that nothing regressed. When prod breaks after a green merge, there is no machine-checkable record of what regressed or why the merge was allowed; teams reconstruct it by hand after an incident.

With AI agents now generating PRs faster than anyone can review them, "the suite was green" and "that test is just flaky" are exactly how genuine pass→fail regressions slip through. AVERA gives the reviewer a deterministic separator — proven introduced regression vs everything else — and a tamper-evident trail behind every gate decision.


What AVERA does not do

Stated plainly, because overclaiming is the failure mode this project avoids:

  • It does not catch a regression that no test exercises — that needs fault-injection / mutation analysis, not the gate.
  • It does not decide flaky vs real — that stays a human call.
  • It does not decide your release — it produces auditable evidence; a human signs off. No LLM in the decision path.
  • It is not a certified/qualified tool. Its output is designed to be independently re-checkable by a human (inspectable manifest, hash-chained audit, re-derivable integrity root).

Supported domains & standards

The same deterministic engine, calibrated per domain via policy-as-data. Verdict assignment is a proven-total decision table.

Domain Standard Status
Software / CI / DevOps plain pass/fail CI, AI-PR triage
Automotive (ADAS, BMS) ISO 26262
Aviation (avionics) DO-178C
Railway (signaling, control) CENELEC EN 50128
Medical devices IEC 62304 / ISO 14971
Space / flight software NASA NPR 7150.2 / NASA-STD-8739.8

Pick a policy with --policy <name> (general, automotive, aviation, railway, medical, space, ai_agent).


Core capabilities

  • Zero-config checkavera check (two JUnit files → verdict + gate), for plain pass/fail CI.
  • Regression triage — baseline vs current comparison; fail-closed classification (unknown status → treated as failure, never hidden).
  • Deterministic gate — policy-as-data per domain; same inputs → same verdict → same evidence root, on any machine.
  • Evidence manifest — content-addressed integrity_root binding the whole artifact set.
  • Immutable audit log — SHA-256 hash-chained, with an optional keyed (HMAC) tamper-evident mode.
  • Sign-off — bound to the manifest root; fails closed if verification is skipped.
  • Requirement coverage proof — traceable from change → test → requirement (regulated domains).
  • REST API & GitHub Action — for CI/CD integration (see below).

Architecture

src/avera/
├── adapters/   — artifact format adapters (JUnit, CSV, simulation, logs, CANoe)
├── compare/    — baseline vs current comparison (fail-closed status taxonomy)
├── classify/   — regression classification + proven-total verdict spec
├── gates/      — deterministic gate, policy-as-data (policies/*.json)
├── evidence/   — content-addressed evidence manifest (integrity_root)
├── audit/      — hash-chained SHA-256 audit log (optional keyed HMAC)
├── signoff/    — sign-off state machine bound to the manifest root
├── domains/    — per-domain profiles (avionics, powertrain, space, …)
├── mutation/   — fault-injection / mutation-based confidence lens
└── api/        — FastAPI REST endpoint

benchmark/      — public blind-replay regression benchmark (reproduce.sh)
fixtures/       — reference scenarios across domains
docs/           — verdict spec, hardening report, dev principles, GTM
tests/          — unit + cross-domain fixtures + exhaustive verdict-spec proof

Quick start (full evidence pack)

git clone https://github.com/tc7kxsszs5-cloud/avera
cd avera
pip install -e ".[demo]"

# Run the live demo shell
./start_demo.sh                      # → http://localhost:8501

# Or analyze a full evidence pack
avera analyze --project fixtures/bms-fast-charge --out reports

Or try the hosted demo preview — no install: 👉 https://avera-production.up.railway.app (Read-only preview of the Streamlit shell — not full self-service.)


GitHub Action

AVERA ships as a reusable GitHub Action, in two modes.

Zero-config — gate plain pass/fail CI with two JUnit files, no evidence pack:

# .github/workflows/avera-verify.yml
name: AVERA
on: [pull_request]

jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - uses: tc7kxsszs5-cloud/avera@v1
        with:
          baseline: main-junit.xml   # known-good results (e.g. from main)
          current: pr-junit.xml      # this PR's results
          policy: general            # or space / automotive / aviation / …
      # The job fails when the gate blocks (a confirmed regression).

Full evidence pack — the canonical artifact set for regulated review:

      - uses: actions/checkout@v4
      - uses: tc7kxsszs5-cloud/avera@v1
        with:
          project_path: evidence/my-change
          fail_on_release_blocking: 'true'

Inputs: project_path (required), output_path, policy, fail_on_release_blocking, fail_on_regression, expected_verdict. Outputs: verdict, risk, confidence, gate_status, report_path, manifest_path, integrity_root, audit_log_path.

Examples: examples/github-action-usage.yml, examples/github-action-minimal.yml.


REST API

Served with uvicorn avera_api.main:app.

uvicorn avera_api.main:app --host 0.0.0.0 --port 8000

# Full canonical artifact set + deterministic gate status + integrity_root
curl -X POST http://localhost:8000/evidence-pack \
  -H "Content-Type: application/json" \
  -d '{"project": "fixtures/bms-fast-charge", "policy": "automotive"}'

/evidence-pack returns verdict, risk, confidence, the deterministic gate_status, the evidence-manifest integrity_root, a decision summary, and the on-disk paths of every canonical artifact.


Docker

docker pull ghcr.io/tc7kxsszs5-cloud/avera-cli:latest
docker run --rm \
  -v "$PWD/fixtures/bms-fast-charge:/workspace" \
  -v "$PWD/reports:/reports" \
  ghcr.io/tc7kxsszs5-cloud/avera-cli:latest \
  analyze --project /workspace --out /reports --memory /reports/avera-memory.jsonl

Multi-arch (linux/amd64, linux/arm64). Pinned tags: latest, vX.Y.Z, sha-<short>.


Design partner program

Looking for engineering teams — running ordinary CI, or in automotive, aviation, railway, medical, or space — who want a narrow pilot with their own artifacts.

The pilot is simple: one software change · one artifact family you already export · one 2-week review session. No infrastructure changes, no process disruption.

📩 Contact: mgaloyan79@gmail.com · 🔗 Demo: avera-production.up.railway.app


License

Apache 2.0 — see LICENSE


AVERA Engineering — engineering truth, preserved as evidence.