<commit_before>[
  {
    "id" : "button",
    "type" : "ClutterRectangle",

    "width" : "16 em",
    "height" : "6 em",

    "color" : "rgb(255, 0, 0)",
    "opacity" : 128,

    "scale-gravity" : "center",

    "reactive" : true,

    "signals" : [
      {
        "name" : "button-press-event",
        "handler" : "on_button_press"
      },
      { "name" : "enter-event", "states" : "button-states", "target-state" : "hover" },
      { "name" : "leave-event", "states" : "button-states", "target-state" : "base" },
      { "name" : "button-press-event", "states" : "button-states", "target-state" : "active" },
      { "name" : "button-release-event", "states" : "button-states", "target-state" : "base" }
    ]
  },

  {
    "id" : "button-states",
    "type" : "ClutterState",

    "duration" : 250,

    "transitions" : [
      {
        "source" : null,
        "target" : "base",

        "keys" : [
          [ "button", "opacity", "linear", 128 ],
          [ "button", "scale-x", "ease-in-cubic", 1.0 ],
          [ "button", "scale-y", "ease-in-cubic", 1.0 ],
          [ "button", "color", "linear", "rgb(255, 0, 0)" ]
        ]
      },
      {
        "source" : null,
        "target" : "hover",

        "keys" : [
          [ "button", "opacity", "linear", 255 ],
          [ "button", "scale-x", "ease-out-bounce", 1.4 ],
          [ "button", "scale-y", "ease-out-bounce", 1.4 ],
          [ "button", "color", "linear", "rgb(0, 255, 0)" ]
        ]<commit_msg>tests: Go back to the hover state on button-release<commit_after>[
  {
    "id" : "button",
    "type" : "ClutterRectangle",

    "width" : "16 em",
    "height" : "6 em",

    "color" : "rgb(255, 0, 0)",
    "opacity" : 128,

    "scale-gravity" : "center",

    "reactive" : true,

    "signals" : [
      {
        "name" : "button-press-event",
        "handler" : "on_button_press"
      },
      { "name" : "enter-event", "states" : "button-states", "target-state" : "hover" },
      { "name" : "leave-event", "states" : "button-states", "target-state" : "base" },
      { "name" : "button-press-event", "states" : "button-states", "target-state" : "active" },
      { "name" : "button-release-event", "states" : "button-states", "target-state" : "hover" }
    ]
  },

  {
    "id" : "button-states",
    "type" : "ClutterState",

    "duration" : 250,

    "transitions" : [
      {
        "source" : null,
        "target" : "base",

        "keys" : [
          [ "button", "opacity", "linear", 128 ],
          [ "button", "scale-x", "ease-in-cubic", 1.0 ],
          [ "button", "scale-y", "ease-in-cubic", 1.0 ],
          [ "button", "color", "linear", "rgb(255, 0, 0)" ]
        ]
      },
      {
        "source" : null,
        "target" : "hover",

        "keys" : [
          [ "button", "opacity", "linear", 255 ],
          [ "button", "scale-x", "ease-out-bounce", 1.4 ],
          [ "button", "scale-y", "ease-out-bounce", 1.4 ],
          [ "button", "color", "linear", "rgb(0, 255, 0)" ]
        ]
{'fraction_non_alphanumeric': 0.23212504156967076, 'fraction_numerical': 0.02527435982707017, 'mean_word_length': 2.0140280561122244, 'pattern_counts': {'":': 0, '<': 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': '1991675', 'n_tokens_mistral': 1180, 'n_tokens_neox': 1094, 'n_words': 214}