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

Implement time-based cache invalidation for dataset description cache

Đang mở
#1,714 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 2 ngày

@emphor11 đang làm issue này rồi.

Từ ngày 17/3/2026.

  • #1715 của @emphor11 — đang mở

Đá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

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 openml/openml-python

Tất cả issue của openml/openml-python

Issue tương tự

Thêm issue về Python

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.