Logo Results Backfill

Results Backfill

Cộng đồng
yunshenwuchuxun
results-backfill

Back-fill verified experiment results into an existing empirical paper draft. Resolves placeholders, upgrades hypotheses to factual claims, generates figures/tables, drafts abstract, and runs rhythm refinement + QA.

Tổng quan

Nhà phát hànhyunshenwuchuxun
Kho mãlatex-paper-skills
Tên kỹ năngresults-backfill
Sao
270
Bản fork
23
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được yunshenwuchuxun công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Results Backfill trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/yunshenwuchuxun/latex-paper-skills/tree/main/.codex/skills/results-backfill
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yunshenwuchuxun/latex-paper-skills.git /tmp/latex-paper-skills
mkdir -p .claude/skills
cp -r /tmp/latex-paper-skills/.codex/skills/results-backfill .claude/skills/results-backfill
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Results Backfill trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Results Backfill ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Results Backfill với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Results Back-fill

Use this skill after empirical-paper-writer has produced a draft with placeholders and the user has run experiments outside the AI session.

When to Use

  • empirical-paper-writer has completed design + code + placeholder draft.
  • The user has run experiments in their configured conda environment.
  • paper/results/ contains new CSV / data files from completed experiments.

When NOT to Use

  • The paper draft does not yet exist (use empirical-paper-writer first).
  • Experiments have not been run yet.
  • The user only wants experiment design without paper completion.

Inputs

  • paper/main.tex (draft with placeholders)
  • paper/results/*.csv (experiment results)
  • notes/design/experiment-matrix.csv
  • issues/<timestamp>-<slug>.csv
  • brief/contribution-map.yaml
  • paper.config.yaml (runtime configuration)

Outputs

  • Updated main.tex with verified results, real figures/tables, factual claims
  • Updated issues CSV with Result_Status=verified and Status=DONE
  • Generated LaTeX input files under paper/results/
  • Drafted abstract (W0)
  • Refined prose (RF1)
  • Compiled main.pdf

Non-Negotiable Rules

  1. No fabrication: Only use data from actual result files. Never invent numbers.
  2. Verify before claiming: Only upgrade (hypothesis) to factual claim when CSV data confirms the result.
  3. Bounded claims: Factual statements must include specific numbers from verified results (e.g., "reduces violations by 12.3%"), not vague improvements.
  4. Dependency enforcement: Follow the same dependency rules as empirical-paper-writer — never mark DONE if dependencies are not DONE/SKIP.

Workflow

Phase 1: Results Discovery

  1. Read paper.config.yaml for runtime configuration.
  2. Scan paper/results/ for all CSV, JSON, and data files.
  3. Read notes/design/experiment-matrix.csv to identify all planned experiments.
  4. Match result files to experiment-matrix rows:
    bash
    python3 scripts/discover_results.py --project-dir <paper_dir>
    See references/backfill-workflow.md for naming conventions and the assets/result-file-template.csv schema.
  5. If matches look correct, update the matrix in-place:
    bash
    python3 scripts/discover_results.py --project-dir <paper_dir> --update-status
  6. Read the issues CSV and update Result_Status for matched experiment issues (E5-E8).

Phase 2: Paper Back-fill

Execute in order:

  1. Contribution upgrade:

    • Read brief/contribution-map.yaml.
    • For each claim with verified supporting experiments, update main.tex:
      • Replace (hypothesis) with bounded factual statement.
      • Update Introduction contributions list.
  2. Results section fill:

    • Main comparison: populate tables from main_results.csv.
    • Ablation studies: populate ablation table from ablation results and upgrade the surrounding narrative from hypothesis-safe to verified, bounded claims.
    • Robustness/error analysis: populate figures/tables and write verified takeaways tied to specific numbers.
    • Efficiency: populate efficiency comparison table and write a bounded trade-off discussion (accuracy vs cost).
  3. LaTeX table/figure generation:

    • Convert CSV results to LaTeX \input{} files under paper/results/:
      bash
      python3 scripts/generate_results_table.py <results.csv> -o paper/results/<name>.tex --bold-best --caption "..." --label "tab:..."
    • Generate TikZ plots or include matplotlib-exported PDFs where appropriate.
    • Replace \fbox{...placeholder...} with actual \includegraphics or table references.
  4. Figure resolution:

    • For each remaining \fbox{...} placeholder:
      • If data exists → generate the figure.
      • If data is missing → replace with [Figure pending: <reason>].
  5. Abstract (W0):

    • Draft abstract from verified results following the rules in experiment-evidence.md:
      • Problem (1 sentence)
      • Method (1-2 sentences)
      • Setting (1 sentence)
      • Key result (1 sentence, verified only)
      • Implication (1 sentence)
    • Maximum 250 words. No citations. No unexpanded acronyms.
  6. Conclusion upgrade:

    • Update the Conclusion section to remove (hypothesis) / [Pending: ...] tags for any claim now supported by verified results.
    • Ensure every factual takeaway is bounded by specific numbers from verified tables/figures.
  7. Mark issues DONE:

    • Update E5-E8, W0, and any back-filled Writing issues in the issues CSV.
    • Respect dependency enforcement.

Phase 3: Polish

  1. RF1 — Rhythm refinement:

    • Apply latex-rhythm-refiner section-by-section.
    • Preserve all citations and verified numbers.
  2. QA:

    • Run citation audit:
      bash
      python3 ../arxiv-paper-writer/scripts/citation_policy.py --project-dir <paper_dir> audit-bib
      python3 ../arxiv-paper-writer/scripts/citation_policy.py --project-dir <paper_dir> audit-tex --issues <issues.csv>
    • Run issue validation with tex audit:
      bash
      python3 ../empirical-paper-writer/scripts/validate_empirical_paper_issues.py <issues.csv> --audit-tex <paper_dir>/main.tex
  3. Compile:

    bash
    python3 ../arxiv-paper-writer/scripts/compile_paper.py --project-dir <paper_dir> --check-warnings --fail-on-warnings
  4. Deliver main.tex, ref.bib, figures, and main.pdf.

Runtime Environment

Before running any script:

  1. Read paper.config.yaml → runtime.conda_env or runtime.python.
  2. If conda_env is set, activate it: conda activate <env_name>.
  3. If python is set, use that interpreter directly.
  4. If neither is set, ask the user which conda environment to use.

Relationship to Other Skills

paper-from-zero
    ↓ routes to
empirical-paper-writer (design + code + placeholder draft)
    ↓ user runs experiments
results-backfill (this skill: back-fill results + complete paper)

Success Criteria

  • All \fbox placeholders resolved or explicitly marked [Pending: <reason>].
  • No (hypothesis) tags remain for claims with verified evidence.
  • Abstract is non-placeholder, <=250 words, matches verified results.
  • All DONE issues pass dependency check.
  • validate_empirical_paper_issues.py --audit-tex produces zero warnings for verified issues.
  • Paper compiles without Overfull \hbox warnings.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Results Backfill làm được gì?

Back-fill verified experiment results into an existing empirical paper draft. Resolves placeholders, upgrades hypotheses to factual claims, generates figures/tables, drafts abstract, and runs rhythm refinement + QA.

Vì sao nên dùng Results Backfill trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Results Backfill là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Results Backfill trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/yunshenwuchuxun/latex-paper-skills/tree/main/.codex/skills/results-backfill. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Results Backfill?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Results Backfill với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Results Backfill với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Results Backfill có miễn phí không?

Có. Kỹ năng này được yunshenwuchuxun phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇