pub fn variant_to_map(variant: Vec<(&str, &str)>) -> BTreeMap<String, String>Expand description
Convert Problem::variant() output to a stable BTreeMap.
Normalizes empty "graph" values to "SimpleGraph" for consistency
with the reduction graph convention.