Skip to content
Skills Library
Science & research · Analysis

code-replication

/code-replication

Use this skill when tasked with replicating results from a research paper. Guides systematic reproduction of experiments, documentation of discrepancies, and validation of claims.

Repository
open-org ↗
Licence
Apache-2.0
Last repository change
10.05.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.05.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use this skill when tasked with replicating results from a research paper. Guides systematic reproduction of experiments, documentation of discrepancies, and validation of claims.

Original author description

Use this skill when tasked with replicating results from a research paper. Guides systematic reproduction of experiments, documentation of discrepancies, and validation of claims.

How it works

  1. Replication Protocol
  2. Principles
Original SKILL.md headings · 60 lines, 344 words
SKILL.md preview
---
name: code-replication
description: Use this skill when tasked with replicating results from a research paper. Guides systematic reproduction of experiments, documentation of discrepancies, and validation of claims.
license: Apache-2.0
metadata:
  author: aviskaar
  version: "1.0"
  tags: replication, reproducibility, experiments, code, validation
---

# Code Replication

Reproduce results from a research paper with methodical documentation.

## Replication Protocol

### Phase 1 — Paper Audit
Before writing any code:
- Extract every hyperparameter mentioned in the paper and appendix.
- Note any details that are ambiguous or missing.
- Check for an official codebase (GitHub, project page, supplementary materials).
- Identify the exact dataset split, preprocessing steps, and evaluation protocol.

Document findings in a `replication-notes.md` file.

### Phase 2 — Environment Setup
- Record exact package versions (use `pip freeze` or `conda env export`).
- Prefer the same framework the paper used when possible.
- Use a fixed random seed for all experiments. Document it.
- Isolate the environment (virtualenv, conda, or container).

### Phase 3 — Minimal Reproduction
Start with the smallest possible experiment:
- Use the smallest dataset subset that exercises the full pipeline.
- Confirm the training loop runs without errors before full-scale training.
- Check intermediate outputs (loss curves, gradient norms) against any figures in the paper.

### Phase 4 — Full Replication
- Run the main experiment with the paper's reported settings.
- Record all results in a structured log (seed, config, metric, timestamp).
- Run at least 3 seeds; report mean ± std.

### Phase 5 — Gap Analysis
Compare your results against the paper:

| Metric | Paper | Reproduced | Δ |
|--------|-------|------------|---|
| ...    | ...   | ...        | ...|

Categorize any gap:
- **Reproduced**: within noise (< 0.5% relative difference)
- **Close**: explainable by known ambiguities
- **Discrepancy**: notable gap — document likely causes
- **Failed**: results do not match — flag for investigation

### Phase 6 — Documentation
Produce a `REPLICATION.md` with:
- Paper citation
- Environment details
- Deviations from the paper (with justification)
- Results table
- Conclusion: successfully reproduced / partially reproduced / failed

## Principles

- Never alter evaluation code to match paper numbers — fix the model, not the metric.
- Document every ambiguity you encountered and how you resolved it.
- A failed replication is a valid and valuable research outcome.

Versions

The database has no other skills named code-replication.

Database snapshot: 13.11.2026 · package version d9768f1a01bf (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100reproduce
    End-to-end paper reproduction from arxiv URL through smoke runs to replication experiments. Handles missing or partial official code, missing training scripts, missing hyperparameters, and private datasets via similar-public-dataset substitution. Use when the user asks to…
  • 100paper-self-review
    This skill should be used when the user asks to "review paper quality", "check paper completeness", "validate paper structure", "self-review before submission", "audit claims", "check overclaiming", "verify whether results support claims", or mentions systematic paper quality…
  • 100implement-paper-from-scratch
    Guides you through implementing a research paper step-by-step from scratch. Use when asked to implement a paper, code up a paper, reproduce research results, or build a model from a paper. Focuses on building understanding through implementation with checkpoint questions.
  • 100paper-code-audit
    Perform three-way cross-validation of a research paper by comparing the original paper text (via Zotero), official code implementation (via Git), and personal Obsidian notes. Use this skill whenever the user wants to "audit a paper", "verify paper claims against code",…
  • 100analyze-paper
    This skill extracts claims, models, proofs, and limitations from a research paper. You use it to analyze or summarize an academic paper.
  • 90critical-paper-reading
    Produce a structured reading note grounded in the paper's actual text, tables, and figures. Use when a researcher needs read a paper critically and trace claims to the source.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.