🤖 crap/dry/mutate checks silently skip untracked files

Abierto
#7,880 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python, typescript
Área
tooling

Línea de trabajo

Start with scripts/crap/changes.ts and mutate_report.py, where the file lists come from git ls-files, and check how the CRAP, DRY and mutation gates pick their inputs. Create an untracked file under src/ and run the three checks to confirm it is skipped. Done when the checks either warn about untracked source files or score them, and the choice between the two fixes is settled in the thread.

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

Descripción

The local CRAP, DRY and mutation gates skip untracked files without a warning.

scripts/crap/changes.ts does not count untracked files, and mutate_report.py copies only git ls-files. A new source or test file passes the gates unscored until someone stages it.

Suggested fix: the checks print a warning that lists untracked source files under src/, or score files added with git add -N.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high

Lenguaje dominante
TypeScript
Estrellas
2.1k
Forks
139
Merge medio
4 h 38 min
PR fusionados (30 d)
926

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 coder/xum

Todos los issues de coder/xum

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.