Fix KDKS and SwissPL MetaFederation definitions
It seems like we want to be able to say "and was the country affiliate for this federation on the given date". Right now we can get that information via sanctioning_body()
, but that's somewhat backwards, because you have to specify None
for all dates prior to the federation existing in the first place.
Maybe we want a function Federation::country_affiliate(country, date)
that specifies the other direction. Then we could automatically take that up in the MetaFederation.
Or we could just hardcode the logic. I need to try things out and see what looks cleaner.
I think this may be due for a larger cleanup -- the entire federation.rs
is due for an overhaul so that the data isn't so spread-out.