get_training_variants.py: first commit, very sloppy