Skip to content

Commit 770880b

Browse files
committed
Remove listing directory contents
1 parent 550d772 commit 770880b

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/fhda/prompts.py

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,7 @@
9999
CHAIN_OF_THOUGHT_AGNOSTIC = """
100100
Follow these steps to create your notebook, using chain-of-thought reasoning at each stage:
101101
102-
1. List Directory Contents:
103-
<analysis_planning>
104-
- Consider how to use the list_workdir tool to recursively list the directory contents.
105-
- Think about how to organize and present this information clearly in the notebook.
106-
- List potential challenges in interpreting the directory structure.
107-
- Consider how the directory structure might inform your approach to the analysis.
108-
</analysis_planning>
109-
Place the output of the list_workdir tool inside <directory_contents> tags.
110-
111-
2. Load Data and Perform Descriptive Statistics:
102+
1. Load Data and Perform Descriptive Statistics:
112103
<analysis_planning>
113104
- Identify which data files are most relevant to resolving the task. List these files.
114105
- Plan how to load these files efficiently in {language}.
@@ -120,7 +111,7 @@
120111
</analysis_planning>
121112
Execute your plan to load data and perform descriptive statistics.
122113
123-
3. Develop Analysis Plan:
114+
2. Develop Analysis Plan:
124115
<analysis_planning>
125116
- Break down each task into testable components. List these components.
126117
- For each component, list appropriate statistical tests or visualizations.
@@ -133,7 +124,7 @@
133124
</analysis_planning>
134125
Write out your analysis plan as comments in the notebook.
135126
136-
4. Execute Analysis Plan:
127+
3. Execute Analysis Plan:
137128
<analysis_planning>
138129
- For each step in your analysis plan, list the {language} or bash functions and libraries you'll use.
139130
- Think about how to structure your code for readability and efficiency.
@@ -145,7 +136,7 @@
145136
</analysis_planning>
146137
Execute your analysis plan, creating new cells as needed.
147138
148-
5. Conclude and Submit Answer:
139+
4. Conclude and Submit Answer:
149140
<thought_process>
150141
- Reflect on how your results relate to the original task.
151142
- Consider any limitations or uncertainties in your analysis.

0 commit comments

Comments
 (0)