Smart generator creation. Testcases generator is created using tcgen program synthesis tool by inspecting testcases.
Stressing solution against brute using a generator (Useful to find corner cases)
(WIP) Automatic generator creation from inputs/outputs structure
How am I supposed to use acmX
acmX have been designed to run automatically boilerplate actions I repeat often in competitive programming. Next is the expected pipeline to interact with it. It is important that you setup some configurations before start using the tool.
Open Visual Studio Code
Open online contest/problem you want to solve and click on competitive-companion extension button. All problems along with the testcases are downloaded and you are ready to code.
After you finish call Run and automatically your program will be compiled and run against every testcases. If the solutions is ok, it will be reported otherwise you will see failing testcase in a cool layout. You can always go back to original layout calling View: Code.
Add more testcases than provided in statement using Add Test Case, or modify and see existing testcases by calling Open Test Case.
If your solution keep failing you can stress it using a generator and a brute solution. Call Upgrage to create both generator (gen.py) and correct (brute.cpp) programs. Right now generator must be written in python. After both codes are ready call Stress and your original code will be tested on random test cases from generator against correct solution.
Certainly acmX can be (and hopefully will be) extended so that it fits everyones pipeline. If acmX almost fit yours, feel free to improve it and make a PR! I'll be happy to hear from you and give you support. If you find any issue report it at github issue tracker.
You need to tell acmX which folder are you going to use to save all the problems and contests. To do that: