wrong-gen
CommunityGenerate strong wrong solutions to hack candidates
Education & Research#test generation#generator#config.json#competitive programming#local verification#icpc#wrong solutions
AuthorLumine2024
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps ICPC problem production reliably create multiple wrong solutions and the corresponding generators/data so that near-TL or subtly incorrect approaches are caught during local verification.
Core Features & Use Cases
- Mistake-driven wrong-solution enumeration: Systematically covers “idea mistakes,” “complexity mistakes,” and “implementation mistakes” using the provided mistake taxonomy.
- Multi-family wrong solution implementation: Produces several compilable
src/wrong/*.cppprograms plus asrc/generator/generator.cppthat can generate targeted cases. - Config-aligned data generation: Updates
config.jsonfields tied togenerator.casesandwrongSolutionsso generated datasets effectively distinguish the intended wrong families. - Targeted and stressful test design: Mixes directed datasets (to defeat specific wrong families) with random data as supplements, ensuring enough scale and strength to hit performance and edge traps.
- Interactive-aware wrong strategies (if applicable): Extends enumeration to query strategy, order, and answering/fallback behaviors for interactive problems.
Quick Start
Ask the agent to produce wrong solution families and a generator for your current ICPC workspace, then update the config so the generated datasets can reproduce and defeat the planned wrong approaches.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wrong-gen Download link: https://github.com/Lumine2024/ICPC-Problem-Creator.skill/archive/main.zip#wrong-gen Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.