<commit_before>{
  "meta": {
    "language": "php",
    "language_version": "7.4",
    "language_name": "PHP"
  },
  "categories": {
    "Conditional Statements (ifs)": [
      "if_conditional",
      "if_else_conditional",
      "if_elseif_conditional",
      "if_elseif_else_conditional"
    ],
    "Loops": [
      "while_loop",
      "do_while_loop",
      "until_loop",
      "do_until_loop",
      "for_loops",
      "foreach_loops"
    ],
    "Iterations": [
      "map_iteration",
      "filter_iteration"
    ]
  },
  "control_structures": {
    "if_conditional": {
      "name": "If conditional",
      "code": "if( $true_condition ) { 
	      	//statement 
	      }"
    },
    "if_else_conditional": {
      "name": "If/Else conditional",
      "code": "if( $condition ) {
	      	// statement
	      } else { 
		// else statement 
	      }"
    },
    "if_elseif_conditional": {
      "name": "If/ElseIf conditional",
      "code": "if( $condition ) {
	          // statement 
	       } elseif ( $othercondition ) { 
		  // elseif statement 
	       }"
    },
    "if_elseif_else_conditional": {
      "name": "If/ElseIf/Else conditional",
      "code": "if( $condition ) {
	           // statement 
	       } elseif ( $othercondition ) { 
		   // elseif statement 
	       } else { 
		   // else statement
	       }"
    },
    "while_loop": {
      "name": "While loop",
      "code": "while( $condition ) { 
	           // code to be executed 
	       }"
    },
    "do_while_loop": {
      "name": "Do/While loop",
      "code": "do { 
	          //executable code 
	       } while ( $condition );"
    },
    "for_loops": {
      "name": "For loop",
      "code": "for ( $intial_counter, $test_counter, $increment ) { 
	          // executable code 
	       }"
    },
    "foreach_loops": {
      "name": "Foreach loop",
      "code": "foreach ( $iterable as $item ) { 
	          // executable code 
	       }"
    },
    "map_iteration": {
      "name": "Map iteration",
      "code": "array_map( function( $element ) { 
	          // transform element 
	       }, $array );"
    },
    "filter_iteration": {
      "name": "Filter iteration",
      "code": "array_filter( $array, function( $element ) { // return a bool } );"
    }
  }
}<commit_msg>fixes multiline issues in json<commit_after>{
  "meta": {
    "language": "php",
    "language_version": "7.4",
    "language_name": "PHP"
  },
  "categories": {
    "Conditional Statements (ifs)": [
      "if_conditional",
      "if_else_conditional",
      "if_elseif_conditional",
      "if_elseif_else_conditional"
    ],
    "Loops": [
      "while_loop",
      "do_while_loop",
      "until_loop",
      "do_until_loop",
      "for_loops",
      "foreach_loops"
    ],
    "Iterations": [
      "map_iteration",
      "filter_iteration"
    ]
  },
  "control_structures": {
    "if_conditional": {
      "name": "If conditional",
      "code": "if( $true_condition ) {\n    //statement\n}"
    },
    "if_else_conditional": {
      "name": "If/Else conditional",
      "code": "if( $condition ) {\n    // statement\n} else {\n    // else statement\n}"
    },
    "if_elseif_conditional": {
      "name": "If/ElseIf conditional",
      "code": "if( $condition ) {\n    // statement\n} elseif ( $othercondition ) {\n    // elseif statement\n}"
    },
    "if_elseif_else_conditional": {
      "name": "If/ElseIf/Else conditional",
      "code": "if( $condition ) {\n    // statement\n} elseif ( $othercondition ) {\n    // elseif statement\n} else {\n    // else statement\n}"
    },
    "while_loop": {
      "name": "While loop",
      "code": "while( $condition ) {\n    // code to be executed\n}"
    },
    "do_while_loop": {
      "name": "Do/While loop",
      "code": "do {\n    //executable code\n} while ( $condition );"
    },
    "for_loops": {
      "name": "For loop",
      "code": "for ( $intial_counter, $test_counter, $increment ) {\n    // executable code\n}"
    },
    "foreach_loops": {
      "name": "Foreach loop",
      "code": "foreach ( $iterable as $item ) {\n    // executable code}"
    },
    "map_iteration": {
      "name": "Map iteration",
      "code": "array_map( function( $element ) {\n    // transform element\n}, $array );"
    },
    "filter_iteration": {
      "name": "Filter iteration",
      "code": "array_filter( $array, function( $element ) { // return a bool } );"
    }
  }
}
{'fraction_non_alphanumeric': 0.17576170986812187, 'fraction_numerical': 0.0009095043201455207, 'mean_word_length': 2.019217570350034, 'pattern_counts': {'":': 78, '<': 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': '3510250', 'n_tokens_mistral': 1531, 'n_tokens_neox': 1452, 'n_words': 295}