Agent SkillsSprocketLab/slop-code-bench › checkpoint-ambiguity-review

checkpoint-ambiguity-review

GitHub

审查Checkpoint规范与测试,识别将模糊解读强加为显式要求的测试用例。通过对比规范明确性与测试断言,标记输出顺序、边界处理等歧义点,并提供修复建议或规范澄清方案。

.codex/skills/checkpoint-ambiguity-review/SKILL.md SprocketLab/slop-code-bench

Trigger Scenarios

检查 checkpoint_N.md 与 test_checkpoint_N.py 审计测试中的歧义性 审查快照评估失败的解释性问题

Install

npx skills add SprocketLab/slop-code-bench --skill checkpoint-ambiguity-review -g -y
More Options

Non-standard path

npx skills add https://github.com/SprocketLab/slop-code-bench/tree/main/.codex/skills/checkpoint-ambiguity-review -g -y

Use without installing

npx skills use SprocketLab/slop-code-bench@checkpoint-ambiguity-review

指定 Agent (Claude Code)

npx skills add SprocketLab/slop-code-bench --skill checkpoint-ambiguity-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add SprocketLab/slop-code-bench --all -g -y

预览 repo 内 skill

npx skills add SprocketLab/slop-code-bench --list

SKILL.md

Frontmatter
{
    "name": "checkpoint-ambiguity-review",
    "description": "Review checkpoint specs and tests to identify tests that encode ambiguous interpretations rather than explicit requirements. Use when asked to check checkpoint_N.md against test_checkpoint_N.py, when auditing tests for ambiguity, or when reviewing snapshot eval failures for interpretive issues."
}

Checkpoint Ambiguity Review

Overview

Review a checkpoint's spec and tests to find tests that enforce a reasonable but non-explicit interpretation, and report those cases with rationale and fixes.

Workflow

1) Collect inputs

  • Problem name and checkpoint number (N).
  • Test file path(s) and checkpoint spec path (if not provided, infer):
    • Spec: problems/{problem}/checkpoint_{N}.md
    • Tests: problems/{problem}/tests/test_checkpoint_{N}.py
    • Also scan problems/{problem}/tests/conftest.py and problems/{problem}/tests/data/ if they influence expectations.
  • Optional: snapshot path for ambiguity verification.

2) Read the spec and tests

  • Extract explicit requirements from the spec.
  • Map each test assertion to a specific spec clause or an implied behavior.
  • Note any test assumptions that are not spelled out in the spec.

3) Flag ambiguous interpretations

Only report tests that enforce an interpretation that could reasonably differ given the spec wording. Do not report tests that are simply incorrect against explicit requirements.

Common ambiguity cues:

  • Output ordering when the spec does not mandate order.
  • Tie-breaking rules that are unstated.
  • Whitespace, casing, or formatting details not defined by the spec.
  • Rounding or precision requirements not defined.
  • Error handling for invalid inputs when not specified.
  • Boundary behavior (inclusive/exclusive) not stated.
  • Default values or optional fields not defined.
  • Determinism or randomness expectations not specified.
  • Multiple reasonable data structure representations (list vs set, map order).

4) Optional snapshot verification

If a snapshot is provided, run:

slop-code --quiet eval-snapshot {snapshot} -p {problem} -o /tmp/eval -c {N} -e configs/environments/docker-python3.12-uv.yaml --json

Use failures to corroborate ambiguity, not to invent it. A failing test is ambiguous only if the spec supports multiple reasonable interpretations.

5) Report format

Use the following structure for each ambiguous test:

## {test name} ({path}::{node_id})

**Why:** {spec language + alternate interpretation that could be valid}
**Fix:** {proposed test relaxation or spec clarification}

Keep entries concise and actionable. If no ambiguity is found, state that clearly (e.g., "No ambiguity issues found.").

Version History

  • 13de1a7 Current 2026-07-24 22:39

Same Skill Collection

.claude/skills/audit-spec/SKILL.md
.claude/skills/edge-cases/SKILL.md
.claude/skills/fix-solution/SKILL.md
.claude/skills/reclassify-tests/SKILL.md
.claude/skills/run-tests/SKILL.md
.claude/skills/test-ambiguity-detector/SKILL.md
.claude/skills/validate-run/SKILL.md
.codex/skills/edge-cases/SKILL.md

Metadata

Files
0
Version
06b5c06
Hash
9fe11cc0
Indexed
2026-07-24 22:39

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 02:03
浙ICP备14020137号-1 $Map of visitor$