feat(codechef): implement full CodeChef support #354

Merged
barrettruth merged 9 commits from feat/codechef into main 2026-03-07 04:10:45 +00:00
barrettruth commented 2026-03-07 04:09:01 +00:00

Problem

CodeChef had no working login, submit, or contest list. The browser
selectors were wrong, the contest list was missing present/past contests,
and problem/contest URLs were unset.

Solution

Fix login and submit selectors for the Drupal-based site. Paginate
/api/list/contests/past to collect all 228 Starters, then expand each
parent contest into individual division entries (e.g. START228 (Div. 4)).
Add language IDs, correct url/contest_url/standings_url in metadata,
and make :CP <platform> open the contest picker directly.

## Problem CodeChef had no working login, submit, or contest list. The browser selectors were wrong, the contest list was missing present/past contests, and problem/contest URLs were unset. ## Solution Fix login and submit selectors for the Drupal-based site. Paginate `/api/list/contests/past` to collect all 228 Starters, then expand each parent contest into individual division entries (e.g. `START228 (Div. 4)`). Add language IDs, correct `url`/`contest_url`/`standings_url` in metadata, and make `:CP <platform>` open the contest picker directly.
Sign in to join this conversation.
No description provided.