Analyzes free-text requirements/specification content and extracts structured requirements-engineering artifacts (actors, use cases, constraints, business rules, and more) for each requested category, using NLP sentence-similarity matching.
Given a list of force vectors (magnitude, angle, label), computes the net resultant force, each force's x/y components, LaTeX-formatted expressions, and a labeled vector diagram image.
Returns quiz-building limits for the current user based on their subscription tier: how many questions they may add per quiz and which question types they're allowed to use.
Same search logic as QuizSearchCatalog, reused via inheritance - this is the genuinely gated entry point, used exclusively by the Teacher's Import Questions flow (findQuestion() in quiz_api.js).
Image search service for the Image Tagging question type's manage-side builder (browser/static/js/manage/questiontypes/image_tagging.js) -- lets a teacher/admin search the whole site for an image to tag, without needing a separate admin/teacher branch in this code at all.
Searches the site's quiz/learning-resource catalog by subject, year, and free text. Public and ungated - used both for general quiz discovery and a teacher's 'Import Questions' flow.
Toggles a student's enrollment in a class between Active and Inactive. Teachers cannot create or delete enrollments here - only the student or parent can initiate those.