Unhelpful feedback in some cases?

Đang mở
#95 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
49/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
haskell
Lĩnh vực
testing

Hướng nghiên cứu

Start by locating the code that formats feedback when a Prolog query result fails; the issue does not name a file or test. Read the existing failure path and tests for query results, then identify how expected and submitted pairs are represented. Done means the feedback shows the mismatch with the test expectation for incomplete results and the related tests pass.

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

Mô tả

last week's task configuration contains:

specifications:
  - 'brother(X, Y): brother(peter, mary), brother(peter, luke),
     brother(luke, mary), brother(luke, peter), brother(paul, sandra)'

A submission contains a mistake such that there's some pairs missing. The feedback in this case doesn't really help much:

No.
1 test was run
The following test case failed:
    The result of the query "?- brother(X, Y)." is incorrect.
    Your submission gives:
        X = luke, Y = peter
        X = peter, Y = luke

I think it would be better to also point out the mismatch with the test expectation as well.

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

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.