Unhelpful feedback in some cases?

Abierto
#95 1 comentario 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
49/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
haskell
Área
testing

Línea de trabajo

Start by locating the code that formats feedback when a Prolog query result fails; the issue does not name a file or test. Read the existing failure path and tests for query results, then identify how expected and submitted pairs are represented. Done means the feedback shows the mismatch with the test expectation for incomplete results and the related tests pass.

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

Descripción

last week's task configuration contains:

specifications:
  - 'brother(X, Y): brother(peter, mary), brother(peter, luke),
     brother(luke, mary), brother(luke, peter), brother(paul, sandra)'

A submission contains a mistake such that there's some pairs missing. The feedback in this case doesn't really help much:

No.
1 test was run
The following test case failed:
    The result of the query "?- brother(X, Y)." is incorrect.
    Your submission gives:
        X = luke, Y = peter
        X = peter, Y = luke

I think it would be better to also point out the mismatch with the test expectation as well.

Lenguaje dominante
Haskell
Estrellas
0
Forks
1
Merge medio
2 d 6 h
PR fusionados (30 d)
12

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una 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 fmidue/prolog-programming-task

Todos los issues de fmidue/prolog-programming-task

Issues similares

Más issues de Haskell

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.