Log recommendation difficulty level in a new field (translation_difficulty_level) of the content_translation_event schema for event type: dashboard_translation_start
Valid values for the translation_difficulty_level field are "stub", "easy", "medium", "hard", "unknown".
CX instrumentation schema where the new field is added
Derived Requirement
Update CX instrumentation to log the difficulty level of recommendations when a translation is started:
- Add a new field translation_difficulty_level to the content\_translation\_event schema.
- Apply this to the dashboard\_translation\_start event type.
- The field must accept only the following values:
- "stub"
- "easy"
- "medium"
- "hard"
- "unknown"
- The value must reflect the assessed difficulty of the translation recommendation being started.
Test Steps
Test Case 1: Event Field Presence
- Start a translation from the dashboard.
- Capture the logged dashboard_translation_start event in the instrumentation.
- ✅❓❌⬜ AC1: The event contains the translation_difficulty_level field.
Test Case 2: Valid Value Logging
- Start translations for recommendations of different difficulty levels (stub, easy, medium, hard).
- Capture events for each.
- ✅❓❌⬜ AC2: The field value matches the expected classification of the recommendation.
- ✅❓❌⬜ AC3: All values are restricted to the allowed set: stub, easy, medium, hard, or unknown.
QA Results - TestWiki - Pending Connie
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T399125#11211569 |
| 2 | ✅ | T399125#11211569 |
| 3 | ✅ | T399125#11211569 |


