mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
The with_files path computes multi_file, top_level_file_count and has_soundtrack in Python; the other path reads them from correlated subqueries. The differential test asserts both answer the same for a flat file, a folder with two top-level files, a nested single file, a soundtrack folder and a rom with no files at all, so neither predicate can be edited without the other. Also assert a rom's files load in a fixed number of queries rather than one per file. Claude-Session: https://claude.ai/code/session_01J1pbRJBY3PatzkB5skQNEU