Add option to cut checks after a specified stage

未關閉
#70 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
22/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
活躍
技術堆疊
haskell
領域
testing

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Haskell
星號
0
分支
1
平均合併
4 天 16 小時
30 天內合併 PR
14

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

fmidue/prolog-programming-task 的其他 Issue

查看 fmidue/prolog-programming-task 的全部 Issue

相似的 Issue

更多 Haskell Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。