Keeps this page in sync as the body changes. Pause it any time for a quieter view.
Path /specs/grounded-cost-value-measurement
Last refresh never
Grounded Cost & Value Measurement for Prompt A/B ROI
inventory_source local | spec_api /api/spec-registry/grounded-cost-value-measurement | registry_updated 2026-04-09T03:10:08.896299Z
potential_value 0.00 | actual_value 1.00 | value_gap 0.00
estimated_cost 0.00 | actual_cost 1.00 | cost_gap 1.00
estimated_roi 0.00 | actual_roi 1.00
Missing contributor linkage. Submit a change request with contributor attribution.
Open process view for this spec
task_ids -
branches -
source_files specs/cc-economics-and-value-coherence.md, specs/coherence-credit-internal-currency.md, specs/grounded-cost-value-measurement.md, specs/grounded-idea-portfolio-metrics.md, specs/mvp-cost-and-acceptance-proof.md, specs/portfolio-governance-effectiveness.md
evidence_refs -
Open implementation view for this spec
implementation_refs spec-registry:cc-economics-and-value-coherence, spec-registry:coherence-credit-internal-currency, spec-registry:grounded-cost-value-measurement, spec-registry:grounded-idea-portfolio-metrics, spec-registry:mvp-cost-and-acceptance-proof, spec-registry:portfolio-governance-effectiveness
lineage_ids -
public_endpoints -
summary **Idea**: `agent-grounded-measurement` (sub-idea of `coherence-network-agent-pipeline`)
process_summary compute_grounded_cost returns actual_cost_usd when present, else runtime_cost_estimate; compute_grounded_value returns 0.0 for failed tasks; Quality multiplier degrades with retries (1.0/0.7/0.4/0.2); Raw signals stored alongside computed scores in every measurement; record_grounded_measurement requires no new API calls or DB queries
pseudocode_summary -
implementation_summary api/app/services/grounded_measurement_service.py (compute_grounded_cost(), compute_grounded_value()); api/app/services/grounded_idea_metrics_service.py (compute_idea_metrics())