Skip to content

Add option to cut checks after a specified stage #70

Open

Description

@nimec01

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 #69 (comment)

Activity

  1. changed the title [-]Add option to cut tests after a specified stage[/-] [+]Add option to cut checks after a specified stage[/+] on Nov 3, 2026
  2. jvoigtlaender commented on Nov 17, 2026

    @jvoigtlaender
    Member

    After #74, there could in principle be more choices:

    • cut before BeforeTests (i.e., when only the not allowListPatternMatching and findNewPredicateDefs have run)
    • cut after BeforeTests but before testRunner
    • cut after testRunner but before AfterTests
    • cut just before redundantCode analysis
    • do not cut at all
  3. jvoigtlaender commented on Nov 30, 2026

    @jvoigtlaender
    Member

    To some extent, #94 is also relevant here.

    To address this comprehensively, one might after all go more into the direction of what the Haskell task type does. That is, not just cutting off any further testing completely, but in a more fine-grained way make distinctions of what is considered "should be displayed as feedback before the submission deadline" and what is considered "should be checked, but only displayed later". Instead of just being able to say "from a certain stage on, the checks will not run at all".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions