HF RL Explorer

Pyright doesn't flag re-declaration of fields when subclassing a NamedTuple

Pyright doesn't flag re-declaration of fields when subclassing a NamedTuple: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Pyright doesn't flag re-declaration of fields when subclassing a NamedTuple I have a small class hierarchy where the base class is a…

The task

Pyright doesn't flag re-declaration of fields when subclassing a NamedTuple I have a small class hierarchy where the base class is a typing.NamedTuple, and a subclass re-declares one of the parent's fields: Pyright doesn't say anything about the x: float line, even with…

Part of XiaomiMiMo/MiMo-V2.6-RL-oss.