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

Problem of using gradethis for code checking

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

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
45/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
python, r
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start by reproducing the reported gradethis failures with the square-bracket expression and the mean calculation in the exercise render, then inspect the render console errors. Compare how gradethis evaluates these Python examples and identify whether the grading path can handle them; done means both examples render and grade without the reported error.

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

Mô tả

bug

I found there is a limitation using gradethis package to assess the exercise code for python. It seems not agree to use a square bracket [ wrapped in a round bracket (. Even though I've set the solution in this way, it will still show message saying "A problem occurred with the grading code for this exercise". I guess it's because it can't evaluate python code properly.

Image

An error will also show in my render console:

Image

Another example is the code chunk to calculate mean value:

Image

The error showing in my render console:

Image

So I have to not using gradethis for now and possibly find another solution.

Ngôn ngữ chính
R
Star
0
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 Public-Health-Scotland/python-training

Tất cả issue của Public-Health-Scotland/python-training

Issue tương tự

Thêm issue về R

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.