Add option to cut checks after a specified stage

Đang mở
#70 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
haskell
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Haskell
Star
0
Fork
1
Merge trung bình
4 ngày 16 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fmidue/prolog-programming-task

Tất cả issue của fmidue/prolog-programming-task

Issue tương tự

Thêm issue về Haskell

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.