cp.nvim/scrapers
Barrett Ruth d56fd38ab2 fix(codechef): replace blind sleeps and fix practice fallback detection
Problem: Submit used fixed `wait_for_timeout` delays throughout, and the
practice fallback check only matched one dialog variant, causing "contest
not available for submission" to be silently swallowed as success.

Solution: Replace the initial 2s page-load sleep with
`wait_for_selector('[aria-haspopup="listbox"]')`, drop unnecessary sleeps
around the Ace editor click and submit button, and wait for the result
dialog with `wait_for_selector` instead of a fixed 3s sleep. Extend the
fallback check to also match "not available for submission".
2026-03-06 23:39:26 -05:00
..
__init__.py lol 2025-09-24 21:23:06 -04:00
atcoder.py fix: expand language IDs, fix AtCoder submit, normalize logging (#353) 2026-03-06 21:35:13 -05:00
base.py feat: validate credentials on :CP <platform> login (#310) 2026-03-05 15:12:09 -05:00
codechef.py fix(codechef): replace blind sleeps and fix practice fallback detection 2026-03-06 23:39:26 -05:00
codeforces.py fix(login): remove cookie fast-path from login subcommand (#344) 2026-03-06 17:53:22 -05:00
cses.py feat(codechef): implement full CodeChef support (#354) 2026-03-06 23:10:44 -05:00
kattis.py fix: expand language IDs, fix AtCoder submit, normalize logging (#353) 2026-03-06 21:35:13 -05:00
language_ids.py feat(codechef): implement full CodeChef support (#354) 2026-03-06 23:10:44 -05:00
models.py feat: race countdown support and language version selection (#346) 2026-03-06 18:18:21 -05:00
timeouts.py feat(codechef): implement full CodeChef support (#354) 2026-03-06 23:10:44 -05:00
usaco.py feat: race countdown support and language version selection (#346) 2026-03-06 18:18:21 -05:00