Implement time-based cache invalidation for dataset description cache
Maintainer thường phản hồi trong vòng 2 ngày
Đá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ính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- data, machine-learning
Hướng nghiên cứu
Start at _get_dataset_description and inspect the TODO and existing handling of description.xml and force_refresh_cache=True. Determine the intended cache age and verify that old cached descriptions refresh while recent ones remain usable; done means dataset metadata is no longer reused indefinitely.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
### Problem
The function _get_dataset_description caches the dataset description (description.xml) to disk, but the cache is never invalidated.
Dataset descriptions contain metadata such as dataset status (active, deactivated, etc.), which may change over time on the OpenML server. Because the cached description file is reused indefinitely, users may receive stale metadata if the local cache is old.
There is also a TODO comment in the code suggesting that this cache should invalidate itself after some time.
Expected Behavior
Cached dataset descriptions should be refreshed periodically to ensure that metadata reflects the current state on the server.
Current Behavior
Once description.xml is downloaded and cached, it is reused indefinitely unless the cache directory is manually deleted or force_refresh_cache=True is used.
- 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
-
[BUG] create_task() hardcodes task_type="None" instead of inferring type string from TaskTypeCó thể đã có người làm @shellyco-code đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
openml/openml-python#1766 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Enhancement: Add missing **kwargs support to list_setups and list_evaluationsCó thể đã có người làm @shellyco-code đã 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 84/100
openml/openml-python#1753 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
[ENH] list_estimation_procedures() should include the procedure IDsCó thể đã có người làm @Jayant-kernel đã nhận 11 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 2 ngày
-
[DOC] Update documentation for running tests with local servicesCó thể đã có người làm @nishtha-agarwal-211 đã nhận 210 ngày trước. Đang mở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 2 ngày
-
[MNT] Add Missing Assertions to Run Function TestsCó thể đã có người làm @Akarshkushwaha đã nhận 230 ngày trước. Đang mở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 2 ngày
Tất cả issue của openml/openml-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Negation with "not" and "no" is ignored during sentiment analysisCó thể đã có người làm @vivek-3728 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
techcsispit/mess-mood#11 · 1 bình luận ·
-
changelog investigate
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ramnes/notion-sdk-py#408 ·
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
btclib-org/btclib-wallet#267 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
knnmelprop/YAADO#111 ·