Commit 38b05d0
committed
Refactor tests to support group-atoms and improve converter handling
- Updated `test_runs_api.py` to utilize group-atoms for input and output columns in model sessions, ensuring converters are correctly applied and persisted.
- Added new tests for predicting with session converters and validating the behavior of group atoms in input/output columns.
- Enhanced `test_session_preprocessing_job.py` to verify that preprocessing correctly saves separate x and y files, and resolves group atoms per fold in cross-validation.
- Introduced tests for handling output columns as group atoms, ensuring proper error handling when such configurations are attempted.
- Improved `test_dashai_dataset.py` to ensure that column selection correctly prunes saved type metadata, preventing stale schema information from persisting after dataset modifications.1 parent 8d0a9a3 commit 38b05d0
54 files changed
Lines changed: 4353 additions & 862 deletions
File tree
- DashAI
- back
- api/api_v1
- endpoints
- schemas
- dataloaders/classes
- job
- front/src
- api
- components
- explainers
- models
- modelSession
- runResults
- predictions
- types
- utils
- i18n/locales
- de
- en
- es
- pt
- zh
- tests/back
- api
- schemas
- dataloaders
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
1026 | 1031 | | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1030 | 1042 | | |
1031 | 1043 | | |
1032 | 1044 | | |
| |||
1122 | 1134 | | |
1123 | 1135 | | |
1124 | 1136 | | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
1125 | 1152 | | |
1126 | 1153 | | |
1127 | 1154 | | |
1128 | 1155 | | |
1129 | 1156 | | |
1130 | 1157 | | |
1131 | 1158 | | |
1132 | | - | |
| 1159 | + | |
1133 | 1160 | | |
1134 | 1161 | | |
1135 | 1162 | | |
| |||
1144 | 1171 | | |
1145 | 1172 | | |
1146 | 1173 | | |
1147 | | - | |
1148 | | - | |
| 1174 | + | |
| 1175 | + | |
1149 | 1176 | | |
1150 | 1177 | | |
1151 | 1178 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
188 | 192 | | |
189 | 193 | | |
190 | 194 | | |
191 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
192 | 199 | | |
193 | 200 | | |
194 | 201 | | |
| |||
209 | 216 | | |
210 | 217 | | |
211 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
212 | 227 | | |
213 | 228 | | |
214 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
4 | 34 | | |
5 | 35 | | |
6 | 36 | | |
| 37 | + | |
7 | 38 | | |
8 | 39 | | |
9 | | - | |
| 40 | + | |
10 | 41 | | |
11 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
12 | 50 | | |
13 | 51 | | |
14 | 52 | | |
| |||
18 | 56 | | |
19 | 57 | | |
20 | 58 | | |
21 | | - | |
22 | | - | |
| 59 | + | |
| 60 | + | |
23 | 61 | | |
24 | 62 | | |
25 | 63 | | |
26 | 64 | | |
27 | 65 | | |
28 | 66 | | |
29 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
30 | 75 | | |
31 | 76 | | |
32 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
634 | 652 | | |
635 | 653 | | |
636 | 654 | | |
| |||
0 commit comments