Corrections models have been restructured to improve organization, intuitiveness, and reduce the need for serialization. The new models PostUserCorrection and PostCorrection replace the older models CorrectedRow, PerfectRow, and OverallFeedback.
TL;DR
Old Models
PerfectRow - Used to store sentences that were marked as perfect.
CorrectedRow - Used to store sentences that were corrected.
OverallFeedback - Used to store the overall correction feedback.
New Models
PostUserCorrection - Stores user-specific corrections and overall feedback for a post.
PostCorrection - Stores individual corrections (consolidates PerfectRow and CorrectedRow). This model handles both perfect and corrected sentences through the feedback_type field.
closes #562 closes #560 closes #559 closes #549
Overview
Corrections models have been restructured to improve organization, intuitiveness, and reduce the need for serialization. The new models
PostUserCorrection
andPostCorrection
replace the older modelsCorrectedRow
,PerfectRow
, andOverallFeedback
.TL;DR
Old Models
PerfectRow
- Used to store sentences that were marked as perfect.CorrectedRow
- Used to store sentences that were corrected.OverallFeedback
- Used to store the overall correction feedback.New Models
PostUserCorrection
- Stores user-specific corrections and overall feedback for a post.PostCorrection
- Stores individual corrections (consolidates PerfectRow and CorrectedRow). This model handles both perfect and corrected sentences through thefeedback_type
field.wip