Skip to content

API Reference parrot.knowledge.wiki.ledger.coder_reviews

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.knowledge.wiki.ledger.coder_reviews

View source

Reviewed-delivery measurements for evaluating coder feedback.

Alias CheckedPattern

Re-exported from parrot.memory.dynamics.models.CheckedPattern.

Alias CoderFeedbackReceipt

Re-exported from parrot.knowledge.wiki.ledger.coder_feedback.CoderFeedbackReceipt.

Class CoderReview

Review outcome including zero-fix deliveries, supplied by the worker.

fix_commits includes only reviewer-confirmed corrections, never engine lint commits. The engine checks commit subjects and attempt attribution.

Fields:

Field Type Default Description
task_id str
attempt_uid str
backend str
model str
fix_commits list[CommitSha]
review_evidence str
execution_id str FEAT-559: the execution this review was recorded under. Empty for historical records.
checked_patterns list[CheckedPattern] Untrusted delivery claims; the engine verifies them before persistence.

Class CoderReviewMeasurement

Exposure information added by the engine, never asserted by the worker.

Attributes:

Attribute Type Description
exposure Literal['with_feedback', 'without_feedback', 'unavailable']
feedback_tokens int
review_ref str Engine-minted coder-review/v1/... outcome evidence reference.
passed_check_ids tuple[str, ...] Engine-owned validation receipt identifiers; never accepted from a caller.

Class CoderReviewMetrics

Descriptive rates by backend/model and feedback exposure.

Fields:

Field Type Default Description
backend str
model str
exposure str
reviewed_tasks int
reviewed_attempts int
correction_commits int
correction_commits_per_task float
task_correction_commits dict[str, int]
mean_feedback_tokens float

Class CoderReviewReport

Measured review cohorts; missing historical data is never treated as zero.

Fields:

Field Type Default Description
rows list[CoderReviewMetrics]
limitation str 'Only recorded completed reviews are counted. without_feedback is an observed baseline, not inferred historical data. Cohorts can differ in task difficulty; these rates do not establish causality.'

Class CoderReviewStore

Persist/replay review outcomes on the same immutable SDD ledger.

Parameter Type Default Description
log LedgerLog

Method CoderReviewStore.record

Record the completed review; subsequent records update its measurement.

record(review: CoderReviewMeasurement) -> CoderFeedbackReceipt

Parameter Type Default Description
review CoderReviewMeasurement

Returns: CoderFeedbackReceipt

Method CoderReviewStore.report

Render rates off the event loop; retain history after lessons expire.

report() -> CoderReviewReport

Returns: CoderReviewReport

Attribute CommitSha

Alias InsightRecordedPayload

Re-exported from parrot.knowledge.wiki.ledger.events.InsightRecordedPayload.

Alias LedgerEvent

Re-exported from parrot.knowledge.wiki.ledger.events.LedgerEvent.

Alias LedgerLog

Re-exported from parrot.knowledge.wiki.ledger.log.LedgerLog.

Alias append_durably

Re-exported from parrot.knowledge.wiki.ledger.log.append_durably.

Attribute logger

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally