backward-traceability

Solid

Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands and \num{formula} evaluated at compile time. Use for reproducibility and data integrity verification.

AI & Automation 7 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Backward Traceability Make every number in the final PDF hyperlink back to the exact code line that produced it. ## Input - `$0` — Paper project directory containing code and LaTeX files ## References - Traceability patterns and LaTeX commands: `~/.claude/skills/backward-traceability/references/traceability-patterns.md` ## Scripts ### Scan hypertarget/hyperlink references ```bash python ~/.claude/skills/backward-traceability/scripts/ref_numeric_values.py \ --scan paper/main.tex --output report.json ``` Reports: all hypertargets, hyperlinks, orphan references, unreferenced numeric values. ### Verify cross-reference integrity ```bash python ~/.claude/skills/backward-traceability/scripts/ref_numeric_values.py \ --verify paper/main.tex --code-output results.txt ``` Cross-checks values between paper text and code output. Reports mismatches. ## Workflow ### Step 1: Tag Code Outputs For every numeric value produced by experiment code, add hypertarget tags: ```python # In experiment code output: print(f"\\hypertarget{{R1a}}{{45.3}}") # Mean accuracy print(f"\\hypertarget{{R1b}}{{2.1}}") # Std deviation ``` Label format: `{prefix}{line_number}{letter}` where letter = a, b, c... for multiple values on same line. ### Step 2: Reference in Paper Text Use `\hyperlink` to create clickable references in the paper: ```latex Our method achieves \hyperlink{R1a}{45.3}\% accuracy ($\pm$\hyperlink{R1b}{2.1}). ``` ### Step 3: Use \num for Computed Values For values derived...

Details

Author
sergeeey
Repository
sergeeey/Claude-cod-top-2026
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

backward-traceability

Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands and \num{formula} evaluated at compile time. Use for reproducibility and data integrity verification.

0 Updated 1 weeks ago
dongzhigang13305312738-art
AI & Automation Solid

template-reproducibility-audit

Deterministic reproducibility audit — fixed seeds, regenerate-from-clean, double-run diff before Zenodo/arXiv/release. USE WHEN outputs drift between runs, "worked on my machine", need regenerate-from-clean proof, or pre-release reproducibility check — even without naming docs/prompts.

18 Updated today
docxology
AI & Automation Listed

pattern-retrospective

Apply rigorous pattern-retrospective analysis to Claude transcripts. Triggers on writing studies, blog posts, handoff docs, retrospectives, specs, or improvement proposals that draw conclusions from past Claude sessions — phrasings like "handoff to X", "lessons from session Y", "pattern Z over time", "spec for X", "improvements to X", "audit my use of W" all match. Enforces target-system audit BEFORE specifying its requirements, streaming JSONL parsing (never load whole files), 5-tuple extraction with provenance tags, self-falsification of every cited claim including system-state claims, Bayesian confidence smoothing, and correlation-not-causation discipline. Designed to prevent the credulous-handoff failure mode where ~60% of proposed requirements turn out to already exist in the target system.

0 Updated today
BryceEWatson