(path: Path)
| 207 | |
| 208 | |
| 209 | def _write_server_config(path: Path) -> Path: |
| 210 | path.write_text( |
| 211 | """ |
| 212 | schema_version = 1 |
| 213 | |
| 214 | [llm_clients.test] |
| 215 | format = "openai_chat" |
| 216 | base_url = "https://example.test/v1" |
| 217 | |
| 218 | [targets.strong] |
| 219 | id = "strong-model" |
| 220 | llm_client = "test" |
| 221 | |
| 222 | [targets.weak] |
| 223 | id = "weak-model" |
| 224 | llm_client = "test" |
| 225 | |
| 226 | [routes.random] |
| 227 | id = "tb-lite-random-routing" |
| 228 | type = "random" |
| 229 | targets = ["strong", "weak"] |
| 230 | weights = [1, 1] |
| 231 | seed = 444 |
| 232 | """.lstrip() |
| 233 | ) |
| 234 | return path |
| 235 | |
| 236 | |
| 237 | def _write_closed_book_dataset(path: Path) -> Path: |
no outgoing calls
no test coverage detected