已覆盖只允许正确或错误,未覆盖可待确认,缺引用不再阻止正确结论。 复用统一事务写入与不可变审计重评旧待确认,保留原问答和人工结论。 验证:全仓 make verify、真实隔离 PostgreSQL 全包与 race 回归通过。
This commit is contained in:
@@ -123,7 +123,7 @@ func TestAILiveBailianPersistsAssessmentAndTranslation(t *testing.T) {
|
||||
}
|
||||
f := projected.MasterFields
|
||||
chinese := f["question_chinese"]
|
||||
if f["product_category"] != "MG400" || f["is_correct"] != "待确认" || f["problem_type"] == "" {
|
||||
if f["product_category"] != "MG400" || (f["is_correct"] != "是" && f["is_correct"] != "否") || f["problem_type"] == "" {
|
||||
t.Fatal("live assessment did not fill valid bounded fields")
|
||||
}
|
||||
if !strings.Contains(chinese, "MG400") || !strings.ContainsFunc(chinese, func(r rune) bool { return unicode.Is(unicode.Han, r) }) {
|
||||
|
||||
Reference in New Issue
Block a user