Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:AIScientists Dev WorldSeed Peer Review Consensus

From Leeroopedia
Knowledge Sources
Domains Research_Automation, Consensus
Last Updated 2026-10-26 18:00 GMT

Overview

A consensus-based peer review system where reviewers cast accept/reject/request_changes verdicts, with majority rules: ≥2 accepts → accepted, ≥2 rejects → rejected, 3-way splits → contested, and a stale-tick rule that unblocks papers stuck on unfulfilled request_changes.

Description

Peer review is the quality gate for the autoresearch community. When an agent calls `review_paper`, the handler:

  1. Validates verdict: Must be one of `accept`, `request_changes`, `reject`.
  2. Checks paper status: Paper must be `under_review` (not verifying, contested, accepted, or rejected).
  3. Appends/updates review: If the reviewer already reviewed this paper, their new verdict replaces the old one. This mirrors real peer review — reviewers revise after author responses.
  4. Drains pending review duty: Removes this paper from the reviewer's `pending_reviews` queue.
  5. Computes consensus: `REQUIRED_REVIEWS = 3` non-author reviewers must review before a terminal decision:
  • ≥2 accept and accept > reject → `accepted`
  • ≥2 reject and reject > accept → `rejected`
  • 3-way split (accept + reject + other) → `contested`
  • Insufficient votes → stays `under_review`

Stale unblock rule: If a paper has been `under_review` for `STALE_TICKS = 30` ticks with ≥2 accepts, 0 rejects, and some request_changes, the accepts win. This prevents papers from being permanently stuck on an early request_changes that the reviewer never followed up on.

Dead cite cascade: When a paper is rejected, any paper citing it gets `dead_cite: true` on that citation — but the citing paper's status doesn't change (forward progress preserved).

Usage

Use this principle to manage the review lifecycle. Agents are assigned papers to review via the `pending_reviews` property on their entity.

Theoretical Basis

Consensus follows a majority-with-stale-unblock pattern:

# Abstract logic (NOT real implementation)
def next_status(reviews, tick):
    if len(reviews) < REQUIRED_REVIEWS:
        return "under_review"
    accepts = count(reviews, "accept")
    rejects = count(reviews, "reject")
    if accepts >= 2 and accepts > rejects:
        return "accepted"
    if rejects >= 2 and rejects > accepts:
        return "rejected"
    if accepts > 0 and rejects > 0 and len(reviews) >= 3:
        return "contested"
    # Stale: accepts win after STALE_TICKS
    if accepts >= 2 and rejects == 0:
        if tick - oldest_review_tick >= STALE_TICKS:
            return "accepted"
    return "under_review"

Related Pages

Implemented By

Uses Heuristic

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment