<commit_before>{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Devices",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "privateIps": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^([1-9]{1,3}\\.){3}[1-9]{1,3}$"
            }
        },
        "publicIps": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^([1-9]{1,3}\\.){3}[1-9]{1,3}$"
            }
        },
        "location": {
            "type": "object",
            "properties": {
                "countryCode": {
                    "type": "string"
                },
                "text": {
                    "type": "string"
                },
                "countryName": {
                    "type": "string"
                }
            },
            "required": ["countryCode", "text", "countryName"]
        },
        "tags": {
            "type": ["array", "null"],
            "items": {<commit_msg>Specify that os is a dict in schema<commit_after>{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Devices",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "privateIps": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^([1-9]{1,3}\\.){3}[1-9]{1,3}$"
            }
        },
        "publicIps": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "^([1-9]{1,3}\\.){3}[1-9]{1,3}$"
            }
        },
        "os": {
            "type": "object",
            "properties": {
                "code": {
                    "type": "string",
                    "enum": ["mac", "linux", "windows", "freebsd"]
                },
                "name": {
                    "type": "string",
                    "enum": ["Mac OSX", "Linux", "Windows", "FreeBSD"]
                }
            }
        },
        "location": {
            "type": "object",
            "properties": {
                "countryCode": {
                    "type": "string"
                },
                "text": {
                    "type": "string"
                },
                "countryName": {
                    "type": "string"
                }
            },
            "required": ["countryCode", "text", "countryName"]
        },
        "tags": {
            "type": ["array", "null"],
            "items": {
{'fraction_non_alphanumeric': 0.19939347990902198, 'fraction_numerical': 0.015163002274450341, 'mean_word_length': 0.9738219895287958, 'pattern_counts': {'":': 67, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5095794', 'n_tokens_mistral': 780, 'n_tokens_neox': 738, 'n_words': 126}