Refuse a judge case above a stated upper bound
Los mantenedores suelen responder en 1 día
@Patriciaath999 ya está trabajando en esto.
Desde el 26/11/2026.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 65/100
Línea de trabajo
Start from check_judge_case_bounds, added for #732 in #829, and the LOWER_BOUND matcher it uses. Add the mirror-image check that reads the maximum from the same constraint forms (plain integers, 10^4, 3 * 10^4), skips any other form, and refuses a judge case above it with the same message shape. Done means a case above the stated maximum is refused, and constraints with unparseable maximums are passed through unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
check_judge_case_bounds (added for #732 in #829) refuses a judge case below the lower bound a constraint states, but not one above its upper bound. The argument is the same: the interviewer gives the bound when asked, and a candidate told "n is between 1 and 8" may size a C buffer as char out[8][17], or a Java boolean[301] for a template of at most 300 letters, and then fail a case past the stated maximum.
In the review of #829, 148 of the 157 constraints LOWER_BOUND matches were counted as ending in a numeric maximum (8, 5000, 3 * 10^4), with no judge case exceeding any of them, so refusing size > highest would refuse nothing in the bank today and keep it that way.
Proposed: read the maximum of the same constraint forms (10^4, 3 * 10^4 and plain integers), refuse a case above it with the same message shape, and skip a maximum written any other way, as the lower bound does.
- Lenguaje dominante
- Rust
- Estrellas
- 236
- Forks
- 153
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 187
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de sysprog21/codetrial
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Unify Java harness validation error messagesPosiblemente ocupada @weichieh0204 la tomó hoy. Abierto
sysprog21/codetrial#872 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Inferred void class operations are never checked against the starter's return typePosiblemente ocupada @papaya0112 la tomó hoy. Abierto
sysprog21/codetrial#871 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Edge Thumbnail Store accepts a store that does not refresh a key on overwritePosiblemente ocupada @BOBOGUAGUA428 la tomó hoy. Abierto
sysprog21/codetrial#869 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de sysprog21/codetrial
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
manaflow-ai/cmux#59692 ·
Los mantenedores suelen responder en 1 día
-
Retire stale Python-parity labels in Rust ingress and auth testsPosiblemente ocupada @github-actions la tomó hoy. Abiertofactory factory:building factory:unowned ralph-status:in-progress via:opencode-free/hy4-flash-free
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
JoshCLWren/comic-pile#5874 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
status:ready unit
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
nonagenticai/conveyor#787 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día