Files
glm-coding-helper/scripts
OLmatter c19198b893 fix: map_prompt_to_boxes crash on mismatch - candidate-score fallback instead
When OCR misreads a character (e.g. 钡→部 lookalike) or multi-window requests
cross, prompt chars don't match box chars exactly -> indices_for_prompt raised
RuntimeError -> worker crashed -> captcha failed. Now map_prompt_to_boxes
catches the mismatch and falls back to candidate_scores: each prompt char
picks the box with highest candidate score for that char. Only warns to stderr,
never crashes. Worst case the click order is wrong but the worker stays alive
for the next captcha.
2026-06-24 22:30:25 +08:00
..