criteo: download URL redirects to a host that no longer resolves
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python, tensorflow
- 领域
- data, machine-learning
调研方向
阅读 tensorflow_datasets/recommendation/criteo/criteo.py 第139行附近的内容,以及 criteo/checksums.tsv 中的第一条记录。将这两处的下载 URL 更新为 issue 中已验证的 Hugging Face 文件 URL,同时保留记录的校验和与大小。builder 使用可正常工作的来源,且校验和验证仍然匹配时,即为完成。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 4.6k
- 派生
- 1.6k
- 平均合并
- 14 小时 3 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tensorflow/datasets 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
tensorflow/datasets#11253 ·
-
DatasetInfo.read_from_directory reads the deprecated FieldDescriptor.label eagerly, warning on every open可能已有人在做 @jabrailkhalil 于 48 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
tensorflow/datasets#11245 · 1 条评论 ·
-
required dependency on importlib_resources missing可能已有人在做 @ArS377 于 128 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
tensorflow/datasets#11212 · 2 条评论 · 1 个 reaction ·
-
C4 badwords filter: capitalized entries in upstream wordlists never match (text is lower-cased, list entries are not)可能已有人在做 @Jefferyjia 于 3 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 20/100
tensorflow/datasets#11258 ·
-
tfds.features.Audio eagerly imports TensorFlow in _AudioDecoder.__init__, breaking TensorFlow-less usage可能已有人在做 @raashish1601 于 54 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 76/100
tensorflow/datasets#11233 ·
查看 tensorflow/datasets 的全部 Issue
相似的 Issue
-
difficulty:1 documentation
难度 2/5 1-3 小时 新手友好度 82/100
MakazhanAlpamys/Soup#3533 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
onyx-dot-app/onyx#18730 ·
维护者通常 1 天内回复
-
namespace team:operations
难度 1/5 1 小时以内 新手友好度 65/100
EclipseFdn/open-vsx.org#16509 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
langflow-ai/langflow#16689 ·
维护者通常 1 天内回复
-
ScoringSystem.get() and compute() return NotImplementedError instead of raising it可能已有人在做 @sc-lacanlale 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
aboutcode-org/vulnerablecode#2552 ·
维护者通常 5 天内回复