跳到正文
TakoAPI
返回技能列表

arxiv-agentic-verifier

由 wanng-ide 提供

Coding Agents & IDEs
454下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

**Source Paper:** [Scaling Agentic Verifier for Competitive Coding](https://arxiv.org/abs/2602.09012) (ID.

描述

该技能的功能

An agentic verifier that checks code correctness by generating targeted test cases designed to expose logic flaws. It analyzes problem constraints and code structure to produce discriminative inputs rather than sampling randomly. Supports Python and JavaScript.

Generates discriminative test cases from problem analysis rather than random inputs, catching logic flaws that fuzzing and random sampling routinely miss.

何时使用

  • Verifying competitive programming submissions before upload
  • Finding edge cases in coding interview solutions
  • Catching off-by-one errors in algorithmic implementations
  • Checking boundary behavior in math or sorting functions
  • Automated validation of student code against problem specs

示例工作流

输入

User asks: verify this Python solution for a two-integer sum problem

智能体
  1. 1

    Parse the problem description to extract constraints and expected behavior

  2. 2

    Analyze the submitted code's logic and input-handling structure

  3. 3

    Generate targeted test cases aimed at boundary conditions and likely failure modes

  4. 4

    Execute the code against each generated test in a sandboxed environment

  5. 5

    Collect and report pass/fail results with the specific inputs that caused failures

输出

Verification report listing which tests passed, which failed, and the exact inputs that broke the code

前置要求

  • OPENAI_API_KEY environment variable

安装

clawhub install wanng-ide/arxiv-agentic-verifier

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接