voice-prices coverage for b1392d1a8c83a04881f4e5ae892710c4bab136bf: 97.02%

Files Functions Classes

coverage.py v7.9.2, created at 2026-09-27 04:08 +0000

File function statements missing excluded branches partial coverage
packages/python/voice_prices/_cli.py _ToggleCliSettingsSource._convert_bool_flag 5 1 0 4 1 77.78%
packages/python/voice_prices/_cli.py cli_logic 20 2 2 10 1 90.00%
packages/python/voice_prices/_cli.py _format_model_prices 21 2 0 14 2 88.57%
packages/python/voice_prices/_cli.py _render_calc_error 28 0 0 18 1 97.83%
packages/python/voice_prices/_cli.py _format_provider_suggestions 6 1 0 4 1 80.00%
packages/python/voice_prices/_cli.py _format_model_suggestion 6 1 0 2 1 75.00%
packages/python/voice_prices/_cli.py (no function) 85 6 1 2 0 90.80%
packages/python/voice_prices/data_snapshot.py DataSnapshot.active 1 1 0 0 0 0.00%
packages/python/voice_prices/data_snapshot.py DataSnapshot.find_provider_model 16 0 0 12 1 96.43%
packages/python/voice_prices/data_snapshot.py DataSnapshot.find_provider 15 0 0 18 1 96.97%
packages/python/voice_prices/types.py ArrayMatch.extract 4 0 0 6 1 90.00%
packages/python/voice_prices/types.py ExtractedUsage.__add__ 9 1 0 6 1 86.67%
packages/python/voice_prices/types.py Usage.__add__ 6 1 0 2 1 75.00%
packages/python/voice_prices/types.py Usage.__add__._coalesce_str 7 5 0 6 1 23.08%
packages/python/voice_prices/types.py Usage.__radd__ 1 1 0 0 0 0.00%
packages/python/voice_prices/types.py UsageExtractor.extract 16 0 0 8 1 95.83%
packages/python/voice_prices/types.py _extract_path 41 4 0 28 4 88.41%
packages/python/voice_prices/types.py ModelInfo.get_prices 6 1 0 6 1 83.33%
packages/python/voice_prices/update_prices.py wait_prices_updated_sync 3 1 0 2 1 60.00%
packages/python/voice_prices/update_prices.py UpdatePrices.start 12 2 0 6 2 77.78%
packages/python/voice_prices/update_prices.py UpdatePrices._background_task 14 0 0 2 1 93.75%
packages/python/voice_prices/update_prices.py UpdatePrices._update_prices 7 1 0 2 1 77.78%
tests/conftest.py IsNow 2 2 0 0 0 0.00%
tests/test_build_docs.py test_real_catalog_classifies_every_priced_model 11 1 0 8 1 89.47%
tests/test_build_docs.py test_no_internal_link_points_at_a_missing_page 7 1 0 6 1 84.62%
tests/test_cli.py _find_model_ref 11 2 0 8 2 78.95%
tests/test_custom_prices.py CustomModelPrice.calc_price 4 0 0 2 1 83.33%
tests/test_extract_usage.py MyMapping.__iter__ 1 1 0 0 0 0.00%
tests/test_extract_usage.py MyMapping.__len__ 1 1 0 0 0 0.00%
tests/test_free_models.py _ids 4 1 0 4 1 75.00%
tests/test_free_models.py test_the_free_suffix_convention_is_now_backed_by_the_field 6 1 0 6 1 83.33%
tests/test_lifecycle.py test_deprecated_flag_in_data_json 13 1 0 8 1 90.48%
tests/test_livekit_coverage.py test_plugin_entry_is_well_formed 13 0 0 10 2 91.30%
tests/test_package_schema.py test_yaml_roundtrip 31 1 0 18 2 93.88%
tests/test_package_schema.py test_audio_priced_entries_have_provenance 19 2 0 12 2 87.10%
tests/test_price_breakdown_contract.py test_breakdown_covers_priced_fields 6 1 0 4 1 80.00%
tests/test_price_breakdown_contract.py test_breakdown_covers_multiplier_eligible_adjustments 8 1 0 6 1 85.71%
tests/test_price_calc.py test_invariant_breakdown_sums_to_total 25 1 0 6 1 93.55%
tests/test_source_feed.py test_feed_sync_is_a_no_op_until_a_provider_registers_an_endpoint 5 1 0 2 1 71.43%
tests/test_update_prices.py test_update_prices_stop_clears_snapshot_after_in_flight_fetch 24 1 1 2 1 92.31%
tests/test_update_prices.py test_update_prices_stop_clears_snapshot_after_in_flight_fetch.stop_update_prices 4 2 0 0 0 50.00%
Total   2878 52 111 514 43 97.02%

No items found using the specified filter.

353 functions skipped due to complete coverage.