Fix Chapter 11 quiz inference routing and failure handling
This PR follows up on the following forum report:
The grader currently fails while trying to reach api-inference.huggingface.co, after which valid alternative solutions may be marked as incorrect by the string-comparison fallback.
Changes
Update
huggingface-hubfrom0.28.1to1.4.1.Use
provider="auto"withInferenceClient.Keep the existing grader model and prompt unchanged.
If inference fails:
- accept an exact formatted-code match;
- otherwise report that the grader is unavailable without changing the score or advancing the quiz.
The patch is intentionally limited to restoring current inference routing and preventing infrastructure failures from being recorded as incorrect answers.
The patched Space was also confirmed to start successfully.
"Confirming this is still broken in production — would appreciate a merge when possible" signals real user impact, which often helps deprioritized PRs get attention