Commit 48cfb0d
authored
Improve robustness of CSV dataset loader (#64)
* 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
* Improve robustness of CSV dataset loader
* Replace parser function
* Format CSV dataset loader
---------
Signed-off-by: Jagriti-student <jagriti7989@gmail.com>1 parent 23afcf8 commit 48cfb0d
1 file changed
Lines changed: 42 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
83 | 101 | | |
84 | 102 | | |
85 | 103 | | |
| |||
88 | 106 | | |
89 | 107 | | |
90 | 108 | | |
| 109 | + | |
91 | 110 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
104 | 133 | | |
105 | 134 | | |
0 commit comments