<commit_before>{
  "width": 200,
  "height": 200,

  "signals": [
    {"name": "w", "init": 200},
    {"name": "h", "init": 200},
    {
      "name": "brush_start",
      "init": {},
      "streams": [{
        "type": "mousedown",
        "expr": "{x: iscale('x', clamp(eventX(), 0, w)), y: iscale('y', clamp(eventY(), 0, h))}"
      }]
    },
    {
      "name": "brush_end",
      "init": {},
      "streams": [{
        "type": "mousedown, [mousedown, window:mouseup] > window:mousemove",
        "expr": "{x: iscale('x', clamp(eventX(), 0, w)), y: iscale('y', clamp(eventY(), 0, h))}"
      }]
    }
  ],

  "data": [{
    "name": "iris",
    "url": "data/iris.json"
  }],

  "scales": [
    {
      "name": "x",
      "type": "linear",
      "domain": {"data": "iris", "field": "sepalWidth"},
      "range": "width",
      "zero": false
    },
    {
      "name": "y",
      "type": "linear",<commit_msg>Use automatic signals width and height in example.<commit_after>{
  "width": 200,
  "height": 200,

  "signals": [
    {
      "name": "brush_start",
      "init": {},
      "streams": [{
        "type": "mousedown",
        "expr": "{x: iscale('x', clamp(eventX(), 0, width)), y: iscale('y', clamp(eventY(), 0, height))}"
      }]
    },
    {
      "name": "brush_end",
      "init": {},
      "streams": [{
        "type": "mousedown, [mousedown, window:mouseup] > window:mousemove",
        "expr": "{x: iscale('x', clamp(eventX(), 0, width)), y: iscale('y', clamp(eventY(), 0, height))}"
      }]
    }
  ],

  "data": [{
    "name": "iris",
    "url": "data/iris.json"
  }],

  "scales": [
    {
      "name": "x",
      "type": "linear",
      "domain": {"data": "iris", "field": "sepalWidth"},
      "range": "width",
      "zero": false
    },
    {
      "name": "y",
      "type": "linear",
{'fraction_non_alphanumeric': 0.2600773053561568, 'fraction_numerical': 0.01435670900055218, 'mean_word_length': 2.3126142595978063, 'pattern_counts': {'":': 56, '<': 3, '<?xml version=': 0, '>': 5, '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': '2714369', 'n_tokens_mistral': 744, 'n_tokens_neox': 679, 'n_words': 146}