MarieHammermeister commited on
Commit
1be1b92
1 Parent(s): b0d3999

Upload 34 files

Browse files
Files changed (34) hide show
  1. Non-specialists-dataset.xlsx +0 -0
  2. Non-specialists-dataset/log.csv +9 -0
  3. Student_dataset_complete_excel.xlsx +0 -0
  4. Student_dataset_complete_excel/log.csv +7 -0
  5. logs/log-20230727-222248.log +0 -0
  6. main.py +161 -0
  7. prompts/prompts_Addition_difficult.csv +1 -0
  8. prompts/prompts_Addition_easy.csv +1 -0
  9. prompts/prompts_Division_difficult.csv +1 -0
  10. prompts/prompts_Divison_easy.csv +1 -0
  11. prompts/prompts_Function_IB_HL_(highest_difficulty).csv +1 -0
  12. prompts/prompts_Function_IB_SL_(medium_difficulty).csv +1 -0
  13. prompts/prompts_Function_IB_studies_(lowest_difficulty).csv +1 -0
  14. prompts/prompts_Multipliation_diffiult.csv +1 -0
  15. prompts/prompts_Multipliation_easy.csv +1 -0
  16. prompts/prompts_Probability_IB_HL_(highest_difficulty).csv +1 -0
  17. prompts/prompts_Probability_IB_SL_(medium_difficulty).csv +1 -0
  18. prompts/prompts_Probability_IB_studies_(lowest_difficulty).csv +1 -0
  19. prompts/prompts_Subtraction_difficult.csv +1 -0
  20. prompts/prompts_Subtraction_easy.csv +1 -0
  21. solutions/solutions_Addition_difficult.csv +1 -0
  22. solutions/solutions_Addition_easy.csv +1 -0
  23. solutions/solutions_Division_difficult.csv +1 -0
  24. solutions/solutions_Divison_easy.csv +1 -0
  25. solutions/solutions_Function_IB_HL_(highest_difficulty).csv +1 -0
  26. solutions/solutions_Function_IB_SL_(medium_difficulty).csv +1 -0
  27. solutions/solutions_Function_IB_studies_(lowest_difficulty).csv +1 -0
  28. solutions/solutions_Multipliation_diffiult.csv +1 -0
  29. solutions/solutions_Multipliation_easy.csv +1 -0
  30. solutions/solutions_Probability_IB_HL_(highest_difficulty).csv +1 -0
  31. solutions/solutions_Probability_IB_SL_(medium_difficulty).csv +1 -0
  32. solutions/solutions_Probability_IB_studies_(lowest_difficulty).csv +1 -0
  33. solutions/solutions_Subtraction_difficult.csv +1 -0
  34. solutions/solutions_Subtraction_easy.csv +1 -0
Non-specialists-dataset.xlsx ADDED
Binary file (27.2 kB). View file
 
Non-specialists-dataset/log.csv ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ description
2
+ Addition_easy
3
+ Addition_difficult
4
+ Subtraction_easy
5
+ Subtraction_difficult
6
+ Divison_easy
7
+ Division_difficult
8
+ Multipliation_easy
9
+ Multipliation_diffiult
Student_dataset_complete_excel.xlsx ADDED
Binary file (26.7 kB). View file
 
Student_dataset_complete_excel/log.csv ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ description
2
+ Function_IB_studies_(lowest_difficulty)
3
+ Probability_IB_studies_(lowest_difficulty)
4
+ Function_IB_SL_(medium_difficulty)
5
+ Probability_IB_SL_(medium_difficulty)
6
+ Function_IB_HL_(highest_difficulty)
7
+ Probability_IB_HL_(highest_difficulty)
logs/log-20230727-222248.log ADDED
File without changes
main.py ADDED
@@ -0,0 +1,161 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import re
2
+ import shutil
3
+
4
+ import numpy as np
5
+ import gradio as gr
6
+ import pandas as pd
7
+ from csv import writer
8
+ import logging
9
+ import time
10
+ import os
11
+
12
+ dirname = os.path.dirname(__file__)
13
+
14
+
15
+ def import_preprocess(filename: str, no_sheets: int):
16
+ """
17
+ This function generates helper files from the excel and puts them into the folders solutions, prompts and filename
18
+ :param filename: the .xlsx file. just the name
19
+ :param no_sheets: the number of sheets of the file, e.g. 6 or 8
20
+ """
21
+ filepath = os.path.join(dirname, filename)
22
+ df_dict = pd.read_excel(filepath, np.arange(no_sheets).tolist(), header=None)
23
+
24
+ # delete example files if they exist
25
+ if os.path.exists(os.path.join(dirname, f"{filename[:-5]}", "log.csv")):
26
+ os.remove(os.path.join(dirname, f"{filename[:-5]}", "log.csv"))
27
+
28
+ # create example file
29
+ with open(os.path.join(dirname, f"{filename[:-5]}", "log.csv"), "a", encoding="utf-8", newline='') as file:
30
+ writer(file).writerow(["description"])
31
+
32
+ for i in range(no_sheets):
33
+ # take the i-th sheet
34
+ df = df_dict[i]
35
+ # read the task name
36
+ name = df.iloc[0, 0][16:]
37
+ # read the solutions
38
+ solutions = df.iloc[1:3, :10].to_numpy(dtype=float).flatten()
39
+ # read the prompts
40
+ prompts = df.iloc[3, :3].to_list()
41
+ # write example file
42
+ with open(os.path.join(dirname, f"{filename[:-5]}", "log.csv"), "a", encoding="utf-8", newline='') as file:
43
+ writer(file).writerow([name])
44
+ # write prompts file
45
+ with open(os.path.join(dirname, "prompts", f"prompts_{name}.csv"), "w", encoding="utf-8", newline='') as file:
46
+ writer(file).writerow(prompts)
47
+ # write solutions file
48
+ with open(os.path.join(dirname, "solutions", f"solutions_{name}.csv"), "w", encoding="utf-8",
49
+ newline='') as file:
50
+ writer(file).writerow(solutions)
51
+
52
+
53
+ def compare(kind_of_task: str, guess: str):
54
+ """
55
+
56
+ :param kind_of_task: only official task names are allowed
57
+ :param guess: input from chatgpt
58
+ :return: the result message
59
+ """
60
+ # save input
61
+ logging.info(f"{kind_of_task}; {guess}")
62
+ # checks if task type is supported and fetches results
63
+ try:
64
+ df = pd.read_csv(os.path.join(dirname, "solutions", f"solutions_{kind_of_task}.csv"), header=None,
65
+ delimiter=",")
66
+ results_array = df.to_numpy().flatten()
67
+ except:
68
+ return "This kind_of_task is not supported! Please choose another one from the list of examples below!"
69
+
70
+ # removes the brackets
71
+ if guess[0] == "[":
72
+ guess = guess[1:]
73
+ if guess[-1] == "]":
74
+ guess = guess[:-1]
75
+ # splits across the commas
76
+ guess_list = re.split(',', guess)
77
+ # gets rid of spaces
78
+ guess_list = [x.strip() for x in guess_list]
79
+
80
+ if len(results_array) != len(guess_list):
81
+ return f"Unequal number of results! You put in {len(guess_list)} results! But {len(results_array)} results are expected!"
82
+
83
+ guess_array = np.zeros(len(results_array))
84
+ no_number_indices = []
85
+ for i, x in enumerate(guess_list):
86
+ # checks for number or nan
87
+ try:
88
+ if x == "nan":
89
+ raise ValueError
90
+ guess_array[i] = float(x)
91
+ except ValueError:
92
+ guess_array[i] = results_array[i] + 5
93
+ no_number_indices.append(i + 1)
94
+ # calculates accuracy
95
+ result_percent = np.round(100 * (1 - np.count_nonzero(results_array - guess_array) / len(results_array)))
96
+ return_string = ""
97
+ # do we have a non-number?
98
+ if len(no_number_indices) > 0:
99
+ return_string = f" Take care, ChatGPT did not return a number at position {no_number_indices}!"
100
+
101
+ # first input twice
102
+ if guess_list[:10] == guess_list[10:20]:
103
+ return_string = return_string + " Take care, ChatGPT returned its solutions from the first prompt twice!"
104
+
105
+ return_string = f"The accuracy is {result_percent}%." + return_string
106
+
107
+ return return_string
108
+
109
+
110
+ def make_prompt(description):
111
+ """
112
+
113
+ :param description: one of the supported task descriptions
114
+ :return: the three prompts corresponding to the task description
115
+ """
116
+ df = pd.read_csv(os.path.join(dirname, f"prompts/prompts_{description}.csv"),
117
+ names=["prompt1", "prompt2", "prompt3"])
118
+
119
+ return df["prompt1"].iloc[0], df["prompt2"].iloc[0], df["prompt3"].iloc[0]
120
+
121
+
122
+ if __name__ == '__main__':
123
+ import_preprocess("Non-specialists-dataset.xlsx", 8)
124
+ import_preprocess("Student_dataset_complete_excel.xlsx", 6)
125
+
126
+ # sets up logger
127
+ timestr = time.strftime("%Y%m%d-%H%M%S")
128
+ logging.basicConfig(filename=os.path.join(dirname, 'logs', f'log-{timestr}.log'), encoding='utf-8',
129
+ level=logging.INFO)
130
+
131
+ # remove cache
132
+ shutil.rmtree(os.path.join(dirname, 'gradio_cached_examples'))
133
+
134
+ with gr.Blocks() as demo:
135
+ # description
136
+ gr.Markdown("Estimate the mathematical abilities of ChatGPT with this demo. Here's how to proceed: ...")
137
+ # task description
138
+ description = gr.Textbox(label="Type of Task and Difficulty Level")
139
+ # prompts
140
+ prompt1 = gr.Textbox(label="First Prompt")
141
+ prompt2 = gr.Textbox(label="Second Prompt")
142
+ prompt3 = gr.Textbox(label="Third Prompt")
143
+ # input from chatgpt
144
+ gpt_results = gr.Textbox(label="Output from ChatGPT")
145
+ output = gr.Textbox(label="Output")
146
+ # the button to click
147
+ calc_btn = gr.Button("Calculate accuracy")
148
+ calc_btn.click(fn=compare, inputs=[description, gpt_results], outputs=output, api_name="greet")
149
+ # first set of examples
150
+ example = gr.Examples(examples=os.path.join(dirname, "Student_dataset_complete_excel"), fn=make_prompt,
151
+ inputs=[description], outputs=[prompt1, prompt2, prompt3], cache_examples=True,
152
+ label="Student")
153
+ # second set of examples
154
+ example2 = gr.Examples(examples=os.path.join(dirname, "Non-specialists-dataset"), fn=make_prompt,
155
+ inputs=[description], outputs=[prompt1, prompt2, prompt3], cache_examples=True,
156
+ label="Non-specialist")
157
+
158
+ print(demo.launch(share=True))
159
+
160
+ # TODO: auf Nackommastellen checken -> zu kompliziert
161
+ # TODO: auf HF Spaces hochladen
prompts/prompts_Addition_difficult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: 123456789 + 987654321; task 2: 789654123 + 210345877; task 3: 456789123 + 543210877; task 4: 111111111 + 888888888; task 5: 999999999 + 1; task 6: 653791258+568; task 7: 226833333+7755239; task 8: 666666666 + 918300732; task 9: 888888888 + 111222; task 10: 123456789 + 87654321,Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 5 + π (pi); task 12: 2 + sqrt(2); task 13: 8 + e (Euler's number); task 14: 10 + φ (golden ratio); task 15: 3 + sqrt(5); task 16: 1 + sqrt(3); task 17: 6 + ln(2); task 18: 9 + sqrt(pi); task 19: 10 + sqrt(10); task 20: 6 + sqrt(11),"Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Addition_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: 2+5; task 2: 7+3; task 3: 1+9; task 4: 6+4; task 5: 15+23; task 6: 85+11; task 7: 30+62; task 8: 45+55; task 9: 250+750; task 10: 800+100,Please perform the following actions: 1. Solve task 11; 2. Solve task 12; 3. Solve task 13; 4. Solve task 14; 5. Solve task 15; 6. Solve task 16; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 300+567; task 12: 450+550; task 13: 8+(-3); task 14: 10 + (-5); task 15: 6+(-8); task 16: 4 + (-2) ; task 17: 25.75 + 50.25; task 18: 10.23+(-15.58); task 19: -60.50+20.08; task 20: -30.80+(-40.20),"Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Division_difficult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 2 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 3 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 4 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 5 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 6 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 7 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 8 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 9 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 10 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 1: 76/4; task 2: 34/2; task 3: 50/5; task 4: 92/4; task 5: 88/8; task 6: 18/3; task 7: 75/8; task 8: 40/2; task 9: 64/7; task 10: 15/3,"Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 80/4; task 12: 22/2; task 13: 48/5; task 14: 98/7; task 15: 33/3, task 16: 60/6; task 17: 87/10; task 18: 72/12; task 19: 55/9; task 20: 99/13","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Divison_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 2 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 3 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 4 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 5 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 6 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 7 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 8 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 9 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 10 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 1: 8/2; task 2: 6/3; task 3: 10/5; task 4: 4/2; task 5: 9/3; task 6: 5/1; task 7: 3/3; task 8: 2/8; task 9: 7/1; task 10: 10/4,"Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 8/4; task 12: 6/2; task 13: 9/2; task 14: 3/2; task 15: 1/1, task 16: 10/2; task 17: 5/2; task 18: 4/5; task 19: 7/7; task 20: 10/1","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Function_IB_HL_(highest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ "Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: If a = -3 and b = 4, find the modulus value of (7 + a); task 2: If a = -3 and b = 4, find the modulus value of (a*b); task 3: If a = -3 and b = 4, find the modulus value of (a^2 + 2b); task 4: If a = -2, b = 3, c = -4 find the modulus value of (a); task 5: If a = -2, b = 3, c = -4 find the modulus value of (b); task 6: If a = -2, b = 3, c = -4 find the modulus value of (a) * the modulus value of (b); task 7: If a = -2, b = 3, c = -4 find the modulus value of (a*b); task 8: If a = -2, b = 3, c = -4 find the modulus value of (a - b); task 9: If a = -2, b = 3, c = -4 find the modulus value of (a) - the modulus value of (b); task 10: If a = -2, b = 3, c = -4 find the modulus value of (a + b)","Please perform the following actions: 1. Solve task 11; 2. Solve task 12; 3. Solve task 13; 4. Solve task 14; 5. Solve task 15; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17; 8. Solve task 18; 9. Solve task 19; 10. Solve task 20; task 11: If a = -2, b = 3, c = -4 find the modulus value of (a) + the modulus value of (b); task 12: If a = -2, b = 3, c = -4 find the square modulus value of (a); task 13: If a = -2, b = 3, c = -4 find the modulus value of (c/a); task 14: If x = -3 find the modulus value of (5-x); task 15: If x = -3 find the modulus value of (5) - the modulus value of (x); task 16: If x = -3 find the modulus value of ((2x+1)/(1-x)); task 17: If x = -3 find the modulus value of (3-2x-x^2); task 18: Consider the functions f: x -> 2x + 5 and g: x -> ((8-x)/2), find g^(-1) (-1); task 19: Given f: x -> 5^(x) and g: x -> sqrt(x), find f(2); task 20: Given f: x -> 5^(x) and g: x -> sqrt(x), find g^(-1) (4)","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Function_IB_SL_(medium_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ "Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 7; 8. Solve task 8 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 9 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 10; task 1: If f:x -> 2x^2 – 3x, find the value of f(5 ); task 2: If f:x -> 2x^2 – 3x, find the value of f(-4); task 3: If f(x) = If f:x -> 3x + 2, find the value of (0); task 4: If f:x -> 3x – x^2 + 2, find the value of f(-3); task 5: If f:x -> 3x – x^2 + 2, find the value of f(-7); task 6: If f:x -> 3x – x^2 + 2, find the value of f(3/2); task 7: If g: x -> x – (4/x), find the value of g(4) ; task 8: If g: x -> x – (4/x), find the value of g(-1/2) ; task 9: Suppose G = (2x+3)/ (x-4), evaluate G(2); task 10: Given f: x  -> 2x + 3 and g: x -> 1 – x, find in simplest form  the composite function of f and g(-3) ","Please perform the following actions: 1. Solve task 11; 2. Solve task 12; 3. Solve task 13; 4. Solve task 14; 5. Solve task 15; 6. Solve task 16; 7. Solve task 17; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19; 10. Solve task 20; task 11: Given f(x) = sqrt(6-x) and g(x) = 5x - 7, find the composite function of g and f(6); task 12: Consider the functions f: x -> 2x + 5 and g: x -> (8-x)/2, find g^-1 (-1); task 13: Consider the functions f: x -> 5^x and g: x-> sqrt(x), find f(2); task 14: Consider the functions f: x -> 5^x and g: x-> sqrt(x), find g^-1 (4); task 15: Given f(x) = 6x – 5 and g(x) = x^2 + x, find the composite function of g and f(-1); task 16: Given f(x) = 6x – 5 and g(x) = x^2 + x, find the composite function of f and f(0); task 17: If f(x) = 2x - x^2, find f(2); task 18: If f(x) = 2x - x^2, find f(-1/2); task 19: Given f(x) = x^2 + 3, find f(-3); task 20: Given f(x) = 2x + 11 and g(x) = x^2, find the composite function of g and f^(-1) (3)","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Function_IB_studies_(lowest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ "Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: If f(x) = 2x - x^2 find f(2); task 2: If f(x) = 2x - x^2 find f(-3); task 3: If f(x) = 2x - x^2 find f(-1/2); task 4: f If:x -> 3x + 2, find the value of f(0); task 5: If f:x -> 3x + 2, find the value of f(2); task 6: If f:x -> 3x + 2, find the value of f(-1); task 7: If f:x -> 3x + 2, find the value of f(-1/3); task 8: 
If f:x -> 3x – x^2 + 2, find the value of f(0); task 9 If f:x -> 3x – x^2 + 2, find the value of f(3); task 10: If f:x -> 3x – x^2 + 2, find the value of f(-3)","Please perform the following actions: 1. Solve task 11; 2. Solve task 12; 3. Solve task 13; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution rounded to the nearest whole number, i.e. no decimal places; 8. Solve task 18 and provide the solution rounded to the nearest whole number, i.e. no decimal places; 9. Solve task 19 and provide the solution rounded to the nearest whole number, i.e. no decimal places; 10. Solve task 20 and provide the solution rounded to the nearest whole number, i.e. no decimal places; task 11: If g:x -> x – 4/x, find the value of g(1); task 12: If g:x -> x – 4/x, find the value of g(4); task 13: If g:x -> x – 4/x, find the value of g(-1); task 14: Suppose G(x) = (2x + 3)/ (x - 4), evaluate G(2); task 15: Suppose G(x) = (2x + 3)/ (x - 4), evaluate G(0); task 16: Suppose G(x) = (2x + 3)/ (x - 4), evaluate G(-1/2); task 17: Tennis balls are sold in packs of 3 for $11 per pack. The balls cost $2.40 each to produce with factory running costs of $1750 per day. Determine the break-even production level of tennis ball packs; task 18: Tennis balls are sold in packs of 3 for $11 per pack. The balls cost $2.40 each to produce with factory running costs of $1750 per day. How many tennis ball packs must be sold to make $400 profit per day?; task 19: The cost of staying at a hotel is given by the formula C(d) = 50d +20 euros where d is the number of days a person stays. Find the cost of staying for 3 days; task 20: The thermometer on Charlotte´s kitchen oven uses the Celsius scale, but her recipe book gives the required temperature on the Fahrenheit scale. The formula which links the two temperature scales is T(F) = 5/9 * (F – 32) where T is the temperature in degrees Celsius and F is the temperature in degrees Fahrenheit. Convert the following Fahrenheit temperature into Celsius: 212 Fahrenheit.","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Multipliation_diffiult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: 45328 * 67313; task 2: 8794 * 1259; task 3: 9823 * 34678; task 4: 28901 * 78321; task 5: 56783 * 9089; task 6: 1245 * 7463; task 7: 4501 * 2198; task 8: 6789 * 9345; task 9: 3567 * 8912; task 10: 7632 * 1289,Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 2 * π (pi); task 12: 3 * sqrt(2); task 13: 6 * e (Euler's number); task 14: 1 * sqrt(5); task 15: 4 * φ (golden ratio); task 16: 5 * sqrt(3); task 17: 8 * ln(2); task 18: 9 * sqrt(pi); task 19: 7 * sqrt(7); task 20: 10 * sqrt(11),"Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Multipliation_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: 24*15; task 2: 50*18; task 3: 12*63; task 4: 88*7; task 5: 45*32; task 6: 71*41; task 7: 96*29; task 8: 13*87; task 9: 55*47; task 10: 68*93,Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 2.5*3.2; task 12: 1.8*4.7; task 13: 6.3*2.1; task 14: 8.2*1.5; task 15: 3.7*0.9; task 16: 4.1*2.4; task 17: 7.8*0.6; task 18: 9.3*1.2; task 19: 5.6*3.9; task 20: 0.7*8.4,"Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Probability_IB_HL_(highest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ "Please perform the following actions: 1. Solve task 1 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 2 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 3 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 4 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 5 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 6 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 7 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 8 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 9 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 10 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 1: An ordinary 6-sided die is rolled once. Determine the chance of getting a 6.; task 2: List the six different orders in which Antti, Kai and Neda may sit in a row. If the three of them sit randomly in a row, determine the probability that Antti sits in the middle.; task 3: Four people A, B, C and D may sit in a row. Determine the probability that when the four people sit at random in a row: A sits on one end.; task 4: A coin and a pentagonal spinner with sectors 1, 2, 3, 4 and 5 are tossed and spun respectively. How many outcomes are possible?; task 5: A coin and a pentagonal spinner with sectors 1, 2, 3, 4 and 5 are tossed and spun respectively. Determine the chance of getting a tail and a 3.; task 6: Machine A makes 40% of the bottles produced at a factory. Machine B makes the rest. Machine A spoils 5% of its product, while Machine B spoils only 2%. Determine the probability that the next bottle inspected at this factory is spoiled.; task 7: Three bags contain different numbers of blue and red marbles. Bag A has 3 red and 2 blue marbles, bag B has 4 red, and 1 blue marble, and bag C has 2 red and 3 blue marbles. A bag is selected using a die which has three A faces, two B faces, and one C face. One marble is then selected randomly from the bag. Determine the probability that it is blue.; task 8: 5 tickets numbered 1,2,3,4 and 5 are placed in a bag. Two are taken from the bag without replacement. Determine the probability that one is odd and the other is even.; task 9: Marie has a bag of sweets which are all identical in shape. The bag contains 6 orange drops and 4 lemon drops. She selects one sweet at random, eats it, and then takes another at random. Determine the probability that both sweets were orange drops.; task 10: Marie has a bag of sweets which are all identical in shape. The bag contains 6 orange drops and 4 lemon drops. She selects one sweet at random, eats it, and then takes another at random. Determine the probability that the first was a lemon drop and the second was an orange drop.","Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: A team of five is randomly chosen from six doctors and four dentists. Determine the likelihood that it consist of at least two doctors.; task 12: In New Zealand in 1946, coins of value two shillings were of two types: normal kiwis and 'flat back' kiwis, in the ratio 3 : 1. From a batch of 1946 two shilling coins, five were selected at random with replacement. What is the probability that two were 'flat backs'.; task 13: When rifle shooter Huy fires a shot, he hits the target 80% of the time. If Huy fires 4 shots at the target, determine the probability that he has 2 hits and 2 misses in any order.; task 14: 5% of electric light bulbs are defective at manufacture. If 6 bulbs are tested at random with each one being replaced before the next is chosen, determine the probability that at least one is defective.; task 15: 50 married men were asked whether they gave their wife flowers or chocolates for their last birthday. The results were: 31 gave chocolates, 12 gave flowers, and 5 gave both chocolates and flowers. If one of the married men was chosen at random, determine the probability that he gave his wife chocolates or flowers.; task 16: 400 families were surveyed. It was found that 90% had a TV set and 60% had a computer. Every family had at least one of these items. If one of these families is randomly selected, find the probability it has a TV set given that it has a computer.; task 17: On any day the probability that a randomly selected boy eats his prepared lunch is 0.5. The probability that his sister eats her lunch is 0.6. The probability that the girl eats her lunch given that the boy eats his is 0.9. Determine the probability that both eat their lunch.; task 18: The probabilities that A, B and C can solve a particular problem are 3/5, 2/5 and 1/2 respectively. If they all try, determine the probability that at least one of the group solves the problem.; task 19: Of the 22 people on board a plane, 3 are professional golfers. If the plane crashes and 4 people are killed, determine the chance that all three golfers survive.; task 20: The probability that Hiran´s mother and father will be alive in one year´s time are 0.99 and 0.98 respectively. What is the probability that if only one of them is alive in 12 months, it is his mother?","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Probability_IB_SL_(medium_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ "Please perform the following actions: 1. Solve task 1 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 2 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 3 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 4 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 5 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 6 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 7 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 8 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 9 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 10 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 1: A ticket is randomly selected from a basket containing 3 green, 4 yellow, and 5 blue tickets. Determine the probability of getting a green ticket.; task 2: A ticket is randomly selected from a basket containing 3 green, 4 yellow, and 5 blue tickets. Determine the probability of getting a green or yellow ticket.; task 3: A ticket is randomly selected from a basket containing 3 green, 4 yellow, and 5 blue tickets. Determine the probability of getting a green, yellow or blue ticket.; task 4: An ordinary 6-sided die is rolled once. Determine the chance of not getting a 6.; task 5: A carton of a dozen eggs contains eight brown eggs. Find the probability that an egg selected at random is white.; task 6: A dart board has 36 sectors labelled 1 to 36. Determine the probability that a dart thrown at the center of the board will hit a sector labelled with a multiple of 4.; task 7: What is the probability that a randomly chosen person has his or her next birthday on a Tuesday?; task 8: A coin and a die are tossed simultaneously. Determine the probability of getting a head and a 3 without using a grid.; task 9: At a mountain village in Papua New Guinea it rains on average 6 days a week. Determine the probability that it rains on any one day.; task 10: A coin is tossed 3 times. Determine the probability of getting the following sequences of results: head then head then head. ","Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: A school has two photocopiers. On any one day, machine A has an 8% chance of malfunctioning and machine B has a 12% chance malfunctioning. Determine the probability that on any one day both machines will malfunction.; task 12: A couple would like 4 children, none of whom will be adopted. They will be disappointed if the children are not born in the order boy, girl, boy, girl. Determine the probability that they will be happy with the order of arrival.; task 13: Two marksmen fire at a target simultaneously. Jiri hits the target 70% of the time and Benita hits it 80% of the time. Determine the probability that they both hit the target.; task 14: An archer always hits a circular target with each arrow fired, and hits the bullseye on average 2 out of every 5 shots. If 3 arrows are fired at the target, determine the probability that bullseye is hit every time.; task 15: A box contains 4 red and 2 yellow tickets. Two tickets are randomly selected from the box one by one without replacement. Find the probability that both are red.; task 16: A box contains 4 red and 2 yellow tickets. Two tickets are randomly selected from the box one by one without replacement. Find the probability that the first is red and the second is yellow.; task 17: A box contains 7 red and 3 green balls. Two balls are drawn one after another from the box without replacement. Determine the probability that both are red.; task 18: A hat contains 7 names of players in a tennis squad including the captain and the vice captain. If a team of 3 is chosen at random by drawing the names from the hat, determine the probability that it does not contain the captain.; task 19: Two students are chosen at random from a group of two girls and five boys, all of different ages. Find the probability that the two students chosen will be two boys.; task 20: Two students are chosen at random from a group of two girls and five boys, all of different ages. Find the probability that the two students chosen will be the eldest two students.","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Probability_IB_studies_(lowest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ "Please perform the following actions: 1. Solve task 1 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 2 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 3 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 4 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 5 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 6 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 7 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 8 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 9 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 10 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 1: A coin is tossed and a square spinner labelled A, B, C, D is twirled. Determine the probability of obtaining a head and a consonant; task 2: A coin is tossed and a square spinner labelled A, B, C, D is twirled. Determine the probability of obtaining a tail or a vowel; _x000B_task 3: The probability that a man will be alive in 25 years is 3/5, and the probability that his wife will be alive is 2/3. Determine the probability that in 25 years both will be alive; task 4: The probability that a man will be alive in 25 years is 3/5, and the probability that his wife will be alive is 2/3. Determine the probability that in 25 years at least one will be alive; task 5: Two dices are rolled and the results are multiplied together. Determine the probability that the resulting value is 12; task 6: Two dices are rolled and the results are multiplied together. Determine the probability that the resulting value is greater than 17; task 7: Divers A, B and C have a 10%, 20% and 30% chance of successfully finding an artefact in a shipwreck. If they all try independently of one another, what is the probability that the artefact is found?; task 8: A marble is randomly selected from a box containing 5 green, 3 red and 7 blue marbles. Determine the probability that the marble is red; task 9: A marble is randomly selected from a box containing 5 green, 3 red and 7 blue marbles. Determine the probability that the marble is neither green nor blue; task 10: Rob and Kerry each roll a die. Determine the probability that Rob rolls a 4 and Kerry rolls a 2.","Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: Rob and Kerry each roll a die. Determine the probability that Rob rolls an odd number and Kerry rolls a number greater than 4; task 12: A bin contains 12 identically shaped chocolates of which 8 are strawberry creams. If 3 chocolates are selected simultaneously from the bin, determine the probability that none of them are strawberry creams; task 13: A box contains 7 red and 3 green balls. Two balls are drawn one after another from the box without replacement. Determine the probability that the first is green and the second is red; task 14: Jar A contains 2 white and 3 red discs. Jar B contains 3 white and 1 red disc. A jar is chosen at random by the flip of a coin, and one disc is taken at random from it. Determine the probability that the disc is red; task 15: Two marbles are drawn in succession from a box containing 2 purple and 5 green marbles. Determine the probability that the two marbles are different colors if the first is replaced; task 16: A container holds 3 red, 7 white, and 2 black balls. A ball is chosen at random from the container and is replaced. A second ball is then chosen. Find the probability of choosing one white and one black ball in any order; task 17: In a class of 40 students, 19 play tennis, 20 play netball, and 8 play neither of these sports. A student is randomly chosen from the class. Determine the probability that the student plays tennis; task 18: In a class of 40 students, 19 play tennis, 20 play netball, and 8 play neither of these sports. A student is randomly chosen from the class. Determine the probability that the student plays tennis given he or she plays netball; task 19: In a group of 50 students, 40 study Mathematics, 32 study Physics, and each student studies at least of the these subjects. If a student from this group is randomly selected, find the probability that he or she studies Mathematics but not Physics; task 20: 50 students went bushwalking. 23 were sunburnt, 22 were bitten by ants, and 5 were both sunburnt and bitten by ants. Determine the probability that a randomly selected student was neither bitten nor sunburnt","Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Subtraction_difficult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: 987654321 – 123456789; task 2: 500000000 – 123456789; task 3: 999999999 – 111111111; task 4: 888888888 – 111111111; task 5: 753951456 – 246801357; task 6: 654321987 – 123456789; task 7: 987654321 – 987654320; task 8: 1000000000 – 999999999; task 9: 500000000 – 250000000; task 10: 999999999 - 888888888,Please perform the following actions: 1. Solve task 11 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 2. Solve task 12 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 3. Solve task 13 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 4. Solve task 14 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 5. Solve task 15 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 6. Solve task 16 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 3 - sqrt(2); task 12: 7 - e (Euler's Number); task 13: 10 - φ (golden ratio); task 14: 5 - π (pi); task 15: 2 - sqrt(3); task 16: 9 - sqrt(11); task 17: 1 - sqrt(5); task 18: 4 - ln(2); task 19: 8 - sqrt(7); task 20: 6 – sqrt(10),"Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
prompts/prompts_Subtraction_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ Please perform the following actions: 1. Solve task 1; 2. Solve task 2; 3. Solve task 3; 4. Solve task 4; 5. Solve task 5; 6. Solve task 6; 7. Solve task 7; 8. Solve task 8; 9. Solve task 9; 10. Solve task 10; task 1: 7 – 3; task 2: 4 – 6; task 3: 8 – 2; task 4: 1 – 9; task 5: 54 – 23; task 6: 87 – 49; task 7: 12 – 85; task 8: 96 – 73; task 9: 789 – 123; task 10: 456 - 234 ,Please perform the following actions: 1. Solve task 11; 2. Solve task 12; 3. Solve task 13; 4. Solve task 14; 5. Solve task 15; 6. Solve task 16; 7. Solve task 17 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 8. Solve task 18 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 9. Solve task 19 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; 10. Solve task 20 and provide the solution as a decimal number with exactly 3 positions after the decimal point. I.e. do not provide the solution as a fraction; task 11: 896 – 267; task 12: 998 – 789; task 13: 5 - (-3); task 14: (-7) – 2; task 15: (-10) - (-5); task 16: 8 – 10; task 17: 34.5 - 12.8; task 18: (-45.2) - 67.1; task 19: (-99.9) - (-45.6); task 20: -56.3 - (-78.2),"Please provide the final number of answers for the last 20 tasks. This includes the 10 tasks you solved in the first part of our conversation (tasks 1 through 10) and the remaining 10 tasks from the second part of our conversation (tasks 11 through 20). Present your answer in the following format: [answer task 1, answer task 2, answer task 3, answer task 4, answer task 5, answer task 6, answer task 7, answer task 8, answer task 9, answer task 10, answer task 11, answer task 12, answer task 13, answer task 14, answer task 15, answer task 16, answer task 17, answer task 18, answer task 19, answer task 20]. Please ensure that the tasks are listed in the correct order as specified in the bracket."
solutions/solutions_Addition_difficult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 1111201110.0,1000000000.0,1000000000.0,999999999.0,1000000000.0,653791826.0,234588572.0,1584967398.0,889000110.0,211111110.0,8142.0,3414.0,10718.0,10618.0,5236.0,2732.0,6693.0,10772.0,13162.0,9317.0
solutions/solutions_Addition_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 7.0,10.0,10.0,10.0,38.0,96.0,92.0,100.0,1000.0,900.0,867.0,1000.0,5.0,5.0,-2.0,2.0,76000.0,-5350.0,-40420.0,-71000.0
solutions/solutions_Division_difficult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 19.0,17.0,10.0,23.0,11.0,6.0,9.375,20.0,9.143,5.0,20.0,11.0,9.6,14.0,11.0,10.0,8.7,6.0,6.111,7.615
solutions/solutions_Divison_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 4.0,2.0,2.0,2.0,3.0,5.0,1.0,0.25,7.0,2.5,2.0,3.0,4.5,1.5,1.0,5.0,2.5,0.8,1.0,10.0
solutions/solutions_Function_IB_HL_(highest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 4.0,12.0,17.0,2.0,3.0,6.0,6.0,5.0,-1.0,1.0,5.0,4.0,2.0,8.0,2.0,1.25,0.0,10.0,25.0,16.0
solutions/solutions_Function_IB_SL_(medium_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 35.0,44.0,2.0,-16.0,-68.0,4.25,3.0,7.5,-3.5,11.0,-7.0,10.0,25.0,16.0,110.0,-35.0,0.0,-1.25,12.0,16.0
solutions/solutions_Function_IB_studies_(lowest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 0.0,-15.0,-1.25,2.0,8.0,-1.0,1.0,2.0,2.0,-16.0,-3.0,3.0,3.0,-3500.0,-0.75,-0.444,461.0,566.0,170.0,100.0
solutions/solutions_Multipliation_diffiult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 3051163664.0,11071646.0,340641994.0,2263555221.0,516100687.0,9291435.0,9893198.0,63443205.0,31789104.0,9837648.0,6.283,4.243,16.31,2.236,6.472,8.66,5.545,15.952,18.52,33.166
solutions/solutions_Multipliation_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 360.0,900.0,756.0,616.0,1440.0,2911.0,2784.0,1131.0,2585.0,6324.0,8.0,8.46,13.23,12.3,3.33,9.84,4.68,11.16,21.84,5.88
solutions/solutions_Probability_IB_HL_(highest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 0.167,0.333,0.5,10.0,0.1,0.032,0.367,0.6,0.333,0.267,0.976,0.264,0.154,0.265,0.76,0.833,0.45,0.933,0.53,0.669
solutions/solutions_Probability_IB_SL_(medium_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 0.25,0.583,1.0,0.833,0.333,0.25,0.143,0.083,0.857,0.125,0.01,0.063,0.56,0.064,0.4,0.267,0.467,0.571,0.476,0.048
solutions/solutions_Probability_IB_studies_(lowest_difficulty).csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 0.375,0.625,0.4,0.867,0.111,0.278,0.496,0.2,0.2,0.028,0.167,0.018,0.233,0.425,0.408,0.194,0.475,0.35,0.36,0.2
solutions/solutions_Subtraction_difficult.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 864197532.0,376543211.0,888888888.0,777777777.0,507150099.0,530865198.0,1.0,1.0,250000000.0,111111111.0,1.586,4.282,8.382,1.858,0.268,5.683,-1.236,3.307,5.354,2.838
solutions/solutions_Subtraction_easy.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 4.0,-2.0,6.0,-8.0,31.0,38.0,-73.0,23.0,666.0,222.0,629.0,209.0,8.0,-9.0,-5.0,-2.0,21700.0,-112300.0,-54300.0,134500.0