def find_args_diff()

in scripts/plotting/plot_sweep.py [0:0]


def find_args_diff(configs: Dict) -> Set[str]:
    """Find parameters that are instantiated differently across runs."""
    # Obtain experiment settings.
    lconfigs = [flags_to_set(config["flags"]) for path, config in configs.items()]
    # Ideally we would want the symmetric difference of all sets, but that is not in Python.
    fixed_args = [a[0] for a in set.intersection(*lconfigs)]
    return set(a for c in lconfigs for a, v in c
              if a not in IGNORE_IN_DIFF and a not in fixed_args)