# luogu-dev/cyaron

CYaRon: Yet Another Random Olympic-iNformatics test data generator

Repository: https://github.com/luogu-dev/cyaron
Canonical: https://ross.abutalabs.com/products/cyaron
Language: Python
License: LGPL-3.0
License Family: copyleft
Topics: olympic, informatics, luogu, aqours, cyaron, lovelive, sunshine, online, judge
Last push: 2026-03-21T15:09:26+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 16, longevity 100
- inputs: {"age_days": 3412, "days_push": 165, "days_rel": 557, "gap_med": 141, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1655, forks 181 (observed 2026-08-28T04:05:17.837078+00:00)

## What it is
CYaRon is a Python library for generating random test data for competitive programming and online judge problems. It can create random graphs, trees, sequences, vectors, polygons, and strings, and can run a reference solution to produce expected output files for stress testing.

## Use cases
- generate random test cases for competitive programming problems
- create random graphs and trees with controllable strength for algorithm testing
- stress test two solutions against each other by comparing outputs
- generate large random sequences or vectors quickly
- produce .in/.out test data files from a reference binary
- generate random strings, words, or paragraphs from a dictionary

## When to choose
- you need test data for competitive programming or online judge problems
- you want to stress-test or hack solutions with randomized inputs
- you need structured random data like graphs, trees, or polygons in Python

## When to avoid
- you need property-based testing integrated with a test framework (use Hypothesis)
- you need general fuzzing of binaries rather than structured test data
- your project is not Python-based and you cannot call Python scripts

## Facets
- artifact type: library
- maturity: stable
- function: data-generation, testing, cli
- domain: developer-tools, testing, education
- platform: python, cross-platform, cli
- tags: competitive-programming, test-data-generator, online-judge, stress-testing, random-graphs, random-trees, algorithms

## Member repositories
- luogu-dev/cyaron (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:17.837078+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:44:53.092239+00:00, confidence not recorded.
  - readme: https://github.com/luogu-dev/cyaron (fetched 2026-08-28T04:05:17.837078+00:00, sha c5e6311af87a)
  - registry_pypi: https://pypi.org/pypi/cyaron/json (fetched 2026-08-29T11:17:41.657892+00:00, sha 1ee794444591)
- Data as of 2026-08-30T08:39:29.467469+00:00.
