# MikeMirzayanov/testlib

C++ library to develop competitive programming problems

Repository: https://github.com/MikeMirzayanov/testlib
Canonical: https://ross.abutalabs.com/products/testlib
Language: C++
License: MIT
License Family: permissive
Topics: codeforces, contests, icpc, ioi, polygon
Last push: 2026-08-23T01:28:24+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 4109, "days_push": 11, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1742, forks 498 (observed 2026-08-28T04:05:30.386462+00:00)

## What it is
A C++ header-only library for building competitive programming problem infrastructure: checkers, validators, generators, and interactors. It is the de facto standard used by Codeforces, ICPC, and Polygon-based contest preparation.

## Use cases
- write a checker to judge contestant output for a programming contest problem
- generate random test cases for a competitive programming problem
- validate that problem input files follow the stated constraints
- build an interactive problem where the solution communicates with an interactor
- prepare problems for Codeforces or Polygon
- compare participant answers with the jury answer while ignoring whitespace

## When to choose
- you are setting or preparing problems for a competitive programming contest
- you need standardized checkers, validators, generators, or interactors compatible with Codeforces/Polygon
- you want battle-tested judging components used by ICPC and national olympiads

## When to avoid
- you need general-purpose software testing or unit test frameworks
- your project has nothing to do with competitive programming or contest judging
- you are not working in C++

## Facets
- artifact type: library
- maturity: stable
- function: testing, data-generation, parser, developer-tools
- domain: developer-tools, education, testing
- platform: cpp, cross-platform, cli
- tags: competitive-programming, codeforces, icpc, ioi, polygon, checkers, validators, generators, interactors, test-data, algorithms

## Member repositories
- MikeMirzayanov/testlib (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:30.386462+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:29:54.864690+00:00, confidence not recorded.
  - readme: https://github.com/MikeMirzayanov/testlib (fetched 2026-08-28T04:05:30.386462+00:00, sha f127f6b7292e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
