TaggedTasks overrides retain stale tag memberships
評估
研究方向
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
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
google-deepmind/dm_control 的其他 Issue
-
Initial observation padding changes when source arrays are reused可能已有人在做 @sylvesterkaczmarek 於 53 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
google-deepmind/dm_control#559 ·
-
Small quaternion rotations are lost in axis-angle conversion可能已有人在做 @sylvesterkaczmarek 於 48 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 68/100
google-deepmind/dm_control#563 ·
-
Built-in observation aggregators drop bounds-preserving specifications可能已有人在做 @sylvesterkaczmarek 於 53 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 75/100
google-deepmind/dm_control#560 ·
-
Flattened observations disagree with explicitly declared task specifications可能已有人在做 @sylvesterkaczmarek 於 53 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 74/100
google-deepmind/dm_control#557 ·
-
Schema regeneration in 985d0940 dropped three declarations MuJoCo 3.12 accepts (contact sensor, jointinparent references, custom numeric arrays)可能已有人在做 @shoemoney 於 88 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 76/100
google-deepmind/dm_control#552 ·
查看 google-deepmind/dm_control 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 73/100
維護者通常 1 天內回覆
-
Unused loot bag group names left in dreamcraft en_US.lang可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉Status: Triage Suggestion
難度 1/5 1 小時以內 新手友好度 90/100
GTNewHorizons/GT-New-Horizons-Modpack#27789 ·
維護者通常 1 天內回覆
-
bug frontend sev-5
難度 2/5 1-3 小時 新手友好度 83/100
-
core good first issue
難度 2/5 1-3 小時 新手友好度 65/100
-
b4b code health next
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆