Previously, effort estimation was disabled by default and gated by an experiment flag (effort_estimation.location). Now, it is enabled by default and courses can opt-out by adding course waffle override flags (effort_estimation.disabled).
20 lines
715 B
Python
20 lines
715 B
Python
"""
|
|
Feature toggles used for effort estimation.
|
|
"""
|
|
|
|
from edx_toggles.toggles import LegacyWaffleFlagNamespace
|
|
|
|
from openedx.core.djangoapps.waffle_utils import CourseWaffleFlag
|
|
|
|
|
|
WAFFLE_FLAG_NAMESPACE = LegacyWaffleFlagNamespace(name='effort_estimation')
|
|
|
|
# .. toggle_name: effort_estimation.disabled
|
|
# .. toggle_implementation: CourseWaffleFlag
|
|
# .. toggle_default: False
|
|
# .. toggle_description: If effort estimations are confusing for a given course (e.g. the course team has added manual
|
|
# estimates), you can turn them off case by case here.
|
|
# .. toggle_use_cases: opt_out
|
|
# .. toggle_creation_date: 2021-07-27
|
|
EFFORT_ESTIMATION_DISABLED_FLAG = CourseWaffleFlag(WAFFLE_FLAG_NAMESPACE, 'disabled', __name__)
|