Add option to cut checks after a specified stage

Aperta
#70 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
haskell
Ambito
testing

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Haskell
Stelle
0
Fork
1
Merge medio
4g 16h
PR unite (30g)
14

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fmidue/prolog-programming-task

Tutte le issue di fmidue/prolog-programming-task

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.