Pulastya B commited on
Commit
b312316
Β·
1 Parent(s): 6a89a08

Fix TypeScript error: remove invalid role check in user message branch

Browse files
FRRONTEEEND/components/ChatInterface.tsx CHANGED
@@ -474,7 +474,7 @@ export const ChatInterface: React.FC<{ onBack: () => void }> = ({ onBack }) => {
474
  {msg.content || ''}
475
  </ReactMarkdown>
476
  ) : (
477
- msg.content || (msg.role === 'assistant' && isTyping && "...")
478
  )}
479
  {msg.reports && msg.reports.length > 0 && (
480
  <div className="mt-4 flex flex-wrap gap-2">
 
474
  {msg.content || ''}
475
  </ReactMarkdown>
476
  ) : (
477
+ msg.content
478
  )}
479
  {msg.reports && msg.reports.length > 0 && (
480
  <div className="mt-4 flex flex-wrap gap-2">
Result-from-agent.txt ADDED
@@ -0,0 +1,594 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ INFO: Waiting for application startup.
2
+ INFO:src.api.app:Initializing DataScienceCopilot...
3
+ πŸ€– Initialized with Mistral provider - Model: mistral-large-latest
4
+ βœ… Cache database initialized at /home/user/app/cache_db/cache.db
5
+ βœ… Sessions database initialized at ./cache_db/sessions.db
6
+ βœ… Created new session: 9e7bbe07-2017-407d-88ed-50f24facbfac
7
+ INFO:src.api.app:βœ… Agent initialized with provider: mistral
8
+ INFO:src.api.app:πŸ”§ Compact prompts enabled for small context window
9
+ INFO: Application startup complete.
10
+ INFO: Uvicorn running on http://0.0.0.0:7860 (Press CTRL+C to quit)
11
+ INFO:src.api.app:Saving uploaded file to: /tmp/data_science_agent/usgs_earthquake_data_2000_2025.csv
12
+ INFO:src.api.app:File saved successfully: usgs_earthquake_data_2000_2025.csv (31852550 bytes)
13
+ INFO:src.api.app:Starting analysis with task: Train a model to predict the magnitude of the earthquake
14
+ πŸ” Extracting dataset schema locally (no LLM)...
15
+ βœ… Schema extracted: 175947 rows Γ— 22 cols
16
+ File size: 30.38 MB
17
+ πŸ”§ Using compact prompt for small context window
18
+ πŸ’Ύ Saved to session: dataset=/tmp/data_science_agent/usgs_earthquake_data_2000_2025.csv, target=None
19
+ πŸ”„ Token budget reset (was 0/500000)
20
+ πŸ’° Token budget: 0/500000 (0%)
21
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
22
+ πŸ“Š Tokens: 9982 this call | 9982/500000 this minute
23
+
24
+ πŸ”§ Executing: profile_dataset
25
+ Arguments: {
26
+ "file_path": "/tmp/data_science_agent/usgs_earthquake_data_2000_2025.csv"
27
+ }
28
+ βœ“ Completed: profile_dataset
29
+ πŸ’° Token budget: 9982/500000 (2%)
30
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
31
+ πŸ“Š Tokens: 10121 this call | 20103/500000 this minute
32
+
33
+ πŸ”§ Executing: detect_data_quality_issues
34
+ Arguments: {
35
+ "file_path": "/tmp/data_science_agent/usgs_earthquake_data_2000_2025.csv"
36
+ }
37
+ βœ“ Completed: detect_data_quality_issues
38
+ πŸ’° Token budget: 20103/500000 (4%)
39
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
40
+ πŸ“Š Tokens: 10255 this call | 30358/500000 this minute
41
+
42
+ πŸ”§ Executing: clean_missing_values
43
+ Arguments: {
44
+ "file_path": "/tmp/data_science_agent/usgs_earthquake_data_2000_2025.csv",
45
+ "strategy": "auto",
46
+ "output_path": "./outputs/data/cleaned_earthquake_data.csv"
47
+ }
48
+ πŸ—‘οΈ Dropped 3 columns with >40.0% missing:
49
+ - dmin (51.03% missing)
50
+ - horizontalError (55.21% missing)
51
+ - magError (52.01% missing)
52
+ πŸ”§ Auto-detected strategies for 5 remaining columns with missing values
53
+ βœ“ Completed: clean_missing_values
54
+ πŸ’° Token budget: 30358/500000 (6%)
55
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
56
+ πŸ“Š Tokens: 10367 this call | 40725/500000 this minute
57
+
58
+ πŸ”§ Executing: encode_categorical
59
+ Arguments: {
60
+ "file_path": "./outputs/data/cleaned_earthquake_data.csv",
61
+ "output_path": "./outputs/data/encoded_earthquake_data.csv",
62
+ "method": "auto"
63
+ }
64
+ βœ“ Completed: encode_categorical
65
+ πŸ’° Token budget: 40725/500000 (8%)
66
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
67
+ πŸ“Š Tokens: 10470 this call | 51195/500000 this minute
68
+
69
+ πŸ”§ Executing: train_baseline_models
70
+ Arguments: {
71
+ "file_path": "./outputs/data/encoded_earthquake_data.csv",
72
+ "target_col": "mag",
73
+ "task_type": "regression"
74
+ }
75
+ πŸ“ Using local filesystem backend
76
+
77
+ 🎨 Generating visualizations for random_forest...
78
+ βœ“ Saved figure to ./outputs/plots/model_performance/residuals_random_forest.png
79
+ βœ“ Residual plot
80
+ βœ“ Saved figure to ./outputs/plots/model_performance/residuals_dist_random_forest.png
81
+ βœ“ Residuals distribution
82
+ βœ“ Saved figure to ./outputs/plots/model_performance/feature_importance_random_forest.png
83
+ βœ“ Feature importance plot
84
+ βœ“ Generated 2 performance plots
85
+ βœ“ Completed: train_baseline_models
86
+ [DEBUG] train_baseline_models executed!
87
+ [DEBUG] tool_result keys: ['success', 'tool', 'arguments', 'result']
88
+ [DEBUG] 'best_model' in tool_result: False
89
+ [DEBUG] Nested result keys: ['task_type', 'n_features', 'n_samples', 'train_size', 'test_size', 'feature_names', 'models', 'best_model', 'performance_plots', 'feature_importance_plot', 'visualization_generated']
90
+ [DEBUG] 'best_model' in nested result: True
91
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
92
+ πŸ”„ Token budget reset (was 51195/500000)
93
+ πŸ’° Token budget: 0/500000 (0%)
94
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
95
+ πŸ“Š Tokens: 10543 this call | 10543/500000 this minute
96
+
97
+ πŸ”§ Executing: **Critical Error**: No models were trained. This indicates that the dataset may still contain non-numeric columns or requires further preprocessing. I will now force numeric conversion for all critical columns and retry training. --- **Columns to Convert**: `latitude`, `longitude`, `depth`, `mag`, `nst`, `gap` **"_errors": "coerce"** to handle non-numeric values.
98
+ Arguments: {
99
+ "tool": "force_numeric_conversion",
100
+ "arguments": {
101
+ "file_path": "./outputs/data/encoded_earthquake_data.csv",
102
+ "columns": [
103
+ "latitude",
104
+ "longitude",
105
+ "depth",
106
+ "mag",
107
+ "nst",
108
+ "gap"
109
+ ],
110
+ "output_path": "./outputs/data/numeric_earthquake_data.csv",
111
+ "errors": "coerce"
112
+ }
113
+ }
114
+ βœ“ Completed: **Critical Error**: No models were trained. This indicates that the dataset may still contain non-numeric columns or requires further preprocessing. I will now force numeric conversion for all critical columns and retry training. --- **Columns to Convert**: `latitude`, `longitude`, `depth`, `mag`, `nst`, `gap` **"_errors": "coerce"** to handle non-numeric values.
115
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
116
+ πŸ’° Token budget: 10543/500000 (2%)
117
+ ⏳ Rate limiting: waiting 0.1s...
118
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
119
+ πŸ“Š Tokens: 10584 this call | 21127/500000 this minute
120
+
121
+ πŸ”§ Executing: train_baseline_models
122
+ Arguments: {
123
+ "file_path": "./outputs/data/numeric_earthquake_data.csv",
124
+ "target_col": "mag",
125
+ "task_type": "regression"
126
+ }
127
+ ❌ FAILED: train_baseline_models
128
+ ⚠️ Error Type: ValidationError
129
+ ⚠️ Error Message: File not found: ./outputs/data/numeric_earthquake_data.csv
130
+ πŸ”„ Recovery: Use ./outputs/data/encoded_earthquake_data.csv for next step
131
+
132
+ πŸ”΄ CRITICAL ERROR in train_baseline_models:
133
+ File not found: ./outputs/data/numeric_earthquake_data.csv
134
+
135
+ [DEBUG] train_baseline_models executed!
136
+ [DEBUG] tool_result keys: ['success', 'tool', 'arguments', 'error', 'error_type', 'recovery_guidance']
137
+ [DEBUG] 'best_model' in tool_result: False
138
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
139
+ πŸ’° Token budget: 21127/500000 (4%)
140
+ ⏳ Rate limiting: waiting 0.1s...
141
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
142
+ πŸ“Š Tokens: 10658 this call | 31785/500000 this minute
143
+
144
+ πŸ”§ Executing: force_numeric_conversion
145
+ Arguments: {
146
+ "file_path": "./outputs/data/encoded_earthquake_data.csv",
147
+ "columns": [
148
+ "latitude",
149
+ "longitude",
150
+ "depth",
151
+ "mag",
152
+ "nst",
153
+ "gap",
154
+ "dmin",
155
+ "rms",
156
+ "horizontalError",
157
+ "depthError",
158
+ "magError",
159
+ "magNst"
160
+ ],
161
+ "output_path": "./outputs/data/numeric_earthquake_data.csv",
162
+ "errors": "coerce"
163
+ }
164
+ πŸ”’ Force converting 12 columns to numeric...
165
+ βœ… 'latitude': Converted to numeric (no data loss)
166
+ βœ… 'longitude': Converted to numeric (no data loss)
167
+ βœ… 'depth': Converted to numeric (no data loss)
168
+ βœ… 'mag': Converted to numeric (no data loss)
169
+ βœ… 'nst': Converted to numeric (no data loss)
170
+ βœ… 'gap': Converted to numeric (no data loss)
171
+ ⚠️ Column 'dmin' not found, skipping
172
+ βœ… 'rms': Converted to numeric (no data loss)
173
+ ⚠️ Column 'horizontalError' not found, skipping
174
+ βœ… 'depthError': Converted to numeric (no data loss)
175
+ ⚠️ Column 'magError' not found, skipping
176
+ βœ… 'magNst': Converted to numeric (no data loss)
177
+ βœ“ Completed: force_numeric_conversion
178
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
179
+ πŸ’° Token budget: 31785/500000 (6%)
180
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
181
+ πŸ“Š Tokens: 10650 this call | 42435/500000 this minute
182
+
183
+ πŸ”§ Executing: train_baseline_models
184
+ Arguments: {
185
+ "file_path": "./outputs/data/numeric_earthquake_data.csv",
186
+ "target_col": "mag",
187
+ "task_type": "regression"
188
+ }
189
+
190
+ 🎨 Generating visualizations for random_forest...
191
+ βœ“ Saved figure to ./outputs/plots/model_performance/residuals_random_forest.png
192
+ βœ“ Residual plot
193
+ βœ“ Saved figure to ./outputs/plots/model_performance/residuals_dist_random_forest.png
194
+ βœ“ Residuals distribution
195
+ βœ“ Saved figure to ./outputs/plots/model_performance/feature_importance_random_forest.png
196
+ βœ“ Feature importance plot
197
+ βœ“ Generated 2 performance plots
198
+ βœ“ Completed: train_baseline_models
199
+ [DEBUG] train_baseline_models executed!
200
+ [DEBUG] tool_result keys: ['success', 'tool', 'arguments', 'result']
201
+ [DEBUG] 'best_model' in tool_result: False
202
+ [DEBUG] Nested result keys: ['task_type', 'n_features', 'n_samples', 'train_size', 'test_size', 'feature_names', 'models', 'best_model', 'performance_plots', 'feature_importance_plot', 'visualization_generated']
203
+ [DEBUG] 'best_model' in nested result: True
204
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
205
+ πŸ”„ Token budget reset (was 42435/500000)
206
+ πŸ’° Token budget: 0/500000 (0%)
207
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
208
+ πŸ“Š Tokens: 10676 this call | 10676/500000 this minute
209
+
210
+ πŸ”§ Executing: hyperparameter_tuning
211
+ Arguments: {
212
+ "file_path": "./outputs/data/numeric_earthquake_data.csv",
213
+ "target_col": "mag",
214
+ "model_type": "xgboost",
215
+ "task_type": "regression",
216
+ "output_path": "./outputs/models/hyperparameter_tuned_model.pkl"
217
+ }
218
+ πŸ”„ Converting Polars DataFrame to Pandas for XGBoost compatibility...
219
+ ⚠️ Dropping 2 datetime columns that cannot be used directly: ['time', 'updated']
220
+ πŸ’‘ Time features should have been extracted in workflow step 7 (create_time_features)
221
+ ⚠️ Dropping 8 string columns that weren't encoded: ['magType', 'net', 'id', 'place', 'type', 'status', 'locationSource', 'magSource']
222
+ πŸ’‘ Categorical encoding should have been done in workflow step 8 (encode_categorical)
223
+ πŸ’‘ These columns likely weren't in the encoded file or encoding failed
224
+ πŸ”§ Starting hyperparameter tuning with 50 trials...
225
+ [I 2025-12-30 06:45:29,933] A new study created in memory with name: no-name-f5e1b6c2-6c53-427f-914b-8eaf8b5a27d1
226
+ [I 2025-12-30 06:45:35,182] Trial 0 finished with value: -0.2222053027498337 and parameters: {'n_estimators': 218, 'max_depth': 10, 'learning_rate': 0.1205712628744377, 'subsample': 0.7993292420985183, 'colsample_bytree': 0.5780093202212182, 'gamma': 0.7799726016810132, 'reg_alpha': 0.11616722433639892, 'reg_lambda': 1.7323522915498704}. Best is trial 0 with value: -0.2222053027498337.
227
+ [I 2025-12-30 06:45:45,350] Trial 1 finished with value: -0.2249593434033464 and parameters: {'n_estimators': 321, 'max_depth': 8, 'learning_rate': 0.010725209743171997, 'subsample': 0.9849549260809971, 'colsample_bytree': 0.9162213204002109, 'gamma': 1.0616955533913808, 'reg_alpha': 0.36364993441420124, 'reg_lambda': 0.36680901970686763}. Best is trial 0 with value: -0.2222053027498337.
228
+ [I 2025-12-30 06:45:49,296] Trial 2 finished with value: -0.2227477999692053 and parameters: {'n_estimators': 187, 'max_depth': 7, 'learning_rate': 0.04345454109729477, 'subsample': 0.645614570099021, 'colsample_bytree': 0.8059264473611898, 'gamma': 0.6974693032602092, 'reg_alpha': 0.5842892970704363, 'reg_lambda': 0.7327236865873834}. Best is trial 0 with value: -0.2222053027498337.
229
+ [I 2025-12-30 06:45:58,519] Trial 3 finished with value: -0.217909780849128 and parameters: {'n_estimators': 255, 'max_depth': 9, 'learning_rate': 0.019721610970574007, 'subsample': 0.7571172192068059, 'colsample_bytree': 0.7962072844310213, 'gamma': 0.23225206359998862, 'reg_alpha': 1.2150897038028767, 'reg_lambda': 0.34104824737458306}. Best is trial 3 with value: -0.217909780849128.
230
+ [I 2025-12-30 06:45:59,937] Trial 4 finished with value: -0.22015938346470731 and parameters: {'n_estimators': 79, 'max_depth': 10, 'learning_rate': 0.26690431824362526, 'subsample': 0.9041986740582306, 'colsample_bytree': 0.6523068845866853, 'gamma': 0.48836057003191935, 'reg_alpha': 1.3684660530243138, 'reg_lambda': 0.8803049874792026}. Best is trial 3 with value: -0.217909780849128.
231
+ [I 2025-12-30 06:46:02,582] Trial 5 finished with value: -0.2748644699216113 and parameters: {'n_estimators': 105, 'max_depth': 6, 'learning_rate': 0.011240768803005551, 'subsample': 0.954660201039391, 'colsample_bytree': 0.6293899908000085, 'gamma': 3.31261142176991, 'reg_alpha': 0.6234221521788219, 'reg_lambda': 1.0401360423556216}. Best is trial 3 with value: -0.217909780849128.
232
+ [I 2025-12-30 06:46:04,593] Trial 6 finished with value: -0.2419585802420717 and parameters: {'n_estimators': 296, 'max_depth': 4, 'learning_rate': 0.27051668818999286, 'subsample': 0.8875664116805573, 'colsample_bytree': 0.9697494707820946, 'gamma': 4.474136752138244, 'reg_alpha': 1.1957999576221703, 'reg_lambda': 1.8437484700462337}. Best is trial 3 with value: -0.217909780849128.
233
+ [I 2025-12-30 06:46:06,507] Trial 7 finished with value: -0.29437110404691424 and parameters: {'n_estimators': 89, 'max_depth': 4, 'learning_rate': 0.011662890273931383, 'subsample': 0.6626651653816322, 'colsample_bytree': 0.6943386448447411, 'gamma': 1.3567451588694794, 'reg_alpha': 1.6574750183038587, 'reg_lambda': 0.7135066533871786}. Best is trial 3 with value: -0.217909780849128.
234
+ [I 2025-12-30 06:46:10,089] Trial 8 finished with value: -0.2447564815895217 and parameters: {'n_estimators': 176, 'max_depth': 7, 'learning_rate': 0.016149614799999188, 'subsample': 0.9010984903770198, 'colsample_bytree': 0.5372753218398854, 'gamma': 4.9344346830025865, 'reg_alpha': 1.5444895385933148, 'reg_lambda': 0.3974313630683448}. Best is trial 3 with value: -0.217909780849128.
235
+ [I 2025-12-30 06:46:12,248] Trial 9 finished with value: -0.21816234213013597 and parameters: {'n_estimators': 52, 'max_depth': 9, 'learning_rate': 0.11069143219393454, 'subsample': 0.8645035840204937, 'colsample_bytree': 0.8856351733429728, 'gamma': 0.3702232586704518, 'reg_alpha': 0.7169314570885452, 'reg_lambda': 0.23173811905025943}. Best is trial 3 with value: -0.217909780849128.
236
+ [I 2025-12-30 06:46:18,078] Trial 10 finished with value: -0.23147161506987665 and parameters: {'n_estimators': 465, 'max_depth': 6, 'learning_rate': 0.028477486830279865, 'subsample': 0.5089809378074098, 'colsample_bytree': 0.7828065453407016, 'gamma': 2.1340644769165706, 'reg_alpha': 1.9195414918908396, 'reg_lambda': 0.023705191223290734}. Best is trial 3 with value: -0.217909780849128.
237
+ [I 2025-12-30 06:46:23,446] Trial 11 finished with value: -0.2151015417478106 and parameters: {'n_estimators': 403, 'max_depth': 9, 'learning_rate': 0.09191338148828515, 'subsample': 0.7792623653896451, 'colsample_bytree': 0.8582355933427974, 'gamma': 0.18425648529685623, 'reg_alpha': 0.9194876161876269, 'reg_lambda': 0.031300641140509095}. Best is trial 11 with value: -0.2151015417478106.
238
+ [I 2025-12-30 06:46:36,820] Trial 12 finished with value: -0.2117902331886637 and parameters: {'n_estimators': 394, 'max_depth': 9, 'learning_rate': 0.06863000803064562, 'subsample': 0.7316936986365619, 'colsample_bytree': 0.8463063352248831, 'gamma': 0.03755154871269628, 'reg_alpha': 0.9374104377756843, 'reg_lambda': 1.305362400449962}. Best is trial 12 with value: -0.2117902331886637.
239
+ [I 2025-12-30 06:46:40,470] Trial 13 finished with value: -0.2266597710002857 and parameters: {'n_estimators': 412, 'max_depth': 8, 'learning_rate': 0.0762265316764627, 'subsample': 0.6713996441331581, 'colsample_bytree': 0.8362328309841128, 'gamma': 1.9044113038612998, 'reg_alpha': 0.8762603349822686, 'reg_lambda': 1.383152643307522}. Best is trial 12 with value: -0.2117902331886637.
240
+ [I 2025-12-30 06:46:44,322] Trial 14 finished with value: -0.2276988638905403 and parameters: {'n_estimators': 386, 'max_depth': 9, 'learning_rate': 0.05451959152725668, 'subsample': 0.7307024197434439, 'colsample_bytree': 0.9881376590275984, 'gamma': 2.7453009991630744, 'reg_alpha': 0.9844135581240167, 'reg_lambda': 1.3186317339532316}. Best is trial 12 with value: -0.2117902331886637.
241
+ [I 2025-12-30 06:46:54,551] Trial 15 finished with value: -0.21590068160545198 and parameters: {'n_estimators': 500, 'max_depth': 8, 'learning_rate': 0.14810350614905562, 'subsample': 0.5827781406926889, 'colsample_bytree': 0.7261631564388042, 'gamma': 0.06741926023488681, 'reg_alpha': 0.3376623139328573, 'reg_lambda': 1.3836696404640405}. Best is trial 12 with value: -0.2117902331886637.
242
+ [I 2025-12-30 06:46:57,957] Trial 16 finished with value: -0.23044345798047142 and parameters: {'n_estimators': 356, 'max_depth': 5, 'learning_rate': 0.07522074480248636, 'subsample': 0.8043677189496615, 'colsample_bytree': 0.8805304594988683, 'gamma': 1.4838423870951747, 'reg_alpha': 1.0921932982341873, 'reg_lambda': 1.1332181873047948}. Best is trial 12 with value: -0.2117902331886637.
243
+ [I 2025-12-30 06:47:02,913] Trial 17 finished with value: -0.2297064199198806 and parameters: {'n_estimators': 432, 'max_depth': 10, 'learning_rate': 0.036439114994644674, 'subsample': 0.7152394696038648, 'colsample_bytree': 0.9329945684888148, 'gamma': 3.5359723928317566, 'reg_alpha': 0.8311426266898979, 'reg_lambda': 1.6741177035341803}. Best is trial 12 with value: -0.2117902331886637.
244
+ [I 2025-12-30 06:47:05,918] Trial 18 finished with value: -0.23947054644773408 and parameters: {'n_estimators': 324, 'max_depth': 3, 'learning_rate': 0.17221016908349282, 'subsample': 0.8132394567758081, 'colsample_bytree': 0.8460287068036322, 'gamma': 1.601698676289583, 'reg_alpha': 1.4252872924751308, 'reg_lambda': 1.5929573778842099}. Best is trial 12 with value: -0.2117902331886637.
245
+ [I 2025-12-30 06:47:10,192] Trial 19 finished with value: -0.22885246086233257 and parameters: {'n_estimators': 379, 'max_depth': 9, 'learning_rate': 0.07728105224926932, 'subsample': 0.5855637950430337, 'colsample_bytree': 0.7458998183808371, 'gamma': 2.5072850771118333, 'reg_alpha': 0.40508143887559434, 'reg_lambda': 0.6996128559265311}. Best is trial 12 with value: -0.2117902331886637.
246
+ [I 2025-12-30 06:47:14,403] Trial 20 finished with value: -0.22178011083009927 and parameters: {'n_estimators': 446, 'max_depth': 8, 'learning_rate': 0.09325109683406559, 'subsample': 0.8366733523272174, 'colsample_bytree': 0.8665596769741382, 'gamma': 0.8841313654895134, 'reg_alpha': 0.07301978703020784, 'reg_lambda': 1.1644418562350771}. Best is trial 12 with value: -0.2117902331886637.
247
+ [I 2025-12-30 06:47:31,021] Trial 21 finished with value: -0.21750518779758 and parameters: {'n_estimators': 500, 'max_depth': 8, 'learning_rate': 0.16161445557774798, 'subsample': 0.5637259373457058, 'colsample_bytree': 0.7431023122103961, 'gamma': 0.008554418542379934, 'reg_alpha': 0.41589858991129514, 'reg_lambda': 1.44382210900569}. Best is trial 12 with value: -0.2117902331886637.
248
+ [I 2025-12-30 06:47:42,866] Trial 22 finished with value: -0.21604211701365877 and parameters: {'n_estimators': 485, 'max_depth': 7, 'learning_rate': 0.1517966056201532, 'subsample': 0.5975118290673396, 'colsample_bytree': 0.7057679936639524, 'gamma': 0.03273020246708382, 'reg_alpha': 0.18115333465182792, 'reg_lambda': 1.9468582820569833}. Best is trial 12 with value: -0.2117902331886637.
249
+ [I 2025-12-30 06:47:48,365] Trial 23 finished with value: -0.22410459424075588 and parameters: {'n_estimators': 415, 'max_depth': 9, 'learning_rate': 0.06106814515924398, 'subsample': 0.5064075192827886, 'colsample_bytree': 0.8192663263075712, 'gamma': 1.1768326154018607, 'reg_alpha': 0.9490825960489868, 'reg_lambda': 1.5285386073862965}. Best is trial 12 with value: -0.2117902331886637.
250
+ [I 2025-12-30 06:47:51,863] Trial 24 finished with value: -0.22117335811388256 and parameters: {'n_estimators': 350, 'max_depth': 8, 'learning_rate': 0.20632379438852388, 'subsample': 0.7581761627346326, 'colsample_bytree': 0.7685567255706158, 'gamma': 0.559806388689428, 'reg_alpha': 0.7419450417672374, 'reg_lambda': 1.2536844729346979}. Best is trial 12 with value: -0.2117902331886637.
251
+ [I 2025-12-30 06:47:57,934] Trial 25 finished with value: -0.21632616626061657 and parameters: {'n_estimators': 460, 'max_depth': 10, 'learning_rate': 0.10945058120802637, 'subsample': 0.6985777775995651, 'colsample_bytree': 0.9074136202529427, 'gamma': 0.3048175873616225, 'reg_alpha': 0.5316214539678321, 'reg_lambda': 0.004681576377994469}. Best is trial 12 with value: -0.2117902331886637.
252
+ [I 2025-12-30 06:48:03,794] Trial 26 finished with value: -0.2209694267468243 and parameters: {'n_estimators': 396, 'max_depth': 9, 'learning_rate': 0.05177877764511362, 'subsample': 0.6239662118347137, 'colsample_bytree': 0.702747133361705, 'gamma': 0.8224402237649189, 'reg_alpha': 0.23964150264576667, 'reg_lambda': 0.9921258966529627}. Best is trial 12 with value: -0.2117902331886637.
253
+ [I 2025-12-30 06:48:10,108] Trial 27 finished with value: -0.21391152567953936 and parameters: {'n_estimators': 271, 'max_depth': 7, 'learning_rate': 0.12776364618033317, 'subsample': 0.7567579552596243, 'colsample_bytree': 0.9556430894288981, 'gamma': 0.06948779089508372, 'reg_alpha': 1.1198282172896126, 'reg_lambda': 0.5400689085271295}. Best is trial 12 with value: -0.2117902331886637.
254
+ [I 2025-12-30 06:48:14,486] Trial 28 finished with value: -0.22869873499157783 and parameters: {'n_estimators': 259, 'max_depth': 6, 'learning_rate': 0.030857978486734355, 'subsample': 0.7848935918616498, 'colsample_bytree': 0.9571604269437145, 'gamma': 1.7876165058603275, 'reg_alpha': 1.0952368163385366, 'reg_lambda': 0.5681630769000812}. Best is trial 12 with value: -0.2117902331886637.
255
+ [I 2025-12-30 06:48:17,444] Trial 29 finished with value: -0.22872126942543622 and parameters: {'n_estimators': 211, 'max_depth': 5, 'learning_rate': 0.09458619429934313, 'subsample': 0.7752412300256623, 'colsample_bytree': 0.9379985581491168, 'gamma': 0.9793811650600847, 'reg_alpha': 1.350816555909763, 'reg_lambda': 0.15706451357289275}. Best is trial 12 with value: -0.2117902331886637.
256
+ [I 2025-12-30 06:48:21,314] Trial 30 finished with value: -0.21925361161197748 and parameters: {'n_estimators': 287, 'max_depth': 10, 'learning_rate': 0.1127332265321615, 'subsample': 0.693505577796114, 'colsample_bytree': 0.9942074947806865, 'gamma': 0.6391203439145869, 'reg_alpha': 1.2176992426241886, 'reg_lambda': 0.5294343996093583}. Best is trial 12 with value: -0.2117902331886637.
257
+ [I 2025-12-30 06:48:27,860] Trial 31 finished with value: -0.2143322551364602 and parameters: {'n_estimators': 233, 'max_depth': 7, 'learning_rate': 0.13506979382521442, 'subsample': 0.7375210914463181, 'colsample_bytree': 0.8517121503192013, 'gamma': 0.036560967437380035, 'reg_alpha': 0.7982259777780396, 'reg_lambda': 0.8709228334252379}. Best is trial 12 with value: -0.2117902331886637.
258
+ [I 2025-12-30 06:48:31,086] Trial 32 finished with value: -0.2204394869608693 and parameters: {'n_estimators': 224, 'max_depth': 7, 'learning_rate': 0.1303776200625617, 'subsample': 0.8231985730436107, 'colsample_bytree': 0.8628533393513916, 'gamma': 0.3959034967984258, 'reg_alpha': 0.8014731789781997, 'reg_lambda': 0.80598494190566}. Best is trial 12 with value: -0.2117902331886637.
259
+ [I 2025-12-30 06:48:33,280] Trial 33 finished with value: -0.22562646149513776 and parameters: {'n_estimators': 152, 'max_depth': 7, 'learning_rate': 0.21074358348676045, 'subsample': 0.7286349092078599, 'colsample_bytree': 0.9068137156850165, 'gamma': 1.1155945323427658, 'reg_alpha': 1.0554400512203728, 'reg_lambda': 0.9422210002428226}. Best is trial 12 with value: -0.2117902331886637.
260
+ [I 2025-12-30 06:48:39,212] Trial 34 finished with value: -0.22049764075026887 and parameters: {'n_estimators': 327, 'max_depth': 5, 'learning_rate': 0.06604216273735086, 'subsample': 0.7391652879271879, 'colsample_bytree': 0.8278094396951904, 'gamma': 0.006092262001214863, 'reg_alpha': 0.9123457635515685, 'reg_lambda': 0.5711862639803287}. Best is trial 12 with value: -0.2117902331886637.
261
+ [I 2025-12-30 06:48:42,620] Trial 35 finished with value: -0.22388793990803135 and parameters: {'n_estimators': 233, 'max_depth': 6, 'learning_rate': 0.08993476471600502, 'subsample': 0.7703347328258917, 'colsample_bytree': 0.9010371701372613, 'gamma': 0.6809389626726724, 'reg_alpha': 0.6727179992050063, 'reg_lambda': 0.4106268636514421}. Best is trial 12 with value: -0.2117902331886637.
262
+ [I 2025-12-30 06:48:47,953] Trial 36 finished with value: -0.2194321126991153 and parameters: {'n_estimators': 301, 'max_depth': 7, 'learning_rate': 0.04519709940232653, 'subsample': 0.858979173354254, 'colsample_bytree': 0.8065580557240736, 'gamma': 0.34223620291079404, 'reg_alpha': 0.5518537237664257, 'reg_lambda': 0.17327977402568823}. Best is trial 12 with value: -0.2117902331886637.
263
+ [I 2025-12-30 06:48:50,904] Trial 37 finished with value: -0.22113781824020878 and parameters: {'n_estimators': 262, 'max_depth': 8, 'learning_rate': 0.1237083896420413, 'subsample': 0.6955486189796809, 'colsample_bytree': 0.9405129028663352, 'gamma': 0.6858920712841973, 'reg_alpha': 1.2292591675578928, 'reg_lambda': 0.8322760011399029}. Best is trial 12 with value: -0.2117902331886637.
264
+ [I 2025-12-30 06:48:52,621] Trial 38 finished with value: -0.2304114385187297 and parameters: {'n_estimators': 187, 'max_depth': 10, 'learning_rate': 0.19767773627157836, 'subsample': 0.7913259854855206, 'colsample_bytree': 0.8523458057115616, 'gamma': 3.8370761624114746, 'reg_alpha': 1.006545290140675, 'reg_lambda': 1.0925731093851638}. Best is trial 12 with value: -0.2117902331886637.
265
+ [I 2025-12-30 06:48:54,852] Trial 39 finished with value: -0.2234989284908891 and parameters: {'n_estimators': 133, 'max_depth': 9, 'learning_rate': 0.09107282452904876, 'subsample': 0.975419047477103, 'colsample_bytree': 0.6406089351880103, 'gamma': 1.2778641187103894, 'reg_alpha': 1.2997656298230078, 'reg_lambda': 0.6705825086913518}. Best is trial 12 with value: -0.2117902331886637.
266
+ [I 2025-12-30 06:48:58,702] Trial 40 finished with value: -0.21992454490010543 and parameters: {'n_estimators': 355, 'max_depth': 7, 'learning_rate': 0.2986164631468, 'subsample': 0.6394649808529335, 'colsample_bytree': 0.7762584166863378, 'gamma': 0.2456415206010749, 'reg_alpha': 1.5456886180253895, 'reg_lambda': 0.2752282375196218}. Best is trial 12 with value: -0.2117902331886637.
267
+ [I 2025-12-30 06:49:04,353] Trial 41 finished with value: -0.21619945709301386 and parameters: {'n_estimators': 239, 'max_depth': 8, 'learning_rate': 0.14126481383258627, 'subsample': 0.5396686243791224, 'colsample_bytree': 0.7268528342226097, 'gamma': 0.11702816721319677, 'reg_alpha': 0.3191223725020149, 'reg_lambda': 1.2917550630353662}. Best is trial 12 with value: -0.2117902331886637.
268
+ [I 2025-12-30 06:49:07,002] Trial 42 finished with value: -0.2205597452422415 and parameters: {'n_estimators': 276, 'max_depth': 8, 'learning_rate': 0.18271793396417674, 'subsample': 0.7511142037720665, 'colsample_bytree': 0.8000301847875506, 'gamma': 0.5452778280207482, 'reg_alpha': 1.1022163980543684, 'reg_lambda': 1.1950174269359606}. Best is trial 12 with value: -0.2117902331886637.
269
+ [I 2025-12-30 06:49:10,315] Trial 43 finished with value: -0.21988315364230107 and parameters: {'n_estimators': 308, 'max_depth': 9, 'learning_rate': 0.24872849794097893, 'subsample': 0.6701120513607601, 'colsample_bytree': 0.5643131665359047, 'gamma': 0.2750257841501685, 'reg_alpha': 0.8050301950940839, 'reg_lambda': 1.4396458070433622}. Best is trial 12 with value: -0.2117902331886637.
270
+ [I 2025-12-30 06:49:12,714] Trial 44 finished with value: -0.2220612075002763 and parameters: {'n_estimators': 201, 'max_depth': 8, 'learning_rate': 0.14186455955627142, 'subsample': 0.9252495145114167, 'colsample_bytree': 0.5007250058963767, 'gamma': 0.5007826134971919, 'reg_alpha': 0.02006171752165614, 'reg_lambda': 1.0395915501076223}. Best is trial 12 with value: -0.2117902331886637.
271
+ [I 2025-12-30 06:49:16,214] Trial 45 finished with value: -0.2268322456721617 and parameters: {'n_estimators': 424, 'max_depth': 6, 'learning_rate': 0.10452400342643785, 'subsample': 0.8515596270392202, 'colsample_bytree': 0.6780402724214556, 'gamma': 0.9100993087116295, 'reg_alpha': 0.4665290048783967, 'reg_lambda': 1.720530145645983}. Best is trial 12 with value: -0.2117902331886637.
272
+ [I 2025-12-30 06:49:21,114] Trial 46 finished with value: -0.21688489119504073 and parameters: {'n_estimators': 463, 'max_depth': 9, 'learning_rate': 0.1270881474380103, 'subsample': 0.7192500291857469, 'colsample_bytree': 0.6719865546958231, 'gamma': 0.23509229649869182, 'reg_alpha': 0.6068107464862611, 'reg_lambda': 0.9193788086925786}. Best is trial 12 with value: -0.2117902331886637.
273
+ [I 2025-12-30 06:49:25,554] Trial 47 finished with value: -0.23038515359268302 and parameters: {'n_estimators': 480, 'max_depth': 8, 'learning_rate': 0.07663171461168965, 'subsample': 0.6217060709053571, 'colsample_bytree': 0.8836458414460989, 'gamma': 3.1089183574109462, 'reg_alpha': 1.1711822917047499, 'reg_lambda': 1.584883446591926}. Best is trial 12 with value: -0.2117902331886637.
274
+ [I 2025-12-30 06:49:35,002] Trial 48 finished with value: -0.2160270955809555 and parameters: {'n_estimators': 370, 'max_depth': 7, 'learning_rate': 0.23531575366912716, 'subsample': 0.8785548777891196, 'colsample_bytree': 0.9661628595952791, 'gamma': 0.0211536688019886, 'reg_alpha': 0.7000473568815796, 'reg_lambda': 0.4607724758064207}. Best is trial 12 with value: -0.2117902331886637.
275
+ [I 2025-12-30 06:49:39,584] Trial 49 finished with value: -0.22058191837354965 and parameters: {'n_estimators': 337, 'max_depth': 9, 'learning_rate': 0.06766630550571712, 'subsample': 0.8075461050783281, 'colsample_bytree': 0.605081846741258, 'gamma': 0.4661956445976906, 'reg_alpha': 1.8556268720042601, 'reg_lambda': 1.3519760648769108}. Best is trial 12 with value: -0.2117902331886637.
276
+ 0%| | 0/50 [00:00<?, ?it/s]
277
+
278
+
279
+ 0%| | 0/50 [00:05<?, ?it/s]
280
+ Best trial: 0. Best value: -0.222205: 0%| | 0/50 [00:05<?, ?it/s]
281
+ Best trial: 0. Best value: -0.222205: 2%|▏ | 1/50 [00:05<04:17, 5.25s/it]
282
+
283
+
284
+ Best trial: 0. Best value: -0.222205: 2%|▏ | 1/50 [00:15<04:17, 5.25s/it]
285
+ Best trial: 0. Best value: -0.222205: 2%|▏ | 1/50 [00:15<04:17, 5.25s/it]
286
+ Best trial: 0. Best value: -0.222205: 4%|▍ | 2/50 [00:15<06:30, 8.14s/it]
287
+
288
+
289
+ Best trial: 0. Best value: -0.222205: 4%|▍ | 2/50 [00:19<06:30, 8.14s/it]
290
+ Best trial: 0. Best value: -0.222205: 4%|▍ | 2/50 [00:19<06:30, 8.14s/it]
291
+ Best trial: 0. Best value: -0.222205: 6%|β–Œ | 3/50 [00:19<04:52, 6.23s/it]
292
+
293
+
294
+ Best trial: 0. Best value: -0.222205: 6%|β–Œ | 3/50 [00:28<04:52, 6.23s/it]
295
+ Best trial: 3. Best value: -0.21791: 6%|β–Œ | 3/50 [00:28<04:52, 6.23s/it]
296
+ Best trial: 3. Best value: -0.21791: 8%|β–Š | 4/50 [00:28<05:40, 7.41s/it]
297
+
298
+
299
+ Best trial: 3. Best value: -0.21791: 8%|β–Š | 4/50 [00:30<05:40, 7.41s/it]
300
+ Best trial: 3. Best value: -0.21791: 8%|β–Š | 4/50 [00:30<05:40, 7.41s/it]
301
+ Best trial: 3. Best value: -0.21791: 10%|β–ˆ | 5/50 [00:30<03:56, 5.25s/it]
302
+
303
+
304
+ Best trial: 3. Best value: -0.21791: 10%|β–ˆ | 5/50 [00:32<03:56, 5.25s/it]
305
+ Best trial: 3. Best value: -0.21791: 10%|β–ˆ | 5/50 [00:32<03:56, 5.25s/it]
306
+ Best trial: 3. Best value: -0.21791: 12%|β–ˆβ– | 6/50 [00:32<03:11, 4.36s/it]
307
+
308
+
309
+ Best trial: 3. Best value: -0.21791: 12%|β–ˆβ– | 6/50 [00:34<03:11, 4.36s/it]
310
+ Best trial: 3. Best value: -0.21791: 12%|β–ˆβ– | 6/50 [00:34<03:11, 4.36s/it]
311
+ Best trial: 3. Best value: -0.21791: 14%|β–ˆβ– | 7/50 [00:34<02:34, 3.59s/it]
312
+
313
+
314
+ Best trial: 3. Best value: -0.21791: 14%|β–ˆβ– | 7/50 [00:36<02:34, 3.59s/it]
315
+ Best trial: 3. Best value: -0.21791: 14%|β–ˆβ– | 7/50 [00:36<02:34, 3.59s/it]
316
+ Best trial: 3. Best value: -0.21791: 16%|β–ˆβ–Œ | 8/50 [00:36<02:08, 3.06s/it]
317
+
318
+
319
+ Best trial: 3. Best value: -0.21791: 16%|β–ˆβ–Œ | 8/50 [00:40<02:08, 3.06s/it]
320
+ Best trial: 3. Best value: -0.21791: 16%|β–ˆβ–Œ | 8/50 [00:40<02:08, 3.06s/it]
321
+ Best trial: 3. Best value: -0.21791: 18%|β–ˆβ–Š | 9/50 [00:40<02:12, 3.22s/it]
322
+
323
+
324
+ Best trial: 3. Best value: -0.21791: 18%|β–ˆβ–Š | 9/50 [00:42<02:12, 3.22s/it]
325
+ Best trial: 3. Best value: -0.21791: 18%|β–ˆβ–Š | 9/50 [00:42<02:12, 3.22s/it]
326
+ Best trial: 3. Best value: -0.21791: 20%|β–ˆβ–ˆ | 10/50 [00:42<01:55, 2.89s/it]
327
+
328
+
329
+ Best trial: 3. Best value: -0.21791: 20%|β–ˆβ–ˆ | 10/50 [00:48<01:55, 2.89s/it]
330
+ Best trial: 3. Best value: -0.21791: 20%|β–ˆβ–ˆ | 10/50 [00:48<01:55, 2.89s/it]
331
+ Best trial: 3. Best value: -0.21791: 22%|β–ˆβ–ˆβ– | 11/50 [00:48<02:27, 3.79s/it]
332
+
333
+
334
+ Best trial: 3. Best value: -0.21791: 22%|β–ˆβ–ˆβ– | 11/50 [00:53<02:27, 3.79s/it]
335
+ Best trial: 11. Best value: -0.215102: 22%|β–ˆβ–ˆβ– | 11/50 [00:53<02:27, 3.79s/it]
336
+ Best trial: 11. Best value: -0.215102: 24%|β–ˆβ–ˆβ– | 12/50 [00:53<02:42, 4.27s/it]
337
+
338
+
339
+ Best trial: 11. Best value: -0.215102: 24%|β–ˆβ–ˆβ– | 12/50 [01:06<02:42, 4.27s/it]
340
+ Best trial: 12. Best value: -0.21179: 24%|β–ˆβ–ˆβ– | 12/50 [01:06<02:42, 4.27s/it]
341
+ Best trial: 12. Best value: -0.21179: 26%|β–ˆβ–ˆβ–Œ | 13/50 [01:06<04:20, 7.03s/it]
342
+
343
+
344
+ Best trial: 12. Best value: -0.21179: 26%|β–ˆβ–ˆβ–Œ | 13/50 [01:10<04:20, 7.03s/it]
345
+ Best trial: 12. Best value: -0.21179: 26%|β–ˆβ–ˆβ–Œ | 13/50 [01:10<04:20, 7.03s/it]
346
+ Best trial: 12. Best value: -0.21179: 28%|β–ˆβ–ˆβ–Š | 14/50 [01:10<03:36, 6.01s/it]
347
+
348
+
349
+ Best trial: 12. Best value: -0.21179: 28%|β–ˆβ–ˆβ–Š | 14/50 [01:14<03:36, 6.01s/it]
350
+ Best trial: 12. Best value: -0.21179: 28%|β–ˆβ–ˆβ–Š | 14/50 [01:14<03:36, 6.01s/it]
351
+ Best trial: 12. Best value: -0.21179: 30%|β–ˆβ–ˆβ–ˆ | 15/50 [01:14<03:07, 5.36s/it]
352
+
353
+
354
+ Best trial: 12. Best value: -0.21179: 30%|β–ˆβ–ˆβ–ˆ | 15/50 [01:24<03:07, 5.36s/it]
355
+ Best trial: 12. Best value: -0.21179: 30%|β–ˆβ–ˆβ–ˆ | 15/50 [01:24<03:07, 5.36s/it]
356
+ Best trial: 12. Best value: -0.21179: 32%|β–ˆβ–ˆβ–ˆβ– | 16/50 [01:24<03:52, 6.82s/it]
357
+
358
+
359
+ Best trial: 12. Best value: -0.21179: 32%|β–ˆβ–ˆβ–ˆβ– | 16/50 [01:28<03:52, 6.82s/it]
360
+ Best trial: 12. Best value: -0.21179: 32%|β–ˆβ–ˆβ–ˆβ– | 16/50 [01:28<03:52, 6.82s/it]
361
+ Best trial: 12. Best value: -0.21179: 34%|β–ˆβ–ˆβ–ˆβ– | 17/50 [01:28<03:11, 5.80s/it]
362
+
363
+
364
+ Best trial: 12. Best value: -0.21179: 34%|β–ˆβ–ˆβ–ˆβ– | 17/50 [01:32<03:11, 5.80s/it]
365
+ Best trial: 12. Best value: -0.21179: 34%|β–ˆβ–ˆβ–ˆβ– | 17/50 [01:32<03:11, 5.80s/it]
366
+ Best trial: 12. Best value: -0.21179: 36%|β–ˆβ–ˆβ–ˆβ–Œ | 18/50 [01:32<02:57, 5.54s/it]
367
+
368
+
369
+ Best trial: 12. Best value: -0.21179: 36%|β–ˆβ–ˆβ–ˆβ–Œ | 18/50 [01:35<02:57, 5.54s/it]
370
+ Best trial: 12. Best value: -0.21179: 36%|β–ˆβ–ˆβ–ˆβ–Œ | 18/50 [01:35<02:57, 5.54s/it]
371
+ Best trial: 12. Best value: -0.21179: 38%|β–ˆβ–ˆβ–ˆβ–Š | 19/50 [01:35<02:28, 4.78s/it]
372
+
373
+
374
+ Best trial: 12. Best value: -0.21179: 38%|β–ˆβ–ˆβ–ˆβ–Š | 19/50 [01:40<02:28, 4.78s/it]
375
+ Best trial: 12. Best value: -0.21179: 38%|β–ˆβ–ˆβ–ˆβ–Š | 19/50 [01:40<02:28, 4.78s/it]
376
+ Best trial: 12. Best value: -0.21179: 40%|β–ˆβ–ˆβ–ˆβ–ˆ | 20/50 [01:40<02:18, 4.63s/it]
377
+
378
+
379
+ Best trial: 12. Best value: -0.21179: 40%|β–ˆβ–ˆβ–ˆβ–ˆ | 20/50 [01:44<02:18, 4.63s/it]
380
+ Best trial: 12. Best value: -0.21179: 40%|β–ˆβ–ˆβ–ˆβ–ˆ | 20/50 [01:44<02:18, 4.63s/it]
381
+ Best trial: 12. Best value: -0.21179: 42%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 21/50 [01:44<02:10, 4.50s/it]
382
+
383
+
384
+ Best trial: 12. Best value: -0.21179: 42%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 21/50 [02:01<02:10, 4.50s/it]
385
+ Best trial: 12. Best value: -0.21179: 42%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 21/50 [02:01<02:10, 4.50s/it]
386
+ Best trial: 12. Best value: -0.21179: 44%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 22/50 [02:01<03:47, 8.14s/it]
387
+
388
+
389
+ Best trial: 12. Best value: -0.21179: 44%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 22/50 [02:12<03:47, 8.14s/it]
390
+ Best trial: 12. Best value: -0.21179: 44%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 22/50 [02:12<03:47, 8.14s/it]
391
+ Best trial: 12. Best value: -0.21179: 46%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 23/50 [02:12<04:09, 9.25s/it]
392
+
393
+
394
+ Best trial: 12. Best value: -0.21179: 46%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 23/50 [02:18<04:09, 9.25s/it]
395
+ Best trial: 12. Best value: -0.21179: 46%|β–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 23/50 [02:18<04:09, 9.25s/it]
396
+ Best trial: 12. Best value: -0.21179: 48%|β–ˆβ–ˆβ–ˆβ–ˆβ–Š | 24/50 [02:18<03:31, 8.13s/it]
397
+
398
+
399
+ Best trial: 12. Best value: -0.21179: 48%|β–ˆβ–ˆβ–ˆβ–ˆβ–Š | 24/50 [02:21<03:31, 8.13s/it]
400
+ Best trial: 12. Best value: -0.21179: 48%|β–ˆβ–ˆβ–ˆβ–ˆβ–Š | 24/50 [02:21<03:31, 8.13s/it]
401
+ Best trial: 12. Best value: -0.21179: 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 25/50 [02:21<02:48, 6.74s/it]
402
+
403
+
404
+ Best trial: 12. Best value: -0.21179: 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 25/50 [02:27<02:48, 6.74s/it]
405
+ Best trial: 12. Best value: -0.21179: 50%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 25/50 [02:28<02:48, 6.74s/it]
406
+ Best trial: 12. Best value: -0.21179: 52%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 26/50 [02:28<02:36, 6.54s/it]
407
+
408
+
409
+ Best trial: 12. Best value: -0.21179: 52%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 26/50 [02:33<02:36, 6.54s/it]
410
+ Best trial: 12. Best value: -0.21179: 52%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 26/50 [02:33<02:36, 6.54s/it]
411
+ Best trial: 12. Best value: -0.21179: 54%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 27/50 [02:33<02:25, 6.33s/it]
412
+
413
+
414
+ Best trial: 12. Best value: -0.21179: 54%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 27/50 [02:40<02:25, 6.33s/it]
415
+ Best trial: 12. Best value: -0.21179: 54%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 27/50 [02:40<02:25, 6.33s/it]
416
+ Best trial: 12. Best value: -0.21179: 56%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 28/50 [02:40<02:19, 6.33s/it]
417
+
418
+
419
+ Best trial: 12. Best value: -0.21179: 56%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 28/50 [02:44<02:19, 6.33s/it]
420
+ Best trial: 12. Best value: -0.21179: 56%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 28/50 [02:44<02:19, 6.33s/it]
421
+ Best trial: 12. Best value: -0.21179: 58%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 29/50 [02:44<02:00, 5.74s/it]
422
+
423
+
424
+ Best trial: 12. Best value: -0.21179: 58%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 29/50 [02:47<02:00, 5.74s/it]
425
+ Best trial: 12. Best value: -0.21179: 58%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 29/50 [02:47<02:00, 5.74s/it]
426
+ Best trial: 12. Best value: -0.21179: 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 30/50 [02:47<01:38, 4.91s/it]
427
+
428
+
429
+ Best trial: 12. Best value: -0.21179: 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 30/50 [02:51<01:38, 4.91s/it]
430
+ Best trial: 12. Best value: -0.21179: 60%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 30/50 [02:51<01:38, 4.91s/it]
431
+ Best trial: 12. Best value: -0.21179: 62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 31/50 [02:51<01:27, 4.60s/it]
432
+
433
+
434
+ Best trial: 12. Best value: -0.21179: 62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 31/50 [02:57<01:27, 4.60s/it]
435
+ Best trial: 12. Best value: -0.21179: 62%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 31/50 [02:57<01:27, 4.60s/it]
436
+ Best trial: 12. Best value: -0.21179: 64%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 32/50 [02:57<01:33, 5.18s/it]
437
+
438
+
439
+ Best trial: 12. Best value: -0.21179: 64%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 32/50 [03:01<01:33, 5.18s/it]
440
+ Best trial: 12. Best value: -0.21179: 64%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 32/50 [03:01<01:33, 5.18s/it]
441
+ Best trial: 12. Best value: -0.21179: 66%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 33/50 [03:01<01:18, 4.59s/it]
442
+
443
+
444
+ Best trial: 12. Best value: -0.21179: 66%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 33/50 [03:03<01:18, 4.59s/it]
445
+ Best trial: 12. Best value: -0.21179: 66%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 33/50 [03:03<01:18, 4.59s/it]
446
+ Best trial: 12. Best value: -0.21179: 68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 34/50 [03:03<01:01, 3.87s/it]
447
+
448
+
449
+ Best trial: 12. Best value: -0.21179: 68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 34/50 [03:09<01:01, 3.87s/it]
450
+ Best trial: 12. Best value: -0.21179: 68%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 34/50 [03:09<01:01, 3.87s/it]
451
+ Best trial: 12. Best value: -0.21179: 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 35/50 [03:09<01:07, 4.49s/it]
452
+
453
+
454
+ Best trial: 12. Best value: -0.21179: 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 35/50 [03:12<01:07, 4.49s/it]
455
+ Best trial: 12. Best value: -0.21179: 70%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 35/50 [03:12<01:07, 4.49s/it]
456
+ Best trial: 12. Best value: -0.21179: 72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 36/50 [03:12<00:58, 4.17s/it]
457
+
458
+
459
+ Best trial: 12. Best value: -0.21179: 72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 36/50 [03:18<00:58, 4.17s/it]
460
+ Best trial: 12. Best value: -0.21179: 72%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 36/50 [03:18<00:58, 4.17s/it]
461
+ Best trial: 12. Best value: -0.21179: 74%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 37/50 [03:18<00:58, 4.52s/it]
462
+
463
+
464
+ Best trial: 12. Best value: -0.21179: 74%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 37/50 [03:20<00:58, 4.52s/it]
465
+ Best trial: 12. Best value: -0.21179: 74%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 37/50 [03:20<00:58, 4.52s/it]
466
+ Best trial: 12. Best value: -0.21179: 76%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 38/50 [03:20<00:48, 4.05s/it]
467
+
468
+
469
+ Best trial: 12. Best value: -0.21179: 76%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 38/50 [03:22<00:48, 4.05s/it]
470
+ Best trial: 12. Best value: -0.21179: 76%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 38/50 [03:22<00:48, 4.05s/it]
471
+ Best trial: 12. Best value: -0.21179: 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 39/50 [03:22<00:36, 3.35s/it]
472
+
473
+
474
+ Best trial: 12. Best value: -0.21179: 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 39/50 [03:24<00:36, 3.35s/it]
475
+ Best trial: 12. Best value: -0.21179: 78%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 39/50 [03:24<00:36, 3.35s/it]
476
+ Best trial: 12. Best value: -0.21179: 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 40/50 [03:24<00:30, 3.01s/it]
477
+
478
+
479
+ Best trial: 12. Best value: -0.21179: 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 40/50 [03:28<00:30, 3.01s/it]
480
+ Best trial: 12. Best value: -0.21179: 80%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 40/50 [03:28<00:30, 3.01s/it]
481
+ Best trial: 12. Best value: -0.21179: 82%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 41/50 [03:28<00:29, 3.26s/it]
482
+
483
+
484
+ Best trial: 12. Best value: -0.21179: 82%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 41/50 [03:34<00:29, 3.26s/it]
485
+ Best trial: 12. Best value: -0.21179: 82%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 41/50 [03:34<00:29, 3.26s/it]
486
+ Best trial: 12. Best value: -0.21179: 84%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 42/50 [03:34<00:31, 3.98s/it]
487
+
488
+
489
+ Best trial: 12. Best value: -0.21179: 84%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 42/50 [03:37<00:31, 3.98s/it]
490
+ Best trial: 12. Best value: -0.21179: 84%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ– | 42/50 [03:37<00:31, 3.98s/it]
491
+ Best trial: 12. Best value: -0.21179: 86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 43/50 [03:37<00:25, 3.58s/it]
492
+
493
+
494
+ Best trial: 12. Best value: -0.21179: 86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 43/50 [03:40<00:25, 3.58s/it]
495
+ Best trial: 12. Best value: -0.21179: 86%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 43/50 [03:40<00:25, 3.58s/it]
496
+ Best trial: 12. Best value: -0.21179: 88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 44/50 [03:40<00:21, 3.50s/it]
497
+
498
+
499
+ Best trial: 12. Best value: -0.21179: 88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 44/50 [03:42<00:21, 3.50s/it]
500
+ Best trial: 12. Best value: -0.21179: 88%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 44/50 [03:42<00:21, 3.50s/it]
501
+ Best trial: 12. Best value: -0.21179: 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 45/50 [03:42<00:15, 3.17s/it]
502
+
503
+
504
+ Best trial: 12. Best value: -0.21179: 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 45/50 [03:46<00:15, 3.17s/it]
505
+ Best trial: 12. Best value: -0.21179: 90%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ | 45/50 [03:46<00:15, 3.17s/it]
506
+ Best trial: 12. Best value: -0.21179: 92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 46/50 [03:46<00:13, 3.27s/it]
507
+
508
+
509
+ Best trial: 12. Best value: -0.21179: 92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 46/50 [03:51<00:13, 3.27s/it]
510
+ Best trial: 12. Best value: -0.21179: 92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 46/50 [03:51<00:13, 3.27s/it]
511
+ Best trial: 12. Best value: -0.21179: 94%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 47/50 [03:51<00:11, 3.76s/it]
512
+
513
+
514
+ Best trial: 12. Best value: -0.21179: 94%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 47/50 [03:55<00:11, 3.76s/it]
515
+ Best trial: 12. Best value: -0.21179: 94%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 47/50 [03:55<00:11, 3.76s/it]
516
+ Best trial: 12. Best value: -0.21179: 96%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 48/50 [03:55<00:07, 3.96s/it]
517
+
518
+
519
+ Best trial: 12. Best value: -0.21179: 96%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 48/50 [04:05<00:07, 3.96s/it]
520
+ Best trial: 12. Best value: -0.21179: 96%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ| 48/50 [04:05<00:07, 3.96s/it]
521
+ Best trial: 12. Best value: -0.21179: 98%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š| 49/50 [04:05<00:05, 5.61s/it]
522
+
523
+
524
+ Best trial: 12. Best value: -0.21179: 98%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š| 49/50 [04:09<00:05, 5.61s/it]
525
+ Best trial: 12. Best value: -0.21179: 98%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š| 49/50 [04:09<00:05, 5.61s/it]
526
+ Best trial: 12. Best value: -0.21179: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 50/50 [04:09<00:00, 5.30s/it]
527
+ Best trial: 12. Best value: -0.21179: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 50/50 [04:09<00:00, 4.99s/it]
528
+ βœ… Best rmse: -0.2118
529
+ πŸ“Š Best parameters: {'n_estimators': 394, 'max_depth': 9, 'learning_rate': 0.06863000803064562, 'subsample': 0.7316936986365619, 'colsample_bytree': 0.8463063352248831, 'gamma': 0.03755154871269628, 'reg_alpha': 0.9374104377756843, 'reg_lambda': 1.305362400449962}
530
+ πŸ’Ύ Model saved to: /home/user/app/outputs/models/tmp4thr4x2e.pkl
531
+ βœ“ Completed: hyperparameter_tuning
532
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
533
+ πŸ”„ Token budget reset (was 10676/500000)
534
+ πŸ’° Token budget: 0/500000 (0%)
535
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
536
+ πŸ“Š Tokens: 10703 this call | 10703/500000 this minute
537
+
538
+ πŸ”§ Executing: perform_cross_validation
539
+ Arguments: {
540
+ "file_path": "./outputs/data/numeric_earthquake_data.csv",
541
+ "target_col": "mag",
542
+ "model_type": "xgboost",
543
+ "task_type": "regression",
544
+ "n_splits": 5,
545
+ "cv_strategy": "kfold"
546
+ }
547
+ πŸ”„ Converting Polars DataFrame to Pandas for XGBoost compatibility...
548
+ ⚠️ Dropping 2 datetime columns: ['time', 'updated']
549
+ πŸ’‘ Time features should have been extracted in workflow step 7 (create_time_features)
550
+ ⚠️ Dropping 8 string columns that weren't encoded: ['magType', 'net', 'id', 'place', 'type', 'status', 'locationSource', 'magSource']
551
+ πŸ’‘ Categorical encoding should have been done in workflow step 8
552
+ πŸ”„ Performing 5-fold cross-validation (kfold)...
553
+ Fold 1: {'fold': 1, 'rmse': 0.21532516883364416, 'r2': 0.6846442591919986, 'samples': 35190}
554
+ Fold 2: {'fold': 2, 'rmse': 0.21941414378114119, 'r2': 0.6819707343883556, 'samples': 35190}
555
+ Fold 3: {'fold': 3, 'rmse': 0.21714031722900537, 'r2': 0.6835305732467218, 'samples': 35189}
556
+ Fold 4: {'fold': 4, 'rmse': 0.21813022234327956, 'r2': 0.6860283685523745, 'samples': 35189}
557
+ Fold 5: {'fold': 5, 'rmse': 0.21628395079804294, 'r2': 0.6808231423221587, 'samples': 35189}
558
+
559
+ βœ… Overall OOF rmse: 0.2173 (Β±0.0014)
560
+ βœ“ Completed: perform_cross_validation
561
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
562
+ πŸ’° Token budget: 10703/500000 (2%)
563
+ πŸ“Š Tokens: 10635 this call | 21338/500000 this minute
564
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
565
+
566
+ πŸ”§ Executing: generate_plotly_dashboard
567
+ Arguments: {
568
+ "file_path": "./outputs/data/numeric_earthquake_data.csv",
569
+ "target_col": "mag",
570
+ "output_dir": "./outputs/plots/"
571
+ }
572
+ βœ“ Completed: generate_plotly_dashboard
573
+ βœ‚οΈ Pruned conversation (keeping last 4 exchanges, ~4K tokens saved)
574
+ πŸ”„ Token budget reset (was 21338/500000)
575
+ πŸ’° Token budget: 0/500000 (0%)
576
+ INFO:httpx:HTTP Request: POST https://api.mistral.ai/v1/chat/completions "HTTP/1.1 200 OK"
577
+ πŸ“Š Tokens: 10769 this call | 10769/500000 this minute
578
+
579
+ βœ… Session saved: 9e7bbe07-2017-407d-88ed-50f24facbfac
580
+ INFO:src.api.app:Analysis completed: success
581
+ INFO:src.api.app:Cleaned up temporary file: /tmp/data_science_agent/usgs_earthquake_data_2000_2025.csv
582
+ INFO: 10.16.37.13:30772 - "POST /run HTTP/1.1" 200 OK
583
+ Exception ignored in: <function ResourceTracker.__del__ at 0x7f7e5c6b3100>
584
+ Traceback (most recent call last):
585
+ File "/usr/local/lib/python3.12/multiprocessing/resource_tracker.py", line 77, in __del__
586
+ File "/usr/local/lib/python3.12/multiprocessing/resource_tracker.py", line 86, in _stop
587
+ File "/usr/local/lib/python3.12/multiprocessing/resource_tracker.py", line 111, in _stop_locked
588
+ ChildProcessError: [Errno 10] No child processes
589
+ Exception ignored in: <function ResourceTracker.__del__ at 0x7f6d9c6b3100>
590
+ Traceback (most recent call last):
591
+ File "/usr/local/lib/python3.12/multiprocessing/resource_tracker.py", line 77, in __del__
592
+ File "/usr/local/lib/python3.12/multiprocessing/resource_tracker.py", line 86, in _stop
593
+ File "/usr/local/lib/python3.12/multiprocessing/resource_tracker.py", line 111, in _stop_locked
594
+ ChildProcessError: [Errno 10] No child processes
src/orchestrator.py CHANGED
@@ -171,7 +171,7 @@ class DataScienceCopilot:
171
  if not api_key:
172
  raise ValueError("Mistral API key must be provided or set in MISTRAL_API_KEY env var")
173
 
174
- from mistralai.client import MistralClient
175
  self.mistral_client = MistralClient(api_key=api_key.strip())
176
  self.model = os.getenv("MISTRAL_MODEL", "mistral-large-latest")
177
  self.reasoning_effort = reasoning_effort
 
171
  if not api_key:
172
  raise ValueError("Mistral API key must be provided or set in MISTRAL_API_KEY env var")
173
 
174
+ from mistralai.client import MistralClient # type: ignore
175
  self.mistral_client = MistralClient(api_key=api_key.strip())
176
  self.model = os.getenv("MISTRAL_MODEL", "mistral-large-latest")
177
  self.reasoning_effort = reasoning_effort