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

Implementation:AIScientists Dev WorldSeed render paper

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

Overview

Concrete paper-to-markdown renderer that converts paper entities into self-documenting markdown files with full method source, evidence tables, citation snapshots, and review records.

Description

The render_paper function writes `papers/{paper_id}.md` from a paper entity. It includes:

  • Header with title, author, status, submission tick
  • Abstract, claim, and hypothesis snapshot (if published)
  • Method section with git commit and full `train_gpt.py` source at that commit
  • Verify result (engine auto-rerun val_loss and delta)
  • Evidence table (experiments with val_loss, wall_time, description)
  • Citations with status-at-cite-time and dead_cite flags
  • Reviews with reviewer verdicts and reasoning

Rendering is called on every paper state mutation: `write_paper`, `review_paper`, verify completion, and dead-cite cascades.

Usage

Import this function to render papers to markdown. Called automatically by the autoresearch handlers.

Code Reference

Source Location

  • Repository: WorldSeed
  • File: src/worldseed/autoresearch/paper_renderer.py

Signature

def render_paper(paper: Entity, store: StateStore, papers_dir: Path) -> Path:
    """Write papers/{paper.id}.md from the paper entity. Returns the path."""

Import

from worldseed.autoresearch.paper_renderer import render_paper

Usage Examples

from worldseed.autoresearch.paper_renderer import render_paper
from worldseed.autoresearch.paths import papers_dir

path = render_paper(paper_entity, store, papers_dir())
print(f"Rendered to {path}")

Related Pages

Implements Principle

Requires Environment

Uses Heuristic

Page Connections

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