The Open edX LMS & Studio, powering education sites around the world!
This report presents the forensic synthetic code analysis of openedx/openedx-platform, a Python project with 8,141 GitHub stars. SynthScan v2.0 examined 1,044,917 lines of code across 6291 source files, recording 15805 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 17.9 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 15805 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lms/djangoapps/commerce/utils.py | 30 | def is_account_activation_requirement_disabled(): | CODE |
| LOW | lms/djangoapps/commerce/utils.py | 56 | def get_absolute_ecommerce_url(self, ecommerce_page_url): | CODE |
| LOW | lms/djangoapps/commerce/utils.py | 396 | def _send_refund_notification(user, refund_ids): | CODE |
| LOW | lms/djangoapps/commerce/utils.py | 420 | def _generate_refund_notification_body(student, refund_ids): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 83 | def test_is_enabled_activation_requirement_disabled(self): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 91 | def test_is_enabled_for_sites(self, is_site): | CODE |
| LOW⚡ | lms/djangoapps/commerce/tests/test_utils.py | 103 | def test_get_absolute_ecommerce_url(self): | CODE |
| LOW⚡ | lms/djangoapps/commerce/tests/test_utils.py | 109 | def test_get_receipt_page_url(self): | CODE |
| LOW⚡ | lms/djangoapps/commerce/tests/test_utils.py | 117 | def test_get_order_dashboard_url(self): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 140 | def test_get_checkout_page_url(self, skus, program_uuid=None): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 168 | def test_get_checkout_page_url_with_enterprise_catalog_uuid(self, skus, enterprise_catalog_uuid): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 204 | def test_ecommerce_service_not_configured(self, mock_commerce_configured): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 211 | def test_no_ecommerce_connection_and_failure(self): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 224 | def test_ecommerce_successful_refund(self): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 254 | def test_ecommerce_refund_failed_process_notification_sent(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 278 | def test_ecommerce_refund_not_verified_notification_for_entitlement(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 309 | def test_ecommerce_refund_send_notification_failed(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_utils.py | 339 | def test_mode_change_after_refund_seat(self, course_modes, new_mode): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 147 | def test_notification_when_approval_fails(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 162 | def test_notification_if_automatic_approval_disabled(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 176 | def test_no_notification_after_approval(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 191 | def test_notification_no_refund(self, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 208 | def test_notification_not_verified(self, mode, mock_send_notification): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 234 | def test_notification_themed_site(self, mock_is_request_in_themed_site): # pylint: disable=unused-argument | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 244 | def test_send_refund_notification(self, student_email, mock_zendesk): | CODE |
| LOW⚡ | lms/djangoapps/commerce/tests/test_signals.py | 267 | def call_create_zendesk_ticket(self, name='Test user', email='user@example.com', subject='Test Ticket', | CODE |
| LOW⚡ | lms/djangoapps/commerce/tests/test_signals.py | 274 | def test_create_zendesk_ticket_no_settings(self): | CODE |
| LOW⚡ | lms/djangoapps/commerce/tests/test_signals.py | 281 | def test_create_zendesk_ticket_request_error(self): | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 293 | def test_create_zendesk_ticket(self): | CODE |
| LOW | lms/djangoapps/commerce/tests/__init__.py | 77 | def test_invalid_configuration(self, kwargs): | CODE |
| LOW | …/create_orders_for_old_enterprise_course_enrollment.py | 38 | def _get_enrollments_queryset(self, start_index, end_index): | CODE |
| LOW | …/create_orders_for_old_enterprise_course_enrollment.py | 56 | def _create_manual_enrollment_orders(self, enrollments): | CODE |
| LOW | …/create_orders_for_old_enterprise_course_enrollment.py | 96 | def _is_paid_mode_course_enrollment(self, username, course_id): | CODE |
| LOW | …_create_orders_for_old_enterprise_course_enrollmnet.py | 36 | def _create_enterprise_course_enrollments(cls, count): | CODE |
| LOW | …_create_orders_for_old_enterprise_course_enrollmnet.py | 80 | def test_command_start_and_end_index(self, mock_create_manual_enrollment_orders): | CODE |
| LOW | …e/management/commands/tests/test_configure_commerce.py | 17 | def test_commerce_configuration(self): | CODE |
| LOW | …e/management/commands/tests/test_configure_commerce.py | 51 | def test_site_associated_commerce_configuration(self): | CODE |
| LOW | …s/djangoapps/commerce/api/v1/tests/test_serializers.py | 12 | def test_validate_course_id_with_non_existent_course(self): | CODE |
| LOW | …s/djangoapps/commerce/api/v1/tests/test_serializers.py | 20 | def test_validate_course_id_with_invalid_key(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 92 | def test_authentication_required(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 129 | def test_authentication_required(self, method): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 136 | def test_authorization_required(self, method): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 152 | def test_retrieve_invalid_course(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 158 | def _get_update_response_and_expected_data(self, mode_expiration, verification_deadline): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 196 | def test_update_invalid_dates(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 212 | def test_update_verification_deadline_without_expiring_modes(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 223 | def test_update_remove_verification_deadline(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 247 | def test_update_verification_deadline_left_alone(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 273 | def test_remove_upgrade_deadline(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 339 | def test_update_professional_expiration(self, mode_slug, expiration_datetime_name): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 394 | def test_create_with_permissions(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_views.py | 408 | def test_create_with_non_existent_course(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_models.py | 29 | def test_get_mode_display_name(self, slug, expected_display_name): | CODE |
| LOW | lms/djangoapps/commerce/api/v1/tests/test_models.py | 34 | def test_get_mode_display_name_unknown_slug(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v0/tests/test_views.py | 123 | def test_invalid_request_data(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v0/tests/test_views.py | 131 | def test_course_for_active_and_inactive_user(self, user_is_active): | CODE |
| LOW | lms/djangoapps/commerce/api/v0/tests/test_views.py | 165 | def test_course_without_sku_default(self): | CODE |
| LOW | lms/djangoapps/commerce/api/v0/tests/test_views.py | 177 | def test_course_without_sku_honor(self): | CODE |
| LOW⚡ | lms/djangoapps/commerce/api/v0/tests/test_views.py | 210 | def test_course_with_professional_mode_only(self): | CODE |
| LOW⚡ | lms/djangoapps/commerce/api/v0/tests/test_views.py | 215 | def test_professional_mode_only_and_ecommerce_service_not_configured(self): | CODE |
| 11841 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | db_keyword_overrides.yml | 1 | # This file is used by the 'check_reserved_keywords' management command to allow specific field names to be overridden | COMMENT |
| MEDIUM⚡ | lms/djangoapps/commerce/api/v0/tests/test_views.py | 248 | # Create an inactive enrollment | COMMENT |
| MEDIUM | lms/djangoapps/grades/models.py | 244 | # Create the visual block and add mark as newly created | COMMENT |
| MEDIUM | lms/djangoapps/grades/tests/test_subsection_grade.py | 21 | # Create a grade that *isn't* saved to the database | COMMENT |
| MEDIUM | lms/djangoapps/grades/tests/test_score_render.py | 295 | # Create a score event | COMMENT |
| MEDIUM | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 1167 | # Create a vertical | COMMENT |
| MEDIUM | lms/djangoapps/instructor_task/tests/test_base.py | 126 | # Create the course | COMMENT |
| MEDIUM | …jangoapps/instructor_task/tasks_helper/module_state.py | 361 | # This module isn't being used for front-end rendering | COMMENT |
| MEDIUM | lms/djangoapps/bulk_email/tests/test_email.py | 443 | # Create a mode and designate an enrolled user to be placed in that mode | COMMENT |
| MEDIUM | lms/djangoapps/bulk_email/tests/test_email.py | 554 | # Create a student with Unicode in their first & last names | COMMENT |
| MEDIUM⚡ | lms/djangoapps/bulk_email/tests/test_signals.py | 105 | # Create a course key for a course that doesn't exist in CourseOverview | COMMENT |
| MEDIUM⚡ | lms/djangoapps/bulk_email/tests/test_signals.py | 108 | # Create an enrollment with a course_id that doesn't have a CourseOverview | COMMENT |
| MEDIUM⚡ | lms/djangoapps/experiments/tests/test_utils.py | 33 | # Create a course run | COMMENT |
| MEDIUM⚡ | lms/djangoapps/experiments/tests/test_utils.py | 40 | # Create an entitlement | COMMENT |
| MEDIUM | lms/djangoapps/certificates/tests/test_support_views.py | 63 | # Create the support staff user | COMMENT |
| MEDIUM | lms/djangoapps/certificates/tests/test_support_views.py | 71 | # Create a student | COMMENT |
| MEDIUM | lms/djangoapps/certificates/tests/test_support_views.py | 141 | # Create a user and log in | COMMENT |
| MEDIUM | lms/djangoapps/certificates/tests/test_support_views.py | 265 | # Create a user and log in | COMMENT |
| MEDIUM | lms/djangoapps/certificates/tests/test_support_views.py | 398 | # Create a user and log in | COMMENT |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1319 | # Create a org and mode template language=null | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1326 | # Create a org and mode template language=wrong_language | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1333 | # Create an org and mode template language='' | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1340 | # Create a org and mode template language=lang | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1377 | # Create a org template language=null | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1384 | # Create a org template language=wrong_language | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1391 | # Create an org template language='' | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1398 | # Create a org template language=lang | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1436 | # Create a mode template language=null | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1443 | # Create a mode template language=wrong_language | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1450 | # Create a mode template language='' | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1457 | # Create a mode template language=lang | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1498 | # Create a mode template language=null | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1505 | # Create a mode template language=wrong_language | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1512 | # Create a mode template language='' | STRING |
| MEDIUM⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1519 | # Create a mode template language=lang | STRING |
| MEDIUM | lms/djangoapps/certificates/tests/test_webview_views.py | 1239 | # Create an org_mode_and_coursekey template language=null | STRING |
| MEDIUM | lms/djangoapps/certificates/tests/test_webview_views.py | 1248 | # Create an org_mode_and_coursekey template language=wrong_language | STRING |
| MEDIUM | lms/djangoapps/certificates/tests/test_webview_views.py | 1261 | # Create an org_mode_and_coursekey template language='' | STRING |
| MEDIUM | lms/djangoapps/certificates/tests/test_webview_views.py | 1274 | # Create a org_mode_and_coursekey template language=lang | STRING |
| MEDIUM⚡ | …angoapps/courseware/tests/test_self_paced_overrides.py | 67 | # Create a released discussion xblock | COMMENT |
| MEDIUM⚡ | …angoapps/courseware/tests/test_self_paced_overrides.py | 75 | # Create a scheduled discussion xblock | COMMENT |
| MEDIUM | …jangoapps/courseware/tests/test_credit_requirements.py | 68 | # Create a user and log in | COMMENT |
| MEDIUM | lms/djangoapps/courseware/tests/test_views.py | 1135 | # Create a new course, a user which will not be enrolled in course, admin user for staff access | COMMENT |
| MEDIUM | lms/djangoapps/courseware/tests/test_block_render.py | 2516 | # Create a child for each user | COMMENT |
| MEDIUM⚡ | lms/djangoapps/ccx/tests/test_views.py | 1197 | # Create a Split Mongo course and enroll a student user in it. | COMMENT |
| MEDIUM⚡ | lms/djangoapps/ccx/tests/test_views.py | 1203 | # Create a CCX coach. | COMMENT |
| MEDIUM⚡ | lms/djangoapps/ccx/tests/test_views.py | 1208 | # Create a CCX course and enroll the user in it. | COMMENT |
| MEDIUM | lms/djangoapps/ccx/tests/test_views.py | 807 | # Create a course outline | COMMENT |
| MEDIUM | lms/djangoapps/ccx/tests/test_views.py | 952 | # Create a course outline | COMMENT |
| MEDIUM | lms/djangoapps/ccx/tests/test_ccx_modulestore.py | 29 | # Create a course outline | COMMENT |
| MEDIUM | lms/djangoapps/ccx/tests/utils.py | 32 | # Create a course outline | COMMENT |
| MEDIUM | lms/djangoapps/ccx/tests/test_overrides.py | 43 | # Create a course outline | COMMENT |
| MEDIUM | lms/djangoapps/user_tours/v1/tests/test_views.py | 168 | # Create a user and a tour for testing | COMMENT |
| MEDIUM⚡ | lms/djangoapps/support/tests/test_views.py | 2057 | # Create a submitted attempt in the current course | COMMENT |
| MEDIUM⚡ | lms/djangoapps/support/tests/test_views.py | 2061 | # Create an attempt in the other course that has been verified | COMMENT |
| MEDIUM | …djangoapps/course_api/blocks/tests/test_serializers.py | 130 | # Create a staff user to be able to test visible_to_staff_only | COMMENT |
| MEDIUM⚡ | lms/djangoapps/course_api/tests/test_views.py | 549 | # Create a second course, along with an instructor user for it. | COMMENT |
| MEDIUM⚡ | lms/djangoapps/course_api/tests/test_views.py | 554 | # Create a third course, along with an user that has both staff and instructor for it. | COMMENT |
| MEDIUM | lms/djangoapps/course_api/tests/test_views.py | 174 | # Create a second course to be filtered out of queries. | COMMENT |
| MEDIUM | lms/djangoapps/course_api/tests/test_views.py | 208 | # Create a second course to be filtered out of queries. | COMMENT |
| 406 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lms/djangoapps/grades/tasks.py | 10 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/grades/rest_api/v1/views.py | 10 | from django.core.exceptions import ValidationError # pylint: disable=wrong-import-order | CODE |
| CRITICAL | lms/djangoapps/branding/models.py | 13 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/branding/tests/test_models.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/program_enrollments/models.py | 7 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/instructor_task/tasks_helper/misc.py | 17 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/bulk_email/forms.py | 9 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/certificates/models.py | 15 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/certificates/tests/test_models.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/ccx/utils.py | 15 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/course_api/forms.py | 8 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/course_api/views.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/course_api/blocks/forms.py | 7 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/course_api/blocks/views.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/discussion/rest_api/forms.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/discussion/rest_api/api.py | 16 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/discussion/rest_api/tests/test_api_v2.py | 20 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/survey/models.py | 9 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/survey/tests/test_models.py | 10 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/instructor/utils.py | 12 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/instructor/tests/test_utils.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/instructor/views/api_v2.py | 20 | from django.core.exceptions import ValidationError as DjangoValidationError | CODE |
| CRITICAL | lms/djangoapps/instructor/views/serializer.py | 5 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | lms/djangoapps/badges/models.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …/static/js/spec/edxnotes/plugins/accessibility_spec.js | 225 | expect(this.annotator.viewer.hide.calls.count()).toBe(5); | CODE |
| CRITICAL⚡ | …/static/js/spec/edxnotes/plugins/accessibility_spec.js | 291 | this.annotator.editor.submit.calls.reset(); | CODE |
| CRITICAL⚡ | …/static/js/spec/edxnotes/plugins/accessibility_spec.js | 301 | this.annotator.editor.submit.calls.reset(); | CODE |
| CRITICAL⚡ | …/static/js/spec/edxnotes/plugins/accessibility_spec.js | 311 | this.annotator.editor.hide.calls.reset(); | CODE |
| CRITICAL | …/static/js/spec/edxnotes/plugins/accessibility_spec.js | 324 | expect(this.annotator.editor.hide.calls.count()).toBe(3); | CODE |
| CRITICAL | …atic/js/spec/edxnotes/plugins/caret_navigation_spec.js | 125 | expect(this.annotator.adder.position.calls.count()).toBe(1); | CODE |
| CRITICAL | openedx/core/djangoapps/course_groups/cohorts.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/course_groups/models.py | 10 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL⚡ | openedx/core/djangoapps/course_groups/urls.py | 17 | openedx.core.djangoapps.course_groups.views.CohortSettings.as_view(), | CODE |
| CRITICAL⚡ | openedx/core/djangoapps/course_groups/urls.py | 24 | openedx.core.djangoapps.course_groups.views.CohortHandler.as_view(), | CODE |
| CRITICAL⚡ | openedx/core/djangoapps/course_groups/urls.py | 31 | openedx.core.djangoapps.course_groups.views.CohortUsers.as_view(), | CODE |
| CRITICAL⚡ | openedx/core/djangoapps/course_groups/urls.py | 38 | lms.djangoapps.instructor.views.api.CohortCSV.as_view(), | CODE |
| CRITICAL | openedx/core/djangoapps/course_groups/views.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …edx/core/djangoapps/profile_images/tests/test_views.py | 104 | profile = self.user.profile.__class__.objects.get(user=self.user) | CODE |
| CRITICAL | openedx/core/djangoapps/course_live/serializers.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/enrollments/forms.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/discussions/models.py | 12 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/discussions/serializers.py | 4 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/discussions/tests/test_views.py | 11 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/util/forms.py | 6 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | openedx/core/djangoapps/user_api/admin.py | 5 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …nedx/core/djangoapps/user_api/tests/test_middleware.py | 53 | self.tracker.get_tracker.return_value.enter_context.assert_called_with( | CODE |
| CRITICAL | …dx/core/djangoapps/user_api/accounts/tests/test_api.py | 15 | from django.core.exceptions import ValidationError | CODE |
| CRITICAL | …/core/djangoapps/content/search/tests/test_handlers.py | 88 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([doc_sequential]) | CODE |
| CRITICAL | …/core/djangoapps/content/search/tests/test_handlers.py | 115 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([doc_vertical]) | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 129 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([ | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 138 | meilisearch_client.return_value.index.return_value.delete_document.assert_called_with( | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 195 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([doc_problem]) | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 202 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([doc_problem]) | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 209 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([doc_problem]) | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 218 | meilisearch_client.return_value.index.return_value.update_documents.assert_called_with([doc_problem]) | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 224 | meilisearch_client.return_value.index.return_value.delete_document.assert_called_with( | CODE |
| CRITICAL⚡ | …/core/djangoapps/content/search/tests/test_handlers.py | 231 | meilisearch_client.return_value.index.return_value.update_documents.assert_any_call([doc_problem]) | CODE |
| CRITICAL⚡ | …enedx/core/djangoapps/content/search/tests/test_api.py | 558 | mock_meilisearch.return_value.index.return_value.add_documents.assert_has_calls( | CODE |
| CRITICAL⚡ | …enedx/core/djangoapps/content/search/tests/test_api.py | 568 | mock_meilisearch.return_value.index.return_value.update_sortable_attributes.assert_called_with([ | CODE |
| CRITICAL⚡ | …enedx/core/djangoapps/content/search/tests/test_api.py | 574 | mock_meilisearch.return_value.index.return_value.update_ranking_rules.assert_called_with([ | CODE |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lms/djangoapps/edxnotes/tests.py | 0 | helper function for creating headers for the jwt authentication. | STRING |
| HIGH | lms/djangoapps/user_tours/v1/tests/test_views.py | 0 | helper function for creating headers for the jwt authentication. | STRING |
| HIGH | …/djangoapps/discussion/rest_api/tests/test_views_v2.py | 0 | helper function for creating headers for the jwt authentication. | STRING |
| HIGH | openedx/core/djangoapps/enrollments/tests/test_views.py | 0 | helper function for creating headers for the jwt authentication. | STRING |
| HIGH | …oapps/user_api/accounts/tests/test_retirement_views.py | 0 | helper function for creating headers for the jwt authentication. | STRING |
| HIGH | …/core/djangoapps/user_api/accounts/tests/test_views.py | 0 | helper function for creating headers for the jwt authentication. | STRING |
| HIGH | lms/djangoapps/grades/transformer.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …angoapps/course_blocks/transformers/library_content.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | lms/djangoapps/course_blocks/transformers/split_test.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …angoapps/course_blocks/transformers/user_partitions.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …oapps/course_blocks/transformers/load_override_data.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | lms/djangoapps/course_blocks/transformers/start_date.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | lms/djangoapps/course_blocks/transformers/visibility.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …jangoapps/course_blocks/transformers/hidden_content.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …pps/course_blocks/transformers/access_denied_filter.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | lms/djangoapps/courseware/transformers.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | openedx/core/djangoapps/discussions/transformers.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …edx/features/content_type_gating/block_transformers.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | …enedx/features/effort_estimation/block_transformers.py | 0 | unique identifier for the transformer's class. this must match the entry point name in the package configuration. | STRING |
| HIGH | lms/djangoapps/grades/transformer.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …angoapps/course_blocks/transformers/library_content.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | lms/djangoapps/course_blocks/transformers/split_test.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …oapps/course_blocks/transformers/load_override_data.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | lms/djangoapps/course_blocks/transformers/start_date.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | lms/djangoapps/course_blocks/transformers/visibility.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …jangoapps/course_blocks/transformers/hidden_content.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …pps/course_blocks/transformers/access_denied_filter.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | lms/djangoapps/courseware/transformers.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …jangoapps/course_api/blocks/transformers/blocks_api.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …jangoapps/course_api/blocks/transformers/navigation.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …ngoapps/course_api/blocks/transformers/extra_fields.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …ngoapps/course_api/blocks/transformers/block_counts.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | …edx/features/content_type_gating/block_transformers.py | 0 | collects any information that's necessary to execute this transformer's transform method. | STRING |
| HIGH | lms/djangoapps/grades/config/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | lms/djangoapps/instructor_task/config/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | lms/djangoapps/certificates/config.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | lms/djangoapps/learner_dashboard/config/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | lms/djangoapps/teams/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | openedx/core/djangoapps/discussions/config/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | openedx/core/djangoapps/notifications/config/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | cms/djangoapps/contentstore/config/waffle.py | 0 | this module contains various configuration settings via waffle switches for the contentstore app. | STRING |
| HIGH | lms/djangoapps/grades/tests/test_events.py | 0 | used show that the open edx event was called by the django signal handler. | STRING |
| HIGH | lms/djangoapps/certificates/tests/test_events.py | 0 | used show that the open edx event was called by the django signal handler. | STRING |
| HIGH | …edx/core/djangoapps/course_groups/tests/test_events.py | 0 | used show that the open edx event was called by the django signal handler. | STRING |
| HIGH | …/core/djangoapps/user_authn/views/tests/test_events.py | 0 | used show that the open edx event was called by the django signal handler. | STRING |
| HIGH | common/djangoapps/student/tests/test_events.py | 0 | used show that the open edx event was called by the django signal handler. | STRING |
| HIGH | lms/djangoapps/grades/tests/test_transformer.py | 0 | <problem> <optionresponse> <p>you can use this template as a guide to the simple editor markdown and olx markup to use f | STRING |
| HIGH | lms/djangoapps/courseware/tests/test_block_render.py | 0 | <problem> <optionresponse> <p>you can use this template as a guide to the simple editor markdown and olx markup to use f | STRING |
| HIGH | xmodule/tests/test_capa_block.py | 0 | <problem> <optionresponse> <p>you can use this template as a guide to the simple editor markdown and olx markup to use f | STRING |
| HIGH | …s/management/commands/recalculate_subsection_grades.py | 0 | entry point for subclassed commands to add custom arguments. | STRING |
| HIGH | …jangoapps/grades/management/commands/compute_grades.py | 0 | entry point for subclassed commands to add custom arguments. | STRING |
| HIGH | …tructure/management/commands/generate_course_blocks.py | 0 | entry point for subclassed commands to add custom arguments. | STRING |
| HIGH | lms/djangoapps/grades/rest_api/v1/tests/test_views.py | 0 | set up a simple course for testing basic grading functionality. | STRING |
| HIGH | …jangoapps/courseware/tests/test_submitting_problems.py | 0 | set up a simple course for testing basic grading functionality. | STRING |
| HIGH | lms/djangoapps/support/tests/test_tasks.py | 0 | set up a simple course for testing basic grading functionality. | STRING |
| HIGH | lms/djangoapps/instructor_task/models.py | 0 | we're using migrations! if you make changes to this model, be sure to create an appropriate migration file and check it | STRING |
| HIGH | lms/djangoapps/coursewarehistoryextended/models.py | 0 | we're using migrations! if you make changes to this model, be sure to create an appropriate migration file and check it | STRING |
| HIGH | lms/djangoapps/courseware/models.py | 0 | we're using migrations! if you make changes to this model, be sure to create an appropriate migration file and check it | STRING |
| HIGH | lms/djangoapps/instructor_task/tests/test_views.py | 0 | tests api and view methods that involve the reporting of status for background tasks. | STRING |
| HIGH | lms/djangoapps/instructor_task/tests/test_api.py | 0 | tests api and view methods that involve the reporting of status for background tasks. | STRING |
| 178 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | webpack.prod.config.js | 41 | // where to find named bundle output files, but doesn't know about | COMMENT |
| LOW | pyproject.toml | 261 | # -> openedx.features.content_type_gating.helpers | COMMENT |
| LOW | pyproject.toml | 281 | # cms.djangoapps.contentstore.tasks -> openedx.core.djangoapps.content_libraries.[various] -> openedx.core.djangoapp | COMMENT |
| LOW | pyproject.toml | 301 | # -> openedx.features.discounts.utils | COMMENT |
| LOW | pyproject.toml | 381 | ignore_imports = [ | COMMENT |
| LOW | pyproject.toml | 401 | # Outstanding arch issue: course_overviews is tangled up with LMS | COMMENT |
| LOW | webpack.common.config.js | 641 | 'common/static/js/vendor/tinymce/js/tinymce', | COMMENT |
| LOW | tox.ini | 1 | [tox] | COMMENT |
| LOW | lms/__init__.py | 1 | """ | COMMENT |
| LOW | lms/djangoapps/grades/config/waffle.py | 21 | # .. toggle_use_cases: open_edx | COMMENT |
| LOW | lms/djangoapps/grades/config/waffle.py | 41 | # .. toggle_implementation: CourseWaffleFlag | COMMENT |
| LOW | lms/djangoapps/grades/signals/signals.py | 1 | """ | COMMENT |
| LOW | lms/djangoapps/grades/signals/signals.py | 21 | # 'raw_earned', # Score obtained by the user | COMMENT |
| LOW | lms/djangoapps/grades/signals/signals.py | 41 | # providing_args=[ | COMMENT |
| LOW | lms/djangoapps/grades/signals/signals.py | 61 | # to the PROBLEM_WEIGHTED_SCORE_CHANGED signal instead, since that is signalled | COMMENT |
| LOW | lms/djangoapps/grades/signals/signals.py | 81 | # 'user', # User object | COMMENT |
| LOW | lms/djangoapps/grades/signals/signals.py | 101 | # # score that was created. | COMMENT |
| LOW | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 461 | attempted = False | COMMENT |
| LOW | lms/djangoapps/experiments/utils.py | 41 | # .. toggle_warning: This temporary feature toggle does not have a target removal date. | COMMENT |
| LOW | …angoapps/course_blocks/transformers/user_partitions.py | 181 | # Do not get the inherited value since field inheritance doesn't | COMMENT |
| LOW | …angoapps/course_blocks/transformers/user_partitions.py | 201 | # Since this parent has group access | COMMENT |
| LOW | …urse_blocks/transformers/tests/test_user_partitions.py | 301 | Returns a course hierarchy to test with. | COMMENT |
| LOW | lms/djangoapps/courseware/toggles.py | 21 | # .. toggle_target_removal_date: None | COMMENT |
| LOW | lms/djangoapps/courseware/toggles.py | 41 | COMMENT | |
| LOW | lms/djangoapps/courseware/toggles.py | 61 | # .. toggle_description: Enables Courseware Search on Learning MFE | COMMENT |
| LOW | lms/djangoapps/courseware/toggles.py | 81 | # .. toggle_warning: None. | COMMENT |
| LOW | lms/djangoapps/courseware/toggles.py | 101 | # .. toggle_implementation: CourseWaffleFlag | COMMENT |
| LOW | lms/djangoapps/courseware/toggles.py | 121 | # .. toggle_creation_date: 2019-05-16 | COMMENT |
| LOW | …/djangoapps/courseware/tests/test_draft_modulestore.py | 21 | # test success is just getting through the above statement. | COMMENT |
| LOW | lms/djangoapps/courseware/views/views.py | 1181 | # the user hasn't done something (for example, submitting photos for verification) | COMMENT |
| LOW | lms/djangoapps/user_tours/handlers.py | 21 | # So this is here because there is a dependency issue in the migrations where | COMMENT |
| LOW | lms/djangoapps/learner_dashboard/config/waffle.py | 1 | """ | COMMENT |
| LOW | lms/djangoapps/learner_dashboard/config/waffle.py | 21 | __name__, | COMMENT |
| LOW | lms/djangoapps/course_api/__init__.py | 1 | """ Course API """ | COMMENT |
| LOW | lms/djangoapps/course_api/__init__.py | 21 | # users, this limit is 20 requests/minute. | COMMENT |
| LOW | …ngoapps/course_api/blocks/transformers/student_view.py | 41 | # the XModule side. | COMMENT |
| LOW | lms/djangoapps/verify_student/toggles.py | 1 | """ | COMMENT |
| LOW | lms/djangoapps/verify_student/views.py | 81 | (photo verification that was denied or had an error); | COMMENT |
| LOW | lms/djangoapps/verify_student/views.py | 241 | return redirect(redirect_url) | COMMENT |
| LOW | lms/djangoapps/lms_xblock/apps.py | 21 | # In order to allow blocks to use a handler url, we need to | COMMENT |
| LOW | lms/djangoapps/discussion/toggles.py | 21 | # .. toggle_implementation: CourseWaffleFlag | COMMENT |
| LOW | lms/djangoapps/instructor/toggles.py | 21 | # .. toggle_implementation: WaffleFlag | COMMENT |
| LOW | lms/djangoapps/instructor/settings/common.py | 21 | COMMENT | |
| LOW | lms/djangoapps/instructor/settings/common.py | 41 | # .. toggle_name: ENABLE_GRADE_DOWNLOADS | COMMENT |
| LOW | lms/djangoapps/instructor/settings/common.py | 61 | COMMENT | |
| LOW | lms/djangoapps/instructor/settings/common.py | 81 | # .. toggle_creation_date: 2021-10-26 | COMMENT |
| LOW | lms/djangoapps/instructor/settings/common.py | 101 | settings.ENABLE_CERTIFICATES_INSTRUCTOR_MANAGE = False | COMMENT |
| LOW | lms/djangoapps/instructor/tests/test_spoc_gradebook.py | 141 | self.assertContains(self.response, "grade_D {color:DarkSlateGray;}") | COMMENT |
| LOW | lms/djangoapps/instructor/tests/test_spoc_gradebook.py | 161 | # One use at the top of the page [1] | COMMENT |
| LOW | lms/djangoapps/course_home_api/toggles.py | 21 | ) | COMMENT |
| LOW | lms/static/js/Markdown.Converter.js | 1 | /* eslint-disable */ | COMMENT |
| LOW | lms/static/js/Markdown.Converter.js | 21 | // More importantly, Showdown behaves like markdown.pl in most | COMMENT |
| LOW | lms/static/js/Markdown.Converter.js | 41 | // Usage: | COMMENT |
| LOW | lms/static/js/Markdown.Converter.js | 241 | COMMENT | |
| LOW | lms/static/js/Markdown.Converter.js | 821 | COMMENT | |
| LOW | lms/static/js/Markdown.Converter.js | 841 | // with a digit-period-space sequence. | COMMENT |
| LOW | lms/static/js/Markdown.Converter.js | 961 | function _DoCodeSpans(text) { | COMMENT |
| LOW | lms/static/js/Markdown.Converter.js | 1161 | text = text.replace(/<(?![a-z\/?\$!])/gi, '<'); | COMMENT |
| LOW | lms/static/js/pdf-analytics.js | 1 | // Analytics shim for the embedded pdf.js viewer. | COMMENT |
| LOW | lms/static/js/navigation.js | 1 | // This file is intentionally blank as it was removed because it was no | COMMENT |
| 754 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 7 | CODE | |
| LOW | conftest.py | 9 | CODE | |
| LOW | conftest.py | 9 | CODE | |
| LOW | lms/__init__.py | 21 | CODE | |
| LOW | lms/celery.py | 19 | CODE | |
| LOW | lms/tests.py | 7 | CODE | |
| LOW | lms/djangoapps/commerce/apps.py | 19 | CODE | |
| LOW | lms/djangoapps/commerce/tests/__init__.py | 10 | CODE | |
| LOW | lms/djangoapps/commerce/tests/__init__.py | 14 | CODE | |
| LOW | lms/djangoapps/commerce/tests/__init__.py | 23 | CODE | |
| LOW | lms/djangoapps/commerce/api/v0/tests/test_views.py | 19 | CODE | |
| LOW | lms/djangoapps/grades/tasks.py | 29 | CODE | |
| LOW | lms/djangoapps/grades/apps.py | 45 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 16 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 20 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 20 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 26 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 27 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 31 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 33 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 34 | CODE | |
| LOW | lms/djangoapps/grades/api.py | 37 | CODE | |
| LOW | lms/djangoapps/gating/apps.py | 17 | CODE | |
| LOW | lms/djangoapps/program_enrollments/apps.py | 32 | CODE | |
| LOW | lms/djangoapps/program_enrollments/apps.py | 32 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 17 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 18 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 18 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 19 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/__init__.py | 35 | CODE | |
| LOW | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 87 | CODE | |
| LOW | lms/djangoapps/bulk_email/apps.py | 12 | CODE | |
| LOW | lms/djangoapps/bulk_email/apps.py | 14 | CODE | |
| LOW | lms/djangoapps/experiments/views.py | 17 | CODE | |
| LOW | lms/djangoapps/certificates/apps.py | 25 | CODE | |
| LOW | lms/djangoapps/certificates/views/__init__.py | 4 | CODE | |
| LOW | lms/djangoapps/certificates/views/__init__.py | 5 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 5 | CODE | |
| LOW | lms/djangoapps/courseware/tests/test_video_handlers.py | 38 | CODE | |
| LOW | lms/djangoapps/courseware/tests/test_word_cloud.py | 18 | CODE | |
| LOW | lms/djangoapps/courseware/tests/test_video_mongo.py | 61 | CODE | |
| 481 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lms/djangoapps/commerce/api/v1/models.py | 84 | # There are possible downstream effects of settings self.verification_deadline to null, | COMMENT |
| HIGH | lms/djangoapps/grades/models.py | 351 | # this subsection. If null, indicates no attempt | COMMENT |
| HIGH | lms/djangoapps/grades/subsection_grade.py | 110 | problem scores. If self.course_data.structure is currently null, this means | STRING |
| HIGH | lms/djangoapps/grades/subsection_grade.py | 120 | problem scores. If self.course_data.structure is currently null, this means | STRING |
| HIGH | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 410 | "category": null, | STRING |
| HIGH | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 419 | "label": null, | STRING |
| HIGH⚡ | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 1021 | "earned_all_override": null, | STRING |
| HIGH⚡ | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 1022 | "possible_all_override": null, | STRING |
| HIGH⚡ | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 1029 | "comments": null, | STRING |
| HIGH⚡ | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 1036 | "comments": null, | STRING |
| HIGH⚡ | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 1043 | "comments": null, | STRING |
| HIGH | lms/djangoapps/grades/rest_api/v1/views.py | 87 | "letter_grade": null, | STRING |
| HIGH | lms/djangoapps/grades/rest_api/v1/views.py | 103 | "letter_grade": null, | STRING |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 161 | "next": null, | STRING |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 445 | "next": null, | STRING |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 591 | "next": null, | STRING |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 745 | # Get all the courses of which the user is course staff for. If None, return false | COMMENT |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 843 | "next": null, | STRING |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 844 | "previous": null, | STRING |
| HIGH | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 876 | "end_date": null, | STRING |
| HIGH⚡ | lms/djangoapps/certificates/tests/test_webview_views.py | 1474 | This test should check template matching when org=null, course=Null, mode={mode}. | CODE |
| HIGH | lms/djangoapps/certificates/tests/test_webview_views.py | 1180 | This test should check template matching when org=null, course=Null, mode={mode}. | CODE |
| HIGH | lms/djangoapps/certificates/tests/test_webview_views.py | 1412 | This test should check template matching when org=null, course=Null, mode={mode}. | CODE |
| HIGH | lms/djangoapps/courseware/views/views.py | 1689 | # sequence block or its render call. descendants_are_gated shoule not return true | COMMENT |
| HIGH | lms/djangoapps/ccx/api/v0/views.py | 297 | "previous": null, | STRING |
| HIGH | lms/djangoapps/support/views/onboarding_status.py | 34 | "expiration_date": null, | STRING |
| HIGH | lms/djangoapps/support/rest_api/v1/views.py | 172 | along with the specified user's role ("instructor", "staff", or null) in each course. | STRING |
| HIGH | lms/djangoapps/course_api/views.py | 442 | "previous": null, | STRING |
| HIGH | lms/djangoapps/course_api/views.py | 444 | "next": null, | STRING |
| HIGH⚡ | lms/djangoapps/verify_student/tests/test_models.py | 401 | Test if the `expiration_date` field is null, `expiration_datetime` returns a | STRING |
| HIGH | lms/djangoapps/teams/api.py | 255 | Else, return True. If the user is a course admin, also return true | STRING |
| HIGH⚡ | lms/djangoapps/teams/tests/test_views.py | 229 | self.assertContains(response, '"teams": {"next": null, "previous": null, "count": 0') | CODE |
| HIGH⚡ | lms/djangoapps/teams/tests/test_views.py | 235 | self.assertContains(response, '"teams": {"next": null, "previous": null, "count": 1') | CODE |
| HIGH⚡ | lms/djangoapps/teams/tests/test_views.py | 239 | self.assertContains(response, '"teams": {"next": null, "previous": null, "count": 0') | CODE |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1098 | "reason_code": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1104 | "group_id": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1105 | "group_name": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1108 | "abuse_flagged_count": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1116 | "endorsed_comment_list_url": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1117 | "non_endorsed_comment_list_url": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1120 | "close_reason": null, | STRING |
| HIGH⚡ | lms/djangoapps/discussion/rest_api/api.py | 1121 | "closed_by": null, | STRING |
| HIGH | lms/djangoapps/discussion/rest_api/views.py | 179 | "next": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 224 | "enrollment_end": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 329 | "task_output": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 553 | "previous": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 1256 | "previous": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 1266 | "invalidated_by": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 1563 | "previous": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 2448 | "previous": null, | STRING |
| HIGH | lms/djangoapps/instructor/views/api_v2.py | 3290 | "role": null, | STRING |
| HIGH | openedx/core/djangoapps/course_groups/views.py | 562 | If group_id is specified (non-null), user_partition_id must also be specified. | STRING |
| HIGH | …/core/djangoapps/course_groups/tests/test_api_views.py | 26 | ,"group_id":null}' | CODE |
| HIGH | …/core/djangoapps/course_groups/tests/test_api_views.py | 27 | HANDLER_PATCH_PAYLOAD = '{"name":"Default Group","group_id":null,"user_partition_id":null,"assignment_type":"random"}' | CODE |
| HIGH⚡ | openedx/core/djangoapps/enrollments/api.py | 60 | "expiration_datetime": null, | STRING |
| HIGH⚡ | openedx/core/djangoapps/enrollments/api.py | 61 | "description": null, | STRING |
| HIGH⚡ | openedx/core/djangoapps/enrollments/api.py | 62 | "sku": null, | STRING |
| HIGH⚡ | openedx/core/djangoapps/enrollments/api.py | 112 | "expiration_datetime": null, | STRING |
| HIGH⚡ | openedx/core/djangoapps/enrollments/api.py | 113 | "description": null, | STRING |
| HIGH⚡ | openedx/core/djangoapps/enrollments/api.py | 114 | "sku": null, | STRING |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/create_orders_for_old_enterprise_course_enrollment.py | 56 | CODE | |
| LOW | lms/djangoapps/commerce/api/v1/models.py | 47 | CODE | |
| LOW | lms/djangoapps/edxnotes/helpers.py | 153 | CODE | |
| LOW | lms/djangoapps/grades/course_grade.py | 96 | CODE | |
| LOW | lms/djangoapps/grades/subsection_grade_factory.py | 73 | CODE | |
| LOW | lms/djangoapps/grades/tests/test_course_data.py | 45 | CODE | |
| LOW | …nt/commands/send_segment_events_for_failed_learners.py | 92 | CODE | |
| LOW | lms/djangoapps/grades/rest_api/v1/gradebook_views.py | 538 | CODE | |
| LOW | lms/djangoapps/grades/rest_api/v1/views.py | 238 | CODE | |
| LOW | lms/djangoapps/grades/rest_api/v1/views.py | 464 | CODE | |
| LOW | …oapps/grades/rest_api/v1/tests/test_gradebook_views.py | 1390 | CODE | |
| LOW | lms/djangoapps/branding/views.py | 165 | CODE | |
| LOW | lms/djangoapps/instructor_analytics/basic.py | 427 | CODE | |
| LOW | lms/djangoapps/instructor_analytics/basic.py | 637 | CODE | |
| LOW | lms/djangoapps/instructor_analytics/basic.py | 438 | CODE | |
| LOW | lms/djangoapps/gating/api.py | 44 | CODE | |
| LOW | …management/commands/send_program_course_nudge_email.py | 113 | CODE | |
| LOW | …management/commands/send_program_course_nudge_email.py | 231 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/writing.py | 432 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/linking.py | 38 | CODE | |
| LOW | lms/djangoapps/program_enrollments/rest_api/v1/utils.py | 332 | CODE | |
| LOW | lms/djangoapps/instructor_task/api_helper.py | 163 | CODE | |
| LOW | lms/djangoapps/instructor_task/subtasks.py | 66 | CODE | |
| LOW | lms/djangoapps/instructor_task/views.py | 36 | CODE | |
| LOW | lms/djangoapps/instructor_task/views.py | 90 | CODE | |
| LOW | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 104 | CODE | |
| LOW | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 1479 | CODE | |
| LOW | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 2101 | CODE | |
| LOW | lms/djangoapps/instructor_task/tasks_helper/misc.py | 162 | CODE | |
| LOW | lms/djangoapps/instructor_task/tasks_helper/grades.py | 752 | CODE | |
| LOW | lms/djangoapps/instructor_task/tasks_helper/grades.py | 870 | CODE | |
| LOW | …jangoapps/instructor_task/tasks_helper/module_state.py | 34 | CODE | |
| LOW | lms/djangoapps/bulk_email/tasks.py | 439 | CODE | |
| LOW | lms/djangoapps/bulk_email/models.py | 108 | CODE | |
| LOW | lms/djangoapps/bulk_email/api.py | 143 | CODE | |
| LOW | lms/djangoapps/experiments/utils.py | 429 | CODE | |
| LOW | …angoapps/course_blocks/transformers/library_content.py | 82 | CODE | |
| LOW | …angoapps/course_blocks/transformers/user_partitions.py | 78 | CODE | |
| LOW | …angoapps/course_blocks/transformers/user_partitions.py | 167 | CODE | |
| LOW | lms/djangoapps/certificates/tasks.py | 90 | CODE | |
| LOW | lms/djangoapps/certificates/tests/test_api.py | 547 | CODE | |
| LOW | lms/djangoapps/certificates/tests/test_webview_views.py | 1564 | CODE | |
| LOW | lms/djangoapps/certificates/views/webview.py | 342 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 143 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 752 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 900 | CODE | |
| LOW | lms/djangoapps/courseware/field_overrides.py | 228 | CODE | |
| LOW | lms/djangoapps/courseware/field_overrides.py | 248 | CODE | |
| LOW | lms/djangoapps/courseware/access.py | 270 | CODE | |
| LOW | lms/djangoapps/courseware/access.py | 530 | CODE | |
| LOW | lms/djangoapps/courseware/rules.py | 103 | CODE | |
| LOW | lms/djangoapps/courseware/courses.py | 369 | CODE | |
| LOW | lms/djangoapps/courseware/courses.py | 607 | CODE | |
| LOW | lms/djangoapps/courseware/courses.py | 642 | CODE | |
| LOW | lms/djangoapps/courseware/courses.py | 747 | CODE | |
| LOW | lms/djangoapps/courseware/courses.py | 1022 | CODE | |
| LOW | lms/djangoapps/courseware/courses.py | 1048 | CODE | |
| LOW | lms/djangoapps/courseware/user_state_client.py | 398 | CODE | |
| LOW | lms/djangoapps/courseware/user_state_client.py | 500 | CODE | |
| LOW | …/djangoapps/courseware/tests/test_user_state_client.py | 645 | CODE | |
| 422 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lms/djangoapps/commerce/signals.py | 48 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/commerce/utils.py | 197 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/commerce/utils.py | 483 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | …/create_orders_for_old_enterprise_course_enrollment.py | 163 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | …/create_orders_for_old_enterprise_course_enrollment.py | 287 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/commerce/api/v0/views.py | 82 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/edxnotes/views.py | 260 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/grades/score_render.py | 38 | except Exception as e: | CODE |
| LOW | lms/djangoapps/grades/tasks.py | 111 | except Exception as exc: | CODE |
| LOW | lms/djangoapps/grades/tasks.py | 253 | except Exception as exc: | CODE |
| LOW | lms/djangoapps/grades/course_grade_factory.py | 114 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/grades/events.py | 173 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/grades/signals/handlers.py | 441 | except Exception as e: | CODE |
| LOW⚡ | lms/djangoapps/program_enrollments/signals.py | 39 | except Exception as e: | CODE |
| LOW | …lments/management/commands/link_program_enrollments.py | 82 | except Exception as e: | CODE |
| MEDIUM | …lments/management/commands/link_program_enrollments.py | 72 | def handle(self, program_uuid, user_items, *args, **options): | CODE |
| LOW | lms/djangoapps/program_enrollments/api/linking.py | 295 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/instructor_task/api_helper.py | 467 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/instructor_task/api_helper.py | 509 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/instructor_task/api_helper.py | 531 | except Exception as error: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/instructor_task/subtasks.py | 576 | except Exception: | CODE |
| LOW | lms/djangoapps/instructor_task/notifications.py | 61 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/instructor_task/tasks_helper/misc.py | 336 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/instructor_task/tasks_helper/misc.py | 386 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/bulk_email/tasks.py | 305 | except Exception: | CODE |
| LOW | lms/djangoapps/bulk_email/tasks.py | 688 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/bulk_email/tasks.py | 817 | except Exception as retry_exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 143 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 239 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 306 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 363 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 408 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 501 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 556 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 589 | except Exception as ex: | CODE |
| LOW | lms/djangoapps/ora_staff_grader/views.py | 638 | except Exception as ex: | CODE |
| MEDIUM | lms/djangoapps/ora_staff_grader/views.py | 110 | def get(self, request, ora_location, *args, **kwargs): | CODE |
| MEDIUM | lms/djangoapps/ora_staff_grader/views.py | 279 | def get(self, request, ora_location, submission_uuid, *args, **kwargs): | CODE |
| MEDIUM | lms/djangoapps/ora_staff_grader/views.py | 340 | def get(self, request, ora_location, submission_uuid, *args, **kwargs): | CODE |
| MEDIUM | lms/djangoapps/ora_staff_grader/views.py | 391 | def get(self, request, ora_location, submission_uuid, *args, **kwargs): | CODE |
| LOW | lms/djangoapps/courseware/block_render.py | 279 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/courseware/block_render.py | 990 | except Exception: | STRING |
| LOW | lms/djangoapps/courseware/courses.py | 441 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/courseware/courses.py | 510 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/courseware/courses.py | 862 | except Exception as err: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/courseware/courses.py | 1120 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/courseware/views/views.py | 544 | except Exception as exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/courseware/views/views.py | 1327 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/support/tasks.py | 72 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/support/tasks.py | 135 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/support/rest_api/v1/views.py | 490 | except Exception as exc: # pylint: disable=broad-except # noqa: F841 | CODE |
| LOW | lms/djangoapps/support/rest_api/v1/views.py | 524 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/bulk_user_retirement/views.py | 66 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/tasks.py | 133 | except Exception as exc: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/models.py | 780 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/models.py | 804 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/models.py | 880 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/emails.py | 35 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/emails.py | 58 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lms/djangoapps/verify_student/utils.py | 27 | except Exception as error: # pylint: disable=broad-except | CODE |
| 342 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lms/djangoapps/grades/rest_api/v1/utils.py | 63 | Returns a single USER_MODEL object corresponding to either the user_id provided, or if no id is provided, | STRING |
| HIGH | lms/djangoapps/instructor_analytics/basic.py | 91 | Allow site operators to include custom fields in student profile exports. This function enables platforms with | STRING |
| HIGH | lms/djangoapps/program_enrollments/api/reading.py | 403 | Given an organization_key and a set of external keys, return a dict from external user keys to Users. Args | STRING |
| HIGH | lms/djangoapps/program_enrollments/api/reading.py | 448 | Given a program and a set of external keys, return a dict from external user keys to Users. Args: | STRING |
| HIGH | lms/djangoapps/instructor_task/api.py | 627 | Request to have student enrollment operations processed as a background task. The task will process a batch of | STRING |
| HIGH | lms/djangoapps/certificates/api.py | 1182 | Creates a new `GeneratedCertificate` object using the provided arguments. Args: cert_args (dict): A di | STRING |
| HIGH | lms/djangoapps/verify_student/views.py | 1167 | GET /verify_student/status/ Parameters: None Returns: 200 OK { "status": Stri | STRING |
| HIGH | lms/djangoapps/discussion/views.py | 442 | Loads the discussion thread with the specified ID and fires an edx.forum.thread.viewed event. Args: | STRING |
| HIGH | …s/djangoapps/discussion/django_comment_client/utils.py | 936 | Args: course_key: CourseKey commentable_id: string course_discussion_settings: CourseDiscus | STRING |
| HIGH | lms/djangoapps/discussion/rest_api/api.py | 281 | Return general discussion information for the course. Parameters: request: The django request object | STRING |
| HIGH | lms/djangoapps/discussion/rest_api/api.py | 519 | Returns the course topic listing for the given course and user; filtered by 'topic_ids' list if given. Par | STRING |
| HIGH | lms/djangoapps/discussion/rest_api/api.py | 672 | Returns the course topic listing for the given course and user; filtered by 'topic_ids' list if given. Par | STRING |
| HIGH | lms/djangoapps/discussion/rest_api/api.py | 915 | Return the list of all discussion threads pertaining to the given course Parameters: request: The django | STRING |
| HIGH | lms/djangoapps/instructor/views/api.py | 1081 | Handles POST request to list instructors and staff. Args: request (HttpRequest): The reque | STRING |
| HIGH | lms/djangoapps/instructor/views/api.py | 1168 | Handles POST request to list course enrollments. Args: request (HttpRequest): The request | STRING |
| HIGH | lms/djangoapps/instructor/views/api.py | 3071 | Handle the POST request to list forum members with a certain role name for the given course. Args: | STRING |
| HIGH | openedx/core/djangoapps/commerce/utils.py | 103 | Retrieves OAuth 2.0 access token using the given grant type. Args: url (str): Oauth2 access token endp | STRING |
| HIGH | openedx/core/djangoapps/credit/models.py | 251 | Get the credit course if exists for the given 'course_key'. Args: course_key(CourseKey): T | STRING |
| HIGH | openedx/core/djangoapps/credit/api/eligibility.py | 43 | Add requirements to given course. Args: course_key(CourseKey): The identifier for course requi | STRING |
| HIGH | openedx/core/djangoapps/enrollments/api.py | 25 | Retrieves all the courses in which user is enrolled in a verified mode. Takes a user and retrieves all relative enr | STRING |
| HIGH | openedx/core/djangoapps/enrollments/api.py | 78 | Retrieves all the courses a user is enrolled in. Takes a user and retrieves all relative enrollments. Includes info | STRING |
| HIGH | openedx/core/djangoapps/enrollments/data.py | 103 | Based on the course id, return all user enrollments in the course Args: course_key (CourseKey): Identifier o | STRING |
| HIGH | openedx/core/djangoapps/enrollments/data.py | 119 | Create a new course enrollment for the given user. Creates a new course enrollment for the specified user username. | STRING |
| HIGH | openedx/core/djangoapps/enrollments/data.py | 319 | Returns all course enrollment information for the given course. Based on the course id, return all related course i | STRING |
| HIGH | openedx/core/djangoapps/user_api/preferences/api.py | 38 | Returns True if the user has preference with the specified key. Args: requesting_user (User): The user | STRING |
| HIGH | openedx/core/djangoapps/user_api/preferences/api.py | 63 | Returns the value of the user preference with the specified key. Args: requesting_user (User): The user req | STRING |
| HIGH | openedx/core/djangoapps/user_api/preferences/api.py | 88 | Returns all user preferences as a JSON response. Args: requesting_user (User): The user requesting the user | STRING |
| HIGH | …ps/user_api/management/tests/test_email_opt_in_list.py | 414 | Check the output of the report. Arguments: output (list): List of rows in the output CSV file. | STRING |
| HIGH | openedx/core/djangoapps/user_api/accounts/api.py | 63 | Returns account information for a user serialized as JSON. Note: If `request.user.username` != `username`, | STRING |
| HIGH | …angoapps/django_comment_common/comment_client/utils.py | 88 | Returns a CourseKey if the provided course_id is a valid string representation of a CourseKey. If course_id is | STRING |
| HIGH | openedx/core/djangoapps/content_libraries/tasks.py | 683 | Load learning package from a backup file in storage. Args: storage_path (str): The path to | STRING |
| HIGH | …edx/core/djangoapps/content_libraries/api/libraries.py | 341 | Check if the user has the specified permission for a content library. Args: library_key: The library k | STRING |
| HIGH | openedx/core/djangoapps/programs/tasks.py | 114 | Get program uuids for which certificate to be revoked. Checks for existing learner certificates and filter out | STRING |
| HIGH | …nedx/core/djangoapps/video_config/transcripts_utils.py | 259 | Download transcripts from Youtube. Args: youtube_id: str, actual youtube_id of the video. vide | STRING |
| HIGH | …edx/core/djangoapps/user_authn/views/password_reset.py | 246 | Email a single-use link for performing a password reset. Users must confirm the password change before we update th | STRING |
| HIGH | openedx/core/lib/api/view_utils.py | 444 | Validate and parse a course_key string, if supported. Args: course_key_string (str): string course key | STRING |
| HIGH | common/djangoapps/track/views/segmentio.py | 251 | Get the name of a SegmentIO event. Args: event_properties: dict The properties of the even | STRING |
| HIGH | common/djangoapps/util/password_policy_validators.py | 106 | EdX's custom password validator for passwords. This function performs the following functions: 1) Norma | STRING |
| HIGH | common/djangoapps/student/auth.py | 227 | Determine whether a user is allowed to create course content for a given organization. This function abstracts | STRING |
| HIGH | common/djangoapps/third_party_auth/pipeline.py | 279 | Gets a saved user authenticated by a particular backend. Between pipeline steps User objects are not saved. We need | STRING |
| HIGH | common/djangoapps/third_party_auth/pipeline.py | 344 | Gets URL for the endpoint that returns control to the auth pipeline. Args: backend_name: string. Name of th | STRING |
| HIGH | common/djangoapps/third_party_auth/pipeline.py | 363 | Gets URL for the endpoint that starts the disconnect pipeline. Args: provider_id: string identifier of the | STRING |
| HIGH | common/djangoapps/third_party_auth/pipeline.py | 388 | Gets the login URL for the endpoint that kicks off auth with a provider. Args: provider_id: string identifi | STRING |
| HIGH | cms/djangoapps/contentstore/views/course.py | 920 | Resolve candidate course keys from legacy ``CourseAccessRole`` records. Only database-backed legacy roles are | STRING |
| HIGH | scripts/user_retirement/utils/jenkins.py | 114 | Trigger a jenkins job/project (note that jenkins uses these terms interchangeably) Args: base_url (str | STRING |
| HIGH | …user_retirement/utils/thirdparty_apis/amplitude_api.py | 54 | This function send an API request to delete user from Amplitude. It then parse the response and try aga | STRING |
| HIGH | xmodule/partitions/partitions_service.py | 166 | If the user is already assigned to a group in user_partition_id, return the group_id. If not, | STRING |
| HIGH | xmodule/modulestore/mongo/base.py | 1029 | Creates and returns the course. Args: org (str): the organization that owns the course | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | lms/djangoapps/commerce/api/v0/tests/test_views.py | 224 | # Set SKU to empty string for all modes. | COMMENT |
| LOW | lms/djangoapps/edxnotes/tests.py | 1231 | # Set state to the _COMPLETE version of an arbitrary "SOMETHING" state. | COMMENT |
| LOW⚡ | lms/djangoapps/instructor_analytics/tests/test_basic.py | 119 | # Check if list_problem_responses called UsageKey.from_string to look up problem key: | COMMENT |
| LOW⚡ | lms/djangoapps/instructor_analytics/tests/test_basic.py | 121 | # Check if list_problem_responses called StudentModule.objects.filter to obtain relevant records: | COMMENT |
| LOW⚡ | lms/djangoapps/instructor_analytics/tests/test_basic.py | 126 | # Check if list_problem_responses returned expected results: | COMMENT |
| LOW | lms/djangoapps/program_enrollments/rest_api/v1/views.py | 713 | # Check if the user is a course staff of any course which is a part of a program. | COMMENT |
| LOW | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 286 | # Assign user_a to a group in the 'cohort'-schemed user | COMMENT |
| LOW⚡ | lms/djangoapps/experiments/flags.py | 213 | # Check if we have a cache for this request already | COMMENT |
| LOW⚡ | lms/djangoapps/experiments/flags.py | 219 | # Check if the main flag is even enabled for this user and course. | COMMENT |
| LOW⚡ | lms/djangoapps/experiments/flags.py | 223 | # Check if the enrollment should even be considered (if it started before the experiment wants, we ignore) | COMMENT |
| LOW | lms/djangoapps/certificates/api.py | 1198 | # Check if all required fields are present | COMMENT |
| LOW | …urseware/management/commands/tests/test_dump_course.py | 159 | # Check if there are the right number of elements | COMMENT |
| LOW⚡ | …urseware/management/commands/tests/test_dump_course.py | 209 | # Check if some of the files are present. | COMMENT |
| LOW | lms/djangoapps/ccx/utils.py | 311 | # Check if user has staff role on ccx. | COMMENT |
| LOW | lms/djangoapps/verify_student/views.py | 777 | # Check if there are more than 1 paid(mode with min_price>0 e.g verified/professional/no-id-professional) modes | COMMENT |
| LOW | …oapps/discussion/rest_api/discussions_notifications.py | 230 | # Check if the subscriber is not the thread creator or response creator | COMMENT |
| LOW | lms/djangoapps/instructor/settings/devstack.py | 6 | # Set this to the dashboard URL in order to display the link from the | COMMENT |
| LOW | lms/djangoapps/instructor/tests/test_certificates.py | 1224 | # Check if the generated certificate was invalidated | COMMENT |
| LOW⚡ | lms/djangoapps/instructor/views/api_v2.py | 2044 | # Check if user is enrolled | COMMENT |
| LOW⚡ | lms/djangoapps/instructor/views/api_v2.py | 2052 | # Check if user already has an exception | COMMENT |
| LOW⚡ | lms/djangoapps/instructor/views/api_v2.py | 2060 | # Check if user has an active invalidation | COMMENT |
| LOW | lms/djangoapps/instructor/views/api_v2.py | 1126 | # Check if the problem actually exists in the modulestore | COMMENT |
| LOW | lms/djangoapps/instructor/views/api_v2.py | 1787 | # Check if certificate generation is enabled (not available for CCX courses) | COMMENT |
| LOW | lms/djangoapps/instructor/views/api_v2.py | 2114 | # Check if certificate exists | COMMENT |
| LOW | lms/djangoapps/instructor/views/api_v2.py | 2172 | # Check if file was uploaded | COMMENT |
| LOW | lms/djangoapps/instructor/views/serializers_v2.py | 530 | # Check if certificate generation is enabled (not available for CCX courses) | COMMENT |
| LOW | lms/djangoapps/instructor/views/instructor_dashboard.py | 189 | # Check if there is corresponding entry in the CourseMode Table related to the Instructor Dashboard course | COMMENT |
| LOW | lms/djangoapps/instructor/views/api.py | 944 | # Check if student is already enrolled | COMMENT |
| LOW | lms/djangoapps/instructor/views/api.py | 3920 | # Check if the learner is actively enrolled in the course-run | COMMENT |
| LOW | lms/djangoapps/instructor/views/api.py | 3927 | # Check if the learner is blocked from receiving certificates in this course run. | COMMENT |
| LOW | lms/djangoapps/instructor/views/api.py | 4295 | # Check if the learner already appears on the certificate invalidation list | COMMENT |
| LOW | lms/djangoapps/instructor/views/serializer.py | 404 | # Iterate over the list of identifiers and validate each one | COMMENT |
| LOW | lms/templates/dashboard.html | 165 | # Check if the course run is an entitlement and if it has an associated session | COMMENT |
| LOW | openedx/core/djangoapps/credit/api/provider.py | 219 | # Check if we've enabled automatic integration with the credit | COMMENT |
| LOW | openedx/core/djangoapps/xblock/rest_api/views.py | 97 | # Check if a specific version has been requested. TODO: move this to a URL path param like the other views? | COMMENT |
| LOW | openedx/core/djangoapps/enrollments/views.py | 770 | # Check if the requested activation status is None or a Boolean | COMMENT |
| LOW | openedx/core/djangoapps/enrollments/views.py | 800 | # Check if the force enrollment status is None or a Boolean | COMMENT |
| LOW | openedx/core/djangoapps/content_tagging/auth.py | 68 | # Check if toggle is active | COMMENT |
| LOW | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 119 | # Check if the tags are created in the Course | COMMENT |
| LOW⚡ | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 150 | # Check if the tags are created in the Course is the system default | COMMENT |
| LOW⚡ | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 164 | # Check if the tags are created in the Course is the system default | COMMENT |
| LOW⚡ | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 224 | # Check if the tags are created in the XBlock | COMMENT |
| LOW⚡ | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 230 | # Check if the tags are deleted | COMMENT |
| LOW | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 298 | # Check if the tags are created in the Library Block with the user's preferred language | COMMENT |
| LOW | …dx/core/djangoapps/content_tagging/tests/test_tasks.py | 310 | # Check if the tags are still present in the Library Block with the user's preferred language | COMMENT |
| LOW⚡ | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2446 | # Check if the taxonomy was created | COMMENT |
| LOW⚡ | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2452 | # Check if the tags were created | COMMENT |
| LOW⚡ | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2460 | # Check if the taxonomy was no association with orgs | COMMENT |
| LOW⚡ | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2493 | # Check if the taxonomy was created | COMMENT |
| LOW⚡ | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2499 | # Check if the tags were created | COMMENT |
| LOW⚡ | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2507 | # Check if the taxonomy was associated with the orgA | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2529 | # Check if the taxonomy was not created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2555 | # Check if the taxonomy was not created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2586 | # Check if the taxonomy was not created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2609 | # Check if the taxonomy was not created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2636 | # Check if the taxonomy was not created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2665 | # Check if the taxonomy was not created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2718 | # Check if the tags were created | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2740 | # Check if the taxonomy was not changed | COMMENT |
| LOW | …goapps/content_tagging/rest_api/v1/tests/test_views.py | 2763 | # Check if the taxonomy was not changed | COMMENT |
| 79 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | lms/djangoapps/commerce/tests/test_signals.py | 267 | def call_create_zendesk_ticket(self, name='Test user', email='user@example.com', subject='Test Ticket', | CODE |
| LOW | lms/djangoapps/commerce/tests/test_signals.py | 298 | email = 'user@example.com' | CODE |
| LOW | …/djangoapps/instructor_task/tests/test_tasks_helper.py | 1551 | self._create_enrollment('user@example.com') | CODE |
| LOW | lms/djangoapps/instructor_task/tests/test_tasks.py | 89 | 'user_id': 'dummy_id', | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 270 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 282 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 301 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 317 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 331 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 350 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/bulk_email/tests/test_err_handling.py | 362 | to_list = ['test@test.com'] | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_tabs.py | 535 | {'type': 'discussion', 'name': 'fake_name'}, | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_tabs.py | 536 | {'type': ExternalLinkCourseTab.type, 'name': 'fake_name', 'link': 'fake_link'}, | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_tabs.py | 537 | {'type': ExternalLinkCourseTab.type, 'name': 'fake_name', 'link': 'fake_link'}, | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_tabs.py | 541 | {'type': ProgressTab.type, 'name': 'fake_name'}, | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_tabs.py | 542 | {'type': xmodule_tabs.StaticTab.type, 'name': 'fake_name', 'url_slug': 'schlug'}, | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_tabs.py | 548 | {'type': ExternalDiscussionCourseTab.type, 'name': 'fake_name', 'link': 'fake_link'} | CODE |
| LOW | lms/djangoapps/courseware/tests/test_tabs.py | 60 | cls.fake_dict_tab = {'fake_key': 'fake_value'} | CODE |
| LOW | lms/djangoapps/courseware/tests/test_tabs.py | 148 | assert tab != {'fake_key': 'fake_value'} | CODE |
| LOW | lms/djangoapps/courseware/tests/test_tabs.py | 506 | [{'type': 'discussion', 'name': 'fake_name'}, | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_block_render.py | 299 | fake_key = 'fake key' | CODE |
| LOW⚡ | lms/djangoapps/courseware/tests/test_block_render.py | 300 | xqueue_header = json.dumps({'lms_key': fake_key}) | CODE |
| LOW | lms/djangoapps/courseware/tests/test_block_render.py | 320 | request.POST['queuekey'] = fake_key | CODE |
| LOW | lms/djangoapps/courseware/views/views.py | 2245 | 'placeholder': '', | CODE |
| LOW | lms/djangoapps/courseware/views/views.py | 2262 | 'placeholder': '', | CODE |
| LOW | lms/djangoapps/courseware/views/views.py | 2274 | 'placeholder': '', | CODE |
| LOW | lms/djangoapps/courseware/views/views.py | 2286 | 'placeholder': '', | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 211 | "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 216 | "lis_person_name_full": "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 220 | "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 223 | {"lis_person_contact_email_primary": "some_email@example.com", "lis_person_name_full": "John Doe"}, | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 225 | "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 316 | "full_name": "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 321 | assert lti_user.edx_user.profile.name == "John Doe" | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 327 | "full_name": "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 331 | assert lti_user.edx_user.profile.name == "John Doe" | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 337 | "full_name": "John Doe", | CODE |
| LOW⚡ | lms/djangoapps/lti_provider/tests/test_users.py | 342 | assert lti_user.edx_user.profile.name == "John Doe" | CODE |
| LOW | lms/djangoapps/discussion/rest_api/tests/test_api_v2.py | 182 | "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. " | CODE |
| LOW | lms/djangoapps/discussion/rest_api/tests/test_api_v2.py | 182 | "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. " | CODE |
| LOW | lms/djangoapps/instructor/enrollment.py | 143 | `student_email` is student's emails e.g. "foo@bar.com" | STRING |
| LOW | lms/djangoapps/instructor/enrollment.py | 210 | `student_email` is student's emails e.g. "foo@bar.com" | STRING |
| LOW | lms/djangoapps/instructor/tests/test_enrollment.py | 1011 | email_params["email_address"] = "user@example.com" | CODE |
| LOW | lms/djangoapps/instructor/tests/test_enrollment.py | 1027 | email_params["email_address"] = "user@example.com" | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1699 | ('student1', 'John Doe', 'john@example.com', mock_location, extended_date), | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1740 | ('student1', 'John Doe', extended_date, 'john@example.com', mock_unit.location), | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1757 | self.assertEqual(data['full_name'], 'John Doe') # noqa: PT009 | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1797 | ('student1', 'John Doe', extended_date, 'john@example.com', mock_unit.location), | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1819 | self.assertEqual(data['full_name'], 'John Doe') # noqa: PT009 | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1845 | ('student1', 'John Doe', 'john@example.com', mock_location, extended_date), | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api_v2.py | 1915 | ('student1', 'John Doe', 'john@example.com', mock_location, extended_date), | CODE |
| LOW⚡ | lms/djangoapps/instructor/tests/utils.py | 104 | def __init__(self, fake_email, num_sent, num_failed): | CODE |
| LOW⚡ | lms/djangoapps/instructor/tests/utils.py | 106 | self.created = fake_email.created.strftime("%Y-%m-%dT%H:%M:%SZ") | CODE |
| LOW⚡ | lms/djangoapps/instructor/tests/utils.py | 113 | fake_email_dict = fake_email.to_dict() | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api.py | 427 | {'identifiers': 'foo@example.org', 'action': 'enroll'}), | CODE |
| LOW | lms/djangoapps/instructor/tests/test_api.py | 465 | ('bulk_beta_modify_access', {'identifiers': 'foo@example.org', 'action': 'add'}), | CODE |
| LOW | lms/djangoapps/instructor/tests/test_proctoring.py | 156 | ('test_proctoring_provider', 'foo@bar.com') | CODE |
| LOW | lms/djangoapps/instructor/tests/test_proctoring.py | 183 | self.setup_course_with_proctoring_backend('test_proctoring_provider', 'foo@bar.com') | CODE |
| LOW | lms/djangoapps/instructor/tests/test_proctoring.py | 202 | self.setup_course_with_proctoring_backend('lti_external', 'foo@bar.com') | CODE |
| LOW | lms/djangoapps/instructor/views/api_v2.py | 557 | "full_name": "John Doe", | STRING |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lms/djangoapps/commerce/tests/mocks.py | 65 | """Helper used to create callbacks in order to have httpretty raise Exceptions.""" | STRING |
| MEDIUM | lms/djangoapps/branding/api.py | 473 | # to the footer logo rather than use the comprehensive theming system. | COMMENT |
| LOW⚡ | lms/djangoapps/instructor_task/models.py | 146 | # will fit in the column. In the meantime, just return an exception. | COMMENT |
| LOW | lms/djangoapps/bulk_email/tasks.py | 159 | # So we just return right away. We don't raise an exception, because we want | COMMENT |
| LOW | lms/djangoapps/bulk_email/api.py | 167 | # The currencies do not affect user lookup though, so we can just use the first result. | COMMENT |
| LOW | lms/djangoapps/course_blocks/transformers/utils.py | 124 | # no parents so just use value on block or default | COMMENT |
| LOW | lms/djangoapps/courseware/tabs.py | 355 | # We can't switch this function to just use the CourseTabPluginManager without | COMMENT |
| MEDIUM | lms/djangoapps/courseware/courses.py | 186 | # to a course. (Essentially check this AND check that AND...) | COMMENT |
| LOW | lms/djangoapps/courseware/user_state_client.py | 426 | # Anonymous users cannot be persisted to the database, so let's just use | COMMENT |
| MEDIUM | …ngoapps/courseware/tests/test_comprehensive_theming.py | 1 | """Tests of comprehensive theming.""" | STRING |
| MEDIUM | …ngoapps/courseware/tests/test_comprehensive_theming.py | 17 | """Test comprehensive theming.""" | STRING |
| MEDIUM | …ourse_goals/management/commands/goal_reminder_email.py | 302 | # Essentially, if today is Sunday, days_left_in_week should be 1 since they have Sunday to hit their goal. | COMMENT |
| MEDIUM⚡ | lms/djangoapps/teams/tests/test_views.py | 2797 | """Test that team creation is robust to Elasticsearch errors.""" | STRING |
| MEDIUM⚡ | lms/djangoapps/teams/tests/test_views.py | 2806 | """Test that team deletion is robust to Elasticsearch errors.""" | STRING |
| MEDIUM⚡ | lms/djangoapps/teams/tests/test_views.py | 2811 | """Test that team updates are robust to Elasticsearch errors.""" | STRING |
| MEDIUM | lms/djangoapps/teams/tests/test_views.py | 2775 | """Test that the Team API is robust to Elasticsearch connection errors.""" | STRING |
| LOW | lms/djangoapps/discussion/rest_api/api.py | 981 | # so just return an empty response. | COMMENT |
| LOW | lms/djangoapps/discussion/rest_api/views.py | 1202 | # we can just pass those up. | COMMENT |
| MEDIUM | …goapps/course_wiki/tests/test_comprehensive_theming.py | 21 | """Tests for comprehensive theming of wiki pages.""" | STRING |
| LOW | …ates/instructor/instructor_dashboard_2/send_email.html | 56 | ## If there's only 1 course mode, everyone is in it and you should just use "All Learners" | COMMENT |
| LOW | lms/envs/production.py | 298 | # TODO: Would it be safe to just set this default in common.py, even if ENABLE_THIRD_PARTY_AUTH is False? | COMMENT |
| LOW | openedx/core/djangoapps/xblock/api.py | 325 | # We must return an absolute URL. We can't just use | COMMENT |
| LOW | openedx/core/djangoapps/xblock/utils.py | 161 | # the key on the AnonymousUser object, just return that - it supersedes | COMMENT |
| LOW | …e/djangoapps/xblock/runtime/openedx_content_runtime.py | 212 | # should be removed and its parse_xml() method should be simplified to just call the super().parse_xml() | COMMENT |
| LOW | openedx/core/djangoapps/xblock/runtime/shims.py | 272 | # Studio always returned None so we just return None for now. | COMMENT |
| LOW⚡ | openedx/core/djangoapps/embargo/tests/test_api.py | 162 | # In order to simulate this behavior, we can't simply set `profile.country = None`. | COMMENT |
| LOW | openedx/core/djangoapps/crawlers/models.py | 44 | # then just return False. | COMMENT |
| LOW | …edx/core/djangoapps/content/course_overviews/models.py | 886 | # If this is an absolute URL, just return it as is. It could be a domain | COMMENT |
| LOW⚡ | …ontent/course_overviews/tests/test_course_overviews.py | 708 | # Since we're disabled, we should just return the raw source image back | COMMENT |
| LOW | openedx/core/djangoapps/models/course_details.py | 329 | # Could just return jsondict w/o doing any db reads, but I put | COMMENT |
| LOW | …edx/core/djangoapps/content_libraries/api/libraries.py | 648 | # If nothing's changed, just return early. | COMMENT |
| LOW | …e/djangoapps/content_libraries/rest_api/serializers.py | 558 | # If the task did not complete, just return the state. | COMMENT |
| MEDIUM | …x/core/djangoapps/content_libraries/rest_api/blocks.py | 507 | # this response in conjunction with a media reverse proxy (Caddy or Nginx), | COMMENT |
| LOW | openedx/core/djangoapps/dark_lang/middleware.py | 153 | # User doesn't have a dark lang preference, so just return | COMMENT |
| MEDIUM | openedx/core/djangoapps/programs/tasks.py | 347 | # N.B. the list is sorted to facilitate deterministic ordering, e.g. for tests. | COMMENT |
| LOW | openedx/core/djangoapps/site_configuration/helpers.py | 147 | # If the dictionary update fails, just use the configuration value | COMMENT |
| MEDIUM | openedx/core/djangoapps/theming/checks.py | 28 | # Only perform checks when comprehensive theming is enabled. | COMMENT |
| MEDIUM | openedx/core/djangoapps/theming/tests/test_helpers.py | 26 | """Test comprehensive theming helper functions.""" | STRING |
| MEDIUM⚡ | openedx/core/djangoapps/theming/tests/test_helpers.py | 122 | """Test comprehensive theming helper functions.""" | STRING |
| LOW | openedx/core/djangoapps/api_admin/views.py | 292 | # Ensure that we don't just return all the courses if no query is given | COMMENT |
| LOW | openedx/core/lib/tests/test_request_utils.py | 62 | # If ALLOWED_HOSTS is set properly, and the host is valid, we just return the user-provided host | COMMENT |
| LOW | openedx/features/content_type_gating/field_override.py | 32 | # We cannot simply call "block.group_access" to fetch that value even if we disable | COMMENT |
| LOW | …enedx/features/effort_estimation/block_transformers.py | 89 | # Rather than attempt to work around it, just set a note for ourselves to not show durations for this | COMMENT |
| MEDIUM | openedx/envs/common.py | 91 | # Add locale paths to settings for comprehensive theming. | COMMENT |
| MEDIUM | openedx/envs/common.py | 2074 | # The following Django settings flags have been introduced temporarily to facilitate | COMMENT |
| MEDIUM | openedx/envs/common.py | 2450 | # be searched for comprehensive themes. Do not override this Django setting directly. | COMMENT |
| LOW | common/djangoapps/track/middleware.py | 89 | ## should just return a 500 here: (1) This will translate | COMMENT |
| MEDIUM | common/djangoapps/track/tests/__init__.py | 44 | # Make this more robust to the addition of new events that the test doesn't care about. | COMMENT |
| MEDIUM | common/djangoapps/student/models/course_enrollment.py | 288 | # Named tuple for fields pertaining to the state of | COMMENT |
| MEDIUM | common/djangoapps/third_party_auth/dummy.py | 18 | """ Get the URL to which we must redirect in order to authenticate the user """ | STRING |
| MEDIUM⚡ | common/djangoapps/third_party_auth/tests/specs/base.py | 271 | """Verify that the user was redirected in order to set the logged in cookie.""" | STRING |
| LOW | cms/djangoapps/contentstore/git_export_utils.py | 195 | # That's ok, just use default ident | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/asset_storage_handlers.py | 604 | # using the 'filename' nomenclature since we're using a FileSystem paradigm | COMMENT |
| MEDIUM | cms/djangoapps/contentstore/asset_storage_handlers.py | 565 | # using the 'filename' nomenclature since we're using a FileSystem paradigm | COMMENT |
| LOW | …ngoapps/contentstore/core/course_optimizer_provider.py | 64 | # Wasn't JSON, just use the value as a string | COMMENT |
| LOW | …ngoapps/contentstore/core/course_optimizer_provider.py | 645 | # If no artifact found or invalid JSON, just return empty results | COMMENT |
| MEDIUM | cms/djangoapps/contentstore/signals/handlers.py | 1 | """ receivers of course_published and library_updated events in order to trigger indexing task """ | STRING |
| LOW | cms/djangoapps/contentstore/tests/test_contentstore.py | 727 | # Query get_items() and find the html item. This should just return back a single item (not 2). | COMMENT |
| MEDIUM | …tentstore/management/commands/tests/test_export_olx.py | 93 | """wrapper to facilitate operations with a BytesIO as a buffer""" | STRING |
| LOW | cms/djangoapps/contentstore/views/user.py | 101 | # just return info about the user | COMMENT |
| 23 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pps/commerce/management/commands/configure_commerce.py | 13 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | lms/djangoapps/program_enrollments/signals.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ents/management/commands/expire_waiting_enrollments.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/program_enrollments/api/grades.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/program_enrollments/api/writing.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/program_enrollments/api/linking.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/instructor_task/models.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/experiments/utils.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | …angoapps/course_blocks/transformers/library_content.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/support/views/enrollments.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/course_api/api.py | 36 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | …r_softwaresecurephotoverifications_post_save_signal.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/management/commands/send_verification_expiry_email.py | 30 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/teams/api.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/learner_home/views.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | lms/djangoapps/instructor/tasks.py | 25 | def update_exam_completion_task(user_identifier: str, content_id: str, completion: float) -> None: | CODE |
| LOW | openedx/core/djangoapps/content_tagging/tasks.py | 28 | def _set_initial_language_tag(content_key: ContentKey, lang_code: str) -> None: | CODE |
| LOW | openedx/core/djangoapps/catalog/utils.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | …angoapps/catalog/management/commands/cache_programs.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …djangoapps/user_api/management/commands/retire_user.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/core/djangoapps/user_api/accounts/signals.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/core/djangoapps/user_api/accounts/forms.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/core/djangoapps/user_api/accounts/api.py | 55 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/djangoapps/content/learning_sequences/api/outlines.py | 59 | __all__ = [ | CODE |
| LOW | openedx/core/djangoapps/content/search/tasks.py | 94 | def update_content_library_index_docs(library_key_str: str, full_index: bool = False) -> None: | CODE |
| LOW | openedx/core/djangoapps/content/search/tasks.py | 108 | def update_library_collection_index_doc(collection_key_str: str) -> None: | CODE |
| LOW | openedx/core/djangoapps/content/search/tasks.py | 122 | def update_library_components_collections(collection_key_str: str) -> None: | CODE |
| LOW | openedx/core/djangoapps/content/search/tasks.py | 136 | def update_library_containers_collections(collection_key_str: str) -> None: | CODE |
| LOW | openedx/core/djangoapps/content/search/tasks.py | 150 | def update_library_container_index_doc(container_key_str: str) -> None: | CODE |
| LOW | openedx/core/djangoapps/content/search/api.py | 316 | def _update_index_docs(docs) -> None: | CODE |
| LOW | openedx/core/djangoapps/content_libraries/api/backup.py | 19 | __all__ = ["create_library_v2_zip", "extract_library_v2_zip_to_dir"] | CODE |
| LOW | …dx/core/djangoapps/content_libraries/api/containers.py | 52 | __all__ = [ | CODE |
| LOW | …edx/core/djangoapps/content_libraries/api/libraries.py | 84 | __all__ = [ | CODE |
| LOW | …ore/djangoapps/content_libraries/api/block_metadata.py | 24 | __all__ = [ | CODE |
| LOW | …x/core/djangoapps/content_libraries/api/collections.py | 20 | __all__ = [ | CODE |
| LOW | …dx/core/djangoapps/content_libraries/api/exceptions.py | 11 | __all__ = [ | CODE |
| LOW | openedx/core/djangoapps/content_libraries/api/blocks.py | 79 | __all__ = [ | CODE |
| LOW | …djangoapps/content_libraries/api/container_metadata.py | 32 | __all__ = [ | CODE |
| LOW | openedx/core/djangoapps/programs/rest_api/v1/views.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/core/djangoapps/zendesk_proxy/v1/views.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …admin/management/commands/create_api_access_request.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/core/djangoapps/auth_exchange/views.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | openedx/core/djangoapps/notifications/tasks.py | 257 | def update_account_user_preference(user_id: int) -> None: | CODE |
| LOW | …nedx/core/djangoapps/notifications/audience_filters.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | …cations/management/commands/fix_mixed_email_cadence.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ifications/management/commands/delete_notifications.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …management/commands/update_notification_preferences.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | …spatch/management/commands/edx_clear_expired_tokens.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dispatch/management/commands/create_dot_application.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/core/lib/api/authentication.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/features/course_experience/api/v1/utils.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/features/calendar_sync/utils.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | openedx/features/survey_report/api.py | 114 | def update_report(survey_report_id: int, data: dict) -> None: | CODE |
| LOW | common/djangoapps/track/tracker.py | 32 | __all__ = ['send'] | CODE |
| LOW | common/djangoapps/util/models.py | 13 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| LOW | common/djangoapps/util/storage.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | common/djangoapps/student/signals/receivers.py | 35 | logger = logging.getLogger(__name__) # noqa: F811 | CODE |
| LOW | …/student/management/commands/unsubscribe_user_email.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nt/management/commands/retrieve_unsubscribed_emails.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | …jangoapps/student/management/commands/bulk_unenroll.py | 13 | logger = logging.getLogger(__name__) # pylint: disable=invalid-name | CODE |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …edx/core/djangoapps/content_libraries/api/libraries.py | 243 | # ============ | COMMENT |
| MEDIUM | …ore/djangoapps/content_libraries/rest_api/libraries.py | 680 | # ==================== | COMMENT |
| MEDIUM⚡ | …ngoapps/contentstore/tests/test_course_create_rerun.py | 427 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ngoapps/contentstore/tests/test_course_create_rerun.py | 429 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ngoapps/contentstore/tests/test_course_create_rerun.py | 484 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ngoapps/contentstore/tests/test_course_create_rerun.py | 486 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | …ngoapps/contentstore/tests/test_course_create_rerun.py | 466 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM | …ngoapps/contentstore/tests/test_course_create_rerun.py | 470 | # ------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/views/tests/test_block.py | 3651 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/views/tests/test_block.py | 3653 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/views/tests/test_block.py | 3673 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/views/tests/test_block.py | 3675 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/views/tests/test_block.py | 3686 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | cms/djangoapps/contentstore/views/tests/test_block.py | 3688 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | xmodule/modulestore/tests/test_xml_importer.py | 75 | #=========================================== | COMMENT |
| MEDIUM | xmodule/modulestore/tests/test_split_modulestore.py | 2058 | # =========================================== | COMMENT |
| MEDIUM | xmodule/modulestore/split_mongo/split.py | 107 | # ============================================================================== | COMMENT |
| MEDIUM | xmodule/modulestore/split_mongo/split.py | 123 | # ============================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lms/djangoapps/commerce/utils.py | 304 | CODE | |
| LOW | …s/grades/rest_api/v1/tests/test_grading_policy_view.py | 86 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/reading.py | 164 | CODE | |
| LOW | lms/djangoapps/program_enrollments/api/reading.py | 326 | CODE | |
| LOW | …ps/program_enrollments/rest_api/v1/tests/test_views.py | 1212 | CODE | |
| LOW | lms/djangoapps/instructor_task/tests/test_views.py | 250 | CODE | |
| LOW | lms/djangoapps/certificates/api.py | 565 | CODE | |
| LOW | lms/djangoapps/certificates/api.py | 1064 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 295 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 385 | CODE | |
| LOW | lms/djangoapps/courseware/block_render.py | 495 | CODE | |
| LOW | lms/djangoapps/courseware/models.py | 75 | CODE | |
| LOW | lms/djangoapps/courseware/tests/test_views.py | 2196 | CODE | |
| LOW | lms/djangoapps/courseware/tests/test_block_render.py | 631 | CODE | |
| LOW | …apps/courseware/management/commands/dump_course_ids.py | 26 | CODE | |
| LOW | …are/management/commands/dump_course_ids_with_filter.py | 35 | CODE | |
| LOW | lms/djangoapps/ccx/api/v0/views.py | 396 | CODE | |
| LOW | lms/djangoapps/mobile_api/users/tests.py | 345 | CODE | |
| LOW | lms/djangoapps/course_api/blocks/api.py | 19 | CODE | |
| LOW | lms/djangoapps/lti_provider/outcomes.py | 183 | CODE | |
| LOW | lms/djangoapps/verify_student/tests/test_views.py | 2048 | CODE | |
| LOW | …ngoapps/discussion/django_comment_client/base/views.py | 908 | CODE | |
| LOW | lms/djangoapps/discussion/tests/test_tasks_v2.py | 54 | CODE | |
| LOW | lms/djangoapps/discussion/rest_api/api.py | 898 | CODE | |
| LOW | lms/djangoapps/discussion/rest_api/views.py | 232 | CODE | |
| LOW | lms/djangoapps/discussion/rest_api/views.py | 1397 | CODE | |
| LOW | lms/djangoapps/discussion/rest_api/tests/test_api_v2.py | 2851 | CODE | |
| LOW | lms/djangoapps/instructor/tests/test_certificates.py | 1137 | CODE | |
| LOW | lms/djangoapps/instructor/tests/test_api.py | 5457 | CODE | |
| LOW | …goapps/instructor/tests/test_api_email_localization.py | 51 | CODE | |
| LOW | …djangoapps/course_home_api/outline/tests/test_goals.py | 66 | CODE | |
| LOW | openedx/core/djangoapps/commerce/utils.py | 303 | CODE | |
| LOW | openedx/core/djangoapps/xblock/rest_api/views.py | 240 | CODE | |
| LOW | openedx/core/djangoapps/enrollments/tests/test_views.py | 55 | CODE | |
| LOW | openedx/core/djangoapps/user_api/helpers.py | 136 | CODE | |
| LOW | openedx/core/djangoapps/content/search/api.py | 1172 | CODE | |
| LOW | …ngoapps/django_comment_common/comment_client/models.py | 212 | CODE | |
| LOW | …ngoapps/django_comment_common/comment_client/models.py | 230 | CODE | |
| LOW | …ngoapps/django_comment_common/comment_client/models.py | 253 | CODE | |
| LOW | …ngoapps/django_comment_common/comment_client/models.py | 306 | CODE | |
| LOW | openedx/core/djangoapps/content_libraries/tests/base.py | 449 | CODE | |
| LOW | openedx/core/djangoapps/content_libraries/tests/base.py | 456 | CODE | |
| LOW | …enedx/core/djangoapps/site_configuration/middleware.py | 28 | CODE | |
| LOW | …enedx/core/djangoapps/waffle_utils/tests/test_views.py | 133 | CODE | |
| LOW | openedx/core/djangoapps/oauth_dispatch/jwt.py | 137 | CODE | |
| LOW | openedx/core/djangoapps/oauth_dispatch/tests/mixins.py | 20 | CODE | |
| LOW | openedx/core/djangoapps/oauth_dispatch/tests/mixins.py | 46 | CODE | |
| LOW | openedx/core/lib/request_utils.py | 119 | CODE | |
| LOW | openedx/core/lib/edx_api_utils.py | 26 | CODE | |
| LOW | openedx/features/calendar_sync/tests/test_ics.py | 42 | CODE | |
| LOW | common/djangoapps/util/views.py | 44 | CODE | |
| LOW | common/djangoapps/util/views.py | 64 | CODE | |
| LOW | common/djangoapps/util/tests/test_filters.py | 97 | CODE | |
| LOW | common/djangoapps/student/tests/test_roles.py | 618 | CODE | |
| LOW | common/djangoapps/student/tests/tests.py | 988 | CODE | |
| LOW | common/djangoapps/entitlements/rest_api/v1/filters.py | 23 | CODE | |
| LOW | cms/djangoapps/contentstore/exams.py | 154 | CODE | |
| LOW | …ngoapps/contentstore/core/course_optimizer_provider.py | 72 | CODE | |
| LOW | …ngoapps/contentstore/core/course_optimizer_provider.py | 652 | CODE | |
| LOW | …/contentstore/xblock_storage_handlers/view_handlers.py | 438 | CODE | |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | webpack.prod.config.js | 51 | // Step 1: Alter the bundle output names to omit the chunkhash. | COMMENT |
| LOW⚡ | webpack.prod.config.js | 60 | // Step 2: Remove the plugin entries that generate the webpack-stats.json files | COMMENT |
| LOW | lms/djangoapps/commerce/utils.py | 357 | # NOTE: The following assumes that the user has already been unenrolled. | COMMENT |
| LOW | openedx/core/djangoapps/olx_rest_api/views.py | 40 | # Step 1: Serialize the XBlocks to OLX files + static asset files | COMMENT |
| LOW | openedx/core/djangoapps/user_authn/urls_common.py | 62 | # WARNING: This is similar to auth_backends ^logout/$ (which has a | COMMENT |
| LOW | common/djangoapps/track/middleware.py | 51 | # WARNING: This list needs to be changed whenever we change | COMMENT |
| LOW | common/djangoapps/track/backends/mongodb.py | 80 | # WARNING: The collection will be locked during the index | COMMENT |
| LOW | common/djangoapps/third_party_auth/urls.py | 29 | # NOTE: The following routes under auth/saml/v0/ are registered by the | COMMENT |
| LOW⚡ | cms/djangoapps/contentstore/views/course.py | 1059 | # Step 2: Single-pass decision → collect valid keys | COMMENT |
| LOW⚡ | cms/djangoapps/contentstore/views/course.py | 1065 | # Step 3: Batch fetch valid courses with a single query, ordered by creation date | COMMENT |
| LOW⚡ | cms/djangoapps/contentstore/views/course.py | 1070 | # Step 4: Apply filters (e.g. search, active/archived status, ordering) | COMMENT |
| LOW | cms/djangoapps/contentstore/views/course.py | 1036 | # Step 1: Determine candidate keys | COMMENT |
| LOW⚡ | …ore/rest_api/v0/tests/test_course_rerun_link_update.py | 140 | # Step 1: Start task | COMMENT |
| LOW⚡ | …ore/rest_api/v0/tests/test_course_rerun_link_update.py | 147 | # Step 2: Check failed status | COMMENT |
| LOW⚡ | scripts/structures_pruning/utils/splitmongo.py | 567 | # Step 1: Relink - Change the previous pointer for the oldest structure | COMMENT |
| LOW⚡ | scripts/structures_pruning/utils/splitmongo.py | 574 | # Step 2: Delete unused Structures | COMMENT |
| LOW⚡ | xmodule/capa_block.py | 1999 | # NOTE: The above process requires deep inspection of capa structures that may break for some | COMMENT |
| LOW | xmodule/modulestore/xml_importer.py | 1020 | # IMPORTANT: Be sure to update the block location in the NEW namespace | COMMENT |
| LOW | xmodule/modulestore/xml_importer.py | 1038 | # IMPORTANT: Be sure to update the parent in the NEW namespace | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | webpack.prod.config.js | 51 | // Step 1: Alter the bundle output names to omit the chunkhash. | COMMENT |
| LOW⚡ | webpack.prod.config.js | 60 | // Step 2: Remove the plugin entries that generate the webpack-stats.json files | COMMENT |
| LOW | lms/djangoapps/courseware/block_render.py | 515 | The purpose of this function is to factor out everywhere a user is implicitly bound when creating a module, | CODE |
| LOW | …s/mailing/management/commands/mailchimp_sync_course.py | 244 | The purpose of this function is unclear. | STRING |
| LOW | openedx/core/djangoapps/credit/utils.py | 16 | # Note: we need to check if found components have been orphaned | COMMENT |
| LOW | openedx/core/djangoapps/olx_rest_api/views.py | 40 | # Step 1: Serialize the XBlocks to OLX files + static asset files | COMMENT |
| LOW | openedx/core/djangoapps/content_libraries/tasks.py | 238 | Whenever a container is edited, we need to check if child entities were | STRING |
| LOW | cms/djangoapps/contentstore/outlines.py | 255 | # We need to check if there are duplicate sequences. If there are | COMMENT |
| LOW⚡ | cms/djangoapps/contentstore/views/course.py | 1059 | # Step 2: Single-pass decision → collect valid keys | COMMENT |
| LOW⚡ | cms/djangoapps/contentstore/views/course.py | 1065 | # Step 3: Batch fetch valid courses with a single query, ordered by creation date | COMMENT |
| LOW⚡ | cms/djangoapps/contentstore/views/course.py | 1070 | # Step 4: Apply filters (e.g. search, active/archived status, ordering) | COMMENT |
| LOW | cms/djangoapps/contentstore/views/course.py | 1036 | # Step 1: Determine candidate keys | COMMENT |
| LOW⚡ | …ore/rest_api/v0/tests/test_course_rerun_link_update.py | 140 | # Step 1: Start task | COMMENT |
| LOW⚡ | …ore/rest_api/v0/tests/test_course_rerun_link_update.py | 147 | # Step 2: Check failed status | COMMENT |
| LOW | cms/djangoapps/models/settings/course_metadata.py | 278 | # Because we cannot pass course context to the exception, we need to check if the LTI provider | COMMENT |
| LOW⚡ | scripts/structures_pruning/utils/splitmongo.py | 567 | # Step 1: Relink - Change the previous pointer for the oldest structure | COMMENT |
| LOW⚡ | scripts/structures_pruning/utils/splitmongo.py | 574 | # Step 2: Delete unused Structures | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …angoapps/contentstore/tests/test_import_draft_order.py | 32 | # alphabetical ordering, for example). Therefore, I have added a lot of variation in filename and desired | COMMENT |
| HIGH | xmodule/course_block.py | 156 | # cdodge: I've added this caching of TOC because in Mongo-backed instances (but not Filesystem stores) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lms/djangoapps/bulk_email/tests/test_err_handling.py | 111 | # Don't forget to account for the "myself" instructor user | COMMENT |
| MEDIUM | …-complete/problem/eb248c5260254ce094c157ffb8352d16.xml | 1 | <problem display_name="Numerical Input" markdown="A numerical input problem accepts a line of text input from the studen | CODE |
| LOW | cms/djangoapps/contentstore/tests/test_contentstore.py | 151 | # Add a new asset in the course, and make sure to name it such that it overwrite the one existing | COMMENT |
| MEDIUM | cms/djangoapps/contentstore/views/preview.py | 358 | # Generally speaking, "if you can add, you can delete". One exception is itembank (Problem Bank) | COMMENT |
| LOW | xmodule/modulestore/django.py | 191 | # If you add a new signal, please don't forget to add it to the _mapping | COMMENT |
| LOW | xmodule/modulestore/django.py | 191 | # If you add a new signal, please don't forget to add it to the _mapping | COMMENT |
| MEDIUM | xmodule/templates/html/zooming_image.yaml | 15 | <p>Feel free to modify the example below for your own use, but take care not to remove the included Javascript.</p | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/delete-mongo-test-dbs.js | 21 | print('Dropping test db ' + dbNameList[i]); | CODE |
| HIGH | …odule/assets/video/public/js/08_video_speed_control.js | 171 | * return True. Otherwise, False will be returned. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openedx/core/djangoapps/xblock/runtime/shims.py | 124 | # TODO: implement? | COMMENT |
| LOW | openedx/core/djangoapps/xblock/runtime/shims.py | 170 | # TODO: implement this to serve any static assets that self._active_block has. | COMMENT |
| LOW | openedx/core/djangoapps/schedules/utils.py | 14 | # TODO: consider using a LoggerAdapter instead of this mixin: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cms/djangoapps/contentstore/exams.py | 76 | # microservice. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | common/static/sass/bourbon/addons/_clearfix.scss | 3 | // Example usage: | COMMENT |