report

package
v0.209.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package report turns the telemetry-only ledger into per-task quality stats (no model calls). It is the observational complement to package eval's labeled gold-set metrics — it reports raw production signals, not AURC/AUDC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SortedTasks

func SortedTasks(m map[string]TaskStat) []string

SortedTasks returns stable task keys.

func Summarize

func Summarize(entries []ledger.Entry, marginThreshold float64) map[string]TaskStat

Summarize aggregates ledger entries per task. marginThreshold flags the "barely confident" accept band (the Phase-5 two-pass target). Cache hits are skipped (they carry no fresh model signal).

Types

type TaskStat

type TaskStat struct {
	Task               string  `json:"task"`
	N                  int     `json:"n"`
	Deferred           int     `json:"deferred"`
	EscalationResolved int     `json:"escalation_resolved"` // a larger tier produced an accepted answer
	ReasoningReclaimed int     `json:"reasoning_reclaimed"` // completed via the terminal reasoning tier
	LabeledGrounded    int     `json:"labeled_grounded"`
	Grounded           int     `json:"grounded"`
	LowMarginAccepts   int     `json:"low_margin_accepts"` // accepted but margin in (0, threshold)
	DeferRate          float64 `json:"defer_rate"`
	GroundedRate       float64 `json:"grounded_rate"`
	TokensOut          int     `json:"tokens_out"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL