feat
patch
code
task/directory-dimension
#1 / 2
feat(code): directory-level insight dimension (issue #3)
- _query.py: add dir_of, flat_directory_ops, touched_directories helpers - diff: add 'directories' key to JSON output (added, deleted, renamed) - hotspots: add --granularity directory to count churn at dir level - entangle: add --granularity directory to find dir co-change pairs - impact: add --roll-up-to directory to aggregate blast radius by dir - handle empty-repo gracefully in hotspots and entangle (exit 0) - 37 TDD tests in test_directory_dimension.py, all passing
sha256:94c8baf97e035b357acca02c444ed2b73a380aa92afe74255a2ef4f9c12d8703
sha
+79
~17
symbols
sha256:efb30506b57e61b2171d7d4122b9779ac293a2b8ef2c5c9a6621db7e84bd5c99
snapshot
+79
symbols added
~17
symbols modified
0
dead code introduced
Semantic Changes
96 symbols
+
test_clean_repo_has_empty_directories
method
method test_clean_repo_has_empty_directories L280–289
+
test_directories_key_has_expected_subkeys
method
method test_directories_key_has_expected_subkeys L269–278
+
test_directory_address_trailing_slash
method
method test_directory_address_trailing_slash L220–222
+
test_directory_granularity_json_has_granularity_field
method
method test_directory_granularity_json_has_granularity_field L443–462
+
test_directory_granularity_json_pairs_have_no_colons
method
method test_directory_granularity_json_pairs_have_no_colons L419–441
+
test_skips_symbol_level_patch_children
method
method test_skips_symbol_level_patch_children L90–96
+
test_directory_granularity_json_addresses_have_no_colons
method
method test_directory_granularity_json_addresses_have_no_colons L318–346
+
test_directory_granularity_json_has_granularity_field
method
method test_directory_granularity_json_has_granularity_field L348–367
+
test_symbol_granularity_json_addresses_contain_colons
method
method test_symbol_granularity_json_addresses_contain_colons L369–389
+
test_directory_rollup_addresses_have_no_colons
method
method test_directory_rollup_addresses_have_no_colons L514–536
+
test_directory_rollup_json_has_directory_blast_radius
method
method test_directory_rollup_json_has_directory_blast_radius L491–512
+
test_directory_rename_op_adds_both_dirs
method
method test_directory_rename_op_adds_both_dirs L180–185
+
test_file_without_symbol_children_not_counted
method
method test_file_without_symbol_children_not_counted L191–197
+
test_multiple_files_same_dir_counted_once
method
method test_multiple_files_same_dir_counted_once L155–162
+
test_nested_path_returns_immediate_parent
method
method test_nested_path_returns_immediate_parent L172–178
+
test_root_level_file_returns_dot_or_empty
method
method test_root_level_file_returns_dot_or_empty L146–153
~
run
Older
chore: remove resolved debug log for push hash mismatch
sha256:182823b669e8b4e36e29be3626ec0deedf1e76fbecd8999acf1dcff540a88f70
All commits
Newer →
Latest on task/directory-dimension
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:94c8baf97e035b357acca02c444ed2b73a380aa92afe74255a2ef4f9c12d8703 --body "your comment"
No comments yet. Be the first to start the discussion.