<commit_before>require "attributable"

class User
  extend Attributable
  attributes :id, :forename, surname: "Bloggs"
end

describe Attributable do
  describe "accessors" do
    it "should raise for an unknown attribute" do
      i = User.new(id: 1, forename: "John", surname: "Doe")
      expect(i.respond_to?(:address)).to be_false
    end
<commit_msg>Fix typo.<commit_after>require "attributable"

class User
  extend Attributable
  attributes :id, :forename, surname: "Bloggs"
end

describe Attributable do
  describe "accessors" do
    it "should not have an accessor for an unknown attribute" do
      i = User.new(id: 1, forename: "John", surname: "Doe")
      expect(i.respond_to?(:address)).to be_false
    end

{'fraction_non_alphanumeric': 0.10402219140083217, 'fraction_numerical': 0.0027739251040221915, 'mean_word_length': 4.084507042253521, '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': '2119632', 'n_tokens_mistral': 245, 'n_tokens_neox': 234, 'n_words': 76}