Commit 5d7e5cb
Dylan Huang
RemoteRolloutProcessor / evaluation_test improvements (#237)
* Add row_ids parameter to evaluation_test function for filtering evaluations
- Introduced row_ids as an optional parameter to allow filtering of evaluation rows based on specified identifiers.
- Updated documentation to reflect the new parameter and its usage in the evaluation process.
* Handle timeout in RemoteRolloutProcessor by updating rollout status
- Added logic to set the rollout status to an error when the polling loop completes without a successful break, indicating a timeout.
- Enhanced error handling to provide clearer feedback on rollout timeouts.
* Add optional status field to StatusResponse model in remote rollout processor
- Introduced an optional status indicator in the StatusResponse model to differentiate between successful and failed rollouts.
- Updated documentation to clarify the purpose of the new status field for better understanding in the eval-protocol context.
* Rename row_ids parameter to filtered_row_ids in evaluation_test function for clarity
- Updated the parameter name from row_ids to filtered_row_ids to better reflect its purpose in filtering evaluation rows.
- Adjusted related documentation to ensure consistency and clarity regarding the new parameter name.1 parent 2a8ace1 commit 5d7e5cb
File tree
3 files changed
+18
-1
lines changed- eval_protocol
- pytest
- types
3 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
| |||
286 | 288 | | |
287 | 289 | | |
288 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
289 | 294 | | |
290 | 295 | | |
291 | 296 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments