I first checked for this when model.load_contacts returned only the stored results, because since I changed load_contacts to also track contacts, this is no longer true, so I reckon I should set up a separate function solely for checking whether measurements/sessions etc have processed data in them.
Because of the changes I just made, there should always be contacts as soon as a measurement exists. So I added a check to load_contacts to see whether all contacts were not yet assigned, else we label it green.
I first checked for this when model.load_contacts returned only the stored results, because since I changed load_contacts to also track contacts, this is no longer true, so I reckon I should set up a separate function solely for checking whether measurements/sessions etc have processed data in them.