criteo: download URL redirects to a host that no longer resolves
まだ誰も着手していません。
評価
- 難易度
- 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分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
-
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 日以内に返信