ArXiv Agentic Verifier

Generate discriminative test cases and verify Python or JavaScript code correctness.

1|Updated May 20, 2026
One-click install
npx skills add https://github.com/Wanli-Lee/CUA-Claw-Harness --skill arxiv-agentic-verifier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ArXiv Agentic Verifier
Source: https://github.com/Wanli-Lee/CUA-Claw-Harness/tree/main/skills/2/arxiv-agentic-verifier
Command: npx skills add https://github.com/Wanli-Lee/CUA-Claw-Harness --skill arxiv-agentic-verifier

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openai, axios.

What problem does it solve?

Verifying competitive-coding solutions is hard because edge cases and logic flaws often escape simple samples, so this Skill helps you automatically create discriminative tests and check whether candidate code is correct.

Core Features & Use Cases

  • Analyze Code Logic: Uses an LLM to reason about the problem statement and candidate code to identify likely failure modes.
  • Generate Targeted Test Cases: Produces specific inputs plus expected outputs aimed at breaking incorrect logic (not random sampling).
  • Execute and Verify: Runs the candidate code with the generated input and reports pass/fail based on output equality.

Use case examples: verifying a Python/JavaScript solution in a coding interview harness, diagnosing a wrong-answer submission by generating a counterexample, or stress-testing a small algorithm implementation against tricky boundary conditions.

Quick Start

Create an AgenticVerifier instance and call verify(problem, code, language) to generate a discriminative test case, execute the candidate program, and return whether it passed.

Frequently Asked Questions about ArXiv Agentic Verifier

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate edge-case tests to find bugs in my competitive programming solutions?

Generating edge-case tests for competitive-coding solutions involves using an LLM to analyze problem statements and candidate code, producing targeted inputs and expected outputs to expose logic flaws. The Skill then executes the code in a sandbox environment to verify output correctness against expected results.

What is the best way to verify code correctness for Python and JavaScript algorithms?

Verifying code correctness for Python and JavaScript algorithms is best done by generating discriminative test cases aimed at breaking incorrect logic, executing the candidate program, and enforcing pass/fail by output matching. This Skill automates that workflow using LLM-driven test generation and sandbox execution.

Do I need an OpenAI API key to use LLM-driven test generation for code verification?

Yes, an OpenAI API key is required for LLM-driven test generation and code verification. The Skill depends on the OpenAI API to reason about problem statements and generate targeted edge-case inputs required for verifying competitive-coding solutions.

How do I automatically find a counterexample for a wrong-answer submission in competitive coding?

To automatically find a counterexample for a wrong-answer submission, this Skill analyzes the candidate code to identify likely failure modes and generates specific inputs plus expected outputs aimed at breaking incorrect logic. It then executes the code with these generated inputs to detect correctness failures.

Does this approach use random sampling to stress-test small algorithm implementations?

No, this approach does not use random sampling to stress-test small algorithm implementations. Instead, it uses an LLM to reason about the problem statement and candidate code, generating targeted, discriminative test cases aimed at specific boundary conditions and logic flaws.