Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unused datasets cleanup counts solution datasets and deletes their solutions

オープン
#2,645 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@ihsaan-ullah がすでに取り組んでいます。

2026年10月9日 から。

  • #2646 @ihsaan-ullah による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
django, python
領域
backend

調査の方向性

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
  1. Create a competition from this bundle: Solution-Test-Bundle.zip
  2. Open Resources → Quota and cleanup.
  3. "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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codalab/codabench のほかの issue

codalab/codabench の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。