<commit_before>module Alf
  module Algebra
    class TypeSafe
      include Operator, NonRelational, Unary

      signature do |s|
        s.argument :type_safe_heading, Heading
        s.option   :strict, Boolean,  false, 'Be strict, not allowing tuple projections?'
      end

      def heading
        type_safe_heading
      end

      def keys
        operand.keys
      end

    end # class TypeSafe
  end # module Algebra
end # module Alf
<commit_msg>Default nil value on TypeSafe operator.<commit_after>module Alf
  module Algebra
    class TypeSafe
      include Operator, NonRelational, Unary

      signature do |s|
        s.argument :type_safe_heading, Heading, nil
        s.option   :strict, Boolean,  false, 'Be strict, not allowing tuple projections?'
      end

      def heading
        type_safe_heading
      end

      def keys
        operand.keys
      end

    end # class TypeSafe
  end # module Algebra
end # module Alf

{'fraction_non_alphanumeric': 0.050686378035902854, 'fraction_numerical': 0.0, 'mean_word_length': 2.2244897959183674, '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': '5389069', 'n_tokens_mistral': 269, 'n_tokens_neox': 258, 'n_words': 94}