criteo: download URL redirects to a host that no longer resolves
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
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python, tensorflow
- Lĩnh vực
- data, machine-learning
Hướng nghiên cứu
Đọc tensorflow_datasets/recommendation/criteo/criteo.py quanh dòng 139 và mục đầu tiên trong criteo/checksums.tsv. Cập nhật URL tải xuống ở cả hai nơi thành URL tệp Hugging Face đã được xác minh trong issue, đồng thời giữ nguyên checksum và kích thước đã ghi nhận. Hoàn tất khi builder sử dụng nguồn hoạt động được và việc xác minh checksum vẫn khớp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Short description
tensorflow_datasets/recommendation/criteo/criteo.py line 139 (master 252301a) downloads http://go.criteo.net/criteo-research-uplift-v2.1.csv.gz. That URL answers 302 to https://criteostorage.blob.core.windows.net/criteo-research-datasets/criteo-uplift-v2.1.csv.gz, and criteostorage.blob.core.windows.net does not resolve (NXDOMAIN from 8.8.8.8 as well), so the file cannot be downloaded from this URL. A HEAD request to the go.criteo.net URL answers 404 instead of 302. Criteo's dataset page, the builder's homepage (line 132), still links the same go.criteo.net URL.
Environment information
I did not run TFDS; the failure is in the URL that criteo.py and criteo/checksums.tsv hold on master, checked with curl 8.5.0 on Ubuntu 24.04 on 2026-11-30.
Reproduction instructions
$ curl -sS -D - -o /dev/null http://go.criteo.net/criteo-research-uplift-v2.1.csv.gz
HTTP/1.1 302 Found
location: https://criteostorage.blob.core.windows.net/criteo-research-datasets/criteo-uplift-v2.1.csv.gz
$ curl -sSL -o /dev/null http://go.criteo.net/criteo-research-uplift-v2.1.csv.gz
curl: (6) Could not resolve host: criteostorage.blob.core.windows.net
$ getent hosts criteostorage.blob.core.windows.net; echo "exit $?"
exit 2
$ curl -sSI http://go.criteo.net/criteo-research-uplift-v2.1.csv.gz | head -1
HTTP/1.1 404 Not Found
Expected behavior
A working source for the same file. Criteo's verified organization on Hugging Face publishes it in the dataset criteo/criteo-uplift:
At that revision the file is 311,422,618 bytes with SHA-256 2716e1bf0fd157a93b5bf86924d9088419dfbac2022c6cd90030220634f616dc, the same size and checksum as the line in criteo/checksums.tsv:
$ curl -sSI https://huggingface.co/datasets/criteo/criteo-uplift/resolve/2424920019e49d52d72c13ac1143ec5d53af276b/criteo-research-uplift-v2.1.csv.gz | grep -i '^HTTP\|^x-linked'
HTTP/2 302
x-linked-size: 311422618
x-linked-etag: "2716e1bf0fd157a93b5bf86924d9088419dfbac2022c6cd90030220634f616dc"
I downloaded that file for another project and its SHA-256 is the one above: https://github.com/sHyanorn/uplift-checks/blob/acd0876544041f4efc0afe320f06bd5bb11f7631/ranking/PREREGISTRATION.md?plain=1#L19
Replacing the URL on line 139 and in the first column of checksums.tsv keeps the recorded size and checksum, so VERSION 1.0.1 would not change. I can open a pull request with that change.
- Ngôn ngữ chính
- Python
- Star
- 4.6k
- Fork
- 1.6k
- Merge trung bình
- 14 giờ 3 phút
- Pull request đã merge (30 ngày)
- 5
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 tensorflow/datasets
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
tensorflow/datasets#11253 ·
-
DatasetInfo.read_from_directory reads the deprecated FieldDescriptor.label eagerly, warning on every openCó thể đã có người làm @jabrailkhalil đã nhận 48 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
tensorflow/datasets#11245 · 1 bình luận ·
-
required dependency on importlib_resources missingCó thể đã có người làm @ArS377 đã nhận 128 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tensorflow/datasets#11212 · 2 bình luận · 1 reaction ·
-
C4 badwords filter: capitalized entries in upstream wordlists never match (text is lower-cased, list entries are not)Có thể đã có người làm @Jefferyjia đã nhận 3 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
tensorflow/datasets#11258 ·
-
tfds.features.Audio eagerly imports TensorFlow in _AudioDecoder.__init__, breaking TensorFlow-less usageCó thể đã có người làm @raashish1601 đã nhận 54 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
tensorflow/datasets#11233 ·
Tất cả issue của tensorflow/datasets
Issue tương tự
-
difficulty:1 documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
MakazhanAlpamys/Soup#3533 ·
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 76/100
onyx-dot-app/onyx#18730 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Claiming namespace `aadml`Đang mởnamespace team:operations
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
EclipseFdn/open-vsx.org#16509 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
langflow-ai/langflow#16689 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ScoringSystem.get() and compute() return NotImplementedError instead of raising itCó thể đã có người làm @sc-lacanlale đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
aboutcode-org/vulnerablecode#2552 ·
Maintainer thường phản hồi trong vòng 5 ngày