validating-solutions

Validates competitive programming solutions by executing wrong-code variants against a test suite via ioi/isolate and testlib.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/LLaammTTeerr/competitive-programming --skill validating-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validating-solutions
Source: https://github.com/LLaammTTeerr/competitive-programming/tree/main/skills/validating-solutions
Command: npx skills add https://github.com/LLaammTTeerr/competitive-programming --skill validating-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill identifies flaws in competitive programming solutions by managing a zoo of deliberately-wrong code and running an exhaustive invocation matrix to detect logic errors, performance bottlenecks, and edge-case failures.

Core Features & Use Cases

  • Invocation Matrix: Runs multiple solution variants against a test suite to identify mismatches and holes.
  • Zoo Management: Organizes various failure modes like greedy errors, overflow bugs, and TLE-prone algorithms to ensure test suite robustness.
  • Arbiter Logic: Resolves disagreements between multiple accepted solutions using exhaustive brute-force verification.

Quick Start

Use the validating-solutions skill to run the invocation matrix for the problem located in the current directory.

Frequently Asked Questions about validating-solutions

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

FAQPage Schema
How do I stress-test competitive programming solutions to find logic errors?

Stress-test competitive programming solutions by executing a matrix of deliberately-wrong code against a test suite to identify logic holes, performance mismatches, and edge-case failures. The skill manages a zoo of failure modes to ensure test suite robustness.

Do I need the ioi isolate sandbox to run an algorithm-validation test suite?

Yes, algorithm-validation requires the ioi isolate sandbox environment and testlib to ensure accurate verdict reporting and resource constraint enforcement. These dependencies guarantee that execution matches competitive programming judging conditions.

Can I validate a brute-force oracle against a model solution within a problem directory?

Yes, validating-solutions operates within a problem directory context to compare model solutions against alternative algorithms and brute-force oracles. It uses arbiter logic to resolve disagreements through exhaustive brute-force verification.

What is an invocation matrix for debugging competitive programming code?

An invocation matrix is a testing mechanism that runs multiple solution variants against a test suite to identify mismatches and holes. It detects logic errors, performance bottlenecks, and edge-case failures across the zoo of deliberately-wrong code.

How do I resolve disagreements between multiple accepted competitive programming solutions?

Resolve disagreements between multiple accepted solutions using arbiter logic, which performs exhaustive brute-force verification. This compares model solutions against alternative algorithms within the problem directory to pinpoint exact failure modes.