Unhelpful feedback in some cases?

Aberta
#95 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
49/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
haskell
Domínio
testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Haskell
Estrelas
0
Forks
1
Merge médio
2d 6h
PRs com merge (30d)
12

Preparar o ambiente

  • Sem Dockerfile nem arquivo Docker Compose
  • Tem um modelo de pull request
  • Sem guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de fmidue/prolog-programming-task

Todas as issues de fmidue/prolog-programming-task

Issues semelhantes

Mais issues de Haskell

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.