|
99 | 99 | CHAIN_OF_THOUGHT_AGNOSTIC = """ |
100 | 100 | Follow these steps to create your notebook, using chain-of-thought reasoning at each stage: |
101 | 101 |
|
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: |
112 | 103 | <analysis_planning> |
113 | 104 | - Identify which data files are most relevant to resolving the task. List these files. |
114 | 105 | - Plan how to load these files efficiently in {language}. |
|
120 | 111 | </analysis_planning> |
121 | 112 | Execute your plan to load data and perform descriptive statistics. |
122 | 113 |
|
123 | | -3. Develop Analysis Plan: |
| 114 | +2. Develop Analysis Plan: |
124 | 115 | <analysis_planning> |
125 | 116 | - Break down each task into testable components. List these components. |
126 | 117 | - For each component, list appropriate statistical tests or visualizations. |
|
133 | 124 | </analysis_planning> |
134 | 125 | Write out your analysis plan as comments in the notebook. |
135 | 126 |
|
136 | | -4. Execute Analysis Plan: |
| 127 | +3. Execute Analysis Plan: |
137 | 128 | <analysis_planning> |
138 | 129 | - For each step in your analysis plan, list the {language} or bash functions and libraries you'll use. |
139 | 130 | - Think about how to structure your code for readability and efficiency. |
|
145 | 136 | </analysis_planning> |
146 | 137 | Execute your analysis plan, creating new cells as needed. |
147 | 138 |
|
148 | | -5. Conclude and Submit Answer: |
| 139 | +4. Conclude and Submit Answer: |
149 | 140 | <thought_process> |
150 | 141 | - Reflect on how your results relate to the original task. |
151 | 142 | - Consider any limitations or uncertainties in your analysis. |
|
0 commit comments