本文へ移動
cccskills
無料GitHub で公開

solution-comparator

Compare multiple solutions for correctness and performance

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.1 KB
  • README.md735 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Solution Comparator Skill

Purpose

Compare multiple algorithm solutions against the same test cases to verify correctness and benchmark performance.

Capabilities

  • Run solutions against same test cases
  • Performance benchmarking and comparison
  • Output diff analysis
  • Find minimal failing test case
  • Memory usage comparison
  • Time complexity validation

Target Processes

  • correctness-proof-testing
  • complexity-optimization
  • upsolving
  • algorithm-implementation

Comparison Modes

  1. Correctness: Compare outputs against a known-correct solution
  2. Performance: Benchmark execution time across solutions
  3. Stress Testing: Run with random large inputs to find discrepancies
  4. Minimal Counter-example: Binary search to find smallest failing case

Input Schema

{
  "type": "object",
  "properties": {
    "solutions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "code": { "type": "string" },
          "language": { "type": "string" }
        }
      }
    },
    "testCases": { "type": "array" },
    "mode": {
      "type": "string",
      "enum": ["correctness", "performance", "stress", "minimal"]
    },
    "oracleSolution": { "type": "string" },
    "timeout": { "type": "integer", "default": 5000 }
  },
  "required": ["solutions", "mode"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "results": { "type": "array" },
    "discrepancies": { "type": "array" },
    "performance": { "type": "object" },
    "minimalFailingCase": { "type": "object" }
  },
  "required": ["success"]
}

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Provide implementations of advanced data structures

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8402026年9月17日 更新

Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8402026年9月17日 更新

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8402026年9月17日 更新

Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8402026年9月17日 更新

Generate visual representations of algorithm execution

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8402026年9月17日 更新

Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8402026年9月17日 更新

a5c-ai のスキルをすべて見る

このスキルの問題を報告する