/autocode:evolutionary-testdatafrom autocode
Evolves competitive programming test generators using multi-island evolution, novelty filtering, and composite fitness to kill wrong solutions and improve branch coverage.
Ships in autocode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to systematically evolve competitive programming test generators and generator parameter suites (case_plan, files/gen.cpp, and tests/hack/) until weak wrong solutions (role="wrong") are killed, structural branch coverage improves, and redundant generator behaviors are filtered out.
Activate this skill when any of the following conditions occur:
problem_verify_tests reports surviving role="wrong" solutions (wrong_solution_kill failed) or expected_verdict mismatch.problem_verify_tests(verify_types=["coverage"]) reveals uncovered decision branches in solutions/sol.cpp (branch_coverage < min_branch_coverage).limit_semantics or duplicate_inputs warns that type=3 and type=4 test cases overlap or produce low structural diversity.star, broom, anti_sort, anti_hash, overflow_32, multi_reset).Ensure baseline artifacts are ready:
files/gen, files/val, solutions/sol (C++ or Python .py), and target solutions/wrong_* entries exist and pass problem_build_all / solution_build.files/val constraints when evaluating evolved candidates.Configure multi-island evolutionary search (scripts/evolve_generator.py):
IslandSpec subpopulations targeting complementary failure modes:
corner_extremes: n_min=1, minimal/maximal boundaries, equal elements, zero-edge inputs.tle_stress_adversarial: type=4, full n_max / t_max, worst-case graph/sequence topologies (star, broom, chain, anti_sort, dense_dag).anti_greedy_structure: tricky small/medium counterexamples (bipartite, cycle, negative_trap, tie_break).hash_and_overflow: anti_hash, overflow_32, multi_reset, prime_bucket.NoveltyFilter (--novelty-threshold) so behaviorally duplicate candidates are rejected before entering the archive.killed_wrong_weight * killed_wrongs + branch_coverage_bonus + runtime_pressure + sample_diversity
(penalizing any candidate that fails validator or breaks sol).Run local deterministic evolution:
uv run python scripts/evolve_generator.py --problem-dir <dir> --generations 5 --islands 3 --seed 42 --json (or --demo for standalone harness verification).best_candidate, island_bests, archive, accepted_novel, and rejected_duplicates in the JSON output.Materialize and verify winning test cases:
.in cases from the top archive GeneratorCandidate configurations using files/gen..in strictly against files/val (exit_code == 0) and compute .ans via solutions/sol (or verify via files/checker / files/interactor).tests/hack/ (or update case_plan in .autocode/manifest.json) and re-run problem_verify_tests to confirm wrong_solution_kill, limit_ratio, limit_semantics, duplicate_inputs, and coverage all pass.Return a structured summary containing:
decision: go | no_goblocking_issues: list of unresolved failures (validator failure, surviving wrong solution, coverage deficit, or sol failure)evolution_summary:
generations, islands, total_evaluated, accepted_novel, rejected_duplicatesbest_candidate: candidate_id, type_param, n_min, n_max, extra_args, total_fitnesskilled_wrong_names: list of killed role="wrong" solutionsnext_actions: concrete follow-up steps (e.g., persist tests/hack/ cases, re-run problem_verify_tests, or run problem_pack_polygon)go: All required files/val checks pass, evolved candidates achieve validator_passed=true and sol_passed=true, target role="wrong" solutions are killed (wrong_solution_kill passes), and problem_verify_tests confirms limit_ratio, limit_semantics, and duplicate_inputs pass.no_go: Any generated candidate violates files/val, solutions/sol fails or disagrees with the oracle, target wrong solutions survive after evolution, or problem_verify_tests fails any quality gate.files/val or keep invalid test inputs even if they kill a wrong solution.scripts/evolve_generator.py or src/autocode_mcp/..pyc caches, or unrequested artifacts inside problem_dir.--demo scores without running problem_verify_tests on real problem artifacts.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
autocode@autocode-marketplace is listed by summeronetwo/autocode-marketplace — review the source before installing
npx claudepluginhub summeronetwo/autocode-marketplace --plugin autocode11 skills in this plugin
/agent-skill-governanceDefine and enforce project-wide quality standards for agent and skill documents. Use when creating, reviewing, or refactoring files under agents/ and skills/ to keep structure, terminology, and output contracts consistent./autocode-workflowUse when creating competitive programming problems with AutoCode MCP tools. Enforces the plugin workflow for problem statements, std/brute solutions, validators, generators, stress tests, final data verification, and Polygon packaging./idea-feasibilityUse before coding to decide whether a problem idea is judgeable, implementable, original, AI-resistant, and formally verifiable./problem-difficulty-ratingCalibrate an evidence-grounded CF-style difficulty assessment from objective problem_audit signals, statement insight, and LiveCodeBench-Pro cognitive dimensions./problem-validateValidate statement samples and sample files for competitive programming problems. Ensures the expected outputs in problem statements match the actual solution output./redteam-hackingAdversarial red-teaming for competitive programming verification: black-box statement cross-checking, white-box Near-AC wrong solution synthesis with exact expected_verdict, anti-hash hacking via jngen.h, and val-verified hack feedback loops.Other plugins' skills for the same job