<commit_before>require 'optparse'

module YARD
  module CLI
    class Yardoc
      attr_reader :options, :visibilities
      attr_accessor :files, :reload, :generate
      
      def self.run(*args) new.run(*args) end
        
      def initialize
        @options = SymbolHash[
          :format => :html, 
          :template => :default, 
          :serializer => YARD::Serializers::FileSystemSerializer.new, 
          :verifier => lambda do |gen, obj| 
            return false if gen.respond_to?(:visibility) && visibilities.include?(gen.visibility) 
          end<commit_msg>Fix visibility options being treated backwards (--no-public shows public)<commit_after>require 'pp'
require 'optparse'

module YARD
  module CLI
    class Yardoc
      attr_reader :options, :visibilities
      attr_accessor :files, :reload, :generate
      
      def self.run(*args) new.run(*args) end
        
      def initialize
        @options = SymbolHash[
          :format => :html, 
          :template => :default, 
          :serializer => YARD::Serializers::FileSystemSerializer.new, 
          :verifier => lambda do |gen, obj| 
            return false if gen.respond_to?(:visibility) && !visibilities.include?(gen.visibility) 
          end
{'fraction_non_alphanumeric': 0.1050080775444265, 'fraction_numerical': 0.0, 'mean_word_length': 2.441666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '3911936', 'n_tokens_mistral': 354, 'n_tokens_neox': 336, 'n_words': 89}