<commit_before>
#Attr Methods

# I worked on this challenge [by myself, with:]

# I spent [#] hours on this challenge.

# Pseudocode

# Input:
# Output:
# Steps:

class NameData

end


class Greetings

end

# Reflection - Release 1: Read and Research
=begin

What are these methods doing?
The methods are creating an instance and behaviours of Profile class, the instance is called instance_of_profile. The object is initialized with Kim's profile details : name, last name, age and occupation. The methods are defined to change and update the instance variables (their states name, age and occupation) with instance_of_profile.change_my_xxxxx so does the object's states are updated. 

How are they modifying or returning the value of instance variables?
The methods are modified and changed the value of instance variables outside of the class by calling them with attributes meaning that by calling class. method. When we write the instance variable value, we use writer methods. Instead of giving arguments between parentheses, methods expect the new value after `=` notation such as
instance_of_profile.change_my_age = 28 # happy birthday! you aged one year

=end

# Reflection - Release 2: Identify the Changes
=begin
What changed between the last release and this release?
What was replaced?
Is this code simpler than the last?


=end

# Reflection - Release 3: More Changes
=begin
What changed between the last release and this release?
What was replaced?
Is this code simpler than the last?

=end

# Reflection - Release 6 : Reflect
=begin

# What is a reader method?
# What is a writer method?
# What do the attr methods do for you?
# Should you always use an accessor to cover your bases? Why or why not?
# What is confusing to you about these methods?
=end
<commit_msg>Include release 2 reflection<commit_after>
#Attr Methods

# I worked on this challenge [by myself, with:]

# I spent [#] hours on this challenge.

# Pseudocode

# Input:
# Output:
# Steps:

class NameData

end


class Greetings

end

# Reflection - Release 1: Read and Research
=begin

What are these methods doing?
The methods are creating an instance and behaviours of Profile class, the instance is called instance_of_profile. The object is initialized with Kim's profile details : name, last name, age and occupation. The methods are defined to change and update the instance variables (their states name, age and occupation) with instance_of_profile.change_my_xxxxx so does the object's states are updated.

How are they modifying or returning the value of instance variables?
The methods are modified and changed the value of instance variables outside of the class by calling them with attributes meaning that by calling class. method. When we write the instance variable value, we use writer methods. Instead of giving arguments between parentheses, methods expect the new value after `=` notation such as
instance_of_profile.change_my_age = 28 # happy birthday! you aged one year

=end

# Reflection - Release 2: Identify the Changes
=begin
What changed between the last release and this release?
From the output perspective, nothing really changed. When we run the code, it produces the same profile information for Kim and Taylor.

What was replaced?
Is this code simpler than the last?
We replaced def what_is_age; end method with attr_reader :age both are the same things. It is definitely simplier. 

# def what_is_age
#   @age
# end

# attr_reader :age

=end

# Reflection - Release 3: More Changes
=begin
What changed between the last release and this release?
What was replaced?
Is this code simpler than the last?

=end

# Reflection - Release 6 : Reflect
=begin

# What is a reader method?
# What is a writer method?
# What do the attr methods do for you?
# Should you always use an accessor to cover your bases? Why or why not?
# What is confusing to you about these methods?
=end

{'fraction_non_alphanumeric': 0.04739824832560536, 'fraction_numerical': 0.0033487892838742917, 'mean_word_length': 4.453651685393258, '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': '5801705', 'n_tokens_mistral': 1023, 'n_tokens_neox': 976, 'n_words': 581}