<commit_before>module Squib
    # Squib's defaults for when arguments are not specified in the command nor layouts.
    # 
    # @api public
    SYSTEM_DEFAULTS = { 
      :align => :left,
      :alpha => 1.0,
      :blend => :none,
      :color => :black,
      :default_font => 'Arial 36',
      :dir => "_output",
      :ellipsize => :end,
      :fill_color => '#0000',
      :force_id => false,
      :font => :use_set,
      :font_size => nil,
      :format => :png,
      :gap => 0,
      :height => :native,
      :hint => :off,
      :img_dir => '.',
      :justify => false,
      :margin => 75,
      :markup => false,
      :prefix => "card_",
      :progress_bar => false,
      :range => :all,
      :rotate => false,
      :sheet => 0,
      :spacing => 0,
      :str => '',
      :stroke_color => :black,
      :stroke_width => 2.0,
      :trim => 0,
      :valign => :top,
      :width => :native,
      :wrap => true,
      :x => 0,
      :x1 => 100,
      :x2 => 150,
      :x3 => 100,
      :x_radius => 0, 
      :y => 0,
      :y1 => 100,
      :y2 => 150,
      :y3 => 150,
      :y_radius => 0,
    }

    # Squib's configuration defaults
    # 
    # @api public
    CONFIG_DEFAULTS = { 
      'custom_colors' => {},
      'dpi' => 300,
      'hint' => :none,
      'progress_bar' => false,
      'img_dir' => '.',
    }

    # These are parameters that are intended to be "expanded" across 
    # range if they are singletons. 
    #
    # For example, using a different font for each card, using one `text`
    #
    # key: the internal name of the param (e.g. :files)
    # value: the user-facing API key (e.g. file: 'abc.png')
    #
    # @api private
    EXPANDING_PARAMS = {
          :align => :align,
          :alpha => :alpha,
          :blend => :blend,
          :circle_radius => :radius,
          :color => :color,
          :ellipsize => :ellipsize,
          :files => :file,
          :fill_color => :fill_color,
          :force_svgid => :force_id,
          :font => :font,
          :font_size => :font_size,
          :height => :height,
          :hint => :hint,
          :justify => :justify,
          :layout => :layout,
          :markup => :markup,
          :rect_radius => :radius,
          :spacing => :spacing,
          :str => :str,
          :stroke_color => :stroke_color,
          :stroke_width => :stroke_width,
          :svgid => :id,
          :valign => :valign,
          :width => :width,
          :wrap => :wrap,
          :x => :x,
          :x1 => :x1,
          :x2 => :x2,
          :x3 => :x3,
          :x_radius => :x_radius,
          :y => :y,
          :y1 => :y1,
          :y2 => :y2,
          :y2 => :y3,
          :y_radius => :y_radius,
      }
end<commit_msg>Fix wrong mapping<commit_after>module Squib
    # Squib's defaults for when arguments are not specified in the command nor layouts.
    # 
    # @api public
    SYSTEM_DEFAULTS = { 
      :align => :left,
      :alpha => 1.0,
      :blend => :none,
      :color => :black,
      :default_font => 'Arial 36',
      :dir => "_output",
      :ellipsize => :end,
      :fill_color => '#0000',
      :force_id => false,
      :font => :use_set,
      :font_size => nil,
      :format => :png,
      :gap => 0,
      :height => :native,
      :hint => :off,
      :img_dir => '.',
      :justify => false,
      :margin => 75,
      :markup => false,
      :prefix => "card_",
      :progress_bar => false,
      :range => :all,
      :rotate => false,
      :sheet => 0,
      :spacing => 0,
      :str => '',
      :stroke_color => :black,
      :stroke_width => 2.0,
      :trim => 0,
      :valign => :top,
      :width => :native,
      :wrap => true,
      :x => 0,
      :x1 => 100,
      :x2 => 150,
      :x3 => 100,
      :x_radius => 0, 
      :y => 0,
      :y1 => 100,
      :y2 => 150,
      :y3 => 150,
      :y_radius => 0,
    }

    # Squib's configuration defaults
    # 
    # @api public
    CONFIG_DEFAULTS = { 
      'custom_colors' => {},
      'dpi' => 300,
      'hint' => :none,
      'progress_bar' => false,
      'img_dir' => '.',
    }

    # These are parameters that are intended to be "expanded" across 
    # range if they are singletons. 
    #
    # For example, using a different font for each card, using one `text`
    #
    # key: the internal name of the param (e.g. :files)
    # value: the user-facing API key (e.g. file: 'abc.png')
    #
    # @api private
    EXPANDING_PARAMS = {
          :align => :align,
          :alpha => :alpha,
          :blend => :blend,
          :circle_radius => :radius,
          :color => :color,
          :ellipsize => :ellipsize,
          :files => :file,
          :fill_color => :fill_color,
          :force_svgid => :force_id,
          :font => :font,
          :font_size => :font_size,
          :height => :height,
          :hint => :hint,
          :justify => :justify,
          :layout => :layout,
          :markup => :markup,
          :rect_radius => :radius,
          :spacing => :spacing,
          :str => :str,
          :stroke_color => :stroke_color,
          :stroke_width => :stroke_width,
          :svgid => :id,
          :valign => :valign,
          :width => :width,
          :wrap => :wrap,
          :x => :x,
          :x1 => :x1,
          :x2 => :x2,
          :x3 => :x3,
          :x_radius => :x_radius,
          :y => :y,
          :y1 => :y1,
          :y2 => :y2,
          :y3 => :y3,
          :y_radius => :y_radius,
      }
end
{'fraction_non_alphanumeric': 0.16648491457651762, 'fraction_numerical': 0.021446746637586334, 'mean_word_length': 1.5418013856812933, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 167, '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': '1422103', 'n_tokens_mistral': 1985, 'n_tokens_neox': 1864, 'n_words': 467}