feat: Add authentic JEE/NEET mock tests and fix CBT frontend filtering

This commit is contained in:
2026-09-24 19:55:12 +05:30
parent 48350bc996
commit a294ee8b9e
9 changed files with 10079 additions and 266 deletions

11
fix_print.py Normal file
View File

@@ -0,0 +1,11 @@
import os
with open('backend/seed.py', 'r', encoding='utf-8') as f:
content = f.read()
content = content.replace('print(f"JEE Test ID: {jee_test.id}")', 'print(f"JEE Test ID: {jee_test_id}")')
content = content.replace('print(f"NEET Test ID: {neet_test.id}")', 'print(f"NEET Test ID: {neet_test_id}")')
content = content.replace('print(f"DPS Sheets: {len(dps_json_files)} seeded from admin_uploads/\\n")', 'print("DPS Sheets: seeded from admin_uploads/\\n")')
with open('backend/seed.py', 'w', encoding='utf-8') as f:
f.write(content)