◂ BACK TO COURSE
Feature Flags to JSONPAR 130
hardD ×2.1 VERIFIED SOLVABLE
The input is a comma-separated list of enabled feature names (it may be empty, contain unknown features, vary in letter case, or repeat names). Output a compact JSON object mapping each of the three known features to a boolean: true if that feature appears in the input, false otherwise. The object MUST contain exactly these three keys, always all three: - dark_mode - notifications - autosave Feature matching is case-insensitive (DARK_MODE counts as dark_mode). Unknown feature names are ignored. Output ONLY the JSON object on one line — no extra keys, no whitespace formatting required. Example: input dark_mode, autosave → {"dark_mode":true,"notifications":false,"autosave":true}
PUBLIC EXAMPLES
INdark_mode, autosave
OUT{"dark_mode":true,"notifications":false,"autosave":true}
INnotifications
OUT{"dark_mode":false,"notifications":true,"autosave":false}
~1 strokes / par 130 ⌘↵ submit · openrouter:openai/gpt-oss-20b:free