{"id":23136,"library":"ora2","title":"edx-ora2 (Open Response Assessment)","description":"edx-ora2 is the Open edX plugin for Open Response Assessment (ORA) problems. It provides peer, self, and AI grading workflows in edx-platform. Current version: 7.0.0. Release cadence: irregular, major releases roughly annually.","status":"active","version":"7.0.0","language":"python","source_language":"en","source_url":"https://github.com/openedx/edx-ora2","tags":["open-edx","xblock","assessment","peer-review","edx-platform"],"install":[{"cmd":"pip install ora2","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"Runtime dependency; ora2 is an XBlock plugin for Open edX.","package":"edx-platform","optional":false}],"imports":[{"note":"Primary XBlock class for ORA.","wrong":null,"symbol":"OraBlock","correct":"from ora2 import OraBlock"},{"note":"Configuration model for ORA instances.","wrong":null,"symbol":"OraConfig","correct":"from ora2.models import OraConfig"}],"quickstart":{"code":"import os\nfrom ora2 import OraBlock\n\n# OraBlock is typically loaded by the XBlock runtime, not used standalone.\n# Configuration is done via Django admin or settings.\nprint(\"ORA2 library imported successfully.\")\n","lang":"python","description":"Quick import check for ora2; full usage requires an Open edX environment with edx-platform."},"warnings":[{"fix":"Upgrade to Python 3.12+ and rebuild your virtual environment.","message":"Drop of Python 3.11 support in version 7.0.0. Ensure your environment uses Python 3.12 or later.","severity":"breaking","affected_versions":">=7.0.0"},{"fix":"Only install ora2 in an Open edX environment (e.g., via tutor or devstack).","message":"ora2 depends on edx-platform Django models and signals. Direct use outside an Open edX installation will fail with import errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Run `pip install -e .` and `npm install` in the ora2 repo if developing locally.","message":"ORA blocks use a custom JavaScript application that may conflict with other XBlock JS. Ensure asset bundling includes ora2's static files.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run `pip install ora2` in the correct Python environment.","cause":"ora2 not installed or not in PYTHONPATH.","error":"ModuleNotFoundError: No module named 'ora2'"},{"fix":"Uninstall all versions (`pip uninstall ora2`) and reinstall the correct version.","cause":"Two versions of ora2 installed or a conflicting module with same app label.","error":"django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: ora2"},{"fix":"Ensure the ORA block is saved within a course runtime (e.g., via studio or LMS). This is a known bug fixed in 6.11.1; upgrade if using an older version.","cause":"Missing or incomplete course context when saving ORA block data.","error":"KeyError: 'course_key' while saving an ORA block"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}