# online-judge-tools/oj

Tools for various online judges. Downloading sample cases, generating additional test cases, testing your code, and submitting it.

Repository: https://github.com/online-judge-tools/oj
Canonical: https://ross.abutalabs.com/products/online-judge-tools-oj
Language: Python
License: MIT
License Family: permissive
Topics: competitive-programming, automation, scraping, atcoder, codeforces, programming-contests, testing
Last push: 2024-05-03T09:59:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3527, "days_push": 852, "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 1169, forks 111 (observed 2026-08-28T04:03:51.028553+00:00)

## What it is
A command-line tool that automates solving problems on online judges like AtCoder, Codeforces, and HackerRank. It downloads sample and system test cases, logs in, tests your code, generates test inputs/outputs, and submits solutions.

## Use cases
- download sample test cases from atcoder or codeforces
- test my competitive programming solution against sample cases
- automatically submit code to an online judge from the terminal
- generate additional test inputs for stress testing
- scrape problem statements and test data from online judges
- run reactive problem testing locally

## When to choose
- you solve competitive programming problems and want to automate the download-test-submit loop
- you need stress testing with generated inputs against a reference implementation
- you work across multiple judges (AtCoder, Codeforces, HackerRank) from one CLI

## When to avoid
- you need a GUI or IDE-integrated judge client
- you want to bypass judge rate limits or terms of service with heavy scraping
- you need a general-purpose web scraping framework

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, web-scraping, testing, workflow-automation, developer-tools
- domain: developer-tools, crawlers
- platform: cli, python, cross-platform
- tags: competitive-programming, online-judge, atcoder, codeforces, sample-cases, test-generation, code-submission, command-line, automation

## Member repositories
- online-judge-tools/oj (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.028553+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-30T06:28:42.949916+00:00, confidence not recorded.
  - readme: https://github.com/online-judge-tools/oj (fetched 2026-08-28T04:03:51.028553+00:00, sha e045fc88bf19)
- Data as of 2026-08-30T08:39:29.467469+00:00.
