<commit_before>module Hyalite
  module DOMProperty
    ID_ATTRIBUTE_NAME = 'data-hyalite-id'

    MUST_USE_ATTRIBUTE           = 1
    MUST_USE_PROPERTY            = 2
    HAS_BOOLEAN_VALUE            = 4
    HAS_SIDE_EFFECTS             = 8
    HAS_NUMERIC_VALUE            = 16
    HAS_POSITIVE_NUMERIC_VALUE   = 32
    HAS_OVERLOADED_BOOLEAN_VALUE = 64

    PROPERTIES = {
      ###############################
      ### Standard Properties
      ###############################
      accept: nil,
      acceptCharset: nil,
      accessKey: nil,
      action: nil,
      allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
      allowTransparency: MUST_USE_ATTRIBUTE,
      alt: nil,
      async: HAS_BOOLEAN_VALUE,
      autoComplete: nil,
      # autoFocus is polyfilled/normalized by AutoFocusUtils
      # autoFocus: HAS_BOOLEAN_VALUE,
      autoPlay: HAS_BOOLEAN_VALUE,
      capture: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
      cellPadding: nil,
      cellSpacing: nil,
      charSet: MUST_USE_ATTRIBUTE,
      challenge: MUST_USE_ATTRIBUTE,
      checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
      classID: MUST_USE_ATTRIBUTE,
      className: MUST_USE_PROPERTY,
      class: MUST_USE_PROPERTY,
      cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
      colSpan: nil,
      content: nil,
      contentEditable: nil,
      contextMenu: MUST_USE_ATTRIBUTE,
      controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
      coords: nil,
      crossOrigin: nil,
      data: nil, # For `<object />` acts as `src`.
      dateTime: MUST_USE_ATTRIBUTE,
      defer: HAS_BOOLEAN_VALUE,
      dir: nil,
      disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
      download: HAS_OVERLOADED_BOOLEAN_VALUE,<commit_msg>Fix bug class name don't update<commit_after>module Hyalite
  module DOMProperty
    ID_ATTRIBUTE_NAME = 'data-hyalite-id'

    MUST_USE_ATTRIBUTE           = 1
    MUST_USE_PROPERTY            = 2
    HAS_BOOLEAN_VALUE            = 4
    HAS_SIDE_EFFECTS             = 8
    HAS_NUMERIC_VALUE            = 16
    HAS_POSITIVE_NUMERIC_VALUE   = 32
    HAS_OVERLOADED_BOOLEAN_VALUE = 64

    PROPERTIES = {
      ###############################
      ### Standard Properties
      ###############################
      accept: nil,
      acceptCharset: nil,
      accessKey: nil,
      action: nil,
      allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
      allowTransparency: MUST_USE_ATTRIBUTE,
      alt: nil,
      async: HAS_BOOLEAN_VALUE,
      autoComplete: nil,
      # autoFocus is polyfilled/normalized by AutoFocusUtils
      # autoFocus: HAS_BOOLEAN_VALUE,
      autoPlay: HAS_BOOLEAN_VALUE,
      capture: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
      cellPadding: nil,
      cellSpacing: nil,
      charSet: MUST_USE_ATTRIBUTE,
      challenge: MUST_USE_ATTRIBUTE,
      checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
      classID: MUST_USE_ATTRIBUTE,
      className: MUST_USE_PROPERTY,
      class: MUST_USE_ATTRIBUTE,
      cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE,
      colSpan: nil,
      content: nil,
      contentEditable: nil,
      contextMenu: MUST_USE_ATTRIBUTE,
      controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE,
      coords: nil,
      crossOrigin: nil,
      data: nil, # For `<object />` acts as `src`.
      dateTime: MUST_USE_ATTRIBUTE,
      defer: HAS_BOOLEAN_VALUE,
      dir: nil,
      disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
      download: HAS_OVERLOADED_BOOLEAN_VALUE,
{'fraction_non_alphanumeric': 0.09692263445498993, 'fraction_numerical': 0.005752085130859937, 'mean_word_length': 2.764069264069264, 'pattern_counts': {'":': 0, '<': 5, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7461858', 'n_tokens_mistral': 1217, 'n_tokens_neox': 1179, 'n_words': 218}