gabriel / muse public
feat patch velocity dev
AI Agent gabriel · 158 days ago · Apr 19, 2026 · Diff

feat(velocity): supercharge with _VelocityJson TypedDict, -j alias, schema_version, mode, exit_code, duration_ms

sha256:00b4c559f5d2b1d80e79ae02809129e0a5f388d3dba1a5e0a04a97f97f4e7711 sha
+122 ~3 symbols
sha256:9a07c9ea63c8ad9bbdfc438c72b719494eb19d6f147c0329057e59bd1753add9 snapshot
+122
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes 125 symbols
~ tests/test_velocity_supercharge.py .py 118 symbols added
+ TestAliasRegistration class class TestAliasRegistration L423–450
+ test_j_alias_registered method method test_j_alias_registered L424–431
+ test_j_and_predict_parse_together method method test_j_and_predict_parse_together L442–450
+ test_json_long_form_works method method test_json_long_form_works L433–440
+ TestBar class class TestBar L173–203
+ test_full_bar_has_max_blocks method method test_full_bar_has_max_blocks L194–197
+ test_negative_net_includes_negative_label method method test_negative_net_includes_negative_label L183–186
+ test_partial_bar_proportional method method test_partial_bar_proportional L199–203
+ test_positive_net_returns_filled_bar method method test_positive_net_returns_filled_bar L178–181
+ test_zero_max_returns_empty method method test_zero_max_returns_empty L174–176
+ test_zero_net_returns_minimal_bar method method test_zero_net_returns_minimal_bar L188–192
+ TestComputePredictions class class TestComputePredictions L242–307
+ test_empty_symbol_freq_returns_empty method method test_empty_symbol_freq_returns_empty L243–246
+ test_higher_frequency_ranks_first method method test_higher_frequency_ranks_first L261–268
+ test_module_velocity_boost_applied method method test_module_velocity_boost_applied L294–307
+ test_recent_symbol_scores_higher_than_old method method test_recent_symbol_scores_higher_than_old L285–292
+ test_result_has_required_fields method method test_result_has_required_fields L270–277
+ test_score_is_positive method method test_score_is_positive L279–283
+ test_top_k_limits_results method method test_top_k_limits_results L254–259
+ test_top_k_zero_returns_empty method method test_top_k_zero_returns_empty L248–252
+ TestDataIntegrity class class TestDataIntegrity L613–659
+ test_duration_ms_is_float method method test_duration_ms_is_float L626–629
+ test_duration_ms_non_negative method method test_duration_ms_non_negative L631–633
+ test_exit_code_is_int method method test_exit_code_is_int L622–624
+ test_json_serialisable method method test_json_serialisable L646–648
+ test_mode_is_velocity method method test_mode_is_velocity L650–652
+ test_modules_entries_have_required_fields method method test_modules_entries_have_required_fields L639–644
+ test_predictions_entries_have_required_fields method method test_predictions_entries_have_required_fields L654–659
+ test_schema_version_is_str method method test_schema_version_is_str L614–616
+ test_schema_version_nonempty method method test_schema_version_nonempty L618–620
+ test_window_size_preserved method method test_window_size_preserved L635–637
+ TestDocstrings class class TestDocstrings L453–473
+ test_register_mentions_j_alias method method test_register_mentions_j_alias L454–457
+ test_run_mentions_duration_ms method method test_run_mentions_duration_ms L467–469
+ test_run_mentions_exit_code method method test_run_mentions_exit_code L463–465
+ test_run_mentions_mode method method test_run_mentions_mode L471–473
+ test_run_mentions_schema_version method method test_run_mentions_schema_version L459–461
+ TestEndToEnd class class TestEndToEnd L481–557
+ test_human_output_still_works method method test_human_output_still_works L548–551
+ test_j_alias_produces_json method method test_j_alias_produces_json L534–538
+ test_json_emits_duration_ms method method test_json_emits_duration_ms L501–506
+ test_json_emits_exit_code method method test_json_emits_exit_code L496–499
+ test_json_emits_mode method method test_json_emits_mode L491–494
+ test_json_emits_modules_list method method test_json_emits_modules_list L508–511
+ test_json_emits_predictions_list method method test_json_emits_predictions_list L513–516
+ test_json_emits_ref method method test_json_emits_ref L524–527
+ test_json_emits_schema_version method method test_json_emits_schema_version L486–489
+ test_json_emits_truncated method method test_json_emits_truncated L529–532
+ test_json_emits_window_size method method test_json_emits_window_size L518–522
+ test_json_exits_zero method method test_json_exits_zero L482–484
+ test_predict_j_includes_predictions method method test_predict_j_includes_predictions L540–546
+ test_schema_version_matches_muse_version method method test_schema_version_matches_muse_version L553–557
+ TestModuleOf class class TestModuleOf L142–165
+ test_deeply_nested_path method method test_deeply_nested_path L159–161
+ test_nested_path_returns_dir_with_slash method method test_nested_path_returns_dir_with_slash L143–145
+ test_returns_str method method test_returns_str L163–165
+ test_root_file_returns_root_sentinel method method test_root_file_returns_root_sentinel L151–153
+ test_single_level_path method method test_single_level_path L147–149
+ test_windows_backslash_normalised method method test_windows_backslash_normalised L155–157
+ TestPerformance class class TestPerformance L721–747
+ test_1000_module_of_under_200ms method method test_1000_module_of_under_200ms L722–728
+ test_500_bar_under_100ms method method test_500_bar_under_100ms L730–736
+ test_duration_ms_positive method method test_duration_ms_positive L745–747
+ test_velocity_json_completes_quickly method method test_velocity_json_completes_quickly L738–743
+ TestPrintTable class class TestPrintTable L315–377
+ test_acceleration_leader_shown method method test_acceleration_leader_shown L368–377
+ test_empty_ranked_prints_no_changes_message method method test_empty_ranked_prints_no_changes_message L316–320
+ test_header_shows_ref method method test_header_shows_ref L322–326
+ test_module_row_shown method method test_module_row_shown L340–348
+ test_predictions_shown method method test_predictions_shown L358–366
+ test_since_shown_in_scope method method test_since_shown_in_scope L334–338
+ test_stagnant_module_shows_note method method test_stagnant_module_shows_note L350–356
+ test_truncated_shows_warning method method test_truncated_shows_warning L328–332
+ TestSecurity class class TestSecurity L667–713
+ test_hostile_address_in_predictions_survives_json method method test_hostile_address_in_predictions_survives_json L668–675
+ test_null_byte_in_module_survives method method test_null_byte_in_module_survives L702–706
+ test_unicode_in_prediction_address method method test_unicode_in_prediction_address L694–700
+ test_very_large_frequency_does_not_crash method method test_very_large_frequency_does_not_crash L708–713
+ test_very_long_module_path_does_not_crash method method test_very_long_module_path_does_not_crash L685–692
+ test_xss_in_module_name_does_not_crash method method test_xss_in_module_name_does_not_crash L677–683
+ TestStress class class TestStress L565–605
+ test_1000_module_of method method test_1000_module_of L566–570
+ test_500_bar_calls method method test_500_bar_calls L572–576
+ test_concurrent_module_of method method test_concurrent_module_of L591–605
+ test_print_table_200_modules method method test_print_table_200_modules L578–589
+ TestTypedDict class class TestTypedDict L385–420
+ test_velocity_json_has_duration_ms method method test_velocity_json_has_duration_ms L394–396
+ test_velocity_json_has_exit_code method method test_velocity_json_has_exit_code L390–392
+ test_velocity_json_has_mode method method test_velocity_json_has_mode L398–400
+ test_velocity_json_has_modules method method test_velocity_json_has_modules L402–404
+ test_velocity_json_has_predictions method method test_velocity_json_has_predictions L406–408
+ test_velocity_json_has_ref method method test_velocity_json_has_ref L410–412
+ test_velocity_json_has_schema_version method method test_velocity_json_has_schema_version L386–388
+ test_velocity_json_has_truncated method method test_velocity_json_has_truncated L418–420
+ test_velocity_json_has_window_size method method test_velocity_json_has_window_size L414–416
+ TestWindowStats class class TestWindowStats L211–234
+ test_defaults_are_zero method method test_defaults_are_zero L227–234
+ test_net_negative method method test_net_negative L217–220
+ test_net_positive method method test_net_positive L212–215
+ test_net_zero method method test_net_zero L222–225
+ _commit function function _commit L67–78
+ _invoke function function _invoke L81–87
+ _make_accumulator function function _make_accumulator L49–58
+ _make_sym_freq function function _make_sym_freq L61–64
+ _make_window function function _make_window L41–46
+ CliRunner import import CliRunner L31–31
+ InvokeResult import import InvokeResult L31–31
+ annotations import import annotations L19–19
+ get_type_hints import import get_type_hints L27–27
+ json import import json L21–21
+ os import import os L22–22
+ pathlib import import pathlib L23–23
+ pytest import import pytest L29–29
+ textwrap import import textwrap L24–24
+ threading import import threading L25–25
+ time import import time L26–26
+ runner variable variable runner L33–33
+ vel_repo function function vel_repo L91–134
~ muse/cli/commands/velocity.py .py 4 symbols added, 3 symbols modified
+ _VelocityJson class class _VelocityJson L204–217
+ Any import import Any L105–105
+ __version__ import import __version__ L107–107
+ start_timer import import start_timer L111–111
~ run
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:00b4c559f5d2b1d80e79ae02809129e0a5f388d3dba1a5e0a04a97f97f4e7711 --body "your comment"