TaggedTasks overrides retain stale tag memberships
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Python
- Sterne
- 4.7k
- Forks
- 778
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus google-deepmind/dm_control
-
Initial observation padding changes when source arrays are reusedEvtl. vergeben @sylvesterkaczmarek hat das vor 53 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
google-deepmind/dm_control#559 ·
-
Small quaternion rotations are lost in axis-angle conversionEvtl. vergeben @sylvesterkaczmarek hat das vor 48 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 68/100
google-deepmind/dm_control#563 ·
-
Built-in observation aggregators drop bounds-preserving specificationsEvtl. vergeben @sylvesterkaczmarek hat das vor 53 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 75/100
google-deepmind/dm_control#560 ·
-
Flattened observations disagree with explicitly declared task specificationsEvtl. vergeben @sylvesterkaczmarek hat das vor 53 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 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)Evtl. vergeben @shoemoney hat das vor 88 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 76/100
google-deepmind/dm_control#552 ·
Alle Issues in google-deepmind/dm_control
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
Maintainer antworten meist innerhalb von 1 Tag
-
Unused loot bag group names left in dreamcraft en_US.langEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. OffenStatus: Triage Suggestion
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
GTNewHorizons/GT-New-Horizons-Modpack#27789 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug frontend sev-5
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
-
core good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
-
b4b code health next
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
ESCOMP/CTSM#4330 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag