Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

store parsed definitions in `TaskInstance`

Đang mở
#57 0 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

@nimec01 đang làm issue này rồi.

Từ ngày 15/10/2026.

  • #61 của @nimec01 — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
haskell
Lĩnh vực
backend

Hướng nghiên cứu

Start with the TaskInstance record and find where hiddenPredicates and visiblePredicates are stored as String and where consultString is called. Check how checkTask reads the predicates, since it will need the parsed form. Done means hiddenPredicates holds the consultString result, and visiblePredicates keeps two fields, one display string and one parsed program, with existing tests still passing.

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

Mô tả

Specifically hiddenPredicates need not be stored as String but instead it would make sense to store its consultString result.

And even for visiblePredicates it probably makes sense to "cache" its consultString result in the TaskInstance. That is, instead of one, there would be two fields in that record: one for the string as to be displayed to students as task text and one for the parsed program as to be used during checkTask.

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

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.