Results Backfillのロゴ

Results Backfill

コミュニティ
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.

概要

公開者yunshenwuchuxun
リポジトリlatex-paper-skills
スキル名results-backfill
スター
270
フォーク
23
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    yunshenwuchuxunがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Results Backfill」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/yunshenwuchuxun/latex-paper-skills/tree/main/.codex/skills/results-backfill
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでResults Backfillを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にResults Backfillを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Results Backfillは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでResults Backfillを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Results Backfillはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにResults Backfillをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/yunshenwuchuxun/latex-paper-skills/tree/main/.codex/skills/results-backfillを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Results Backfillを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Results Backfillで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもResults Backfillを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Results Backfill」は無料ですか?

はい。yunshenwuchuxunがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇