Unused datasets cleanup counts solution datasets and deletes their solutions
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
調査の方向性
The unused-dataset counter and the delete button share one query, so the fix starts there in the Resources quota and cleanup code. Check how solution datasets are linked to solutions and whether the query excludes them. Pull request #2646 is already open against this issue, so confirm its status before starting work. Done means the counter and the delete action both skip solution datasets.
索引モデルが issue の本文から書いたものです。
説明
On the Resources page, the quota cleanup counts solution datasets under "Unused Datasets and Programs", even when a solution that's linked to a task is using them.
The counter only treats a dataset as used if a task uses it. Solutions point to their dataset in a different way, so a solution dataset always looks unused.
The "Delete unused datasets/programs" button uses the same query, so clicking it would delete those solution datasets, and the solutions using them would be deleted along with them.
Steps to reproduce
- Create a competition from this bundle: Solution-Test-Bundle.zip
- Open Resources → Quota and cleanup.
- "Unused Datasets and Programs" includes the solution's dataset.
Proposed:
because the use of solution is not very clear for now, we will remove it from the deletion so that we don't do any unintended delete. Later on when the use of solution becomes clear, we can carefully design how to delete unused solutions.
- 主要言語
- Python
- スター
- 192
- フォーク
- 82
- 平均マージ
- 6日 10時間
- マージ済み PR(30日)
- 51
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codalab/codabench のほかの issue
-
Wrong count for failed submissions in Resource interface対応中かも @ihsaan-ullah が 17 日前に担当しました。 オープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
P1 Production
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
codalab/codabench#2679 · コメント 18 件 · リアクション 30 件 ·
メンテナーはふだん 2 日以内に返信
-
Post-it
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
codalab/codabench#2676 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
Post-it
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 2 日以内に返信
-
Enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
メンテナーはふだん 2 日以内に返信
codalab/codabench の issue をすべて見る
似ている issue
-
The changelog workflow excludes otelbot but not dependabot, so every Dependabot pull request fails the changelog check対応中かも @ocelotl が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
open-telemetry/opentelemetry-python#5825 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cuga-project/cuga-agent#1020 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
microsoft/playwright#43640 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
stac-utils/stac-fastapi-elasticsearch-opensearch#965 ·
メンテナーはふだん 2 日以内に返信
-
from-review-extraction library privacy python severity:suggested
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
LearningCircuit/local-deep-research#7951 ·
メンテナーはふだん 2 日以内に返信