Coverage report: 38%

Files Functions Classes

coverage.py v7.11.0, created at 2025-10-25 16:18 +0000

File function statements missing excluded coverage
services/api-gateway/src/__init__.py (no function) 0 0 0 100%
services/api-gateway/src/config.py (no function) 18 0 0 100%
services/api-gateway/src/main.py proxy_request 30 30 0 0%
services/api-gateway/src/main.py health_check 1 0 0 100%
services/api-gateway/src/main.py readiness_check 1 0 0 100%
services/api-gateway/src/main.py acquisition_health_public 2 2 0 0%
services/api-gateway/src/main.py acquisition_websdrs_public 2 2 0 0%
services/api-gateway/src/main.py inference_health_public 2 2 0 0%
services/api-gateway/src/main.py api_gateway_health_public 2 2 0 0%
services/api-gateway/src/main.py rf_acquisition_health_public 10 10 0 0%
services/api-gateway/src/main.py inference_health_check 10 10 0 0%
services/api-gateway/src/main.py acquisition_health_deprecated 9 9 0 0%
services/api-gateway/src/main.py proxy_to_rf_acquisition 4 4 0 0%
services/api-gateway/src/main.py proxy_to_inference 4 4 0 0%
services/api-gateway/src/main.py proxy_to_training 4 4 0 0%
services/api-gateway/src/main.py proxy_to_data_ingestion 4 4 0 0%
services/api-gateway/src/main.py proxy_to_inference_analytics 2 2 0 0%
services/api-gateway/src/main.py root 1 0 0 100%
services/api-gateway/src/main.py websocket_endpoint 22 2 0 91%
services/api-gateway/src/main.py login_proxy 30 30 0 0%
services/api-gateway/src/main.py auth_check 1 1 0 0%
services/api-gateway/src/main.py get_current_user_info 1 1 0 0%
services/api-gateway/src/main.py get_user_profile 1 1 0 0%
services/api-gateway/src/main.py get_config 1 1 0 0%
services/api-gateway/src/main.py get_dashboard_stats 1 1 0 0%
services/api-gateway/src/main.py get_system_status 15 15 0 0%
services/api-gateway/src/main.py (no function) 102 25 0 75%
services/api-gateway/src/models/__init__.py (no function) 0 0 0 100%
services/api-gateway/src/models/health.py (no function) 12 0 0 100%
services/api-gateway/src/websocket_manager.py ConnectionManager.__init__ 2 0 0 100%
services/api-gateway/src/websocket_manager.py ConnectionManager.connect 3 0 0 100%
services/api-gateway/src/websocket_manager.py ConnectionManager.disconnect 4 0 0 100%
services/api-gateway/src/websocket_manager.py ConnectionManager.send_message 5 5 0 0%
services/api-gateway/src/websocket_manager.py ConnectionManager.broadcast 11 11 0 0%
services/api-gateway/src/websocket_manager.py ConnectionManager.broadcast_to_subscribers 14 14 0 0%
services/api-gateway/src/websocket_manager.py ConnectionManager.subscribe 4 0 0 100%
services/api-gateway/src/websocket_manager.py ConnectionManager.unsubscribe 3 0 0 100%
services/api-gateway/src/websocket_manager.py heartbeat_task 6 2 0 67%
services/api-gateway/src/websocket_manager.py (no function) 18 0 0 100%
services/data-ingestion-web/src/__init__.py (no function) 0 0 0 100%
services/data-ingestion-web/src/config.py (no function) 15 0 0 100%
services/data-ingestion-web/src/database.py get_db 4 4 0 0%
services/data-ingestion-web/src/database.py init_db 1 1 0 0%
services/data-ingestion-web/src/database.py (no function) 17 17 0 0%
services/data-ingestion-web/src/db.py get_pool 5 2 0 60%
services/data-ingestion-web/src/db.py close_pool 4 4 0 0%
services/data-ingestion-web/src/db.py get_connection 2 2 0 0%
services/data-ingestion-web/src/db.py release_connection 2 2 0 0%
services/data-ingestion-web/src/db.py (no function) 15 0 0 100%
services/data-ingestion-web/src/main.py lifespan 10 10 0 0%
services/data-ingestion-web/src/main.py root 1 0 0 100%
services/data-ingestion-web/src/main.py health_check 1 0 0 100%
services/data-ingestion-web/src/main.py readiness_check 8 3 0 62%
services/data-ingestion-web/src/main.py (no function) 29 2 0 93%
services/data-ingestion-web/src/models/__init__.py (no function) 0 0 0 100%
services/data-ingestion-web/src/models/health.py (no function) 12 0 0 100%
services/data-ingestion-web/src/models/session.py (no function) 64 0 0 100%
services/data-ingestion-web/src/repository.py SessionRepository.create 5 5 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.get_by_id 1 1 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.get_by_task_id 1 1 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.list_sessions 3 3 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.update_status 10 10 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.update_completed 9 9 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.update_failed 8 8 0 0%
services/data-ingestion-web/src/repository.py SessionRepository.delete 6 6 0 0%
services/data-ingestion-web/src/repository.py (no function) 22 22 0 0%
services/data-ingestion-web/src/routers/__init__.py (no function) 0 0 0 100%
services/data-ingestion-web/src/routers/sessions.py list_sessions 15 15 0 0%
services/data-ingestion-web/src/routers/sessions.py get_session_analytics 13 13 0 0%
services/data-ingestion-web/src/routers/sessions.py get_session 7 7 0 0%
services/data-ingestion-web/src/routers/sessions.py create_session 8 8 0 0%
services/data-ingestion-web/src/routers/sessions.py update_session_status 10 10 0 0%
services/data-ingestion-web/src/routers/sessions.py update_session_approval 10 10 0 0%
services/data-ingestion-web/src/routers/sessions.py delete_session 6 6 0 0%
services/data-ingestion-web/src/routers/sessions.py list_known_sources 5 5 0 0%
services/data-ingestion-web/src/routers/sessions.py create_known_source 8 8 0 0%
services/data-ingestion-web/src/routers/sessions.py (no function) 28 0 0 100%
services/data-ingestion-web/src/tasks.py trigger_acquisition 18 18 0 0%
services/data-ingestion-web/src/tasks.py (no function) 14 14 0 0%
services/inference/src/__init__.py (no function) 0 0 0 100%
services/inference/src/config.py (no function) 14 0 0 100%
services/inference/src/main.py test_analytics 1 1 0 0%
services/inference/src/main.py root 1 0 0 100%
services/inference/src/main.py health_check 1 0 0 100%
services/inference/src/main.py inference_health_check_public 1 1 0 0%
services/inference/src/main.py readiness_check 1 0 0 100%
services/inference/src/main.py (no function) 25 2 0 92%
services/inference/src/models/__init__.py (no function) 0 0 0 100%
services/inference/src/models/health.py (no function) 12 0 0 100%
services/inference/src/models/onnx_loader.py ONNXModelLoader.__init__ 9 0 0 100%
services/inference/src/models/onnx_loader.py ONNXModelLoader._load_model 31 0 0 100%
services/inference/src/models/onnx_loader.py ONNXModelLoader.predict 24 5 0 79%
services/inference/src/models/onnx_loader.py ONNXModelLoader.get_metadata 4 0 0 100%
services/inference/src/models/onnx_loader.py ONNXModelLoader.reload 7 3 0 57%
services/inference/src/models/onnx_loader.py ONNXModelLoader.is_ready 1 0 0 100%
services/inference/src/models/onnx_loader.py (no function) 14 0 0 100%
services/inference/src/models/schemas.py (no function) 66 66 0 0%
services/inference/src/routers/__init__.py (no function) 1 0 0 100%
services/inference/src/routers/analytics.py TimeSeriesPoint.__init__ 2 2 0 0%
services/inference/src/routers/analytics.py TimeSeriesPoint.dict 1 1 0 0%
services/inference/src/routers/analytics.py LocalizationResult.__init__ 8 8 0 0%
services/inference/src/routers/analytics.py LocalizationResult.dict 1 1 0 0%
services/inference/src/routers/analytics.py PredictionMetrics.__init__ 16 16 0 0%
services/inference/src/routers/analytics.py PredictionMetrics.dict 1 1 0 0%
services/inference/src/routers/analytics.py WebSDRPerformance.__init__ 6 0 0 100%
services/inference/src/routers/analytics.py SystemPerformance.__init__ 11 11 0 0%
services/inference/src/routers/analytics.py SystemPerformance.dict 1 1 0 0%
services/inference/src/routers/analytics.py get_prediction_metrics 7 7 0 0%
services/inference/src/routers/analytics.py get_websdr_performance 6 6 0 0%
services/inference/src/routers/analytics.py get_system_performance 7 7 0 0%
services/inference/src/routers/analytics.py get_system_metrics_alias 1 1 0 0%
services/inference/src/routers/analytics.py get_accuracy_distribution 6 6 0 0%
services/inference/src/routers/analytics.py get_model_info 13 13 0 0%
services/inference/src/routers/analytics.py get_model_performance 6 6 0 0%
services/inference/src/routers/analytics.py get_recent_localizations 16 16 0 0%
services/inference/src/routers/analytics.py get_dashboard_metrics 12 12 0 0%
services/inference/src/routers/analytics.py (no function) 39 0 0 100%
services/inference/src/routers/model_metadata.py ReloadState.drain_remaining_seconds 4 4 0 0%
services/inference/src/routers/model_metadata.py ReloadState.is_drain_timeout 1 1 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.__init__ 7 7 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.setup_signal_handlers 9 9 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager._handle_sighup 2 2 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager._handle_sigterm 2 2 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.increment_active_requests 4 4 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.decrement_active_requests 3 3 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.reload_model 40 40 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager._drain_requests 12 12 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.request_context 4 4 0 0%
services/inference/src/routers/model_metadata.py ModelReloadManager.get_reload_status 1 1 0 0%
services/inference/src/routers/model_metadata.py ModelMetadataRouter.__init__ 5 5 0 0%
services/inference/src/routers/model_metadata.py ModelMetadataRouter._register_routes 4 4 0 0%
services/inference/src/routers/model_metadata.py ModelMetadataRouter.get_model_info 8 8 0 0%
services/inference/src/routers/model_metadata.py ModelMetadataRouter.get_model_versions 7 7 0 0%
services/inference/src/routers/model_metadata.py ModelMetadataRouter.get_performance_metrics 8 8 0 0%
services/inference/src/routers/model_metadata.py ModelMetadataRouter.reload_model 12 12 0 0%
services/inference/src/routers/model_metadata.py create_model_metadata_router 1 1 0 0%
services/inference/src/routers/model_metadata.py (no function) 99 99 0 0%
services/inference/src/routers/predict.py PredictionDependencies.__init__ 3 3 0 0%
services/inference/src/routers/predict.py get_dependencies 1 1 0 0%
services/inference/src/routers/predict.py predict_single 23 23 0 0%
services/inference/src/routers/predict.py predict_batch 17 17 0 0%
services/inference/src/routers/predict.py health_check 1 1 0 0%
services/inference/src/routers/predict.py (no function) 18 0 0 100%
services/inference/src/utils/__init__.py (no function) 3 0 0 100%
services/inference/src/utils/batch_predictor.py BatchIQDataItem.validate_iq_shape 3 3 0 0%
services/inference/src/utils/batch_predictor.py BatchProcessingMetrics.success_rate 1 1 0 0%
services/inference/src/utils/batch_predictor.py BatchProcessingMetrics.cache_hit_rate 1 1 0 0%
services/inference/src/utils/batch_predictor.py BatchProcessingMetrics.average_latency_ms 1 1 0 0%
services/inference/src/utils/batch_predictor.py BatchProcessingMetrics.p95_latency_ms 1 1 0 0%
services/inference/src/utils/batch_predictor.py BatchProcessingMetrics.p99_latency_ms 1 1 0 0%
services/inference/src/utils/batch_predictor.py BatchProcessingMetrics.samples_per_second 3 3 0 0%
services/inference/src/utils/batch_predictor.py BatchPredictor.__init__ 7 7 0 0%
services/inference/src/utils/batch_predictor.py BatchPredictor.predict_batch 21 21 0 0%
services/inference/src/utils/batch_predictor.py BatchPredictor._predict_single_sample 55 55 0 0%
services/inference/src/utils/batch_predictor.py create_batch_predictor 1 1 0 0%
services/inference/src/utils/batch_predictor.py (no function) 73 0 0 100%
services/inference/src/utils/cache.py RedisCache.__init__ 11 11 0 0%
services/inference/src/utils/cache.py RedisCache._generate_cache_key 9 9 0 0%
services/inference/src/utils/cache.py RedisCache.get 16 16 0 0%
services/inference/src/utils/cache.py RedisCache.set 11 11 0 0%
services/inference/src/utils/cache.py RedisCache._prepare_for_cache 11 11 0 0%
services/inference/src/utils/cache.py RedisCache.delete 8 8 0 0%
services/inference/src/utils/cache.py RedisCache.clear 7 7 0 0%
services/inference/src/utils/cache.py RedisCache.get_stats 8 8 0 0%
services/inference/src/utils/cache.py RedisCache.close 5 5 0 0%
services/inference/src/utils/cache.py CacheStatistics.__init__ 2 0 0 100%
services/inference/src/utils/cache.py CacheStatistics.total 1 0 0 100%
services/inference/src/utils/cache.py CacheStatistics.hit_rate 3 1 0 67%
services/inference/src/utils/cache.py CacheStatistics.record_hit 1 0 0 100%
services/inference/src/utils/cache.py CacheStatistics.record_miss 1 0 0 100%
services/inference/src/utils/cache.py CacheStatistics.reset 2 2 0 0%
services/inference/src/utils/cache.py CacheStatistics.__str__ 1 1 0 0%
services/inference/src/utils/cache.py CacheStatistics.to_dict 1 1 0 0%
services/inference/src/utils/cache.py create_cache 5 5 0 0%
services/inference/src/utils/cache.py (no function) 30 0 0 100%
services/inference/src/utils/metrics.py record_inference_latency 1 1 0 0%
services/inference/src/utils/metrics.py record_preprocessing_latency 1 1 0 0%
services/inference/src/utils/metrics.py record_onnx_latency 1 1 0 0%
services/inference/src/utils/metrics.py record_cache_hit 2 2 0 0%
services/inference/src/utils/metrics.py record_cache_miss 2 2 0 0%
services/inference/src/utils/metrics.py _update_cache_hit_rate 10 10 0 0%
services/inference/src/utils/metrics.py record_request_error 1 1 0 0%
services/inference/src/utils/metrics.py set_redis_memory 1 1 0 0%
services/inference/src/utils/metrics.py record_model_reload 1 1 0 0%
services/inference/src/utils/metrics.py set_model_loaded 1 1 0 0%
services/inference/src/utils/metrics.py record_model_inference 1 1 0 0%
services/inference/src/utils/metrics.py set_model_accuracy 1 1 0 0%
services/inference/src/utils/metrics.py InferenceMetricsContext 13 13 0 0%
services/inference/src/utils/metrics.py PreprocessingMetricsContext 5 5 0 0%
services/inference/src/utils/metrics.py ONNXMetricsContext 5 5 0 0%
services/inference/src/utils/metrics.py (no function) 37 0 0 100%
services/inference/src/utils/model_versioning.py ModelVersion.to_dict 6 6 0 0%
services/inference/src/utils/model_versioning.py ABTestConfig.is_active 6 2 0 67%
services/inference/src/utils/model_versioning.py ABTestConfig.to_dict 3 3 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.__init__ 11 0 0 100%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.load_version 23 10 0 57%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.set_active_version 15 15 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.unload_version 9 9 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.start_ab_test 8 8 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.end_ab_test 6 6 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.predict 34 34 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.get_version_info 4 4 0 0%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.list_versions 1 0 0 100%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.get_registry_status 1 0 0 100%
services/inference/src/utils/model_versioning.py ModelVersionRegistry.model_context 7 7 0 0%
services/inference/src/utils/model_versioning.py create_version_registry 5 5 0 0%
services/inference/src/utils/model_versioning.py (no function) 64 0 0 100%
services/inference/src/utils/preprocessing.py PreprocessingConfig.__post_init__ 6 2 0 67%
services/inference/src/utils/preprocessing.py IQPreprocessor.__init__ 3 3 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor.preprocess 14 14 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._to_complex_iq 10 10 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._compute_spectrogram 13 13 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._to_mel_scale 5 5 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._build_mel_filterbank 18 18 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._hz_to_mel 1 1 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._mel_to_hz 1 1 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._apply_log_scale 3 3 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor._normalize 11 11 0 0%
services/inference/src/utils/preprocessing.py IQPreprocessor.get_config_dict 1 1 0 0%
services/inference/src/utils/preprocessing.py preprocess_iq_data 4 4 0 0%
services/inference/src/utils/preprocessing.py (no function) 32 0 0 100%
services/inference/src/utils/uncertainty.py compute_uncertainty_ellipse 25 6 0 76%
services/inference/src/utils/uncertainty.py ellipse_to_geojson 22 3 0 86%
services/inference/src/utils/uncertainty.py create_uncertainty_circle 1 0 0 100%
services/inference/src/utils/uncertainty.py (no function) 8 0 0 100%
services/rf-acquisition/src/__init__.py (no function) 0 0 0 100%
services/rf-acquisition/src/config.py (no function) 24 0 0 100%
services/rf-acquisition/src/fetchers/__init__.py (no function) 2 0 0 100%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher.__init__ 6 0 0 100%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher.__aenter__ 3 0 0 100%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher.__aexit__ 2 0 0 100%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher.fetch_iq_simultaneous 16 2 0 88%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher._fetch_from_websdr 11 0 0 100%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher._fetch_single_attempt 14 8 0 43%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher.health_check 6 1 0 83%
services/rf-acquisition/src/fetchers/websdr_fetcher.py WebSDRFetcher.health_check.check_single 26 18 0 31%
services/rf-acquisition/src/fetchers/websdr_fetcher.py (no function) 17 0 0 100%
services/rf-acquisition/src/main.py root 1 0 0 100%
services/rf-acquisition/src/main.py health_check 1 0 0 100%
services/rf-acquisition/src/main.py readiness_check 11 8 0 27%
services/rf-acquisition/src/main.py (no function) 29 2 0 93%
services/rf-acquisition/src/models/__init__.py (no function) 5 2 0 60%
services/rf-acquisition/src/models/db.py Measurement.__repr__ 1 1 0 0%
services/rf-acquisition/src/models/db.py Measurement.from_measurement_dict 24 2 0 92%
services/rf-acquisition/src/models/db.py Measurement.to_dict 1 0 0 100%
services/rf-acquisition/src/models/db.py (no function) 24 0 0 100%
services/rf-acquisition/src/models/health.py (no function) 12 0 0 100%
services/rf-acquisition/src/models/websdrs.py (no function) 65 0 0 100%
services/rf-acquisition/src/processors/__init__.py (no function) 2 0 0 100%
services/rf-acquisition/src/processors/iq_processor.py IQProcessor.compute_metrics 11 0 0 100%
services/rf-acquisition/src/processors/iq_processor.py IQProcessor._compute_psd 3 0 0 100%
services/rf-acquisition/src/processors/iq_processor.py IQProcessor._estimate_frequency_offset 12 1 0 92%
services/rf-acquisition/src/processors/iq_processor.py IQProcessor._compute_snr 6 0 0 100%
services/rf-acquisition/src/processors/iq_processor.py IQProcessor.save_iq_data_hdf5 14 14 0 0%
services/rf-acquisition/src/processors/iq_processor.py IQProcessor.save_iq_data_npy 6 0 0 100%
services/rf-acquisition/src/processors/iq_processor.py (no function) 20 0 0 100%
services/rf-acquisition/src/routers/__init__.py (no function) 2 0 0 100%
services/rf-acquisition/src/routers/acquisition.py get_websdrs_config 1 0 0 100%
services/rf-acquisition/src/routers/acquisition.py trigger_acquisition 13 3 0 77%
services/rf-acquisition/src/routers/acquisition.py get_acquisition_status 22 12 0 45%
services/rf-acquisition/src/routers/acquisition.py list_websdrs 1 0 0 100%
services/rf-acquisition/src/routers/acquisition.py check_websdrs_health 33 33 0 0%
services/rf-acquisition/src/routers/acquisition.py get_configuration 1 0 0 100%
services/rf-acquisition/src/routers/acquisition.py (no function) 21 0 0 100%
services/rf-acquisition/src/storage/__init__.py (no function) 2 0 0 100%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.__init__ 4 0 0 100%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager._initialize_engine 16 4 0 75%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.create_tables 7 3 0 57%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.check_connection 9 9 0 0%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.get_session 9 0 0 100%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.insert_measurement 14 6 0 57%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.insert_measurements_bulk 20 4 0 80%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.get_recent_measurements 15 15 0 0%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.get_session_measurements 14 14 0 0%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.get_snr_statistics 16 4 0 75%
services/rf-acquisition/src/storage/db_manager.py DatabaseManager.close 6 6 0 0%
services/rf-acquisition/src/storage/db_manager.py get_db_manager 3 3 0 0%
services/rf-acquisition/src/storage/db_manager.py reset_db_manager 3 3 0 0%
services/rf-acquisition/src/storage/db_manager.py (no function) 33 4 0 88%
services/rf-acquisition/src/storage/minio_client.py MinIOClient.__init__ 5 0 0 100%
services/rf-acquisition/src/storage/minio_client.py MinIOClient.ensure_bucket_exists 19 8 0 58%
services/rf-acquisition/src/storage/minio_client.py MinIOClient.upload_iq_data 24 9 0 62%
services/rf-acquisition/src/storage/minio_client.py MinIOClient.download_iq_data 13 6 0 54%
services/rf-acquisition/src/storage/minio_client.py MinIOClient.get_session_measurements 23 7 0 70%
services/rf-acquisition/src/storage/minio_client.py MinIOClient.health_check 6 0 0 100%
services/rf-acquisition/src/storage/minio_client.py (no function) 19 0 0 100%
services/rf-acquisition/src/tasks/__init__.py (no function) 3 0 0 100%
services/rf-acquisition/src/tasks/acquire_iq.py acquire_iq 20 20 0 0%
services/rf-acquisition/src/tasks/acquire_iq.py acquire_iq.fetch_and_process 21 21 0 0%
services/rf-acquisition/src/tasks/acquire_iq.py save_measurements_to_minio 42 42 0 0%
services/rf-acquisition/src/tasks/acquire_iq.py save_measurements_to_timescaledb 17 17 0 0%
services/rf-acquisition/src/tasks/acquire_iq.py health_check_websdrs 16 16 0 0%
services/rf-acquisition/src/tasks/acquire_iq.py health_check_websdrs.check 2 2 0 0%
services/rf-acquisition/src/tasks/acquire_iq.py (no function) 27 0 0 100%
services/rf-acquisition/src/tasks/uptime_monitor.py get_default_websdrs 1 1 0 0%
services/rf-acquisition/src/tasks/uptime_monitor.py monitor_websdrs_uptime 32 32 0 0%
services/rf-acquisition/src/tasks/uptime_monitor.py monitor_websdrs_uptime.direct_health_check 21 21 0 0%
services/rf-acquisition/src/tasks/uptime_monitor.py calculate_uptime_percentage 19 19 0 0%
services/rf-acquisition/src/tasks/uptime_monitor.py (no function) 21 4 0 81%
services/rf-acquisition/src/utils/__init__.py (no function) 0 0 0 100%
services/training/src/__init__.py (no function) 0 0 0 100%
services/training/src/config.py (no function) 2 2 0 0%
services/training/src/config/__init__.py (no function) 3 0 0 100%
services/training/src/config/model_config.py ModelConfig.__post_init__ 4 2 0 50%
services/training/src/config/model_config.py get_model_config 6 6 0 0%
services/training/src/config/model_config.py get_backbone_info 4 4 0 0%
services/training/src/config/model_config.py print_backbone_comparison 13 13 0 0%
services/training/src/config/model_config.py (no function) 40 5 0 88%
services/training/src/config/settings.py Settings.database_url 1 1 0 0%
services/training/src/config/settings.py Settings.mlflow_tracking_uri 1 1 0 0%
services/training/src/config/settings.py Settings.mlflow_backend_store_uri 1 1 0 0%
services/training/src/config/settings.py Settings.mlflow_registry_uri 1 1 0 0%
services/training/src/config/settings.py (no function) 37 0 0 100%
services/training/src/data/__init__.py (no function) 3 0 0 100%
services/training/src/data/dataset.py HeimdallDataset.__init__ 11 11 0 0%
services/training/src/data/dataset.py HeimdallDataset._load_samples 13 13 0 0%
services/training/src/data/dataset.py HeimdallDataset._get_cache_path 3 3 0 0%
services/training/src/data/dataset.py HeimdallDataset._load_iq_data 6 6 0 0%
services/training/src/data/dataset.py HeimdallDataset._extract_features 10 10 0 0%
services/training/src/data/dataset.py HeimdallDataset._resize_to_fixed_shape 11 11 0 0%
services/training/src/data/dataset.py HeimdallDataset.__len__ 1 1 0 0%
services/training/src/data/dataset.py HeimdallDataset.__getitem__ 20 20 0 0%
services/training/src/data/dataset.py HeimdallDataset._augment_features 8 8 0 0%
services/training/src/data/dataset.py HeimdallDataset.get_statistics 8 8 0 0%
services/training/src/data/dataset.py create_dummy_dataset 15 15 0 0%
services/training/src/data/dataset.py verify_dataset 9 9 0 0%
services/training/src/data/dataset.py (no function) 27 3 0 89%
services/training/src/data/features.py MEL_SPECTROGRAM_SHAPE 1 1 0 0%
services/training/src/data/features.py iq_to_mel_spectrogram 21 1 0 95%
services/training/src/data/features.py librosa_compatible_mel_scale 21 1 0 95%
services/training/src/data/features.py librosa_compatible_mel_scale.hz_to_mel 1 0 0 100%
services/training/src/data/features.py librosa_compatible_mel_scale.mel_to_hz 1 0 0 100%
services/training/src/data/features.py compute_mfcc 3 0 0 100%
services/training/src/data/features.py normalize_features 7 0 0 100%
services/training/src/data/features.py augment_iq_data 10 10 0 0%
services/training/src/data/features.py verify_feature_extraction 19 19 0 0%
services/training/src/data/features.py (no function) 17 3 0 82%
services/training/src/main.py root 1 0 0 100%
services/training/src/main.py health_check 1 0 0 100%
services/training/src/main.py readiness_check 1 0 0 100%
services/training/src/main.py (no function) 19 2 0 89%
services/training/src/mlflow_setup.py MLflowTracker.__init__ 11 11 0 0%
services/training/src/mlflow_setup.py MLflowTracker._configure_mlflow 4 4 0 0%
services/training/src/mlflow_setup.py MLflowTracker._get_or_create_experiment 14 14 0 0%
services/training/src/mlflow_setup.py MLflowTracker.start_run 8 8 0 0%
services/training/src/mlflow_setup.py MLflowTracker.end_run 2 2 0 0%
services/training/src/mlflow_setup.py MLflowTracker.log_params 7 7 0 0%
services/training/src/mlflow_setup.py MLflowTracker.log_metrics 5 5 0 0%
services/training/src/mlflow_setup.py MLflowTracker.log_artifact 9 9 0 0%
services/training/src/mlflow_setup.py MLflowTracker.log_artifacts_dir 9 9 0 0%
services/training/src/mlflow_setup.py MLflowTracker.register_model 7 7 0 0%
services/training/src/mlflow_setup.py MLflowTracker.transition_model_stage 5 5 0 0%
services/training/src/mlflow_setup.py MLflowTracker.get_run_info 2 2 0 0%
services/training/src/mlflow_setup.py MLflowTracker.get_best_run 11 11 0 0%
services/training/src/mlflow_setup.py initialize_mlflow 2 2 0 0%
services/training/src/mlflow_setup.py (no function) 29 29 0 0%
services/training/src/models/__init__.py (no function) 0 0 0 100%
services/training/src/models/health.py (no function) 12 0 0 100%
services/training/src/models/lightning_module.py LocalizationLitModule.__init__ 13 13 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.forward 1 1 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.training_step 12 12 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.validation_step 14 14 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.test_step 11 11 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.configure_optimizers 5 5 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.on_epoch_end 6 6 0 0%
services/training/src/models/lightning_module.py LocalizationLitModule.get_model_for_export 1 1 0 0%
services/training/src/models/lightning_module.py verify_lightning_module 25 25 0 0%
services/training/src/models/lightning_module.py (no function) 33 33 0 0%
services/training/src/models/localization_net.py LocalizationNet.__init__ 14 14 0 0%
services/training/src/models/localization_net.py LocalizationNet.forward 7 7 0 0%
services/training/src/models/localization_net.py LocalizationNet.forward_with_dict 2 2 0 0%
services/training/src/models/localization_net.py LocalizationNet.get_params_count 3 3 0 0%
services/training/src/models/localization_net.py verify_model_shapes 13 13 0 0%
services/training/src/models/localization_net.py (no function) 23 23 0 0%
services/training/src/onnx_export.py ONNXExporter.__init__ 4 4 0 0%
services/training/src/onnx_export.py ONNXExporter.export_to_onnx 14 14 0 0%
services/training/src/onnx_export.py ONNXExporter.validate_onnx_model 18 18 0 0%
services/training/src/onnx_export.py ONNXExporter.test_onnx_inference 38 38 0 0%
services/training/src/onnx_export.py ONNXExporter.upload_to_minio 13 13 0 0%
services/training/src/onnx_export.py ONNXExporter.get_model_metadata 7 7 0 0%
services/training/src/onnx_export.py ONNXExporter.register_with_mlflow 12 12 0 0%
services/training/src/onnx_export.py export_and_register_model 15 15 0 0%
services/training/src/onnx_export.py (no function) 35 35 0 0%
services/training/src/train.py TrainingPipeline.__init__ 14 14 0 0%
services/training/src/train.py TrainingPipeline._init_mlflow 6 6 0 0%
services/training/src/train.py TrainingPipeline.load_data 11 11 0 0%
services/training/src/train.py TrainingPipeline.create_lightning_module 4 4 0 0%
services/training/src/train.py TrainingPipeline.create_trainer 6 6 0 0%
services/training/src/train.py TrainingPipeline.train 9 9 0 0%
services/training/src/train.py TrainingPipeline.export_and_register 12 12 0 0%
services/training/src/train.py TrainingPipeline.run 17 17 0 0%
services/training/src/train.py parse_arguments 16 16 0 0%
services/training/src/train.py main 17 17 0 0%
services/training/src/train.py (no function) 37 37 0 0%
services/training/src/utils/__init__.py (no function) 2 2 0 0%
services/training/src/utils/losses.py GaussianNLLLoss.__init__ 5 5 0 0%
services/training/src/utils/losses.py GaussianNLLLoss.forward 10 10 0 0%
services/training/src/utils/losses.py GaussianNLLLoss.forward_with_stats 7 7 0 0%
services/training/src/utils/losses.py HuberNLLLoss.__init__ 4 4 0 0%
services/training/src/utils/losses.py HuberNLLLoss.forward 11 11 0 0%
services/training/src/utils/losses.py QuantileLoss.__init__ 3 3 0 0%
services/training/src/utils/losses.py QuantileLoss.forward 6 6 0 0%
services/training/src/utils/losses.py verify_gaussian_nll_loss 28 28 0 0%
services/training/src/utils/losses.py (no function) 22 22 0 0%
Total   4291 2641 0 38%

No items found using the specified filter.