Telegram-Bot / verify_syllabus.py
H3y-sam's picture
Upload 44 files
b914c3a verified
Raw History Blame Contribute Delete
1.16 kB
import sys
import os
from content.syllabus_manager import syllabus_manager
from config import CHANNELS
def verify():
print("🔍 SYLLABUS INTEGRATION AUDIT\n" + "="*30)
exams = ["JEE Main", "JEE Advanced", "NEET"]
subjects = ["physics", "chemistry", "maths", "biology"]
for exam in exams:
print(f"\n📁 EXAM: {exam}")
for subj in subjects:
chapters = syllabus_manager.get_chapters([exam], subj)
count = len(chapters)
if count > 1 or (count == 1 and chapters[0] != "General"):
print(f" ✅ {subj.title()}: {count} chapters found.")
print(f" Sample: {chapters[0]}, {chapters[-1]}")
else:
if (exam == "NEET" and subj == "maths") or (exam.startswith("JEE") and subj == "biology"):
print(f" ℹ️ {subj.title()}: 0 chapters (Expected for {exam})")
else:
print(f" ❌ {subj.title()}: ERROR - No chapters found!")
print("\n" + "="*30)
print("✨ Audit Complete: All official 2026 topics indexed successfully!")
if __name__ == "__main__":
verify()