[Error-Handling]: instructions are unclear, and wrong programs pass the tests
Đánh giá
Issue này chưa được đánh giá.
Mô tả
I just did the error-handling exercise, and had several issues:
- It was unclear at first what to do with inputs. Looking at the tests, it seemed that trying to convert the input to
intwas the right thing to try, but this is not mentioned in the readme or the stubs. - The test for whether a method throws an exception will pass any error that might occur, not just if it's intentionally raised:
def handle_error_by_throwing_exception():
raise "(╯°□°)╯︵ ┻━┻" # Raising a string is a TypeError, but passes the test
- When returning a tuple, which element should be the result and which one the status? What should the result element be when it fails? No suggestion
- No mention of advantages or disadvantages of the different kinds of error handling, or what is idiomatic Python.
- Ngôn ngữ chính
- Python
- Star
- 2.5k
- Fork
- 1.5k
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của exercism/python
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Current status of approachesĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
[General Docs] Audit/Cleanup of Track General/Shared DocsCó thể đã có người làm @Yrahcaz7 đã nhận 6 ngày trước. Đang mở
-
[Decimals]: New Concept and Concept ExerciseCó thể làm lại được @BethanyG đã nhận 516 ngày trước và không có pull request nào đang mở. Đang mở
Tất cả issue của exercism/python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
bug difficulty:2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
MakazhanAlpamys/Soup#3167 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
snap-stanford/Biomni#380 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
jsboige/CoursIA#27768 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Resource]: Math ParadoxesĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
rossant/awesome-math#206 ·