New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@grayhaven/nerve-eval

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grayhaven/nerve-eval

Provenance-aware evaluation and review-report primitives for Grayhaven Nerve.

latest
Source
npmnpm
Version
8.0.0
Version published
Weekly downloads
5
-58.33%
Maintainers
1
Weekly downloads
 
Created
Source

@grayhaven/nerve-eval

Provenance-aware evaluation and review-report primitives for Grayhaven Nerve. decodeEvalManifest validates an untrusted corpus manifest before any fixture module is executed, evaluateCase scores rule diagnostics against a case's expected and forbidden findings, and createCorpusReport summarizes results by provenance. Every case declares where it came from (synthetic, datasheet-derived, or field-verified); field-verified cases must name a reviewer role and date, and findings a case did not assert are surfaced for adjudication rather than labeled false positives.

npm install @grayhaven/nerve-eval
import { createCorpusReport, decodeEvalManifest, evaluateCase } from "@grayhaven/nerve-eval"

const manifest = decodeEvalManifest(JSON.parse(manifestJson))
const results = manifest.cases.map((evalCase) =>
  // diagnostics come from compileDesign + runRules on the case fixture
  evaluateCase(evalCase, diagnosticsFor(evalCase))
)
const report = createCorpusReport(results)

report.summary // total, passed, failed, and counts by provenance kind

createReviewReport packages a compiled harness and its diagnostics into a deterministic review report that records the engine, rule set, and an explicit disclaimer. See the docs for the manifest schema and report formats.

Part of Grayhaven Nerve — harnesses as code. Live demo + docs · llms.txt · Apache-2.0

FAQs

Package last updated on 28 Aug 2026

Related posts