feat: change scoring strategy

This commit is contained in:
2026-06-20 07:48:33 +03:30
parent 84b9267735
commit afb5045cf0
33 changed files with 634 additions and 34 deletions
+7 -2
View File
@@ -9,10 +9,15 @@
"question": "Question",
"text": "Text",
"value": "Value",
"choice": "Choice"
"choice": "Choice",
"score": "Score",
"weight": "Weight",
"rangeRule": "Range Rule"
},
"errors": {
"uniqueOrderConstraint": "Order value should be unique."
"uniqueOrderConstraint": "Order value should be unique.",
"rangeRuleMinMaxConstraint": "min value should be less than max.",
"rangeRuleIntersectionConstraint": "{min} to {max} range has some intersection with other ranges."
},
"messages": {
"createSuccess": "Question Created Successfully.",
+7 -2
View File
@@ -9,10 +9,15 @@
"question": "سوال",
"text": "متن",
"value": "مقدار",
"choice": "گزینه"
"choice": "گزینه",
"score": "نمره",
"weight": "وزن",
"rangeRule": "قانون بازه ای"
},
"errors": {
"uniqueOrderConstraint": "مقدار اولویت تکراری است."
"uniqueOrderConstraint": "مقدار اولویت تکراری است.",
"rangeRuleMinMaxConstraint": "مقدار min باید از max کوچکتر باشد.",
"rangeRuleIntersectionConstraint": "بازه {min} تا {max} با دیگر بازه های تعریف شده تداخل دارد."
},
"messages": {
"createSuccess": "سوال با موفقیت ایجاد شد.",