<commit_before>{
  "expectation_type": "expect_column_mean_to_be_between",
  "datasets": [{
      "data": {
        "x": [2.0, 5.0],
        "y": [5.0, 5],
        "z": [0, 10],
        "n": [0, null],
        "b": [true, false]
      },
      "tests": [{
          "title": "simple mean: positive range",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": 2,
            "max_value": 5
          },
          "out": {
            "success": true,
            "observed_value": 3.5
          }
        },
        {
          "title": "simple mean: negative range",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": 1,
            "max_value": 2
          },
          "out": {
            "success": false,
            "observed_value": 3.5
          }
        },
        {
          "title": "simple mean: positive exact match",
          "exact_match_out": false,
          "in": {
            "column": "y",
            "min_value": 5,
            "max_value": 5
          },
          "out": {
            "success": true,
            "observed_value": 5
          }
        },
        {
          "title": "simple mean: negative exact match",
          "exact_match_out": false,
          "in": {
            "column": "y",
            "min_value": 4,
            "max_value": 4
          },
          "out": {
            "success": false,
            "observed_value": 5
          }
        },
        {
          "title": "simple mean: positive exact match",
          "exact_match_out": false,
          "in": {
            "column": "z",
            "min_value": 5,
            "max_value": 5
          },
          "out": {
            "success": true,
            "observed_value": 5

          }
        },
        {
          "title": "simple mean: negative range match",
          "exact_match_out": false,
          "in": {
            "column": "z",
            "min_value": 13,
            "max_value": 14
          },
          "out": {
            "success": false,
            "observed_value": 5

          }
        },
        {
          "title": "simple mean: includes null",
          "exact_match_out": false,
          "in": {
            "column": "n",
            "min_value": 0,
            "max_value": 0
          },
          "out": {
            "success": true,
            "observed_value": 0.0
          }
        }
      ]
    },
    {
      "data": {
        "s": ["s", null, null, null],
        "b": [true, false, false, true],
        "x": [true, null, false, null]
      },
      "tests": [{
          "title": "type mismatch: null observed_value",
          "exact_match_out": false,
          "in": {
            "column": "s",
            "min_value": 0,
            "max_value": 0,
            "catch_exceptions": true
          },
          "out": {
            "traceback_substring": "numeric"
          }
        },
        {
          "title": "coerced types: true/false values",
          "exact_match_out": false,
          "in": {
            "column": "b",
            "min_value": 0,
            "max_value": 1
          },
          "out": {
            "success": true,
            "observed_value": 0.5
          }
        },
        {
          "title": "coerced types: true/false and null",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": 0,
            "max_value": 1
          },
          "out": {
            "success": true,
            "observed_value": 0.5
          }
        },
        {
          "title": "TypeError: catch exceptions",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": "s",
            "catch_exceptions": true
          },
          "out": {
            "traceback_substring": "ValueError"
          }
        }
      ]
    }
  ]
}<commit_msg>Coverage hunting: missing min/max parameters in expect_column_mean_to_be_between<commit_after>{
  "expectation_type": "expect_column_mean_to_be_between",
  "datasets": [{
      "data": {
        "x": [2.0, 5.0],
        "y": [5.0, 5],
        "z": [0, 10],
        "n": [0, null],
        "b": [true, false]
      },
      "tests": [{
          "title": "simple mean: positive range",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": 2,
            "max_value": 5
          },
          "out": {
            "success": true,
            "observed_value": 3.5
          }
        },
        {
          "title": "simple mean: negative range",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": 1,
            "max_value": 2
          },
          "out": {
            "success": false,
            "observed_value": 3.5
          }
        },
        {
          "title": "simple mean: positive exact match",
          "exact_match_out": false,
          "in": {
            "column": "y",
            "min_value": 5,
            "max_value": 5
          },
          "out": {
            "success": true,
            "observed_value": 5
          }
        },
        {
          "title": "simple mean: negative exact match",
          "exact_match_out": false,
          "in": {
            "column": "y",
            "min_value": 4,
            "max_value": 4
          },
          "out": {
            "success": false,
            "observed_value": 5
          }
        },
        {
          "title": "simple mean: positive exact match",
          "exact_match_out": false,
          "in": {
            "column": "z",
            "min_value": 5,
            "max_value": 5
          },
          "out": {
            "success": true,
            "observed_value": 5

          }
        },
        {
          "title": "simple mean: negative range match",
          "exact_match_out": false,
          "in": {
            "column": "z",
            "min_value": 13,
            "max_value": 14
          },
          "out": {
            "success": false,
            "observed_value": 5

          }
        },
        {
          "title": "simple mean: includes null",
          "exact_match_out": false,
          "in": {
            "column": "n",
            "min_value": 0,
            "max_value": 0
          },
          "out": {
            "success": true,
            "observed_value": 0.0
          }
        }
      ]
    },
    {
      "data": {
        "s": ["s", null, null, null],
        "b": [true, false, false, true],
        "x": [true, null, false, null]
      },
      "tests": [{
          "title": "type mismatch: null observed_value",
          "exact_match_out": false,
          "in": {
            "column": "s",
            "min_value": 0,
            "max_value": 0,
            "catch_exceptions": true
          },
          "out": {
            "traceback_substring": "numeric"
          }
        },
        {
          "title": "coerced types: true/false values",
          "exact_match_out": false,
          "in": {
            "column": "b",
            "min_value": 0,
            "max_value": 1
          },
          "out": {
            "success": true,
            "observed_value": 0.5
          }
        },
        {
          "title": "coerced types: true/false and null",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": 0,
            "max_value": 1
          },
          "out": {
            "success": true,
            "observed_value": 0.5
          }
        },
        {
          "title": "TypeError: catch exceptions. Non-number min-value",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": "s",
            "catch_exceptions": true
          },
          "out": {
            "traceback_substring": "ValueError"
          }
        },
        {
          "title": "TypeError: catch exceptions. Non-number max-value",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "max_value": "s",
            "catch_exceptions": true
          },
          "out": {
            "traceback_substring": "ValueError"
          }
        },
        {
          "title": "TypeError: missing min and max",
          "exact_match_out": false,
          "in": {
            "column": "x",
            "min_value": null,
            "max_value": null,
            "catch_exceptions": true
          },
          "out": {
            "traceback_substring": "ValueError"
          }
        }
      ]
    }
  ]
}
{'fraction_non_alphanumeric': 0.15196868524061707, 'fraction_numerical': 0.01082201243380152, 'mean_word_length': 1.0693187232015244, 'pattern_counts': {'":': 241, '<': 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': '3874651', 'n_tokens_mistral': 2666, 'n_tokens_neox': 2545, 'n_words': 544}