Discovered while covering leftover QuickType TS (wave 7).
What happens
determineDominantCase classifies keys as camel / snake / pascal / other. kebab-case keys (user-name) fall into other. When other is the dominant class (≥60% of keys) the function still returns "mixed" instead of a dedicated label.
So {"user-name":1,"item-count":2} shows mixed in the JSON status bar even though every key is kebab-case.
Expected
Either:
classify kebab (and UPPER_CASE) as first-class kinds, or
surface other as its own status (e.g. other / unknown) instead of mixed.
mixed should mean no single family reaches 60%, not "the majority is something we don't name".
Pinned as a characterization test in quick-type.component.leftovers.spec.ts.
Discovered while covering leftover QuickType TS (wave 7).
## What happens
`determineDominantCase` classifies keys as camel / snake / pascal / other. kebab-case keys (`user-name`) fall into `other`. When `other` is the dominant class (≥60% of keys) the function still returns `"mixed"` instead of a dedicated label.
So `{"user-name":1,"item-count":2}` shows **mixed** in the JSON status bar even though every key is kebab-case.
## Expected
Either:
- classify kebab (and UPPER_CASE) as first-class kinds, or
- surface `other` as its own status (e.g. `other` / `unknown`) instead of `mixed`.
`mixed` should mean *no single family reaches 60%*, not "the majority is something we don't name".
Pinned as a characterization test in `quick-type.component.leftovers.spec.ts`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Discovered while covering leftover QuickType TS (wave 7).
What happens
determineDominantCaseclassifies keys as camel / snake / pascal / other. kebab-case keys (user-name) fall intoother. Whenotheris the dominant class (≥60% of keys) the function still returns"mixed"instead of a dedicated label.So
{"user-name":1,"item-count":2}shows mixed in the JSON status bar even though every key is kebab-case.Expected
Either:
otheras its own status (e.g.other/unknown) instead ofmixed.mixedshould mean no single family reaches 60%, not "the majority is something we don't name".Pinned as a characterization test in
quick-type.component.leftovers.spec.ts.Fixed in
spikersoft-angularPR #823 (a0f0ccd9). Closing.