Add option to cut checks after a specified stage

Aberta
#70 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
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
22/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
haskell
Domínio
testing

Direção de pesquisa

The relevant code is src/Prolog/Programming/Task.hs, around line 189, where the checks would be cut off, and lines 239-241, the linter checks the issue asks about. Compare with the cut-off option in the haskell-template-task Task.hs at lines 117-119. The issue leaves open whether the option should stop before line 189 or let the linter checks run, and whether this belongs in a separate issue, so settle that with the maintainers first. Done means a config option that stops checks after a chosen stage, with the interaction with the linter checks documented.

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

Descrição

While in the business of adding ways to make the testing cheaper in production, maybe could also add an option akin to https://github.com/fmidue/haskell-template-task/blob/72d510ac4c2f80f1e5a277b965a5a229b8d5f312/src/Haskell/Template/Task.hs#L117-L119

Here the behavior probably would be to cut off before https://github.com/nimec01/prolog-programming-task/blob/33187dccf435604c5c65585a403e543c8599b92e/src/Prolog/Programming/Task.hs#L189 ?

One could try to actually let the supposedly cheap https://github.com/nimec01/prolog-programming-task/blob/33187dccf435604c5c65585a403e543c8599b92e/src/Prolog/Programming/Task.hs#L239-L241 still run, but some of these linter checks are done under the assumption that the program is already checked semantically (was that just the recursion checker?), so the lecturer would at least have to be cautioned in the config documentation that there is some interference here.

Overall, maybe stuff for a separate issue after all?

Originally posted by @jvoigtlaender in https://github.com/fmidue/prolog-programming-task/issues/69#issuecomment-6603934342

Linguagem predominante
Haskell
Estrelas
0
Forks
1
Merge médio
4d 16h
PRs com merge (30d)
14

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.