Spaces:
Running on Zero
Running on Zero
Download scripts/questions_spec.py from leeshal/EvidenceGuard-AI: direct link, hf CLI and curl.
- Browser
- Download file 28.3 kB
-
https://huggingface.co/spaces/leeshal/EvidenceGuard-AI/resolve/main/scripts/questions_spec.py
- Command line
-
hf download hf://spaces/leeshal/EvidenceGuard-AI/scripts/questions_spec.py
-
curl -L -o questions_spec.py https://huggingface.co/spaces/leeshal/EvidenceGuard-AI/resolve/main/scripts/questions_spec.py
28.3 kB
| """ | |
| Evaluation question specification (100 questions) for the SYNTHETIC AVU corpus. | |
| Fields | |
| id, category, question, expected_answer, | |
| keywords : list of key facts that a correct answer must contain (normalised match; | |
| an item "a|b" means either a or b is acceptable), | |
| evidence : list of (doc_id, exact phrase) - the page is located automatically, | |
| status : expected evidence status -> sufficient | insufficient | conflicting | |
| behaviour : expected system behaviour -> answer | abstain | flag_conflict | correct_premise | |
| Categories: answerable (30), multi_passage (20), missing (15), misleading (15), conflicting (20) | |
| """ | |
| Q = [] | |
| def add(qid, cat, question, answer, keywords, evidence, status, behaviour): | |
| Q.append(dict(id=qid, category=cat, question=question, expected_answer=answer, | |
| keywords=keywords, evidence=evidence, status=status, behaviour=behaviour)) | |
| # ----------------------------------------------------------------- answerable (30) | |
| A = "answerable" | |
| add("A01", A, "How many marks are allotted to internal assessment in a theory course?", | |
| "40 marks are allotted to internal assessment (the end-semester exam carries 60).", | |
| ["40 marks"], [("D04", "40 marks for internal assessment")], "sufficient", "answer") | |
| add("A02", A, "How many marks does the end-semester examination of a theory course carry?", | |
| "60 marks.", ["60 marks"], [("D04", "60 marks for the end-semester examination")], "sufficient", "answer") | |
| add("A03", A, "What is the duration of an internal test?", | |
| "Internal tests are 60 minutes long.", ["60 minutes"], | |
| [("D04", "Internal tests are of 60 minutes duration")], "sufficient", "answer") | |
| add("A04", A, "Within how many working days must a medical certificate be submitted to take a make-up test?", | |
| "Within 3 working days of the missed test.", ["3 working days"], | |
| [("D04", "medical certificate is submitted within 3 working days of the missed test")], "sufficient", "answer") | |
| add("A05", A, "By what time on the due date must assignments be submitted on AVU-Learn?", | |
| "By 11:59 PM on the due date.", ["11:59"], | |
| [("D05", "by 11:59 PM on the due date")], "sufficient", "answer") | |
| add("A06", A, "What is the maximum file size allowed for an assignment submission?", | |
| "A single PDF of no more than 10 MB.", ["10 mb"], | |
| [("D05", "single PDF file of no more than 10 MB")], "sufficient", "answer") | |
| add("A07", A, "What is the maximum number of members allowed in a group assignment?", | |
| "At most 4 members.", ["4 members"], [("D05", "at most 4 members")], "sufficient", "answer") | |
| add("A08", A, "What happens if an assignment has a similarity index above 40%?", | |
| "It receives zero marks and is referred to the Academic Integrity Committee.", | |
| ["zero marks", "academic integrity committee"], | |
| [("D05", "A similarity index above 40% results in zero marks")], "sufficient", "answer") | |
| add("A09", A, "On what date do the odd semester end-semester examinations conclude?", | |
| "12 December 2025.", ["12 december 2025"], | |
| [("D06", "conclude on 12 December 2025")], "sufficient", "answer") | |
| add("A10", A, "What are the timings of the afternoon examination session?", | |
| "2:00 PM to 5:00 PM.", ["2:00 pm", "5:00 pm"], | |
| [("D06", "Afternoon session: 2:00 PM to 5:00 PM")], "sufficient", "answer") | |
| add("A11", A, "How early must students report before an examination session starts?", | |
| "30 minutes before the start of the session.", ["30 minutes"], | |
| [("D06", "Students must report 30 minutes before the start of the session")], "sufficient", "answer") | |
| add("A12", A, "On which date is the MDS302 Generative AI and LLMs examination?", | |
| "03 December 2025, morning session.", ["03 december 2025|3 december 2025"], | |
| [("D06", "MDS302 Generative AI and LLMs")], "sufficient", "answer") | |
| add("A13", A, "What type of calculator is permitted in the examination hall?", | |
| "Only non-programmable scientific calculators.", ["non-programmable"], | |
| [("D06", "Only non-programmable scientific calculators are permitted")], "sufficient", "answer") | |
| add("A14", A, "By when will the odd semester examination results be announced?", | |
| "By 15 January 2026.", ["15 january 2026"], | |
| [("D06", "will be announced by 15 January 2026")], "sufficient", "answer") | |
| add("A15", A, "What tuition fee waiver does a student with a CGPA of 9.0 or above receive?", | |
| "A 50% tuition fee waiver.", ["50%"], | |
| [("D07", "CGPA of 9.0 or above in the previous academic year receive a 50% tuition fee waiver")], "sufficient", "answer") | |
| add("A16", A, "What tuition fee waiver is given to students with a CGPA between 8.5 and 8.99?", | |
| "A 25% tuition fee waiver.", ["25%"], | |
| [("D07", "between 8.5 and 8.99 receive a 25% tuition fee waiver")], "sufficient", "answer") | |
| add("A17", A, "What is the amount of the need-based scholarship?", | |
| "INR 30,000 per year.", ["30000"], | |
| [("D07", "need-based scholarship of INR 30,000 per year")], "sufficient", "answer") | |
| add("A18", A, "What CGPA is required for a scholarship to be renewed?", | |
| "A CGPA of at least 8.0 (and no disciplinary action).", ["8.0"], | |
| [("D07", "renewed annually subject to a CGPA of at least 8.0")], "sufficient", "answer") | |
| add("A19", A, "Can a student hold an external scholarship together with a university scholarship?", | |
| "Yes, a student may simultaneously hold one external (government or private) scholarship.", | |
| ["one external"], [("D07", "simultaneously hold one external")], "sufficient", "answer") | |
| add("A20", A, "How many credits must a PG student register for in a semester?", | |
| "A minimum of 18 and a maximum of 26 credits.", ["18", "26"], | |
| [("D09", "minimum of 18 and a maximum of 26 credits per semester")], "sufficient", "answer") | |
| add("A21", A, "What is the fee for late course registration?", | |
| "INR 2,000 (late registration allowed until 22 July 2025).", ["2000"], | |
| [("D09", "with a late fee of INR 2,000")], "sufficient", "answer") | |
| add("A22", A, "How many open electives can a student register for per semester?", | |
| "A maximum of 2 open electives per semester.", ["2 open electives"], | |
| [("D09", "maximum of 2 open electives per semester")], "sufficient", "answer") | |
| add("A23", A, "For how many semesters can a student take academic leave during the programme?", | |
| "A maximum of two semesters.", ["two semesters"], | |
| [("D10", "maximum of two semesters")], "sufficient", "answer") | |
| add("A24", A, "How far in advance must an application for academic leave be submitted?", | |
| "At least 30 days before the start of the semester (except medical emergencies).", ["30 days"], | |
| [("D10", "at least 30 days before the start of the semester")], "sufficient", "answer") | |
| add("A25", A, "What fee must a student pay per semester while on academic leave?", | |
| "A registration retention fee of INR 5,000 per semester (no tuition fee).", ["5000"], | |
| [("D10", "registration retention fee of INR 5,000 per semester")], "sufficient", "answer") | |
| add("A26", A, "What is the maximum duration allowed to complete a programme?", | |
| "The normal duration plus two years, including any academic leave.", ["two years"], | |
| [("D10", "normal duration plus two years")], "sufficient", "answer") | |
| add("A27", A, "What are the Central Library's opening hours on Saturdays?", | |
| "9:00 AM to 5:00 PM.", ["9:00 am", "5:00 pm"], | |
| [("D11", "from 9:00 AM to 5:00 PM on Saturdays")], "sufficient", "answer") | |
| add("A28", A, "How many books can research scholars borrow and for how long?", | |
| "Up to 8 books for 30 days.", ["8 books", "30 days"], | |
| [("D11", "Research scholars may borrow up to 8 books for 30 days")], "sufficient", "answer") | |
| add("A29", A, "Which grade is awarded for marks between 80 and 89?", | |
| "Grade A+ (grade point 9).", ["a+"], | |
| [("D13", "Grade A+ (grade point 9): 80 to 89 marks")], "sufficient", "answer") | |
| add("A30", A, "What minimum mark is needed in the end-semester examination to pass a course?", | |
| "At least 35% in the end-semester examination (21 out of 60).", ["35%|21 out of 60"], | |
| [("D13", "at least 35% in the end-semester examination (21 out of 60)")], "sufficient", "answer") | |
| # ----------------------------------------------------------------- multi-passage (20) | |
| M = "multi_passage" | |
| add("M01", M, "What minimum internal assessment marks are needed for exam eligibility, and how many marks is each internal test worth?", | |
| "At least 16 out of 40 IA marks (40%); each internal test is worth 15 marks.", ["16", "15 marks"], | |
| [("D03", "that is, at least 16 out of 40"), ("D04", "Internal Test 1 (15 marks)")], "sufficient", "answer") | |
| add("M02", M, "When is Internal Test 1 held this semester, and what must a student do to take a make-up test if they miss it through illness?", | |
| "1-5 September 2025; submit a medical certificate within 3 working days to take one make-up test.", | |
| ["1 september 2025", "3 working days"], | |
| [("D14", "Internal Test 1: 1 September 2025 to 5 September 2025"), | |
| ("D04", "medical certificate is submitted within 3 working days of the missed test")], "sufficient", "answer") | |
| add("M03", M, "What happens to a student whose attendance is still short after condonation, and to whom can an eligibility decision be appealed?", | |
| "They are marked NE (Not Eligible) and must re-register; appeals go to the Controller of Examinations within 3 working days.", | |
| ["not eligible", "controller of examinations"], | |
| [("D01", "will be marked NE"), ("D03", "may appeal against an eligibility decision")], "sufficient", "answer") | |
| add("M04", M, "Does approved medical leave count as attendance, and for how many days can a Head of Department approve medical leave?", | |
| "No, it does not count as attendance (only for condonation); up to 15 days per semester.", | |
| ["15 days", "condonation"], | |
| [("D10", "Medical leave of up to 15 days"), ("D10", "Approved medical leave does not count as attendance")], "sufficient", "answer") | |
| add("M05", M, "Do library dues affect examination eligibility, and what is charged for a lost library book?", | |
| "No, but they must be cleared before results are released; lost books cost twice the current price.", | |
| ["results", "twice"], | |
| [("D03", "Library dues do not affect examination eligibility"), ("D11", "paid for at twice the current price")], "sufficient", "answer") | |
| add("M06", M, "What CGPA is needed for First Class with Distinction, and what CGPA earns a 50% merit tuition waiver?", | |
| "8.0 or above for First Class with Distinction; 9.0 or above for a 50% waiver.", ["8.0", "9.0"], | |
| [("D13", "First Class with Distinction is awarded for a CGPA of 8.0 or above"), | |
| ("D07", "CGPA of 9.0 or above in the previous academic year receive a 50% tuition fee waiver")], "sufficient", "answer") | |
| add("M07", M, "Can reference books be borrowed, and how many times can a borrowed book be renewed?", | |
| "Reference books cannot be borrowed; a borrowed book can be renewed once if not reserved.", ["cannot", "once"], | |
| [("D11", "Reference books cannot be borrowed"), ("D11", "may be renewed once")], "sufficient", "answer") | |
| add("M08", M, "How many internal assessment marks are given for assignments, and in what file format must assignments be submitted?", | |
| "5 marks; as a single PDF file (max 10 MB).", ["5 marks", "pdf"], | |
| [("D04", "Assignment (5 marks)"), ("D05", "single PDF file of no more than 10 MB")], "sufficient", "answer") | |
| add("M09", M, "When does odd semester course registration close, and what is the last date for late registration?", | |
| "Closes 15 July 2025; late registration until 22 July 2025.", ["15 july 2025", "22 july 2025"], | |
| [("D09", "closes on 15 July 2025"), ("D09", "permitted until 22 July 2025")], "sufficient", "answer") | |
| add("M10", M, "When do odd semester classes begin and what is the last working day of the odd semester?", | |
| "Classes begin 21 July 2025; last working day 21 November 2025.", ["21 july 2025", "21 november 2025"], | |
| [("D14", "classes begin on 21 July 2025"), ("D14", "Last working day of the odd semester: 21 November 2025")], "sufficient", "answer") | |
| add("M11", M, "What documents must be submitted for the need-based scholarship, and how recent must the income certificate be?", | |
| "An income certificate from a competent authority issued within the last 6 months, and the previous year's marks card.", | |
| ["6 months", "marks card"], | |
| [("D07", "within the last 6 months and the marks card of the previous year")], "sufficient", "answer") | |
| add("M12", M, "If a student qualifies for both the merit and need-based scholarships, what do they receive, and what is needed to renew it?", | |
| "Only the higher-value scholarship; renewal needs a CGPA of at least 8.0 and no disciplinary action.", | |
| ["higher-value", "8.0"], | |
| [("D07", "the higher-value scholarship is awarded"), ("D07", "renewed annually subject to a CGPA of at least 8.0")], "sufficient", "answer") | |
| add("M13", M, "How long is each internal test and in which weeks of the semester are they conducted?", | |
| "60 minutes; in the 7th and 13th weeks.", ["60 minutes", "7th", "13th"], | |
| [("D04", "conducted in the 7th and 13th weeks of the semester")], "sufficient", "answer") | |
| add("M14", M, "Within how many days are internal assessment marks published after a test, and how long do students have to request a review?", | |
| "Within 10 working days; review requests within 5 working days of publication.", | |
| ["10 working days", "5 working days"], | |
| [("D04", "within 10 working days of each test"), ("D04", "within 5 working days of publication")], "sufficient", "answer") | |
| add("M15", M, "How long an extension can an instructor grant for an assignment, and what happens if the similarity index is above 20%?", | |
| "Up to 5 days if requested before the deadline; similarity above 20% requires resubmission within 3 days.", | |
| ["5 days", "resubmission"], | |
| [("D05", "Extensions of up to 5 days"), ("D05", "A similarity index above 20% requires resubmission within 3 days")], "sufficient", "answer") | |
| add("M16", M, "Which MSc Data Science Semester 3 examination is held in the afternoon session, and what are the afternoon session timings?", | |
| "MDS305 Security for Data Science on 10 December 2025; 2:00 PM to 5:00 PM.", | |
| ["security for data science|mds305", "2:00 pm"], | |
| [("D06", "MDS305 Security for Data Science - Afternoon session"), ("D06", "Afternoon session: 2:00 PM to 5:00 PM")], "sufficient", "answer") | |
| add("M17", M, "When are supplementary examinations held, and what is the maximum grade that can be awarded in them?", | |
| "In June and July; the maximum grade is A.", ["june", "grade a"], | |
| [("D13", "Supplementary examinations are held in June and July")], "sufficient", "answer") | |
| add("M18", M, "How many backlog courses prevent promotion to the next year, and when can backlogs be cleared through supplementary examinations?", | |
| "More than 4 backlog courses; supplementary exams are held in June and July.", ["4 backlog", "june"], | |
| [("D13", "more than 4 backlog courses"), ("D13", "Supplementary examinations are held in June and July")], "sufficient", "answer") | |
| add("M19", M, "How is participation in university-approved events treated for attendance, and who must approve it?", | |
| "Counted as present for up to 10 contact hours per semester with prior approval of the Head of Department.", | |
| ["10 contact hours", "head of department"], | |
| [("D01", "counted as present for up to 10 contact hours")], "sufficient", "answer") | |
| add("M20", M, "A student returning from academic leave must re-register within which window, and what are the regular odd semester registration dates?", | |
| "Within the regular registration window: 1 July 2025 to 15 July 2025.", ["1 july 2025", "15 july 2025"], | |
| [("D10", "must re-register within the regular registration window"), | |
| ("D09", "opens on 1 July 2025 and closes on 15 July 2025")], "sufficient", "answer") | |
| # ----------------------------------------------------------------- missing (15) | |
| N = "missing" | |
| missing = [ | |
| "What is the fee for revaluation of answer scripts?", | |
| "Who is the current Vice-Chancellor of Aranya Valley University?", | |
| "What is the annual hostel fee for PhD students?", | |
| "Does the university offer a sports quota scholarship?", | |
| "What is the dress code during end-semester examinations?", | |
| "Can students take the end-semester examinations online from home?", | |
| "What minimum CGPA is required to sit for campus placements?", | |
| "How many total credits are required to graduate from the MSc Data Science programme?", | |
| "What is the fee for a duplicate hall ticket?", | |
| "On what date will the 2026 convocation ceremony be held?", | |
| "What is the university policy on using generative AI tools such as ChatGPT in assignments?", | |
| "What is the parking fee for students' two-wheelers on campus?", | |
| "What is the late fine for paying tuition fees after the due date?", | |
| "Does the university offer a tuition fee concession for siblings?", | |
| "What is the timetable for the even semester examinations in May 2026?", | |
| ] | |
| for i, q in enumerate(missing, 1): | |
| add(f"N{i:02d}", N, q, "The documents do not contain this information; the system should abstain.", | |
| [], [], "insufficient", "abstain") | |
| # ----------------------------------------------------------------- misleading / irrelevant context (15) | |
| I = "misleading" | |
| add("I01", I, "Given that internal assessment carries 50 marks, how many marks does the end-semester examination carry?", | |
| "The premise is wrong: IA carries 40 marks and the end-semester examination carries 60 marks.", | |
| ["40 marks", "60 marks"], [("D04", "40 marks for internal assessment")], "sufficient", "correct_premise") | |
| add("I02", I, "Since PG students can register for up to 30 credits, what is the minimum number of credits?", | |
| "The maximum is 26, not 30; the minimum is 18.", ["18", "26"], | |
| [("D09", "minimum of 18 and a maximum of 26 credits per semester")], "sufficient", "correct_premise") | |
| add("I03", I, "As research scholars can borrow 10 books, what is their loan period?", | |
| "Research scholars may borrow up to 8 books (not 10) for 30 days.", ["8 books", "30 days"], | |
| [("D11", "Research scholars may borrow up to 8 books for 30 days")], "sufficient", "correct_premise") | |
| add("I04", I, "Since a CGPA of 8.0 earns a 50% merit tuition waiver, what does a CGPA of 9.0 earn?", | |
| "The 50% waiver requires a CGPA of 9.0 or above; 8.5-8.99 earns 25%.", ["9.0", "50%"], | |
| [("D07", "CGPA of 9.0 or above in the previous academic year receive a 50% tuition fee waiver")], "sufficient", "correct_premise") | |
| add("I05", I, "Given that academic leave can be taken for up to four semesters, how early must a student apply?", | |
| "Academic leave is limited to two semesters; apply at least 30 days before the semester.", | |
| ["two semesters", "30 days"], | |
| [("D10", "maximum of two semesters"), ("D10", "at least 30 days before the start of the semester")], "sufficient", "correct_premise") | |
| add("I06", I, "As the MDS301 Deep Learning exam is in the afternoon session, what time does it start?", | |
| "It is in the morning session (01 December 2025), which starts at 10:00 AM.", ["10:00 am"], | |
| [("D06", "MDS301 Deep Learning - Morning session"), ("D06", "Morning session: 10:00 AM to 1:00 PM")], "sufficient", "correct_premise") | |
| add("I07", I, "Since make-up internal tests are allowed for any reason, how many can a student take per semester?", | |
| "Make-up tests are only for medical grounds; one make-up test per semester.", ["one make-up test", "medical"], | |
| [("D04", "may take one make-up test per semester")], "sufficient", "correct_premise") | |
| add("I08", I, "What is the late fee for course registration?", | |
| "INR 2,000 (not the INR 500 hostel fine).", ["2000"], | |
| [("D09", "with a late fee of INR 2,000")], "sufficient", "answer") | |
| add("I09", I, "Above what similarity percentage must an assignment be resubmitted?", | |
| "Above 20%.", ["20%"], | |
| [("D05", "A similarity index above 20% requires resubmission within 3 days")], "sufficient", "answer") | |
| add("I10", I, "At what time does the Central Library close on working days?", | |
| "10:00 PM.", ["10:00 pm"], | |
| [("D11", "from 8:00 AM to 10:00 PM on working days")], "sufficient", "answer") | |
| add("I11", I, "How many days before the examinations is the attendance shortage list published?", | |
| "7 days before the commencement of end-semester examinations.", ["7 days"], | |
| [("D01", "published 7 days before the commencement of end-semester examinations")], "sufficient", "answer") | |
| add("I12", I, "How many contact hours of approved event participation can be counted as present?", | |
| "Up to 10 contact hours per semester.", ["10 contact hours"], | |
| [("D01", "counted as present for up to 10 contact hours")], "sufficient", "answer") | |
| add("I13", I, "What is the minimum CGPA for First Class (without distinction)?", | |
| "6.5 (First Class is CGPA 6.5 to 7.99).", ["6.5"], | |
| [("D13", "First Class is awarded for a CGPA from 6.5 to 7.99")], "sufficient", "answer") | |
| add("I14", I, "For how many days can a course instructor extend an assignment deadline?", | |
| "Up to 5 days.", ["5 days"], [("D05", "Extensions of up to 5 days")], "sufficient", "answer") | |
| add("I15", I, "Is a calculator with programmable memory allowed in the examination hall?", | |
| "No - only non-programmable scientific calculators are permitted.", ["non-programmable"], | |
| [("D06", "Only non-programmable scientific calculators are permitted")], "sufficient", "answer") | |
| # ----------------------------------------------------------------- conflicting (20) | |
| C = "conflicting" | |
| add("C01", C, "What is the minimum attendance required to appear for end-semester examinations?", | |
| "Conflict: Attendance Regulations 2023 say 75%; Circular 2025/014 revises it to 80% from 2025-26 (supersedes).", | |
| ["75%", "80%"], [("D01", "minimum of 75% attendance"), ("D02", "revised to 80%")], "conflicting", "flag_conflict") | |
| add("C02", C, "Up to what percentage can an attendance shortage be condoned on medical grounds?", | |
| "Conflict: 10% under the 2023 regulations; limited to 5% by the 2025 circular.", | |
| ["10%", "5%"], [("D01", "shortage of attendance of up to 10%"), ("D02", "limited to 5%")], "conflicting", "flag_conflict") | |
| add("C03", C, "What is the condonation fee per course for attendance shortage?", | |
| "Conflict: INR 500 (2023 regulations) vs INR 1,000 (2025 circular).", | |
| ["500", "1000"], [("D01", "condonation fee of INR 500 per course"), ("D02", "revised to INR 1,000 per course")], "conflicting", "flag_conflict") | |
| add("C04", C, "According to the examination eligibility rules, what attendance is needed in a course to sit its end-semester exam?", | |
| "Conflict: the eligibility rules (2024) state 75%, but the 2025 circular raises the requirement to 80%.", | |
| ["75%", "80%"], [("D03", "attendance requirement of 75%"), ("D02", "revised to 80%")], "conflicting", "flag_conflict") | |
| add("C05", C, "What is the last date to apply for a scholarship for 2025-26?", | |
| "Conflict: 31 August 2025 (policy) vs extended to 15 September 2025 (notice).", | |
| ["31 august 2025", "15 september 2025"], | |
| [("D07", "by 31 August 2025"), ("D08", "extended to 15 September 2025")], "conflicting", "flag_conflict") | |
| add("C06", C, "What is the family income limit for the need-based scholarship?", | |
| "Conflict: INR 6,00,000 (policy) vs INR 8,00,000 (revised notice).", | |
| ["600000", "800000"], | |
| [("D07", "does not exceed INR 6,00,000"), ("D08", "revised to INR 8,00,000")], "conflicting", "flag_conflict") | |
| add("C07", C, "Are late assignment submissions accepted?", | |
| "Conflict: the Assignment Policy accepts up to 3 days late with 10%/day penalty; the IA Guidelines say late assignments will not be accepted for IA.", | |
| ["10%", "not be accepted"], | |
| [("D05", "Late submissions are accepted for up to 3 calendar days"), ("D04", "will not be accepted for internal assessment")], "conflicting", "flag_conflict") | |
| add("C08", C, "What is the penalty for submitting an assignment one day late?", | |
| "Conflict: 10% of maximum marks per day (Assignment Policy) vs not accepted at all (IA Guidelines).", | |
| ["10%", "not be accepted"], | |
| [("D05", "penalty of 10% of the maximum marks per day"), ("D04", "will not be accepted for internal assessment")], "conflicting", "flag_conflict") | |
| add("C09", C, "How many books can a postgraduate student borrow from the library?", | |
| "Conflict: 5 books (2023 regulations) vs 6 books from 1 August 2025 (notice).", | |
| ["5 books", "6 books"], | |
| [("D11", "Postgraduate students may borrow up to 5 books"), ("D12", "may borrow up to 6 books")], "conflicting", "flag_conflict") | |
| add("C10", C, "For how many days can a postgraduate student keep a borrowed library book?", | |
| "Conflict: 14 days (2023) vs 21 days (2025 notice).", ["14 days", "21 days"], | |
| [("D11", "Postgraduate students may borrow up to 5 books for 14 days"), ("D12", "for a period of 21 days")], "conflicting", "flag_conflict") | |
| add("C11", C, "What is the library overdue fine per book per day?", | |
| "Conflict: INR 5 (2023) vs INR 10 (2025 notice).", ["inr 5 ", "inr 10 "], | |
| [("D11", "overdue fine of INR 5 per book per day"), ("D12", "revised to INR 10 per book per day")], "conflicting", "flag_conflict") | |
| add("C12", C, "How long is the add/drop period for elective courses?", | |
| "Conflict: 10 working days (Registration Guidelines) vs 7 working days (Academic Calendar).", | |
| ["10 working days", "7 working days"], | |
| [("D09", "within 10 working days from the start of classes"), ("D14", "7 working days from the start of classes")], "conflicting", "flag_conflict") | |
| add("C13", C, "What minimum aggregate percentage is needed to pass a postgraduate course?", | |
| "Conflict: 40% (Grading Policy) vs 50% for PG courses (PG Handbook).", ["40%", "50%"], | |
| [("D13", "at least 40% marks in aggregate"), ("D15", "at least 50% marks in aggregate")], "conflicting", "flag_conflict") | |
| add("C14", C, "On what date do the odd semester end-semester examinations begin?", | |
| "Conflict: 1 December 2025 (Timetable, Oct 2025) vs 3 December 2025 (Academic Calendar, June 2025).", | |
| ["1 december 2025", "3 december 2025"], | |
| [("D06", "commence on 1 December 2025"), ("D14", "End-semester examinations: from 3 December 2025")], "conflicting", "flag_conflict") | |
| add("C15", C, "Can I drop an elective course 9 working days after classes start?", | |
| "Conflict: allowed under the Registration Guidelines (10 working days) but not under the Academic Calendar (7 working days).", | |
| ["10 working days", "7 working days"], | |
| [("D09", "within 10 working days from the start of classes"), ("D14", "7 working days from the start of classes")], "conflicting", "flag_conflict") | |
| add("C16", C, "If my attendance in a course is 78%, am I eligible for the end-semester examination?", | |
| "Conflict: eligible under the 2023 rule (75%), but below the 80% minimum under the 2025 circular (condonable between 75% and 80%).", | |
| ["75%", "80%"], [("D01", "minimum of 75% attendance"), ("D02", "revised to 80%")], "conflicting", "flag_conflict") | |
| add("C17", C, "If a PG student scores 45% in aggregate in a course, do they pass?", | |
| "Conflict: pass under the Grading Policy (40%), fail under the PG Handbook (50%).", ["40%", "50%"], | |
| [("D13", "at least 40% marks in aggregate"), ("D15", "at least 50% marks in aggregate")], "conflicting", "flag_conflict") | |
| add("C18", C, "What is the lowest attendance percentage that can be condoned on medical grounds?", | |
| "Conflict: 65% under the 2023 regulations vs 75% under the 2025 circular.", ["65%", "75%"], | |
| [("D01", "attendance between 65% and 75%"), ("D02", "attendance between 75% and 80%")], "conflicting", "flag_conflict") | |
| add("C19", C, "Which attendance rule is the latest, and what minimum attendance does it require?", | |
| "Conflict: the 2025 circular (latest) requires 80%, superseding the 75% of the 2023 regulations.", | |
| ["80%", "75%"], [("D02", "revised to 80%"), ("D01", "minimum of 75% attendance")], "conflicting", "flag_conflict") | |
| add("C20", C, "According to the academic calendar, what is the scholarship application deadline, and has it changed?", | |
| "Conflict: the calendar says 31 August 2025, but the notice extends it to 15 September 2025.", | |
| ["31 august 2025", "15 september 2025"], | |
| [("D14", "Last date for scholarship applications: 31 August 2025"), ("D08", "extended to 15 September 2025")], "conflicting", "flag_conflict") | |
| assert len(Q) == 100, len(Q) | |