<commit_before>{
  "title": "Zooniverse aggregation json schema",
  "description": "The aggregation scheme for Zooniverse aggregation results",
  "$schema": "http://json-schema.org/schema#",
  "id": "http://www.zooniverse.org" ,
  "version" : "0.1",
  "type": "object",
  "properties": {
    " instructions": {
      "type": "object",
      "properties": {
        " instructions": {
          "type": "object",
          "patternProperties": {
            "init|(T[0-9]+)": {
              "oneOf": [
                {
                  "type": "object",
                  "description": "instructions related to a marking task",
                  "properties": {
                    "instruction": {
                      "type": "string",
                      "description": "the description of the marking task"
                    },
                    "tools": {
                      "description": "the different tools available to the user for this specific task",
                      "type": "object",
                      "patternProperties": {
                        "[0-9]+": {
                          "type": "object",
                          "properties": {
                            "marking tool": {
                              "type": "string",
                              "description": "the specific text shown for each tool"
                            },
                            "followup_questions": {
                              "type": "object",
                              "description": "possible follow up questions associated with the specific marking tool",
                              "patternProperties": {
                                "[0-9]+": {
                                  "type": "object",
                                  "properties": {
                                    "answers": {
                                      "type": "object",
                                      "patternProperties": {
                                        "[0-9]+": {
                                          "type": "object",
                                          "properties": {
                                            "label": {
                                              "type": "string"
                                            }
                                          },
                                          "additionalProperties": false,
                                          "required": [
                                            "label"
                                          ]
                                        }
                                      },
                                      "additionalProperties": false
                                    },
                                    "question": {
                                      "description": "the text associated with the follow up question",
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "instruction",
                    "tools"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "description": "instructions related to a simple classification task",
                  "properties": {
                    "instruction": {
                      "type": "string"
                    },
                    "answers": {
                      "type": "object",
                      "patternProperties": {
                        "[0-9]+": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "instruction",
                    "answers"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "additionalProperties": false
        }
      }
    },
    " metadata": {}
  },
  "patternProperties": {
    "init|(T[0-9]+)": {
      "oneOf": [
        {
          "type": "array",
          "description": "classification results",
          "items": [
            {
              "type": "object",
              "description": "mapping from class id to floating value floating value associated with each class ",
              "patternProperties": {
                "[0-9]+": {
                  "type": "number",
                  "description": "can be either percentage of people who chose a class or the probability of the class"
                }
              }
            },
            {
              "type": "number",
              "description": "total number of people who have classified this task/workflow/subject"
            }
          ]<commit_msg>correct doubly nested " instructions" property<commit_after>{
  "title": "Zooniverse aggregation json schema",
  "description": "The aggregation scheme for Zooniverse aggregation results",
  "$schema": "http://json-schema.org/schema#",
  "id": "http://www.zooniverse.org" ,
  "version" : "0.1",
  "type": "object",
  "properties": {

        " instructions": {
          "type": "object",
          "patternProperties": {
            "init|(T[0-9]+)": {
              "oneOf": [
                {
                  "type": "object",
                  "description": "instructions related to a marking task",
                  "properties": {
                    "instruction": {
                      "type": "string",
                      "description": "the description of the marking task"
                    },
                    "tools": {
                      "description": "the different tools available to the user for this specific task",
                      "type": "object",
                      "patternProperties": {
                        "[0-9]+": {
                          "type": "object",
                          "properties": {
                            "marking tool": {
                              "type": "string",
                              "description": "the specific text shown for each tool"
                            },
                            "followup_questions": {
                              "type": "object",
                              "description": "possible follow up questions associated with the specific marking tool",
                              "patternProperties": {
                                "[0-9]+": {
                                  "type": "object",
                                  "properties": {
                                    "answers": {
                                      "type": "object",
                                      "patternProperties": {
                                        "[0-9]+": {
                                          "type": "object",
                                          "properties": {
                                            "label": {
                                              "type": "string"
                                            }
                                          },
                                          "additionalProperties": false,
                                          "required": [
                                            "label"
                                          ]
                                        }
                                      },
                                      "additionalProperties": false
                                    },
                                    "question": {
                                      "description": "the text associated with the follow up question",
                                      "type": "string"
                                    }
                                  },
                                  "additionalProperties": false
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "instruction",
                    "tools"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "description": "instructions related to a simple classification task",
                  "properties": {
                    "instruction": {
                      "type": "string"
                    },
                    "answers": {
                      "type": "object",
                      "patternProperties": {
                        "[0-9]+": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "instruction",
                    "answers"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "additionalProperties": false
    },
    " metadata": {}
  },
  "patternProperties": {
    "init|(T[0-9]+)": {
      "oneOf": [
        {
          "type": "array",
          "description": "classification results",
          "items": [
            {
              "type": "object",
              "description": "mapping from class id to floating value floating value associated with each class ",
              "patternProperties": {
                "[0-9]+": {
                  "type": "number",
                  "description": "can be either percentage of people who chose a class or the probability of the class"
                }
              }
            },
            {
              "type": "number",
              "description": "total number of people who have classified this task/workflow/subject"
            }
          ]
{'fraction_non_alphanumeric': 0.0985249095463401, 'fraction_numerical': 0.0029687355042211706, 'mean_word_length': 0.6896551724137931, 'pattern_counts': {'":': 169, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 68, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5864559', 'n_tokens_mistral': 2103, 'n_tokens_neox': 1919, 'n_words': 470}