Repository navigation
Commit 341f43b
authored
CLI predict: drop dead serializer imports, document intentional JSON divergence (#27)
The three serializers explanation_to_dict, interval_to_dicts, whatif_to_dict
were imported from model_utils under underscore aliases but immediately
shadowed by local defs of the same name, making the imports dead code.
Remove the dead aliases (keeping coerce_features, extract_feature_info,
inner_pipeline, which are used) and replace them with a comment documenting
that the CLI's lean, versioned --json serializers are intentionally separate
from the richer MCP copies in model_utils.
Co-authored-by: Ahmed K. Hafsi <25119333+ahmed-hafsi@users.noreply.github.com>1 parent 937e726 commit 341f43b
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
18 | 26 | | |
19 | 27 | | |
20 | | - | |
21 | 28 | | |
22 | 29 | | |
23 | | - | |
24 | | - | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
0 commit comments