mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-21 00:35:38 +08:00
Renames so the code states its own invariants: _SINGLETON_ROW_ID for the one-row version table, get_tag_origins_by_reference so the inner mapping's direction is in the name, _ROWS_PER_TRANSACTION for what the batch size bounds. In the tests, a named helper replaces the explanation of why the engine is shared across sessions, a named constant replaces the empty-string "any unique hash" sentinel, and each test's claim moves into its assertion message, where whoever's build just went red will actually read it.