File tree 4 files changed +25
-24
lines changed
src/geometor/arcprize/solvers
4 files changed +25
-24
lines changed Original file line number Diff line number Diff line change
1
+ the following are python modules from geometor.arcprize.solvers
2
+
3
+ the code runs test sessions on the Gemini API and logs the results to the sphinx
4
+ website
5
+
6
+
7
+
1
8
2
9
./gemini_solver.py
3
- ```python
10
+ ```
4
11
"""Dialogue-Based ARC Puzzle Solver
5
12
6
13
Implements a structured workflow for solving ARC puzzles through conversation
@@ -680,7 +687,7 @@ class FunctionExecutionError(Exception):
680
687
681
688
682
689
./gemini_logger.py
683
- ```python
690
+ ```
684
691
from datetime import datetime
685
692
from pathlib import Path
686
693
import json
@@ -1140,7 +1147,7 @@ class Logger:
1140
1147
1141
1148
1142
1149
./gemini_client.py
1143
- ```python
1150
+ ```
1144
1151
"""Google Gemini Model Interface for ARC Challenge
1145
1152
1146
1153
Provides a streamlined interface to Google's Gemini model, configured specifically
@@ -1228,13 +1235,6 @@ class GeminiClient:
1228
1235
```
1229
1236
1230
1237
1231
- the following are python modules
1232
-
1233
- we want to begin a step by step refactoring to improve the logging / reporting
1234
-
1235
- we especially need to roll up results at the index levels
1236
-
1237
- New Instructions to Append:
1238
1238
1239
1239
# Refactoring and Logging/Reporting Guidelines
1240
1240
Original file line number Diff line number Diff line change 2
2
3
3
function add_file() {
4
4
printf " \n%s\n" " $1 "
5
- printf " \`\`\` %s\n " " $2 "
5
+ printf " \`\`\` \n "
6
6
cat " $1 "
7
7
printf " \`\`\` \n\n"
8
8
}
9
9
10
10
function main() {
11
- add_file ./gemini_solver.py python
12
- add_file ./gemini_logger.py python
13
- add_file ./gemini_client.py python
11
+ cat ./prompt_intro.md
14
12
echo
15
- cat prompt_instruction.md
13
+ add_file ./gemini_solver.py
14
+ add_file ./gemini_logger.py
15
+ add_file ./gemini_client.py
16
+ echo
17
+ cat ./prompt_instruction.md
16
18
}
17
19
18
- main > prompt.txt
19
- cat prompt.txt | xclip -selection clipboard
20
+ main > prompt.md
21
+ cat prompt.md | xclip -selection clipboard
Original file line number Diff line number Diff line change 1
- the following are python modules
2
-
3
- we want to begin a step by step refactoring to improve the logging / reporting
4
-
5
- we especially need to roll up results at the index levels
6
-
7
- New Instructions to Append:
8
1
9
2
# Refactoring and Logging/Reporting Guidelines
10
3
Original file line number Diff line number Diff line change
1
+ the following are python modules from geometor.arcprize.solvers
2
+
3
+ the code runs test sessions on the Gemini API and logs the results to the sphinx
4
+ website
5
+
6
+
You can’t perform that action at this time.
0 commit comments