Commit 23afcf8
authored
Fix ScenarioRun Duration Tracking in SwarmAdapter (#63)
* Add basic evaluation example script
* Fix typos and improve clarity in docstrings across core modules
* Add Google-style docstrings to BaseAdapter methods
* Format base adapter using ruff
* docs: add instructions for running CI checks locally
* Remove example file unrelated to CI documentation
* Add py.typed marker for type checker support
* Add test for markdown emoji encoding
* Fix test_reporting: correct class usage, fields, and Windows-safe to_markdown
* All tests passing: fixed dependencies and formatting
* Update dependencies / poetry config
* Fix emoji markdown test and align ScenarioRun signature
* Fix reporting tests and update dependencies
* Fix missing required dependencies (jsonschema, scipy)
* Update all files
* Add CSV export support for SuiteResult
* Fix SIM118 linter issue in SuiteResult.to_csv
* Fix Ruff formatting issues in SuiteResult.to_csv
* Fix CSV export: iterate over dict keys correctly and pass Ruff lint
* Fix: SwarmAdapter imports and end_session duration tracking, fully linted
* Format files and remove lint error
* Fix the issue of csv file
---------
Signed-off-by: Jagriti-student <jagriti7989@gmail.com>1 parent 8f9b43d commit 23afcf8
2 files changed
Lines changed: 44 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
| |||
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
26 | | - | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| 41 | + | |
31 | 42 | | |
32 | | - | |
33 | 43 | | |
34 | 44 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
149 | 151 | | |
150 | 152 | | |
151 | 153 | | |
152 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
| |||
323 | 329 | | |
324 | 330 | | |
325 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
326 | 340 | | |
327 | 341 | | |
328 | 342 | | |
329 | 343 | | |
330 | 344 | | |
331 | 345 | | |
332 | 346 | | |
333 | | - | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
334 | 352 | | |
335 | 353 | | |
336 | 354 | | |
337 | 355 | | |
338 | 356 | | |
339 | | - | |
340 | | - | |
341 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
342 | 362 | | |
343 | 363 | | |
344 | 364 | | |
345 | | - | |
| 365 | + | |
346 | 366 | | |
347 | 367 | | |
348 | 368 | | |
349 | 369 | | |
| 370 | + | |
| 371 | + | |
350 | 372 | | |
351 | | - | |
352 | | - | |
353 | | - | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
354 | 378 | | |
355 | 379 | | |
356 | 380 | | |
| |||
414 | 438 | | |
415 | 439 | | |
416 | 440 | | |
417 | | - | |
| 441 | + | |
418 | 442 | | |
419 | 443 | | |
420 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 203 | | |
207 | 204 | | |
208 | 205 | | |
| |||
0 commit comments