auditing-notebook-narrative

Audit Jupyter notebook markdown claims against rendered code-cell outputs.

2|Updated May 23, 2026
One-click install
npx skills add https://github.com/rocklambros/rcs --skill auditing-notebook-narrative
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auditing-notebook-narrative
Source: https://github.com/rocklambros/rcs/tree/main/skills/workflow/auditing-notebook-narrative
Command: npx skills add https://github.com/rocklambros/rcs --skill auditing-notebook-narrative

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill checks whether the written story in a Jupyter notebook still matches the figures, tables, and printed outputs, so stale or reversed claims are caught before sharing, grading, or publication.

Core Features & Use Cases

  • Compares markdown claims about increases, decreases, best or worst results, and convergence against the nearest rendered output.
  • Flags mismatches with cell indices, and separates clear numeric disagreements from cases that need human review.
  • Use it when a notebook was rerun after the writeup was drafted, when a teammate asks whether the narrative still matches the analysis, or when a report is headed into a model card, paper, or class submission.

Quick Start

Ask the skill to audit the notebook for narrative versus output consistency and report every claim that no longer matches the rendered results.

Frequently Asked Questions about auditing-notebook-narrative

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my Jupyter notebook narrative matches the rendered code outputs?

To check if a notebook narrative matches rendered code outputs, apply markdown parsing to detect directional claims, then compare them against nearest rendered outputs for numeric or visual discrepancies. This flags stale prose before sharing notebooks, grading assignments, or publishing model cards.

What is a narrative audit for data science notebooks?

A narrative audit for data science notebooks is a validation process that detects prose-versus-output mismatches by comparing markdown claims about trends, figures, or metrics against rendered code-cell outputs. It ensures written stories align with actual analysis results before publication or grading.

How do I catch reversed claims in a rerun Jupyter notebook before sharing?

To catch reversed claims in a rerun Jupyter notebook, perform an output comparison that detects directional statements about increases or decreases and matches them to the nearest rendered output. This generates a verdict report separating clear numeric disagreements from cases needing human review.

Can I use markdown parsing to find mismatches between text and figures in graded assignments?

Yes, markdown parsing can find mismatches between text and figures in graded assignments by identifying directional claims about best or worst results and convergence, then applying best-effort numeric or visual comparison against rendered code-cell outputs to flag inconsistencies with specific cell indices.

What are the limitations of automated notebook output comparison for model cards?

The limitation of automated notebook output comparison for model cards is that it relies on best-effort numeric or visual comparison, meaning it separates clear numeric disagreements from cases needing human review. Complex visual interpretations or ambiguous markdown claims may require manual verification.