All Projects β†’ online-judge-tools β†’ verification-helper

online-judge-tools / verification-helper

Licence: MIT license
a testing framework for snippet libraries used in competitive programming

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
CSS
56736 projects
haskell
3896 projects

Projects that are alternatives of or similar to verification-helper

Stopstalk Deployment
Stop stalking and start StopStalking πŸ˜‰
Stars: ✭ 276 (+101.46%)
Mutual labels:  competitive-programming, hackerrank, programming-contests
competitive-programming
This is my collection of various algorithms and data structures that I feel that are needed frequently in competitive programming .
Stars: ✭ 30 (-78.1%)
Mutual labels:  competitive-programming, hackerrank
solutions
Solutions to online programming problems
Stars: ✭ 36 (-73.72%)
Mutual labels:  competitive-programming, hackerrank
Competetive programming
Contains my solutions to thousands of different CP sums and some DSA Problems(available in snippets)
Stars: ✭ 21 (-84.67%)
Mutual labels:  competitive-programming, hackerrank
competitive-programming
Solutions of some problems in competitive programming
Stars: ✭ 23 (-83.21%)
Mutual labels:  competitive-programming, hackerrank
AtCoderClans
γ€ιžε…¬εΌγ€‘AtCoderγŒγ‚‚γ£γ¨ζ₯½γ—くγͺγ‚‹γƒͺγƒ³γ‚―ι›†γ§γ™γ€‚ζœ‰εΏ—γ«γ‚ˆγ‚‹ιžε…¬εΌγ‚΅γƒΌγƒ“γ‚Ήγƒ»γƒ„γƒΌγƒ«γƒ»γƒ©γ‚€γƒ–γƒ©γƒͺγƒ»θ¨˜δΊ‹γͺどをまとめています。
Stars: ✭ 74 (-45.99%)
Mutual labels:  competitive-programming, programming-contests
cp
Solutions to competitive programming problems.
Stars: ✭ 15 (-89.05%)
Mutual labels:  competitive-programming, programming-contests
Tech Interview Preparation
A one stop solution to ace your next coding interview πŸ‘¨β€πŸ’»
Stars: ✭ 188 (+37.23%)
Mutual labels:  competitive-programming, hackerrank
Competitive-Programming--Solution
This ia an public repository for Accepted solution of coding problems on different coding plateforms like codeforces , hackerearth, codechef , hackerrank .......
Stars: ✭ 24 (-82.48%)
Mutual labels:  competitive-programming, hackerrank
Competitive-Coding-and-Interview-Problems
This repo contains some problem solutions from different popular coding platforms like Code Chef, Leet Code, Hacker Blocks,etc.
Stars: ✭ 54 (-60.58%)
Mutual labels:  competitive-programming, hackerrank
USACO
Algorithms, data structures, and problems in competitive programming up to USACO Platinum
Stars: ✭ 34 (-75.18%)
Mutual labels:  competitive-programming, programming-contests
Interview Techdev Guide
This repository contains curated technical interview questions by fn+geeks community
Stars: ✭ 252 (+83.94%)
Mutual labels:  competitive-programming, hackerrank
Hackerrank
Solution to HackerRank problems
Stars: ✭ 218 (+59.12%)
Mutual labels:  competitive-programming, hackerrank
BAPCtools
Tools for developing ICPC-style programming contest problems.
Stars: ✭ 36 (-73.72%)
Mutual labels:  competitive-programming, programming-contests
Problem Solving Training
Problem solving training for computer science students.
Stars: ✭ 210 (+53.28%)
Mutual labels:  competitive-programming, hackerrank
algovault
Algorithms and templates for competitive programming
Stars: ✭ 67 (-51.09%)
Mutual labels:  competitive-programming, hackerrank
Competitive-Coding
Contains solution code of SPOJ, LeetCode, HackerRank and Codeforces questions solved by me.
Stars: ✭ 46 (-66.42%)
Mutual labels:  competitive-programming, hackerrank
Programming Contest
My solutions of some problems from different online judges
Stars: ✭ 158 (+15.33%)
Mutual labels:  competitive-programming, programming-contests
Competitive programming
Questions solved from Various Coding websites viz. HackerRank, HackerEarth, CodeChef and other websites. This repository also contains Questions from various offline and onsite competitions.
Stars: ✭ 159 (+16.06%)
Mutual labels:  competitive-programming, hackerrank
GoogleCodeJam-2017
πŸƒ Python Solutions of All 27 Probelms in GCJ 2017
Stars: ✭ 53 (-61.31%)
Mutual labels:  competitive-programming, programming-contests

online-judge-tools/verification-helper

Actions Status GitHub Pages PyPI LICENSE

README ζ—₯本θͺžγƒγƒΌγ‚Έγƒ§γƒ³

What is this?

This is a tool to easily automate the verify process of your code library for competitive programming.

How to use

Set up the repository for the library

Please read this: https://online-judge-tools.github.io/verification-helper/installer.html

Running the program

Installation

$ pip3 install online-judge-verify-helper

Python 3.6 or above is required.

Automating the verification

First, specify the problem URL to be used to verify the library in the file including .test. in its path (e.g. for C++, write #define PROBLEM "https://judge.yosupo.jp/problem/unionfind" in a file like example.test.cpp; see the reference for other languages). Then, run the following command to check if the verification can be performed.

$ oj-verify run

Currently, problems on Library Checker and Aizu Online Judge are supported. For the details, see the reference.

Autoexpansion of #includes

The include statements in your files in the form of #include "foo.hpp" can be expanded, similar to the functionality provided by webpack for JavaScript. This is to solve the problems that most online judges do not support submitting multiple files. The function can be used by running the following command:

$ oj-bundle main.cpp

If your competitive programming library resides outside the current directory, please specify the flag in the form of -I path/to/your/library. I recommend make shell aliases like alias oj-bundle='\oj-bundle -I path/to/your/library'.

Include guards like #pragma once are partially supported. If you have files that will be included multiple times but you only want them to appear once in the generated code, add #pragma once to the first line of the files.

Generating Documentation

Run the following command to generate documentation in .verify-helper/markdown/. Example: https://online-judge-tools.github.io/verification-helper/ GitHub Pages

$ oj-verify docs

If documentation generators like Doxygen are found when generating documentation, they will be automatically used. TeX expressions like $(N \sum_i A_i)$ are also supported by the MathJax library. For the details, see the reference.

Tips

  • If you cannot find problems to verify your library, you can refer to other users' libraries. You can find all users of online-judge-verify-helper at https://github.com/search?q=online-judge-verify-helper+path%3A.github.
  • If you cannot find problems to verify your library anywhere, we suggest that you add a problem to Library Checker. You can use Hello World as a dummy problem to run your own stress tests.
  • You do not need to display the MIT License if you call online-judge-verify-helper from GitHub Actions (Details, in Japanese).
  • This is tool to efficiently verify your library, not to check or prettify your code. If you need such functions, you can try formatters like clang-format or linters like cppcheck.

Authors

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].