Follow-ups to #4 normalizer PoC v2: - Profile.float_decimals (default 6) flows into Rules.RoundFloatsInNode. - mask_volatile_settings switches from name-only HashSet to a JSONPath-lite allowlist ($.a.b.c) so same-named fields in unrelated subtrees stay intact. - default.yaml migrated; 6 new tests including a regression trap for the unrelated-subtree case. 16/16 normalizer tests, 77/77 solution tests. Refs #2
27 lines
583 B
YAML
27 lines
583 B
YAML
name: default
|
|
float_decimals: 6
|
|
rules:
|
|
- strip_timestamps
|
|
- mask_guids
|
|
- normalize_paths
|
|
- round_floats
|
|
- mask_volatile_settings
|
|
- sort_json_keys
|
|
mask_volatile_settings:
|
|
- "$.CanOverrideWireColorWithFace"
|
|
- "$.IsSidePanelVisible"
|
|
- "$.OverrideFaceColor"
|
|
- "$.Solar_IsLocalTime"
|
|
- "$.VisibleGrid"
|
|
- "$.GridSnap"
|
|
- "$.MidpointOsnap"
|
|
- "$.GridSpacing"
|
|
- "$.GridColor.ALPHA"
|
|
- "$.GridColor.BLUE"
|
|
- "$.GridColor.GREEN"
|
|
- "$.GridColor.RED"
|
|
- "$.MajorGridColor.ALPHA"
|
|
- "$.MajorGridColor.BLUE"
|
|
- "$.MajorGridColor.GREEN"
|
|
- "$.MajorGridColor.RED"
|