A program designed for a study involving participants' trust in an artificial intelligence. This is tested by asking the participant to "bet" on horse races where an AI has predicted the outcome. Researchers will then observe the participant's actions while choosing their bet, as an indication of trust, (i.e. choosing the AI's suggestion, amount of time taken, etc).
read horse info until get to new race, adding to list.
now we have a list of dictionaries, each containing info about each horse in the race
we can then create dictionaries representing a single row to write to the file by merging the race info with a combination of two horses' dictionaries from the list, creating all possible combinations.
read horse info until get to new race, adding to list. now we have a list of dictionaries, each containing info about each horse in the race we can then create dictionaries representing a single row to write to the file by merging the race info with a combination of two horses' dictionaries from the list, creating all possible combinations.