docs: def get_samples_by_grp(self):
          """
          :returns: a dictionary src_group_id -> source_model.samples
          """
          return {grp.id: sm.samples for sm in self.source_models
                  for grp in sm.src_groups}