ワンクリックで
result-analyzer
Compare reproduced results against paper-reported values. Generate Markdown/JSON/Beamer reports.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Compare reproduced results against paper-reported values. Generate Markdown/JSON/Beamer reports.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Beamer LaTeX slide workflow: create, compile, review, and polish academic presentations. Use this skill whenever the user works on Beamer .tex slide decks, or asks to create slides, make a presentation, prepare a lecture, build a talk, or generate Beamer slides from a paper. Covers: creation, editing, compilation, proofreading, visual audit, pedagogical review, TikZ diagrams, figure extraction, and comprehensive quality checks. Trigger on: beamer, slides, lecture, presentation, seminar talk, conference talk, defense slides, tikz, compile latex, proofread slides, slide review, 讨论班, 论文讲解. Do NOT trigger on: powerpoint, pptx, PPT, 做PPT — use the powerpoint-slides skill instead.
Deep analysis of ML source code repositories — AST call graphs, training loop dissection, reproducibility scoring.
Generate implementation code scaffolding from paper descriptions when no source code exists.
Convert LaTeX math formulas from papers into executable PyTorch/NumPy code.
Automate paper reproduction on remote GPU servers via mcp-ssh, using code-analyzer's reports.
Prepare structured presentation materials from parsed papers for beamer-skill's create workflow.
| name | result-analyzer |
| description | Compare reproduced results against paper-reported values. Generate Markdown/JSON/Beamer reports. |
The final piece of the reproduction pipeline. After running experiments, this skill compares your results against the paper's reported metrics, figures, and training curves — then generates a structured report.
code-reproducer has finished training on the remote GPUInputs Comparators Outputs
─────────────────── ────────────── ────────────────
paper-parser JSON ──┐
├──→ table_extractor ───┐
paper metrics ──┘ │
├──→ metric_comparator ──→ Markdown Report
repro metrics ────────────────────────────┘ ──→ JSON Report
──→ Beamer Data
repro train.csv ────→ curve_comparator ──→ comparison plots ──→ latex-paper-skills
──→ beamer-skill PPT
repro images ────→ image_comparator ──→ SSIM/PSNR/FID
paper figures ────┘ ──→ side-by-side figures
python result-analyzer/analyze.py \
--paper-metrics '{"accuracy": 95.3, "FID": 3.17}' \
--repro-metrics '{"accuracy": 94.8, "FID": 3.45}' \
--title "DDPM Reproduction" \
-o report/
python result-analyzer/analyze.py \
--paper-json workspace/<paper>/paper_content.json \
--repro-log workspace/<paper>/train_log.csv \
--repro-images workspace/<paper>/generated/ \
--paper-figures workspace/<paper>/figures/ \
--fid \
--beamer \
-o workspace/<paper>/report/
python result-analyzer/analyze.py \
--paper-json paper_content.json \
--repro-metrics '{"accuracy": 94.8}' \
--method-name "Ours" \
-o report/
Compares reproduced values against paper values with tolerance-based judgment.
Built-in Knowledge Base: 50+ metrics with direction info:
higher_better: accuracy, BLEU, PSNR, SSIM, IS, mAP, AUC, F1...lower_better: FID, loss, perplexity, WER, MAE, RMSE, LPIPS...Judgment Logic:
| Status | Condition |
|---|---|
| ✅ PASS | Within tolerance (default: ±1 abs, ±5% rel) |
| 🟢 PASS | Better than paper! |
| ⚠️ WARN | Within 2× tolerance |
| ❌ FAIL | Outside tolerance |
pytorch-fid±, bold markers, % signsreproduction_report.md)# Reproduction Report
## 🟢 Overall: PASS
| Status | Metric | Paper | Reproduced | Diff | Note |
|--------|--------|-------|-----------|------|------|
| ✅ PASS | Accuracy | 95.3 | 94.8 | -0.5 ↓ | Within tolerance |
| ⚠️ WARN | FID | 3.17 | 3.45 | +0.28 ↑ | Close but slightly off |
reproduction_report.json)Structured data for downstream consumption:
latex-paper-skills → results-backfill skillbeamer-skill → reproduction PPTbeamer_report_data.json)Slide-by-slide data for generating a Beamer PPT:
# 1. Run result-analyzer with --beamer flag
python result-analyzer/analyze.py ... --beamer -o report/
# 2. Auto-generate Beamer .tex from JSON
python beamer-skill/generate_beamer_report.py report/beamer_report_data.json -o report/reproduction_slides.tex
# 3. Compile to PDF
python beamer-skill/generate_beamer_report.py report/beamer_report_data.json -o slides.tex --compile
latex_bridge.py)# 1. Run result-analyzer
python result-analyzer/analyze.py ... -o report/
# 2. Convert JSON to latex-paper-skills format
python result-analyzer/latex_bridge.py report/reproduction_report.json -o paper/results/
# This generates:
# paper/results/main_results.csv ← CSV for results-backfill
# paper/results/main_results.tex ← LaTeX table: \input{results/main_results.tex}
# paper/results/reproduction_summary.tex ← Summary text for abstract/conclusion
# 3. In your paper:
# \input{results/main_results.tex} % metric comparison table
# \input{results/reproduction_summary.tex} % auto-written reproduction summary
paper-parser outputs paper_content.json with tables
→ result-analyzer extracts paper metrics from tables
→ compares against reproduced values
code-reproducer outputs train_log.csv + generated images
→ result-analyzer loads CSV for curve comparison
→ compares images via SSIM/PSNR
pip install -r result-analyzer/requirements.txt
# Core: numpy, matplotlib, scikit-image, pandas
# Optional: pytorch-fid (for FID score)
| Topic | URL |
|---|---|
| scikit-image SSIM docs | https://scikit-image.org/docs/stable/api/skimage.metrics.html |
| scikit-image PSNR docs | https://scikit-image.org/docs/stable/api/skimage.metrics.html |
| pytorch-fid | https://github.com/mseitzer/pytorch-fid |
| matplotlib savefig | https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.savefig.html |
| pandas read_csv | https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html |
| latex-paper-skills | https://github.com/yunshenwuchuxun/latex-paper-skills |
| results-backfill skill | https://github.com/yunshenwuchuxun/latex-paper-skills/tree/main/.codex/skills/results-backfill |
| ML metrics overview | https://paperswithcode.com/task/image-generation |