This commit is contained in:
2026-05-14 14:21:17 +08:00
parent 7a75f5d612
commit d33c937ebc
191 changed files with 1916 additions and 1549 deletions

View File

@@ -3190,7 +3190,7 @@ mod tests {
#[test]
fn puzzle_point_incentive_uses_half_points_and_floor_claimable() {
// 中文注释:累计单位是 half point消耗 1 个点只让作者获得 0.5 个待结算点。
// 中文注释:累计单位是 half point消耗 1 个点只让作者获得 0.5 个待结算点。
assert_eq!(puzzle_point_incentive_total_after_spend(0, 1), 1);
assert_eq!(puzzle_point_incentive_claimable_points(1, 0), 0);
assert_eq!(puzzle_point_incentive_claimable_points(2, 0), 1);

View File

@@ -290,7 +290,7 @@ pub fn apply_puzzle_draft_field_patch(
let levels = normalize_puzzle_levels(next_draft.levels.clone(), &next_draft.theme_tags)?;
next_draft.levels = levels;
sync_primary_level_fields(&mut next_draft);
let _ = build_result_preview(&next_draft, Some("百梦"));
let _ = build_result_preview(&next_draft, Some("陶泥儿"));
Ok(next_draft)
}