tcgen

Program synthesis tool. Read a list of strings and create a generator that sample strings from the same distribution as input strings. Focused on test cases of competitive programming problems.


Keywords
program, synthesis, competitive, programming, acm, icpc, codeforces
License
MIT
Install
pip install tcgen==0.1.2

Documentation

TCGen

Test cases generator generator tool. The first sentence has no typo. Given a set of strings create a code that randomly generate samples from the same distribution of such strings. It is highly focused for test cases in competitive programming problems but can be used/extended beyond this scope.

Usage

python3 -m tcgen --path /path/to/testcases