Commit ·
8aa7323
1
Parent(s): 770f92a
Remove local figures.json files, rely on HF raw URLs
Browse files- Deleted docs/figures/v{1,2,3}.figures.json
- Backend already supports fetching from HuggingFace raw links
- Updated test to prevent remote fetch in fallback scenario
- All 98 tests passing
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- docs/figures/v1.figures.json +0 -307
- docs/figures/v2.figures.json +0 -398
- docs/figures/v3.figures.json +0 -196
- tests/routers/test_visualize_router.py +1 -0
docs/figures/v1.figures.json
DELETED
|
@@ -1,307 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"version": "v1",
|
| 3 |
-
"figures": [
|
| 4 |
-
{
|
| 5 |
-
"name": "best ensemble prediction",
|
| 6 |
-
"tags": [
|
| 7 |
-
"best",
|
| 8 |
-
"ensemble",
|
| 9 |
-
"prediction"
|
| 10 |
-
],
|
| 11 |
-
"location": "best_ensemble_prediction.png"
|
| 12 |
-
},
|
| 13 |
-
{
|
| 14 |
-
"name": "capacity and rul",
|
| 15 |
-
"tags": [
|
| 16 |
-
"capacity",
|
| 17 |
-
"and",
|
| 18 |
-
"rul"
|
| 19 |
-
],
|
| 20 |
-
"location": "capacity_and_rul.png"
|
| 21 |
-
},
|
| 22 |
-
{
|
| 23 |
-
"name": "capacity distribution by temp",
|
| 24 |
-
"tags": [
|
| 25 |
-
"capacity",
|
| 26 |
-
"distribution",
|
| 27 |
-
"by",
|
| 28 |
-
"temp"
|
| 29 |
-
],
|
| 30 |
-
"location": "capacity_distribution_by_temp.png"
|
| 31 |
-
},
|
| 32 |
-
{
|
| 33 |
-
"name": "capacity fade all batteries",
|
| 34 |
-
"tags": [
|
| 35 |
-
"capacity",
|
| 36 |
-
"fade",
|
| 37 |
-
"all",
|
| 38 |
-
"batteries"
|
| 39 |
-
],
|
| 40 |
-
"location": "capacity_fade_all_batteries.png"
|
| 41 |
-
},
|
| 42 |
-
{
|
| 43 |
-
"name": "capacity fade by temperature",
|
| 44 |
-
"tags": [
|
| 45 |
-
"capacity",
|
| 46 |
-
"fade",
|
| 47 |
-
"by",
|
| 48 |
-
"temperature"
|
| 49 |
-
],
|
| 50 |
-
"location": "capacity_fade_by_temperature.png"
|
| 51 |
-
},
|
| 52 |
-
{
|
| 53 |
-
"name": "ced curves",
|
| 54 |
-
"tags": [
|
| 55 |
-
"ced",
|
| 56 |
-
"curves"
|
| 57 |
-
],
|
| 58 |
-
"location": "ced_curves.png"
|
| 59 |
-
},
|
| 60 |
-
{
|
| 61 |
-
"name": "classical best actual vs pred",
|
| 62 |
-
"tags": [
|
| 63 |
-
"classical",
|
| 64 |
-
"best",
|
| 65 |
-
"actual",
|
| 66 |
-
"vs",
|
| 67 |
-
"pred"
|
| 68 |
-
],
|
| 69 |
-
"location": "classical_best_actual_vs_pred.png"
|
| 70 |
-
},
|
| 71 |
-
{
|
| 72 |
-
"name": "classical best residuals",
|
| 73 |
-
"tags": [
|
| 74 |
-
"classical",
|
| 75 |
-
"best",
|
| 76 |
-
"residuals"
|
| 77 |
-
],
|
| 78 |
-
"location": "classical_best_residuals.png"
|
| 79 |
-
},
|
| 80 |
-
{
|
| 81 |
-
"name": "classical soh comparison",
|
| 82 |
-
"tags": [
|
| 83 |
-
"classical",
|
| 84 |
-
"soh",
|
| 85 |
-
"comparison"
|
| 86 |
-
],
|
| 87 |
-
"location": "classical_soh_comparison.png"
|
| 88 |
-
},
|
| 89 |
-
{
|
| 90 |
-
"name": "classification confusion matrices",
|
| 91 |
-
"tags": [
|
| 92 |
-
"classification",
|
| 93 |
-
"confusion",
|
| 94 |
-
"matrices"
|
| 95 |
-
],
|
| 96 |
-
"location": "classification_confusion_matrices.png"
|
| 97 |
-
},
|
| 98 |
-
{
|
| 99 |
-
"name": "degradation state distribution",
|
| 100 |
-
"tags": [
|
| 101 |
-
"degradation",
|
| 102 |
-
"state",
|
| 103 |
-
"distribution"
|
| 104 |
-
],
|
| 105 |
-
"location": "degradation_state_distribution.png"
|
| 106 |
-
},
|
| 107 |
-
{
|
| 108 |
-
"name": "dg itransformer predictions",
|
| 109 |
-
"tags": [
|
| 110 |
-
"dg",
|
| 111 |
-
"itransformer",
|
| 112 |
-
"predictions"
|
| 113 |
-
],
|
| 114 |
-
"location": "dg_itransformer_predictions.png"
|
| 115 |
-
},
|
| 116 |
-
{
|
| 117 |
-
"name": "dg itransformer training",
|
| 118 |
-
"tags": [
|
| 119 |
-
"dg",
|
| 120 |
-
"itransformer",
|
| 121 |
-
"training"
|
| 122 |
-
],
|
| 123 |
-
"location": "dg_itransformer_training.png"
|
| 124 |
-
},
|
| 125 |
-
{
|
| 126 |
-
"name": "ensemble comparison",
|
| 127 |
-
"tags": [
|
| 128 |
-
"ensemble",
|
| 129 |
-
"comparison"
|
| 130 |
-
],
|
| 131 |
-
"location": "ensemble_comparison.png"
|
| 132 |
-
},
|
| 133 |
-
{
|
| 134 |
-
"name": "ensemble weights",
|
| 135 |
-
"tags": [
|
| 136 |
-
"ensemble",
|
| 137 |
-
"weights"
|
| 138 |
-
],
|
| 139 |
-
"location": "ensemble_weights.png"
|
| 140 |
-
},
|
| 141 |
-
{
|
| 142 |
-
"name": "feature correlation heatmap",
|
| 143 |
-
"tags": [
|
| 144 |
-
"feature",
|
| 145 |
-
"correlation",
|
| 146 |
-
"heatmap"
|
| 147 |
-
],
|
| 148 |
-
"location": "feature_correlation_heatmap.png"
|
| 149 |
-
},
|
| 150 |
-
{
|
| 151 |
-
"name": "impedance evolution",
|
| 152 |
-
"tags": [
|
| 153 |
-
"impedance",
|
| 154 |
-
"evolution"
|
| 155 |
-
],
|
| 156 |
-
"location": "impedance_evolution.png"
|
| 157 |
-
},
|
| 158 |
-
{
|
| 159 |
-
"name": "lstm actual vs predicted",
|
| 160 |
-
"tags": [
|
| 161 |
-
"lstm",
|
| 162 |
-
"actual",
|
| 163 |
-
"vs",
|
| 164 |
-
"predicted"
|
| 165 |
-
],
|
| 166 |
-
"location": "lstm_actual_vs_predicted.png"
|
| 167 |
-
},
|
| 168 |
-
{
|
| 169 |
-
"name": "lstm training curves",
|
| 170 |
-
"tags": [
|
| 171 |
-
"lstm",
|
| 172 |
-
"training",
|
| 173 |
-
"curves"
|
| 174 |
-
],
|
| 175 |
-
"location": "lstm_training_curves.png"
|
| 176 |
-
},
|
| 177 |
-
{
|
| 178 |
-
"name": "mc dropout uncertainty lstm",
|
| 179 |
-
"tags": [
|
| 180 |
-
"mc",
|
| 181 |
-
"dropout",
|
| 182 |
-
"uncertainty",
|
| 183 |
-
"lstm"
|
| 184 |
-
],
|
| 185 |
-
"location": "mc_dropout_uncertainty_lstm.png"
|
| 186 |
-
},
|
| 187 |
-
{
|
| 188 |
-
"name": "radar top6",
|
| 189 |
-
"tags": [
|
| 190 |
-
"radar",
|
| 191 |
-
"top6"
|
| 192 |
-
],
|
| 193 |
-
"location": "radar_top6.png"
|
| 194 |
-
},
|
| 195 |
-
{
|
| 196 |
-
"name": "re vs rct scatter",
|
| 197 |
-
"tags": [
|
| 198 |
-
"re",
|
| 199 |
-
"vs",
|
| 200 |
-
"rct",
|
| 201 |
-
"scatter"
|
| 202 |
-
],
|
| 203 |
-
"location": "re_vs_rct_scatter.png"
|
| 204 |
-
},
|
| 205 |
-
{
|
| 206 |
-
"name": "shap xgboost soh",
|
| 207 |
-
"tags": [
|
| 208 |
-
"shap",
|
| 209 |
-
"xgboost",
|
| 210 |
-
"soh"
|
| 211 |
-
],
|
| 212 |
-
"location": "shap_xgboost_soh.png"
|
| 213 |
-
},
|
| 214 |
-
{
|
| 215 |
-
"name": "soc coulomb counting demo",
|
| 216 |
-
"tags": [
|
| 217 |
-
"soc",
|
| 218 |
-
"coulomb",
|
| 219 |
-
"counting",
|
| 220 |
-
"demo"
|
| 221 |
-
],
|
| 222 |
-
"location": "soc_coulomb_counting_demo.png"
|
| 223 |
-
},
|
| 224 |
-
{
|
| 225 |
-
"name": "soh degradation trends",
|
| 226 |
-
"tags": [
|
| 227 |
-
"soh",
|
| 228 |
-
"degradation",
|
| 229 |
-
"trends"
|
| 230 |
-
],
|
| 231 |
-
"location": "soh_degradation_trends.png"
|
| 232 |
-
},
|
| 233 |
-
{
|
| 234 |
-
"name": "soh distribution",
|
| 235 |
-
"tags": [
|
| 236 |
-
"soh",
|
| 237 |
-
"distribution"
|
| 238 |
-
],
|
| 239 |
-
"location": "soh_distribution.png"
|
| 240 |
-
},
|
| 241 |
-
{
|
| 242 |
-
"name": "transformer pt training curves",
|
| 243 |
-
"tags": [
|
| 244 |
-
"transformer",
|
| 245 |
-
"pt",
|
| 246 |
-
"training",
|
| 247 |
-
"curves"
|
| 248 |
-
],
|
| 249 |
-
"location": "transformer_pt_training_curves.png"
|
| 250 |
-
},
|
| 251 |
-
{
|
| 252 |
-
"name": "transformer tf training curves",
|
| 253 |
-
"tags": [
|
| 254 |
-
"transformer",
|
| 255 |
-
"tf",
|
| 256 |
-
"training",
|
| 257 |
-
"curves"
|
| 258 |
-
],
|
| 259 |
-
"location": "transformer_tf_training_curves.png"
|
| 260 |
-
},
|
| 261 |
-
{
|
| 262 |
-
"name": "unified model comparison",
|
| 263 |
-
"tags": [
|
| 264 |
-
"unified",
|
| 265 |
-
"model",
|
| 266 |
-
"comparison"
|
| 267 |
-
],
|
| 268 |
-
"location": "unified_model_comparison.png"
|
| 269 |
-
},
|
| 270 |
-
{
|
| 271 |
-
"name": "vae anomaly detection",
|
| 272 |
-
"tags": [
|
| 273 |
-
"vae",
|
| 274 |
-
"anomaly",
|
| 275 |
-
"detection"
|
| 276 |
-
],
|
| 277 |
-
"location": "vae_anomaly_detection.png"
|
| 278 |
-
},
|
| 279 |
-
{
|
| 280 |
-
"name": "vae latent umap",
|
| 281 |
-
"tags": [
|
| 282 |
-
"vae",
|
| 283 |
-
"latent",
|
| 284 |
-
"umap"
|
| 285 |
-
],
|
| 286 |
-
"location": "vae_latent_umap.png"
|
| 287 |
-
},
|
| 288 |
-
{
|
| 289 |
-
"name": "vae lstm prediction",
|
| 290 |
-
"tags": [
|
| 291 |
-
"vae",
|
| 292 |
-
"lstm",
|
| 293 |
-
"prediction"
|
| 294 |
-
],
|
| 295 |
-
"location": "vae_lstm_prediction.png"
|
| 296 |
-
},
|
| 297 |
-
{
|
| 298 |
-
"name": "voltage surface 3d",
|
| 299 |
-
"tags": [
|
| 300 |
-
"voltage",
|
| 301 |
-
"surface",
|
| 302 |
-
"3d"
|
| 303 |
-
],
|
| 304 |
-
"location": "voltage_surface_3d.png"
|
| 305 |
-
}
|
| 306 |
-
]
|
| 307 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docs/figures/v2.figures.json
DELETED
|
@@ -1,398 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"version": "v2",
|
| 3 |
-
"figures": [
|
| 4 |
-
{
|
| 5 |
-
"name": "best actual vs pred",
|
| 6 |
-
"tags": [
|
| 7 |
-
"best",
|
| 8 |
-
"actual",
|
| 9 |
-
"vs",
|
| 10 |
-
"pred"
|
| 11 |
-
],
|
| 12 |
-
"location": "best_actual_vs_pred.png"
|
| 13 |
-
},
|
| 14 |
-
{
|
| 15 |
-
"name": "best ensemble prediction",
|
| 16 |
-
"tags": [
|
| 17 |
-
"best",
|
| 18 |
-
"ensemble",
|
| 19 |
-
"prediction"
|
| 20 |
-
],
|
| 21 |
-
"location": "best_ensemble_prediction.png"
|
| 22 |
-
},
|
| 23 |
-
{
|
| 24 |
-
"name": "capacity and rul",
|
| 25 |
-
"tags": [
|
| 26 |
-
"capacity",
|
| 27 |
-
"and",
|
| 28 |
-
"rul"
|
| 29 |
-
],
|
| 30 |
-
"location": "capacity_and_rul.png"
|
| 31 |
-
},
|
| 32 |
-
{
|
| 33 |
-
"name": "capacity distribution by temp",
|
| 34 |
-
"tags": [
|
| 35 |
-
"capacity",
|
| 36 |
-
"distribution",
|
| 37 |
-
"by",
|
| 38 |
-
"temp"
|
| 39 |
-
],
|
| 40 |
-
"location": "capacity_distribution_by_temp.png"
|
| 41 |
-
},
|
| 42 |
-
{
|
| 43 |
-
"name": "capacity fade all batteries",
|
| 44 |
-
"tags": [
|
| 45 |
-
"capacity",
|
| 46 |
-
"fade",
|
| 47 |
-
"all",
|
| 48 |
-
"batteries"
|
| 49 |
-
],
|
| 50 |
-
"location": "capacity_fade_all_batteries.png"
|
| 51 |
-
},
|
| 52 |
-
{
|
| 53 |
-
"name": "capacity fade by temperature",
|
| 54 |
-
"tags": [
|
| 55 |
-
"capacity",
|
| 56 |
-
"fade",
|
| 57 |
-
"by",
|
| 58 |
-
"temperature"
|
| 59 |
-
],
|
| 60 |
-
"location": "capacity_fade_by_temperature.png"
|
| 61 |
-
},
|
| 62 |
-
{
|
| 63 |
-
"name": "ced curves",
|
| 64 |
-
"tags": [
|
| 65 |
-
"ced",
|
| 66 |
-
"curves"
|
| 67 |
-
],
|
| 68 |
-
"location": "ced_curves.png"
|
| 69 |
-
},
|
| 70 |
-
{
|
| 71 |
-
"name": "classical best actual vs pred",
|
| 72 |
-
"tags": [
|
| 73 |
-
"classical",
|
| 74 |
-
"best",
|
| 75 |
-
"actual",
|
| 76 |
-
"vs",
|
| 77 |
-
"pred"
|
| 78 |
-
],
|
| 79 |
-
"location": "classical_best_actual_vs_pred.png"
|
| 80 |
-
},
|
| 81 |
-
{
|
| 82 |
-
"name": "classical best actual vs pred v2",
|
| 83 |
-
"tags": [
|
| 84 |
-
"classical",
|
| 85 |
-
"best",
|
| 86 |
-
"actual",
|
| 87 |
-
"vs",
|
| 88 |
-
"pred",
|
| 89 |
-
"v2"
|
| 90 |
-
],
|
| 91 |
-
"location": "classical_best_actual_vs_pred_v2.png"
|
| 92 |
-
},
|
| 93 |
-
{
|
| 94 |
-
"name": "classical best residuals",
|
| 95 |
-
"tags": [
|
| 96 |
-
"classical",
|
| 97 |
-
"best",
|
| 98 |
-
"residuals"
|
| 99 |
-
],
|
| 100 |
-
"location": "classical_best_residuals.png"
|
| 101 |
-
},
|
| 102 |
-
{
|
| 103 |
-
"name": "classical best residuals v2",
|
| 104 |
-
"tags": [
|
| 105 |
-
"classical",
|
| 106 |
-
"best",
|
| 107 |
-
"residuals",
|
| 108 |
-
"v2"
|
| 109 |
-
],
|
| 110 |
-
"location": "classical_best_residuals_v2.png"
|
| 111 |
-
},
|
| 112 |
-
{
|
| 113 |
-
"name": "classical soh comparison",
|
| 114 |
-
"tags": [
|
| 115 |
-
"classical",
|
| 116 |
-
"soh",
|
| 117 |
-
"comparison"
|
| 118 |
-
],
|
| 119 |
-
"location": "classical_soh_comparison.png"
|
| 120 |
-
},
|
| 121 |
-
{
|
| 122 |
-
"name": "classical soh comparison v2",
|
| 123 |
-
"tags": [
|
| 124 |
-
"classical",
|
| 125 |
-
"soh",
|
| 126 |
-
"comparison",
|
| 127 |
-
"v2"
|
| 128 |
-
],
|
| 129 |
-
"location": "classical_soh_comparison_v2.png"
|
| 130 |
-
},
|
| 131 |
-
{
|
| 132 |
-
"name": "classical top8",
|
| 133 |
-
"tags": [
|
| 134 |
-
"classical",
|
| 135 |
-
"top8"
|
| 136 |
-
],
|
| 137 |
-
"location": "classical_top8.png"
|
| 138 |
-
},
|
| 139 |
-
{
|
| 140 |
-
"name": "classification confusion matrices",
|
| 141 |
-
"tags": [
|
| 142 |
-
"classification",
|
| 143 |
-
"confusion",
|
| 144 |
-
"matrices"
|
| 145 |
-
],
|
| 146 |
-
"location": "classification_confusion_matrices.png"
|
| 147 |
-
},
|
| 148 |
-
{
|
| 149 |
-
"name": "classification confusion matrices v2",
|
| 150 |
-
"tags": [
|
| 151 |
-
"classification",
|
| 152 |
-
"confusion",
|
| 153 |
-
"matrices",
|
| 154 |
-
"v2"
|
| 155 |
-
],
|
| 156 |
-
"location": "classification_confusion_matrices_v2.png"
|
| 157 |
-
},
|
| 158 |
-
{
|
| 159 |
-
"name": "degradation state distribution",
|
| 160 |
-
"tags": [
|
| 161 |
-
"degradation",
|
| 162 |
-
"state",
|
| 163 |
-
"distribution"
|
| 164 |
-
],
|
| 165 |
-
"location": "degradation_state_distribution.png"
|
| 166 |
-
},
|
| 167 |
-
{
|
| 168 |
-
"name": "dg itransformer predictions",
|
| 169 |
-
"tags": [
|
| 170 |
-
"dg",
|
| 171 |
-
"itransformer",
|
| 172 |
-
"predictions"
|
| 173 |
-
],
|
| 174 |
-
"location": "dg_itransformer_predictions.png"
|
| 175 |
-
},
|
| 176 |
-
{
|
| 177 |
-
"name": "dg itransformer training",
|
| 178 |
-
"tags": [
|
| 179 |
-
"dg",
|
| 180 |
-
"itransformer",
|
| 181 |
-
"training"
|
| 182 |
-
],
|
| 183 |
-
"location": "dg_itransformer_training.png"
|
| 184 |
-
},
|
| 185 |
-
{
|
| 186 |
-
"name": "ensemble comparison",
|
| 187 |
-
"tags": [
|
| 188 |
-
"ensemble",
|
| 189 |
-
"comparison"
|
| 190 |
-
],
|
| 191 |
-
"location": "ensemble_comparison.png"
|
| 192 |
-
},
|
| 193 |
-
{
|
| 194 |
-
"name": "ensemble weights",
|
| 195 |
-
"tags": [
|
| 196 |
-
"ensemble",
|
| 197 |
-
"weights"
|
| 198 |
-
],
|
| 199 |
-
"location": "ensemble_weights.png"
|
| 200 |
-
},
|
| 201 |
-
{
|
| 202 |
-
"name": "feature correlation heatmap",
|
| 203 |
-
"tags": [
|
| 204 |
-
"feature",
|
| 205 |
-
"correlation",
|
| 206 |
-
"heatmap"
|
| 207 |
-
],
|
| 208 |
-
"location": "feature_correlation_heatmap.png"
|
| 209 |
-
},
|
| 210 |
-
{
|
| 211 |
-
"name": "impedance evolution",
|
| 212 |
-
"tags": [
|
| 213 |
-
"impedance",
|
| 214 |
-
"evolution"
|
| 215 |
-
],
|
| 216 |
-
"location": "impedance_evolution.png"
|
| 217 |
-
},
|
| 218 |
-
{
|
| 219 |
-
"name": "lstm actual vs predicted",
|
| 220 |
-
"tags": [
|
| 221 |
-
"lstm",
|
| 222 |
-
"actual",
|
| 223 |
-
"vs",
|
| 224 |
-
"predicted"
|
| 225 |
-
],
|
| 226 |
-
"location": "lstm_actual_vs_predicted.png"
|
| 227 |
-
},
|
| 228 |
-
{
|
| 229 |
-
"name": "lstm training curves",
|
| 230 |
-
"tags": [
|
| 231 |
-
"lstm",
|
| 232 |
-
"training",
|
| 233 |
-
"curves"
|
| 234 |
-
],
|
| 235 |
-
"location": "lstm_training_curves.png"
|
| 236 |
-
},
|
| 237 |
-
{
|
| 238 |
-
"name": "mc dropout uncertainty lstm",
|
| 239 |
-
"tags": [
|
| 240 |
-
"mc",
|
| 241 |
-
"dropout",
|
| 242 |
-
"uncertainty",
|
| 243 |
-
"lstm"
|
| 244 |
-
],
|
| 245 |
-
"location": "mc_dropout_uncertainty_lstm.png"
|
| 246 |
-
},
|
| 247 |
-
{
|
| 248 |
-
"name": "per battery mae heatmap v2",
|
| 249 |
-
"tags": [
|
| 250 |
-
"per",
|
| 251 |
-
"battery",
|
| 252 |
-
"mae",
|
| 253 |
-
"heatmap",
|
| 254 |
-
"v2"
|
| 255 |
-
],
|
| 256 |
-
"location": "per_battery_mae_heatmap_v2.png"
|
| 257 |
-
},
|
| 258 |
-
{
|
| 259 |
-
"name": "radar top6",
|
| 260 |
-
"tags": [
|
| 261 |
-
"radar",
|
| 262 |
-
"top6"
|
| 263 |
-
],
|
| 264 |
-
"location": "radar_top6.png"
|
| 265 |
-
},
|
| 266 |
-
{
|
| 267 |
-
"name": "re vs rct scatter",
|
| 268 |
-
"tags": [
|
| 269 |
-
"re",
|
| 270 |
-
"vs",
|
| 271 |
-
"rct",
|
| 272 |
-
"scatter"
|
| 273 |
-
],
|
| 274 |
-
"location": "re_vs_rct_scatter.png"
|
| 275 |
-
},
|
| 276 |
-
{
|
| 277 |
-
"name": "shap rf soh v2",
|
| 278 |
-
"tags": [
|
| 279 |
-
"shap",
|
| 280 |
-
"rf",
|
| 281 |
-
"soh",
|
| 282 |
-
"v2"
|
| 283 |
-
],
|
| 284 |
-
"location": "shap_rf_soh_v2.png"
|
| 285 |
-
},
|
| 286 |
-
{
|
| 287 |
-
"name": "shap xgboost soh",
|
| 288 |
-
"tags": [
|
| 289 |
-
"shap",
|
| 290 |
-
"xgboost",
|
| 291 |
-
"soh"
|
| 292 |
-
],
|
| 293 |
-
"location": "shap_xgboost_soh.png"
|
| 294 |
-
},
|
| 295 |
-
{
|
| 296 |
-
"name": "shap xgboost soh v2",
|
| 297 |
-
"tags": [
|
| 298 |
-
"shap",
|
| 299 |
-
"xgboost",
|
| 300 |
-
"soh",
|
| 301 |
-
"v2"
|
| 302 |
-
],
|
| 303 |
-
"location": "shap_xgboost_soh_v2.png"
|
| 304 |
-
},
|
| 305 |
-
{
|
| 306 |
-
"name": "soc coulomb counting demo",
|
| 307 |
-
"tags": [
|
| 308 |
-
"soc",
|
| 309 |
-
"coulomb",
|
| 310 |
-
"counting",
|
| 311 |
-
"demo"
|
| 312 |
-
],
|
| 313 |
-
"location": "soc_coulomb_counting_demo.png"
|
| 314 |
-
},
|
| 315 |
-
{
|
| 316 |
-
"name": "soh degradation trends",
|
| 317 |
-
"tags": [
|
| 318 |
-
"soh",
|
| 319 |
-
"degradation",
|
| 320 |
-
"trends"
|
| 321 |
-
],
|
| 322 |
-
"location": "soh_degradation_trends.png"
|
| 323 |
-
},
|
| 324 |
-
{
|
| 325 |
-
"name": "soh distribution",
|
| 326 |
-
"tags": [
|
| 327 |
-
"soh",
|
| 328 |
-
"distribution"
|
| 329 |
-
],
|
| 330 |
-
"location": "soh_distribution.png"
|
| 331 |
-
},
|
| 332 |
-
{
|
| 333 |
-
"name": "transformer pt training curves",
|
| 334 |
-
"tags": [
|
| 335 |
-
"transformer",
|
| 336 |
-
"pt",
|
| 337 |
-
"training",
|
| 338 |
-
"curves"
|
| 339 |
-
],
|
| 340 |
-
"location": "transformer_pt_training_curves.png"
|
| 341 |
-
},
|
| 342 |
-
{
|
| 343 |
-
"name": "transformer tf training curves",
|
| 344 |
-
"tags": [
|
| 345 |
-
"transformer",
|
| 346 |
-
"tf",
|
| 347 |
-
"training",
|
| 348 |
-
"curves"
|
| 349 |
-
],
|
| 350 |
-
"location": "transformer_tf_training_curves.png"
|
| 351 |
-
},
|
| 352 |
-
{
|
| 353 |
-
"name": "unified model comparison",
|
| 354 |
-
"tags": [
|
| 355 |
-
"unified",
|
| 356 |
-
"model",
|
| 357 |
-
"comparison"
|
| 358 |
-
],
|
| 359 |
-
"location": "unified_model_comparison.png"
|
| 360 |
-
},
|
| 361 |
-
{
|
| 362 |
-
"name": "vae anomaly detection",
|
| 363 |
-
"tags": [
|
| 364 |
-
"vae",
|
| 365 |
-
"anomaly",
|
| 366 |
-
"detection"
|
| 367 |
-
],
|
| 368 |
-
"location": "vae_anomaly_detection.png"
|
| 369 |
-
},
|
| 370 |
-
{
|
| 371 |
-
"name": "vae latent umap",
|
| 372 |
-
"tags": [
|
| 373 |
-
"vae",
|
| 374 |
-
"latent",
|
| 375 |
-
"umap"
|
| 376 |
-
],
|
| 377 |
-
"location": "vae_latent_umap.png"
|
| 378 |
-
},
|
| 379 |
-
{
|
| 380 |
-
"name": "vae lstm prediction",
|
| 381 |
-
"tags": [
|
| 382 |
-
"vae",
|
| 383 |
-
"lstm",
|
| 384 |
-
"prediction"
|
| 385 |
-
],
|
| 386 |
-
"location": "vae_lstm_prediction.png"
|
| 387 |
-
},
|
| 388 |
-
{
|
| 389 |
-
"name": "voltage surface 3d",
|
| 390 |
-
"tags": [
|
| 391 |
-
"voltage",
|
| 392 |
-
"surface",
|
| 393 |
-
"3d"
|
| 394 |
-
],
|
| 395 |
-
"location": "voltage_surface_3d.png"
|
| 396 |
-
}
|
| 397 |
-
]
|
| 398 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 8 |
-
"ensemble",
|
| 9 |
-
"prediction"
|
| 10 |
-
],
|
| 11 |
-
"location": "best_ensemble_prediction.png"
|
| 12 |
-
},
|
| 13 |
-
{
|
| 14 |
-
"name": "capacity and rul",
|
| 15 |
-
"tags": [
|
| 16 |
-
"capacity",
|
| 17 |
-
"and",
|
| 18 |
-
"rul"
|
| 19 |
-
],
|
| 20 |
-
"location": "capacity_and_rul.png"
|
| 21 |
-
},
|
| 22 |
-
{
|
| 23 |
-
"name": "ced curves",
|
| 24 |
-
"tags": [
|
| 25 |
-
"ced",
|
| 26 |
-
"curves"
|
| 27 |
-
],
|
| 28 |
-
"location": "ced_curves.png"
|
| 29 |
-
},
|
| 30 |
-
{
|
| 31 |
-
"name": "degradation state distribution",
|
| 32 |
-
"tags": [
|
| 33 |
-
"degradation",
|
| 34 |
-
"state",
|
| 35 |
-
"distribution"
|
| 36 |
-
],
|
| 37 |
-
"location": "degradation_state_distribution.png"
|
| 38 |
-
},
|
| 39 |
-
{
|
| 40 |
-
"name": "dg itransformer predictions",
|
| 41 |
-
"tags": [
|
| 42 |
-
"dg",
|
| 43 |
-
"itransformer",
|
| 44 |
-
"predictions"
|
| 45 |
-
],
|
| 46 |
-
"location": "dg_itransformer_predictions.png"
|
| 47 |
-
},
|
| 48 |
-
{
|
| 49 |
-
"name": "dg itransformer training",
|
| 50 |
-
"tags": [
|
| 51 |
-
"dg",
|
| 52 |
-
"itransformer",
|
| 53 |
-
"training"
|
| 54 |
-
],
|
| 55 |
-
"location": "dg_itransformer_training.png"
|
| 56 |
-
},
|
| 57 |
-
{
|
| 58 |
-
"name": "ensemble comparison",
|
| 59 |
-
"tags": [
|
| 60 |
-
"ensemble",
|
| 61 |
-
"comparison"
|
| 62 |
-
],
|
| 63 |
-
"location": "ensemble_comparison.png"
|
| 64 |
-
},
|
| 65 |
-
{
|
| 66 |
-
"name": "ensemble confusion matrix",
|
| 67 |
-
"tags": [
|
| 68 |
-
"ensemble",
|
| 69 |
-
"confusion",
|
| 70 |
-
"matrix"
|
| 71 |
-
],
|
| 72 |
-
"location": "ensemble_confusion_matrix.png"
|
| 73 |
-
},
|
| 74 |
-
{
|
| 75 |
-
"name": "ensemble weights",
|
| 76 |
-
"tags": [
|
| 77 |
-
"ensemble",
|
| 78 |
-
"weights"
|
| 79 |
-
],
|
| 80 |
-
"location": "ensemble_weights.png"
|
| 81 |
-
},
|
| 82 |
-
{
|
| 83 |
-
"name": "feature correlation heatmap",
|
| 84 |
-
"tags": [
|
| 85 |
-
"feature",
|
| 86 |
-
"correlation",
|
| 87 |
-
"heatmap"
|
| 88 |
-
],
|
| 89 |
-
"location": "feature_correlation_heatmap.png"
|
| 90 |
-
},
|
| 91 |
-
{
|
| 92 |
-
"name": "lstm actual vs predicted",
|
| 93 |
-
"tags": [
|
| 94 |
-
"lstm",
|
| 95 |
-
"actual",
|
| 96 |
-
"vs",
|
| 97 |
-
"predicted"
|
| 98 |
-
],
|
| 99 |
-
"location": "lstm_actual_vs_predicted.png"
|
| 100 |
-
},
|
| 101 |
-
{
|
| 102 |
-
"name": "lstm training curves",
|
| 103 |
-
"tags": [
|
| 104 |
-
"lstm",
|
| 105 |
-
"training",
|
| 106 |
-
"curves"
|
| 107 |
-
],
|
| 108 |
-
"location": "lstm_training_curves.png"
|
| 109 |
-
},
|
| 110 |
-
{
|
| 111 |
-
"name": "mc dropout uncertainty lstm",
|
| 112 |
-
"tags": [
|
| 113 |
-
"mc",
|
| 114 |
-
"dropout",
|
| 115 |
-
"uncertainty",
|
| 116 |
-
"lstm"
|
| 117 |
-
],
|
| 118 |
-
"location": "mc_dropout_uncertainty_lstm.png"
|
| 119 |
-
},
|
| 120 |
-
{
|
| 121 |
-
"name": "soc coulomb counting demo",
|
| 122 |
-
"tags": [
|
| 123 |
-
"soc",
|
| 124 |
-
"coulomb",
|
| 125 |
-
"counting",
|
| 126 |
-
"demo"
|
| 127 |
-
],
|
| 128 |
-
"location": "soc_coulomb_counting_demo.png"
|
| 129 |
-
},
|
| 130 |
-
{
|
| 131 |
-
"name": "soh degradation trends",
|
| 132 |
-
"tags": [
|
| 133 |
-
"soh",
|
| 134 |
-
"degradation",
|
| 135 |
-
"trends"
|
| 136 |
-
],
|
| 137 |
-
"location": "soh_degradation_trends.png"
|
| 138 |
-
},
|
| 139 |
-
{
|
| 140 |
-
"name": "transformer pt training curves",
|
| 141 |
-
"tags": [
|
| 142 |
-
"transformer",
|
| 143 |
-
"pt",
|
| 144 |
-
"training",
|
| 145 |
-
"curves"
|
| 146 |
-
],
|
| 147 |
-
"location": "transformer_pt_training_curves.png"
|
| 148 |
-
},
|
| 149 |
-
{
|
| 150 |
-
"name": "transformer tf training curves",
|
| 151 |
-
"tags": [
|
| 152 |
-
"transformer",
|
| 153 |
-
"tf",
|
| 154 |
-
"training",
|
| 155 |
-
"curves"
|
| 156 |
-
],
|
| 157 |
-
"location": "transformer_tf_training_curves.png"
|
| 158 |
-
},
|
| 159 |
-
{
|
| 160 |
-
"name": "unified model comparison",
|
| 161 |
-
"tags": [
|
| 162 |
-
"unified",
|
| 163 |
-
"model",
|
| 164 |
-
"comparison"
|
| 165 |
-
],
|
| 166 |
-
"location": "unified_model_comparison.png"
|
| 167 |
-
},
|
| 168 |
-
{
|
| 169 |
-
"name": "vae anomaly detection",
|
| 170 |
-
"tags": [
|
| 171 |
-
"vae",
|
| 172 |
-
"anomaly",
|
| 173 |
-
"detection"
|
| 174 |
-
],
|
| 175 |
-
"location": "vae_anomaly_detection.png"
|
| 176 |
-
},
|
| 177 |
-
{
|
| 178 |
-
"name": "vae latent umap",
|
| 179 |
-
"tags": [
|
| 180 |
-
"vae",
|
| 181 |
-
"latent",
|
| 182 |
-
"umap"
|
| 183 |
-
],
|
| 184 |
-
"location": "vae_latent_umap.png"
|
| 185 |
-
},
|
| 186 |
-
{
|
| 187 |
-
"name": "vae lstm prediction",
|
| 188 |
-
"tags": [
|
| 189 |
-
"vae",
|
| 190 |
-
"lstm",
|
| 191 |
-
"prediction"
|
| 192 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tests/routers/test_visualize_router.py
CHANGED
|
@@ -151,6 +151,7 @@ def test_figures_manifest_from_figures_json(monkeypatch, tmp_path):
|
|
| 151 |
|
| 152 |
def test_figures_manifest_fallback_to_discovered_figures(monkeypatch, tmp_path):
|
| 153 |
monkeypatch.setattr(visualize, "_ARTIFACTS", tmp_path)
|
|
|
|
| 154 |
monkeypatch.setattr(visualize, "_version_figures", lambda _v: ["a.png", "b.svg"])
|
| 155 |
out = visualize._version_figures_manifest("v3")
|
| 156 |
assert [x["location"] for x in out] == ["a.png", "b.svg"]
|
|
|
|
| 151 |
|
| 152 |
def test_figures_manifest_fallback_to_discovered_figures(monkeypatch, tmp_path):
|
| 153 |
monkeypatch.setattr(visualize, "_ARTIFACTS", tmp_path)
|
| 154 |
+
monkeypatch.setattr(visualize, "_read_remote_text", lambda _url: None)
|
| 155 |
monkeypatch.setattr(visualize, "_version_figures", lambda _v: ["a.png", "b.svg"])
|
| 156 |
out = visualize._version_figures_manifest("v3")
|
| 157 |
assert [x["location"] for x in out] == ["a.png", "b.svg"]
|