jerpint commited on
Commit
062729f
·
1 Parent(s): 920b2c1

Add missing files

Browse files
Files changed (2) hide show
  1. results.csv +318 -0
  2. solutions.json +102 -0
results.csv ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ day,model,result,total_time
2
+ 1,gpt-4o,"2264607
3
+ 19457120
4
+ ",0.0517818927764892
5
+ 1,claude-3-5-sonnet-20241022,"2264607
6
+ 19457120
7
+ ",0.0311038494110107
8
+ 1,jerpint,"2264607
9
+ 19457120
10
+ ",0.072559118270874
11
+ 1,gemini-1.5-pro,"2264607
12
+ 19457120
13
+ ",0.0367422103881835
14
+ 2,gpt-4o,"282
15
+ 349
16
+ ",0.0345420837402343
17
+ 2,gemini-1.5-pro,"282
18
+ 349
19
+ ",0.0362250804901123
20
+ 2,claude-3-5-sonnet-20241022,"282
21
+ 349
22
+ ",0.0348310470581054
23
+ 2,jerpint,"282
24
+ 349
25
+ ",0.0335607528686523
26
+ 3,jerpint,"173529487
27
+ 99532691
28
+ ",0.0314149856567382
29
+ 3,gpt-4o,"173529487
30
+ 99532691
31
+ ",0.0277769565582275
32
+ 3,gemini-1.5-pro,"173529487
33
+ 173529487
34
+ ",0.0306653976440429
35
+ 3,claude-3-5-sonnet-20241022,"173529487
36
+ 99532691
37
+ ",0.0305140018463134
38
+ 4,gpt-4o,"2493
39
+ 122
40
+ ",0.1320409774780273
41
+ 4,gemini-1.5-pro,"3872
42
+ 0
43
+ ",0.1471152305603027
44
+ 4,claude-3-5-sonnet-20241022,"2493
45
+ 1890
46
+ ",0.2896838188171386
47
+ 4,jerpint,"2493
48
+ 1890
49
+ ",0.1274900436401367
50
+ 5,gpt-4o,"Error: Traceback (most recent call last):
51
+ File ""/Users/jeremypinto/advent24-llm/day05/solution_gpt-4o.py"", line 77, in <module>
52
+ main()
53
+ File ""/Users/jeremypinto/advent24-llm/day05/solution_gpt-4o.py"", line 62, in main
54
+ rules, updates = parse_input(file)
55
+ File ""/Users/jeremypinto/advent24-llm/day05/solution_gpt-4o.py"", line 16, in parse_input
56
+ updates.append(list(map(int, line.split(','))))
57
+ ValueError: invalid literal for int() with base 10: ''
58
+ ",0.0285351276397705
59
+ 5,gemini-1.5-pro,"5391
60
+ 6142
61
+ ",0.0330429077148437
62
+ 5,claude-3-5-sonnet-20241022,"5391
63
+ 6142
64
+ ",0.0353639125823974
65
+ 5,jerpint,"5391
66
+ 6142
67
+ ",2.074583053588867
68
+ 6,jerpint,"4789
69
+ 1304
70
+ ",24.77995491027832
71
+ 6,gpt-4o,"4789
72
+ 1304
73
+ ",67.0117359161377
74
+ 6,claude-3-5-sonnet-20241022,Error: Timeout,300.0090808868408
75
+ 6,gemini-1.5-pro,Error: Timeout,300.00918889045715
76
+ 7,claude-3-5-sonnet-20241022,"5540634308362
77
+ 472290821152397
78
+ ",20.063307762145996
79
+ 7,gemini-1.5-pro,"5540634308362
80
+ 472290821152397
81
+ ",3.241072177886963
82
+ 7,jerpint,"5540634308362
83
+ 472290821152397
84
+ ",159.69412803649902
85
+ 7,gpt-4o,"472290821152397
86
+ ",19.688328981399536
87
+ 8,jerpint,"273
88
+ 1017
89
+ ",0.0589988231658935
90
+ 8,gpt-4o,"5070
91
+ 1510
92
+ ",0.0319371223449707
93
+ 8,claude-3-5-sonnet-20241022,"0
94
+ 1017
95
+ ",0.3565587997436523
96
+ 8,gemini-1.5-pro,Error: Timeout,300.0092422962189
97
+ 9,claude-3-5-sonnet-20241022,"6421128769094
98
+ 6448157430324
99
+ ",192.63301491737369
100
+ 9,gemini-1.5-pro,"Error: Traceback (most recent call last):
101
+ File ""/Users/jeremypinto/advent24-llm/day09/solution_gemini-1.5-pro.py"", line 78, in <module>
102
+ result1 = solve_part1(disk_map)
103
+ File ""/Users/jeremypinto/advent24-llm/day09/solution_gemini-1.5-pro.py"", line 9, in solve_part1
104
+ free_size = int(disk_map[i+1])
105
+ IndexError: string index out of range
106
+ ",0.0297279357910156
107
+ 9,gpt-4o,"Error: Traceback (most recent call last):
108
+ File ""/Users/jeremypinto/advent24-llm/day09/solution_gpt-4o.py"", line 80, in <module>
109
+ main()
110
+ File ""/Users/jeremypinto/advent24-llm/day09/solution_gpt-4o.py"", line 69, in main
111
+ disk = parse_disk_map(disk_map)
112
+ File ""/Users/jeremypinto/advent24-llm/day09/solution_gpt-4o.py"", line 6, in parse_disk_map
113
+ free_space_length = int(disk_map[i+1])
114
+ IndexError: string index out of range
115
+ ",0.0369679927825927
116
+ 9,jerpint,"6421128769094
117
+ 6448168620520
118
+ ",38.908868074417114
119
+ 10,gemini-1.5-pro,"760
120
+ 1764
121
+ ",0.0449333190917968
122
+ 10,gpt-4o,"760
123
+ 1764
124
+ ",0.0459368228912353
125
+ 10,jerpint,"760
126
+ 1764
127
+ ",0.0722007751464843
128
+ 10,claude-3-5-sonnet-20241022,"760
129
+ 1764
130
+ ",0.041105031967163
131
+ 11,jerpint,"220722
132
+ 261952051690787
133
+ ",0.2919449806213379
134
+ 11,claude-3-5-sonnet-20241022,Error: Timeout,300.5751881599426
135
+ 11,gpt-4o,Error: Timeout,300.43601632118225
136
+ 11,gemini-1.5-pro,Error: Timeout,300.45362615585327
137
+ 12,gpt-4o,"1442713
138
+ 1442713
139
+ ",0.1200618743896484
140
+ 12,gemini-1.5-pro,"Error: Traceback (most recent call last):
141
+ File ""/Users/jeremypinto/advent24-llm/day12/solution_gemini-1.5-pro.py"", line 86, in <module>
142
+ solve()
143
+ File ""/Users/jeremypinto/advent24-llm/day12/solution_gemini-1.5-pro.py"", line 68, in solve
144
+ for rr, cc in bfs(r,c, char)[2]:
145
+ IndexError: tuple index out of range
146
+ ",0.0341930389404296
147
+ 12,claude-3-5-sonnet-20241022,"1489582
148
+ 1489582
149
+ ",0.1392021179199218
150
+ 12,jerpint,"1489582
151
+ ",0.186622142791748
152
+ 13,gemini-1.5-pro,"0
153
+ 0
154
+ ",0.0350427627563476
155
+ 13,gpt-4o,"Error: Traceback (most recent call last):
156
+ File ""/Users/jeremypinto/advent24-llm/day13/solution_gpt-4o.py"", line 33, in <module>
157
+ machines = parse_input(file)
158
+ File ""/Users/jeremypinto/advent24-llm/day13/solution_gpt-4o.py"", line 6, in parse_input
159
+ a_x, a_y = map(int, lines[i].strip().split()[2::2])
160
+ ValueError: invalid literal for int() with base 10: 'X+19,'
161
+ ",0.027897834777832
162
+ 13,claude-3-5-sonnet-20241022,Error: Timeout,300.00735425949097
163
+ 13,jerpint,"28262
164
+ 101406661266314
165
+ ",0.0829849243164062
166
+ 14,jerpint,"210587128
167
+ 7286
168
+ ",0.0874340534210205
169
+ 14,claude-3-5-sonnet-20241022,"197535240
170
+ 353
171
+ ",4.457779884338379
172
+ 14,gemini-1.5-pro,"Error: Traceback (most recent call last):
173
+ File ""/Users/jeremypinto/advent24-llm/day14/solution_gemini-1.5-pro.py"", line 48, in <module>
174
+ robots = parse_input(file)
175
+ File ""/Users/jeremypinto/advent24-llm/day14/solution_gemini-1.5-pro.py"", line 9, in parse_input
176
+ ((int(p_str[0]), int(p_str[1])), (int(v_str[0]), int(v_str[1])))
177
+ ValueError: invalid literal for int() with base 10: ''
178
+ ",0.024846076965332
179
+ 14,gpt-4o,"210587128
180
+ ",0.0266840457916259
181
+ 15,jerpint,"1360570
182
+ ",0.146615982055664
183
+ 15,claude-3-5-sonnet-20241022,"1412022
184
+ 1424862
185
+ ",0.9226350784301758
186
+ 15,gemini-1.5-pro,"Error: Traceback (most recent call last):
187
+ File ""/Users/jeremypinto/advent24-llm/day15/solution_gemini-1.5-pro.py"", line 104, in <module>
188
+ solve()
189
+ File ""/Users/jeremypinto/advent24-llm/day15/solution_gemini-1.5-pro.py"", line 46, in solve
190
+ if grid[r][c] == 'O':
191
+ IndexError: list index out of range
192
+ ",0.0579340457916259
193
+ 15,gpt-4o,"1354856
194
+ 1369212
195
+ ",0.0375778675079345
196
+ 16,jerpint,"74392
197
+ ",29.106717824935913
198
+ 16,claude-3-5-sonnet-20241022,"74392
199
+ 0
200
+ ",0.0764460563659668
201
+ 16,gemini-1.5-pro,"74392
202
+ 2
203
+ ",0.1279311180114746
204
+ 16,gpt-4o,"1
205
+ ",0.0732479095458984
206
+ 17,jerpint,"7,3,5,7,5,7,4,3,0
207
+ ",0.0280790328979492
208
+ 17,gpt-4o,"Error: Traceback (most recent call last):
209
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_gpt-4o.py"", line 65, in <module>
210
+ print(part1(file))
211
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_gpt-4o.py"", line 51, in part1
212
+ initial_values, program = parse_input(file)
213
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_gpt-4o.py"", line 5, in parse_input
214
+ program = list(map(int, lines[3].split(': ')[1].split(',')))
215
+ IndexError: list index out of range
216
+ ",0.0248689651489257
217
+ 17,gemini-1.5-pro,"7,7,7,7,7,7,7,7,7
218
+ ",16.903484106063843
219
+ 17,claude-3-5-sonnet-20241022,"Error: Traceback (most recent call last):
220
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_claude-3-5-sonnet-20241022.py"", line 87, in <module>
221
+ main()
222
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_claude-3-5-sonnet-20241022.py"", line 78, in main
223
+ registers, program = parse_input(""./input.txt"")
224
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_claude-3-5-sonnet-20241022.py"", line 12, in parse_input
225
+ program = [int(x) for x in lines[-1].split(',')]
226
+ File ""/Users/jeremypinto/advent24-llm/day17/solution_claude-3-5-sonnet-20241022.py"", line 12, in <listcomp>
227
+ program = [int(x) for x in lines[-1].split(',')]
228
+ ValueError: invalid literal for int() with base 10: 'Program: 2'
229
+ ",0.0285909175872802
230
+ 18,jerpint,"330
231
+ 10,38
232
+ ",1.448005199432373
233
+ 18,gpt-4o,"330
234
+ 10,38
235
+ ",9.956310033798218
236
+ 18,gemini-1.5-pro,"330
237
+ 10,38
238
+ ",25.999710083007812
239
+ 18,claude-3-5-sonnet-20241022,"330
240
+ 10,38
241
+ ",13.420971155166626
242
+ 19,claude-3-5-sonnet-20241022,"290
243
+ 712058625427487
244
+ ",2.365529775619507
245
+ 19,gpt-4o,"712058625427487
246
+ ",0.9564287662506104
247
+ 19,jerpint,"290
248
+ ",0.10815191268920898
249
+ 19,gemini-1.5-pro,Error: Timeout,300.0093183517456
250
+ 20,gpt-4o,"20
251
+ ",0.6666040420532227
252
+ 20,jerpint,"(105, 35)
253
+ 1375
254
+ ",6.334330081939697
255
+ 20,gemini-1.5-pro,Error: Timeout,300.0078308582306
256
+ 20,claude-3-5-sonnet-20241022,"1
257
+ 5
258
+ ",145.0637719631195
259
+ 21,jerpint,"157908
260
+ ",0.0293052196502685
261
+ 21,claude-3-5-sonnet-20241022,"157248
262
+ 358176
263
+ ",0.0261509418487548
264
+ 21,gemini-1.5-pro,"0
265
+ 0
266
+ ",0.0287630558013916
267
+ 21,gpt-4o,"Error: Traceback (most recent call last):
268
+ File ""/Users/jeremypinto/advent24-llm/day21/solution_gpt-4o.py"", line 54, in <module>
269
+ main()
270
+ File ""/Users/jeremypinto/advent24-llm/day21/solution_gpt-4o.py"", line 48, in main
271
+ sequence = find_shortest_sequence(code, numeric_keypad, directions)
272
+ File ""/Users/jeremypinto/advent24-llm/day21/solution_gpt-4o.py"", line 35, in find_shortest_sequence
273
+ return precomputed_sequences[code]
274
+ KeyError: '341A'
275
+ ",0.0282812118530273
276
+ 22,claude-3-5-sonnet-20241022,Error: Timeout,300.0252139568329
277
+ 22,gemini-1.5-pro,Error: Timeout,300.00811290740967
278
+ 22,jerpint,"14082561342
279
+ 1568
280
+ ",54.82558584213257
281
+ 22,gpt-4o,Error: Timeout,300.00778007507324
282
+ 23,jerpint,"926
283
+ az,ed,hz,it,ld,nh,pc,td,ty,ux,wc,yg,zz
284
+ ",2.992269992828369
285
+ 23,claude-3-5-sonnet-20241022,Error: Timeout,300.0074918270111
286
+ 23,gemini-1.5-pro,Error: Timeout,300.00904989242554
287
+ 23,gpt-4o,Error: Timeout,300.00809812545776
288
+ 24,gemini-1.5-pro,"Error: Traceback (most recent call last):
289
+ File ""/Users/jeremypinto/advent24-llm/day24/solution_gemini-1.5-pro.py"", line 37, in <module>
290
+ z_values.append(str(evaluate_wire(f""z{i:02}"", circuit, cache)))
291
+ File ""/Users/jeremypinto/advent24-llm/day24/solution_gemini-1.5-pro.py"", line 8, in evaluate_wire
292
+ val1 = evaluate_wire(in1, circuit, cache)
293
+ File ""/Users/jeremypinto/advent24-llm/day24/solution_gemini-1.5-pro.py"", line 4, in evaluate_wire
294
+ if isinstance(circuit[wire], int):
295
+ KeyError: 'XOR'
296
+ ",0.026757001876831
297
+ 24,gpt-4o,"Error: Traceback (most recent call last):
298
+ File ""/Users/jeremypinto/advent24-llm/day24/solution_gpt-4o.py"", line 54, in <module>
299
+ wire_values = simulate_gates(wire_values, gate_operations)
300
+ File ""/Users/jeremypinto/advent24-llm/day24/solution_gpt-4o.py"", line 21, in simulate_gates
301
+ input1 = wire_values[parts[0]]
302
+ KeyError: ''
303
+ ",0.0375468730926513
304
+ 24,claude-3-5-sonnet-20241022,"26546678708189
305
+ bfw,ffh,frj,hwm,mjb,nrd,tgd,wpb
306
+ ",0.0257329940795898
307
+ 24,jerpint,"51657025112326
308
+ ",0.0270252227783203
309
+ 25,gpt-4o,"3732
310
+ ",0.0514318943023681
311
+ 25,claude-3-5-sonnet-20241022,"585
312
+ Merry Christmas!
313
+ ",0.0423557758331298
314
+ 25,jerpint,"3690
315
+ ",0.0443761348724365
316
+ 25,gemini-1.5-pro,"25250
317
+ There is no part 2 for this challenge.
318
+ ",0.0472519397735595
solutions.json ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "1": [
3
+ "2264607",
4
+ "19457120"
5
+ ],
6
+ "2": [
7
+ "282",
8
+ "349"
9
+ ],
10
+ "3": [
11
+ "173529487",
12
+ "99532691"
13
+ ],
14
+ "4": [
15
+ "2493",
16
+ "1890"
17
+ ],
18
+ "5": [
19
+ "5391",
20
+ "6142"
21
+ ],
22
+ "6": [
23
+ "4789",
24
+ "1304"
25
+ ],
26
+ "7": [
27
+ "5540634308362",
28
+ "472290821152397"
29
+ ],
30
+ "8": [
31
+ "273",
32
+ "1017"
33
+ ],
34
+ "9": [
35
+ "6421128769094",
36
+ "6448168620520"
37
+ ],
38
+ "10": [
39
+ "760",
40
+ "1764"
41
+ ],
42
+ "11": [
43
+ "220722",
44
+ "261952051690787"
45
+ ],
46
+ "12": [
47
+ "1489582",
48
+ "N/A"
49
+ ],
50
+ "13": [
51
+ "28262",
52
+ "101406661266314"
53
+ ],
54
+ "14": [
55
+ "210587128",
56
+ "7286"
57
+ ],
58
+ "15": [
59
+ "1360570",
60
+ "N/A"
61
+ ],
62
+ "16": [
63
+ "74392",
64
+ "N/A"
65
+ ],
66
+ "17": [
67
+ "7,3,5,7,5,7,4,3,0",
68
+ "N/A"
69
+ ],
70
+ "18": [
71
+ "330",
72
+ "10,38"
73
+ ],
74
+ "19": [
75
+ "290",
76
+ "N/A"
77
+ ],
78
+ "20": [
79
+ "(105, 35)",
80
+ "1375"
81
+ ],
82
+ "21": [
83
+ "157908",
84
+ "N/A"
85
+ ],
86
+ "22": [
87
+ "14082561342",
88
+ "1568"
89
+ ],
90
+ "23": [
91
+ "926",
92
+ "az,ed,hz,it,ld,nh,pc,td,ty,ux,wc,yg,zz"
93
+ ],
94
+ "24": [
95
+ "51657025112326",
96
+ "N/A"
97
+ ],
98
+ "25": [
99
+ "3690",
100
+ "N/A"
101
+ ]
102
+ }