Open jakirkham opened 1 month ago
cc @grlee77 (who caught this issue)
Just ran into another cases of this: https://github.com/rapidsai/rmm/pull/1613#discussion_r1718499266
Alternatively, we could roll out something like yamllint
across RAPIDS. It has a rule to prevent duplicate keys: https://yamllint.readthedocs.io/en/stable/rules.html#module-yamllint.rules.key_duplicates
That could probably be used for some of the other things I mentioned in #103 as well.
Recently we had an issue in cuCIM where the same key appeared twice ( https://github.com/rapidsai/cucim/pull/757 ). Unfortunately we didn't realize until something didn't behave correctly
It would be helpful to catch these cases in advance by having RDFG raise if it sees duplicate keys