我在用 enum.Flag 的时候碰到两个怪现象:没设 boundary 的 Flag ,像 Color(8) 这种带未知 bit 的值会被静默变成…
我在用 enum.Flag 的时候碰到两个怪现象:没设 boundary 的 Flag ,像 Color(8) 这种带未知 bit 的值会被静默变成…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Expected outcomes: - enum.Flag subclasses that do not explicitly set boundary should reject values containing bits not represented by the…
The task
Expected outcomes: - `enum.Flag` subclasses that do not explicitly set `boundary` should reject values containing bits not represented by the flag definition, instead of silently discarding those bits. - Explicit `boundary` choices should continue to work according to their documented meaning, including `STRICT`,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.