Блог пользователя Urn_nik

Автор Urn_nik, история, 3 недели назад, По-английски

Hi Codeforces!

I solve problems on several judges, and I wanted one place that shows all of it: how many problems I've solved on each judge, a year-long activity heatmap, and difficulty distributions on each judge's own scale. Existing tools either only show totals or only cover one site, so I made SolveLog — a free, open-source (GPL-3.0) macOS app.

GitHub: https://github.com/solvelog/solvelog

What it does

  • Collects your own submissions into a local SQLite database and shows them in one dashboard: solved count per judge, acceptance rate, recent submissions, and a GitHub-style heatmap.
  • Difficulty charts in each judge's own scale:
  • Codeforces: problem rating, coloured by the matching rank (gray → red)
  • AtCoder: AtCoder Problems difficulty, in AtCoder colour tiers
  • CodeChef: official difficulty rating, grouped by stars
  • Luogu: the 9 official levels — identical to the numbers on your Luogu practice page
  • Project Euler: levels 0–40
  • Optional clist.by ratings as one scale across judges
  • Several handles per judge can be merged, and team submissions are counted once.
  • CSV/JSON export and import, and a command-line mode for scripting.

Supported judges

Judge How data is read
Codeforces official API (user.status, problemset.problems)
AtCoder AtCoder Problems API
CodeChef, LibreOJ public endpoints
UOJ your own sign-in (optional)
Luogu, Project Euler pages you open yourself — see below

Being polite to the judges

Everything runs locally; there is no server and nothing is uploaded anywhere. Requests are deliberately slow, and SolveLog backs off on HTTP 429.

Luogu runs an automatic ban system for automated access and warns users not to hand their cookies to tools. So SolveLog never contacts Luogu (or Project Euler). Instead, a small userscript (Greasy Fork) reads the data that is already on the page you opened — your practice page or record list — and copies it to the clipboard; you paste it into the app. No cookie, no extra requests.

Judges that block automated access behind a challenge (e.g. QOJ) are not supported, on purpose.

A note on how it was made

The code was written mainly by Claude Opus 5.5 (an AI model). I decided what the app should do, tested it against real accounts and checked the numbers (e.g. that the Luogu chart matches Luogu's own statistics exactly). Because it is AI-written, please read the code before trusting it with a sign-in — it's not large. Bug reports and pull requests are very welcome.

Limitations

  • macOS 13+ only, and for now you build it from source (one command: scripts/build-app.sh --install).
  • For Luogu you get solved/tried problems and the submissions on the record pages you import, not your full history.

If you also train on several judges, I hope it's useful. Feedback is welcome here or on GitHub Issues!

  • Проголосовать: нравится
  • +11
  • Проголосовать: не нравится