<commit_before>[
    {
        "type": "section",
        "items": [
            {
                "type": "toggle",
                "messageKey": "LEADING_ZERO",
                "label": "Leading Zero",
                "defaultValue": true
            },
            {
                "type": "color",
                "messageKey": "COLOR_BACKGROUND",
                "label": "Background",
                "defaultValue": "000000",
                "sunlight": false,
                "capabilities": [ "COLOR" ]
            },
            {
                "type": "toggle",
                "messageKey": "COLOR_INVERT",
                "label": "Invert Colors",
                "description": "White on black, or black on white",
                "defaultValue": false,
                "capabilities": [ "BW" ]
            },
            {
                "type": "toggle",
                "messageKey": "HOURLY_VIBE",
                "label": "Vibrate on the Hour",
                "defaultValue": true
            },
            {
                "type": "radiogroup",
                "messageKey": "CONNECTION_VIBE",
                "label": "Bluetooth Vibrate",
                "defaultValue": "1",
                "options": [
                    {
                        "label": "On Disconnect",
                        "value": "1"
                    },
                    {
                        "label": "On Disconnect & Reconnect",
                        "value": "2"
                    },
                    {
                        "label": "Neither",
                        "value": "0"
                    }
                ]
            }
        ]
    },
    {
        "type": "section",
        "items": [
            {
                "type": "heading",
                "defaultValue": "Weather"
            },
            {
                "type": "radiogroup",
                "messageKey": "WEATHER_UNIT",
                "label": "Unit",
                "defaultValue": "0",
                "options": [
                    {
                        "label": "Celsius",
                        "value": "0"
                    },
                    {
                        "label": "Fahrenheit",
                        "value": "1"
                    }
                ]
            },
            {
                "type": "select",
                "messageKey": "WEATHER_INTERVAL",
                "label": "Interval",
                "defaultValue": "60",
                "options": [
                    {
                        "label": "15 Minutes",
                        "value": "15"
                    },
                    {
                        "label": "30 Minutes",
                        "value": "30"
                    },
                    {
                        "label": "1 Hour",
                        "value": "60"
                    },
                    {
                        "label": "90 Minutes",
                        "value": "90"
                    },
                    {
                        "label": "2 Hours",
                        "value": "120"
                    }
                ]
            },
            {
                "type": "select",
                "messageKey": "WEATHER_PROVIDER",
                "label": "Provider",
                "defaultValue": "3",
                "options": [
                    {
                        "label": "Yahoo!",
                        "value": "3"
                    },
                    {
                        "label": "OpenWeatherMap",
                        "value": "0"
                    },
                    {
                        "label": "Weather Underground",
                        "value": "1"
                    },
                    {
                        "label": "Dark Sky",
                        "value": "2"
                    }
                ]
            },
            {
                "type": "toggle",
                "messageKey": "USE_GPS",
                "label": "Use GPS",
                "defaultValue": true,
                "capabilities": [
                    "NOT_PLATFORM_APLITE"
                ]
            },
            {
                "type": "input",
                "messageKey": "LOCATION_NAME",
                "label": "Location",
                "capabilities": [
                    "NOT_PLATFORM_APLITE"
                ]
            },
            {
                "type": "input",
                "messageKey": "WEATHER_KEY",
                "label": "API Key",
                "description": "API key for the selected weather provider. You can retrieve your key stored at https://www.pmkey.xyz by filling in the form below"
            },
            {
                "type": "section",
                "items": [
                    {
                        "type": "heading",
                        "defaultValue": "Master Key"
                    },
                    {
                        "type": "input",
                        "id": "masterKeyEmail",
                        "label": "Master Key Email",
                        "attributes": {
                            "type": "email"
                        }
                    },
                    {
                        "type": "input",
                        "id": "masterKeyPin",
                        "label": "Master Key Pin",
                        "attributes": {
                            "type": "number"
                        }
                    },
                    {
                        "type": "button",
                        "id": "masterKeyButton",
                        "defaultValue": "Get Key"
                    },
                    {
                        "type": "text",
                        "id": "masterKeyText"
                    }
                ]
            }
        ]
    },
    {
        "type": "submit",
        "defaultValue": "Save"
    }
]
<commit_msg>Use tel keypad for Master Key PIN entry<commit_after>[
    {
        "type": "section",
        "items": [
            {
                "type": "toggle",
                "messageKey": "LEADING_ZERO",
                "label": "Leading Zero",
                "defaultValue": true
            },
            {
                "type": "color",
                "messageKey": "COLOR_BACKGROUND",
                "label": "Background",
                "defaultValue": "000000",
                "sunlight": false,
                "capabilities": [ "COLOR" ]
            },
            {
                "type": "toggle",
                "messageKey": "COLOR_INVERT",
                "label": "Invert Colors",
                "description": "White on black, or black on white",
                "defaultValue": false,
                "capabilities": [ "BW" ]
            },
            {
                "type": "toggle",
                "messageKey": "HOURLY_VIBE",
                "label": "Vibrate on the Hour",
                "defaultValue": true
            },
            {
                "type": "radiogroup",
                "messageKey": "CONNECTION_VIBE",
                "label": "Bluetooth Vibrate",
                "defaultValue": "1",
                "options": [
                    {
                        "label": "On Disconnect",
                        "value": "1"
                    },
                    {
                        "label": "On Disconnect & Reconnect",
                        "value": "2"
                    },
                    {
                        "label": "Neither",
                        "value": "0"
                    }
                ]
            }
        ]
    },
    {
        "type": "section",
        "items": [
            {
                "type": "heading",
                "defaultValue": "Weather"
            },
            {
                "type": "radiogroup",
                "messageKey": "WEATHER_UNIT",
                "label": "Unit",
                "defaultValue": "0",
                "options": [
                    {
                        "label": "Celsius",
                        "value": "0"
                    },
                    {
                        "label": "Fahrenheit",
                        "value": "1"
                    }
                ]
            },
            {
                "type": "select",
                "messageKey": "WEATHER_INTERVAL",
                "label": "Interval",
                "defaultValue": "60",
                "options": [
                    {
                        "label": "15 Minutes",
                        "value": "15"
                    },
                    {
                        "label": "30 Minutes",
                        "value": "30"
                    },
                    {
                        "label": "1 Hour",
                        "value": "60"
                    },
                    {
                        "label": "90 Minutes",
                        "value": "90"
                    },
                    {
                        "label": "2 Hours",
                        "value": "120"
                    }
                ]
            },
            {
                "type": "select",
                "messageKey": "WEATHER_PROVIDER",
                "label": "Provider",
                "defaultValue": "3",
                "options": [
                    {
                        "label": "Yahoo!",
                        "value": "3"
                    },
                    {
                        "label": "OpenWeatherMap",
                        "value": "0"
                    },
                    {
                        "label": "Weather Underground",
                        "value": "1"
                    },
                    {
                        "label": "Dark Sky",
                        "value": "2"
                    }
                ]
            },
            {
                "type": "toggle",
                "messageKey": "USE_GPS",
                "label": "Use GPS",
                "defaultValue": true,
                "capabilities": [
                    "NOT_PLATFORM_APLITE"
                ]
            },
            {
                "type": "input",
                "messageKey": "LOCATION_NAME",
                "label": "Location",
                "capabilities": [
                    "NOT_PLATFORM_APLITE"
                ]
            },
            {
                "type": "input",
                "messageKey": "WEATHER_KEY",
                "label": "API Key",
                "description": "API key for the selected weather provider. You can retrieve your key stored at https://www.pmkey.xyz by filling in the form below"
            },
            {
                "type": "section",
                "items": [
                    {
                        "type": "heading",
                        "defaultValue": "Master Key"
                    },
                    {
                        "type": "input",
                        "id": "masterKeyEmail",
                        "label": "Master Key Email",
                        "attributes": {
                            "type": "email"
                        }
                    },
                    {
                        "type": "input",
                        "id": "masterKeyPin",
                        "label": "Master Key Pin",
                        "attributes": {
                            "type": "tel"
                        }
                    },
                    {
                        "type": "button",
                        "id": "masterKeyButton",
                        "defaultValue": "Get Key"
                    },
                    {
                        "type": "text",
                        "id": "masterKeyText"
                    }
                ]
            }
        ]
    },
    {
        "type": "submit",
        "defaultValue": "Save"
    }
]

{'fraction_non_alphanumeric': 0.11911655223757135, 'fraction_numerical': 0.006452146579535115, 'mean_word_length': 0.6228187919463087, 'pattern_counts': {'":': 216, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3786849', 'n_tokens_mistral': 2948, 'n_tokens_neox': 2594, 'n_words': 523}