<commit_before>class SampleTransfer < ActiveRecord::Base
#  attr_accessible :destination_org_id, :notes, :sample_id, :sent_on, :source_org_id, :status

	belongs_to :sample
	belongs_to :source_org_id,      :class_name => "Organization"
	belongs_to :destination_org_id, :class_name => "Organization"

#	validates_presence_of :sample_id
#	validates_presence_of :sample, :if => :sample_id
#	validates_presence_of :source_org_id
#	validates_presence_of :source_org, :if => :source_org_id
#	validates_presence_of :destination_org_id
#	validates_presence_of :destination_org, :if => :destination_org_id

	validates_length_of   :status, :maximum => 250, :allow_blank => true
	validates_length_of   :notes,  :maximum => 65000, :allow_blank => true

end<commit_msg>Added Sample Transfer.[#305]<commit_after>class SampleTransfer < ActiveRecord::Base
#  attr_accessible :destination_org_id, :notes, :sample_id, :sent_on, :source_org_id, :status

	belongs_to :sample
	belongs_to :source_org,      :class_name => "Organization"
	belongs_to :destination_org, :class_name => "Organization"

#	validates_presence_of :sample_id
#	validates_presence_of :sample, :if => :sample_id
#	validates_presence_of :source_org_id
#	validates_presence_of :source_org, :if => :source_org_id
#	validates_presence_of :destination_org_id
#	validates_presence_of :destination_org, :if => :destination_org_id

	validates_length_of   :status, :maximum => 250, :allow_blank => true
	validates_length_of   :notes,  :maximum => 65000, :allow_blank => true

end
{'fraction_non_alphanumeric': 0.10533245556287031, 'fraction_numerical': 0.012508229098090849, 'mean_word_length': 7.53932584269663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '5298035', 'n_tokens_mistral': 568, 'n_tokens_neox': 541, 'n_words': 103}