Initial commit: PastPaper Master full stack
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
29
backend/fill_manual_study_aids.py
Normal file
29
backend/fill_manual_study_aids.py
Normal file
@@ -0,0 +1,29 @@
|
||||
"""Deprecated: study aids must come from LLM output, not template fillers."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
MESSAGE = """
|
||||
fill_manual_study_aids.py is intentionally disabled.
|
||||
|
||||
Reason:
|
||||
- knowledge_reminder / ai_hint / solution must be generated by LLM
|
||||
- template-based filler content polluted the COMP2211 course library
|
||||
|
||||
Use one of these paths instead:
|
||||
1. Regenerate study aids through the real LLM pipeline in app/services/paper_processor.py
|
||||
2. Rebuild paper_questions from a reviewed source and then run LLM generation
|
||||
|
||||
This script must not be used to backfill production study aids.
|
||||
""".strip()
|
||||
|
||||
|
||||
def main() -> None:
|
||||
print(MESSAGE, file=sys.stderr)
|
||||
raise SystemExit(1)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user