`unlint-non-existing-defect` benchmark lacks coverage for documents with `+unlint` metas, potentially missing regressions

Abierto
#1,284 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@VasilevNStas ya está trabajando en esto.

Desde el 19/8/2026.

  • #1285 de @VasilevNStas — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
java

Línea de trabajo

Comienza con las entradas «unlint-non-existing-defect» de la tabla de benchmarks del README y con la implementación de LtUnlintNonExistingDefect. Traza cómo las metas +unlint seleccionan los lints nombrados y cómo se mide existingDefects(), y después añade un fixture de benchmark que contenga metas +unlint que hagan referencia a defectos existentes. Se considera terminado cuando el benchmark del README cubra ese recorrido y proporcione tiempos para futuras regresiones.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement good-title

I cannot tell whether objectionary/lints#1233 (or any future change to LtUnlintNonExistingDefect) is safe, because the only benchmark we have for that lint — the unlint-non-existing-defect entries in the README benchmark table — is driven by real-world bytecode-derived XMIR (com.sun.jna.*, org.apache.hadoop...FSNamesystem), none of which contain a single +unlint meta. That benchmark only measures the "no +unlint at all" fast path.

objectionary/lints#1233 changes the other path too: when +unlint metas are present, it now filters this.lints down to only the lints referenced by name before computing existingDefects(), instead of running the full list. We have no fixture with +unlint metas referencing defects that actually exist, so we have zero timing signal for that code path — no way to tell if it got faster, stayed the same, or regressed.

Lenguaje dominante
Java
Estrellas
14
Forks
43
Merge medio
1 d 20 h
PR fusionados (30 d)
166

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de objectionary/lints

Todos los issues de objectionary/lints

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.