[MNT] Complete Test for Sparse Dataset Row ID and Ignore Attributes Inclusion
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- data, testing-qa
Hướng nghiên cứu
Bắt đầu trong tests/test_datasets/test_dataset.py tại test_get_sparse_dataset_rowid_and_ignore_and_target, sau đó chạy test đó để kiểm tra hành vi hiện tại của sparse dataset. Mở rộng hoặc thêm case bằng cách sử dụng target="class", include_row_id=True và include_ignore_attribute=True. Hoàn thành khi các assertions bao quát shape đầu ra mong đợi, row ID, các cột bị ignore được loại trừ và các categorical indicators đã được cập nhật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The test test_get_sparse_dataset_rowid_and_ignore_and_target in test_dataset.py#L382 currently sets ignore_attribute and row_id_attribute on a sparse dataset but calls get_data() with include_row_id=False and include_ignore_attribute=False. This means the test doesn't verify behavior when these attributes are actually included in the output.
Steps:
- Add a new test case or extend the existing one to call
get_data(target="class", include_row_id=True, include_ignore_attribute=True). - Assert the correct output shape (should exclude the ignored columns and include row IDs if applicable).
- Verify that categorical indicators are updated accordingly.
- Run the test to ensure it passes with the sparse dataset.
The test should validate that sparse datasets handle row ID and ignore attributes correctly when included, improving test coverage for edge cases.
Source: Mentioned TODO in source code (same line)
- Ngôn ngữ chính
- Python
- Star
- 362
- Fork
- 304
- Merge trung bình
- 2 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 openml/openml-python
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
openml/openml-python#1753 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[ENH] list_estimation_procedures() should include the procedure IDsCó thể đã có người làm @Jayant-kernel đã nhận 7 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
openml/openml-python#1750 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
openml/openml-python#1749 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documentation Good First Issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
openml/openml-python#1708 · 8 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Good First Issue module:Run testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
openml/openml-python#1646 · 9 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của openml/openml-python
Issue tương tự
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#132042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
deepset-ai/haystack#13092 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EverMind-AI/Raven#845 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] 移除「切换到旧版知识库」入口Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AstrBotDevs/AstrBot#10340 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BasedHardware/omi#20401 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày