跳到正文
cccskills
免费在 GitHub 公开

dag-confidence-scorer

Records and evaluates event-specific probability forecasts for agent outputs. NOT for validation or automatic acceptance.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(8)

  • SKILL.md6.9 KB
  • examples/raw-evaluated.json927 B
  • package.json234 B
  • references/forecast-calibration.md2.9 KB
  • schemas/input.json1.9 KB
  • schemas/output.json6.7 KB
  • scripts/validate-forecast.mjs3.8 KB
  • tests/forecast.test.mjs6.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

DAG confidence scorer

Confidence is meaningful as a forecast about a named event, made before the event resolves. A prose rubric about sources, reasoning, or consistency may support a forecast but is not itself a calibrated probability. Never invent universal accept/review thresholds; downstream policy decides actions using its own authority and risk contract.

1. Define a resolvable forecast

Capture a nonblank forecast ID, artifact ID/digest/version, exact event predicate, evaluator/version, forecast time, resolution deadline, cohort key, and prospective probability in [0,1]. Examples are “this artifact passes verifier V” and “an independent reviewer confirms claim C.” “Is this good?” is not resolvable until operationalized. A resolved evaluation sample additionally records its forecast ID, event ID, original probability, binary outcome, resolution time, and resolution source. This binds a score to a prospective prediction rather than a rewritten aggregate.

If a forecaster declines to estimate, record status=declined and a null probability. It retains the task and artifact identity but carries no fitting or evaluation evidence. An uncalibrated forecast is an unscored record; it does not assert that comparable outcomes do or do not exist elsewhere.

flowchart LR
  O[Output and exact event] --> P{Forecast or decline?}
  P -->|forecast| F[Prospective probability and forecast ID]
  P -->|decline| X[Declined: null probability and no evaluation]
  F --> R[Independent outcome with source and time]
  R --> C[Cohort evaluation]
  C --> S[Proper score and reliability report]
  S --> D[Policy decision with separate authority]

2. Separate evidence, validation, and calibration

Evidence review can identify missing sources, contradictions, or unsupported reasoning. An independent evaluator resolves the stated event. Calibration is an empirical conditional claim: among comparable forecasts near probability p, observed event frequency should be assessed against p, with uncertainty and a held-out time/task split. Model, task family, evaluator, and distribution shift can invalidate a prior fit.

A raw evaluation scores prospective probabilities directly and must not include a fit or calibration map. Its cohort must equal the current forecast’s cohort; mixed-cohort scoring needs a separate per-sample selection contract. A calibrated evaluation must name a fit cohort, model, and map, then evaluate on disjoint forecast IDs. In this compact contract the calibration map is the fitted model: calibrationMap.id must equal fitEvidence.modelId, and their fit-cohort IDs must agree. A calibration-fitted record holds that fit evidence and map but no evaluation. These record states prevent a fitting set from being presented as an independent evaluation.

flowchart TB
  E[Evidence factors and limitations] --> F[Forecast rationale]
  F --> T[Forecast ledger with time and identity]
  T --> R[Resolved sample: ID, outcome, source, time]
  R --> Q{Evaluation mode?}
  Q -->|raw| H[Score direct prospective probabilities]
  Q -->|calibrated| H2[Score disjoint held-out forecasts]
  B[Fit cohort and outcomes] --> M[Named calibration map]
  M -->|fit evidence| H2
  H --> U[Uncertainty, drift, and limitations]
  H2 --> U

3. Score resolved forecasts

For binary outcome y and forecast p, Brier loss is (p-y)^2; lower mean loss is better. When supplied samples contain their probabilities and outcomes, calculate the displayed mean from those samples and make the declared denominator equal the sample count. Reliability diagrams and score decompositions assess calibration and sharpness, but small cohorts need uncertainty reporting. A three-case calculation is a teaching example, not a calibration guarantee.

Worked positive case

Forecasts (0.8, 0.8, 0.2) resolve as (1, 0, 0). Losses are (0.04, 0.64, 0.04), mean Brier loss 0.24, and denominator 3. Each resolved sample must carry its forecast ID, event ID, resolution source, and resolution time; the sample for the current forecast must repeat the original prospective probability. With three examples, report the score but label calibration unknown; fit nothing and do not claim the 0.8 bucket is calibrated.

Worked negative case

An agent assigns 0.91 because it cited four sources, then a validator finds a schema failure. Preserve the forecast, rationale, and resolved false label. Do not alter the forecast after resolution, use a blank outcome source, or call an evidence score a calibration correction. A raw evaluation may be reported without a fitted map; a calibrated evaluation must keep the fit IDs out of the scored set.

4. Output and source limits

Return the forecast record, rationale, and one of four states: uncalibrated, calibration-fitted, evaluated (with raw or calibrated evaluation mode), or declined. An evaluated record includes its scored samples, resolution bindings, denominator, and mean Brier. A calibrated evaluation additionally includes disjoint fit evidence and a named calibration map.

Read forecast calibration. Cite Gneiting and Raftery (2007) for proper scoring and Dimitriadis et al. (2020) for reliability evaluation. These sources do not calibrate LLM judgments automatically or guarantee calibration at any sample size.

The accompanying validator is a portable static check. A consumer can install the declared dependencies with npm install --save-dev ajv@^8.20.0 ajv-formats@^3.0.1 in this bundle, then run npm test; the fixture covers positive and negative cases. It checks declared payload shape, nonblank identities, ISO date-time syntax, chronology, status consistency, fit/evaluation separation, sample arithmetic, and the binding of the current forecast to one resolved sample. It cannot establish that an evaluator, source, outcome, artifact digest, authority, or effect is genuine.

The portable validator requires timestamps representable by JavaScript Date.parse; leap-second timestamps are unsupported and rejected even when RFC 3339 syntax validation accepts them. Map identity and fit-cohort agreement apply to both fit-only and calibrated-evaluation records.

A raw evaluated teaching record supplies the positive test fixture. Its short digest and receipt names are illustrative, not authentic artifacts.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

中文简介正在准备中。当前显示原文说明。

curiositech/port-daddy32026年10月19日 更新

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

中文简介正在准备中。当前显示原文说明。

curiositech/port-daddy32026年10月19日 更新

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

中文简介正在准备中。当前显示原文说明。

curiositech/port-daddy32026年10月19日 更新

Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

中文简介正在准备中。当前显示原文说明。

curiositech/port-daddy32026年10月19日 更新

Use for insight, reframing, contradiction, impasse, and anomaly-driven problem solving when execution effort no longer helps. NOT for routine optimization, error correction, or well-specified tasks with known solution paths.

中文简介正在准备中。当前显示原文说明。

curiositech/port-daddy32026年10月19日 更新

Apply cognitive task analysis to expert work that depends on perceptual cues, branching judgment, and recurring monitoring loops. Use when decomposing expert capability into agent structure, simulation design, or validation interviews. NOT for ordinary step-by-step SOP capture or simple pipelines with no tacit cue layer.

中文简介正在准备中。当前显示原文说明。

curiositech/port-daddy32026年10月19日 更新

查看 curiositech 的全部技能

报告此技能的问题