DrewMcArthur / ai-trust-testbed

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).
GNU General Public License v3.0
1 stars 1 forks source link

create datafile with two horses per datum #6

Open DrewMcArthur opened 7 years ago

DrewMcArthur commented 7 years ago

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.