<commit_before>module Rega
  
  module Charts
    
    #Represents a generic bar chart with defaults in place
    class Bar < Chart
      
      def_delegators :@mark, :fill_color, :fill_color=
      def_delegators :@mark, :fill_opacity, :fill_opacity=
      def_delegators :@mark, :hover_opacity, :hover_opacity=
      def_delegators :@mark, :hover_color, :hover_color=
      def_delegators :@mark, :offset, :offset=
      
      attr_reader :mark
      
      def initialize(values: [], x: "x", y: "y", **options)
        @values = values
        @x, @y = x, y
        super(**options)<commit_msg>fix bar chart<commit_after>module Rega
  
  module Charts
    
    #Represents a generic bar chart with defaults in place
    class Bar < Chart
      
      def_delegators :@mark, :fill_color, :fill_color=
      def_delegators :@mark, :fill_opacity, :fill_opacity=
      def_delegators :@mark, :hover_opacity, :hover_opacity=
      def_delegators :@mark, :hover_color, :hover_color=
      def_delegators :@mark, :offset, :offset=
      
      attr_reader :mark
      
      def initialize(values: [], x: "x", y: "y", **options)
        @values = values
        @x, @y = x, y
        options.each { |name, value| instance_variable_set("@#{name}", value) }
        # super(**options)
{'fraction_non_alphanumeric': 0.11875, 'fraction_numerical': 0.0, 'mean_word_length': 2.7676470588235293, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2934998', 'n_tokens_mistral': 414, 'n_tokens_neox': 421, 'n_words': 110}