@@ -2035,6 +2035,20 @@ Steps:
20352035 ` wide_positional_calls=0 ` , ` wide_function_args=0 ` ,
20362036 ` nested_wide_for_unpacking=0 ` , ` range_len_loops=0 ` ), and
20372037 ` git diff --check ` .
2038+ - [x] 2026-07-02: Removed the single-use homework-upsert text-field assignment
2039+ helper. The title/name fallback and optional description assignment now live
2040+ directly in ` apply_homework_data ` , before validated fields and direct update
2041+ fields. Verification:
2042+ ` uv run ruff check api/views/homework_upsert_save.py docs/refactoring-plan.md ` ,
2043+ ` python -m py_compile api/views/homework_upsert_save.py ` ,
2044+ ` uv run python manage.py test api.tests.test_homework_upserts api.tests.test_homework_mutations api.tests.test_homeworks ` ,
2045+ removed-helper reference scan, touched-function line-threshold scan,
2046+ ` uvx pyrefly check ` , repository AST cleanup scan excluding migrations
2047+ (` forbidden_comprehensions=0 ` , ` threshold_violations=0 ` ,
2048+ ` append_constructed=0 ` , ` wide_tuple_unpacking=0 ` ,
2049+ ` wide_positional_calls=0 ` , ` wide_function_args=0 ` ,
2050+ ` nested_wide_for_unpacking=0 ` , ` range_len_loops=0 ` ), and
2051+ ` git diff --check ` .
20382052- [x] Replace deadline reminder spec factory functions with named static spec
20392053 values and constants so reminder event planning no longer uses trivial
20402054 pass-through factories or nine-field constructor calls. Verification:
0 commit comments