TaggedTasks overrides retain stale tag memberships

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

@sylvesterkaczmarek がすでに取り組んでいます。

2026年11月13日 から。

  • #573 @sylvesterkaczmarek による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

Find the TaggedTasks implementation and tests covering add(), tagged(), and tags(); the issue does not name file paths. Start by reproducing the replacement cases described in the issue, including replacing a factory with no tags. Done means stale tag memberships and empty tags are removed while unrelated tasks and registration order remain unchanged; note that pull request #573 is already open.

索引モデルが issue の本文から書いたものです。

説明

TaggedTasks(allow_overriding_keys=True) lets a newly registered factory replace an existing one by function name, but add() writes the new tags without removing the old tag entries. The tags index therefore retains stale membership and references to the replaced factory, and tagged(old_tag) incorrectly returns the replacement even when it was not registered under old_tag. Overriding with no tags leaves every old tag in tags().

Reproduced on current main with replacement factories that change, remove or share tags. Clearing the overridden name from the old tag index and pruning empty tags makes tagged() and tags() reflect the current factory registrations, while preserving unrelated tasks and their registration order.

主要言語
Python
スター
4.7k
フォーク
778
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

google-deepmind/dm_control のほかの issue

google-deepmind/dm_control の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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