<commit_before><commit_msg>Exam Model with required Constraints and Validations added<commit_after>class Exam
	include DataMapper::Resource
	property :id, Serial
	property :date, Date, :required => true,:message => 'Date is Mandatory Field in the Format yyyy/dd/mm'
	property :type, String, :required => true,:message => 'Exam Type is Mandatory Field - Internal, External, Assignment ...'
	property :min_marks,Integer, :required => true,:message => 'Minimum Marks for clearing the Exam is a Mandatory Field'
	property :max_marks,Integer, :required => true,:message => 'Maximum Marks for the Exam is a Mandatory Field'
	property :name, String, :required => true,:message => 'Exam Name is a Mandatory Field - 1st Internal ...'

	belongs_to :lectureseries, 'LectureSeries',
		:parent_key => [:id],
		:child_key => [:lecture_series_id],
		:required => true

	has n,:scores, 'Score',
		:parent_key => [:id],
		:child_key => [:exam_id]
end

{'fraction_non_alphanumeric': 0.1316916488222698, 'fraction_numerical': 0.0010706638115631692, 'mean_word_length': 5.3175675675675675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 18, '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': '1623754', 'n_tokens_mistral': 306, 'n_tokens_neox': 291, 'n_words': 97}