16 KiB
16 KiB
Semantic Compliance Report
Generated At: 2026-01-16T14:37:30.272533 Global Compliance Score: 100.0% Scanned Files: 89
Critical Parsing Errors
- 🔴 superset_tool/utils/logger.py:149 Function 'belief_scope' implementation found without matching [DEF:belief_scope:Function] contract.
File Compliance Status
| File | Score | Issues |
|---|---|---|
| generate_semantic_map.py | 🟢 100% | [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [enter] Missing Belief State Logging: Function should use belief_scope context manager. [enter] Missing Belief State Logging: Function should use belief_scope context manager. [exit] Missing Belief State Logging: Function should use belief_scope context manager. [exit] Missing Belief State Logging: Function should use belief_scope context manager. |
| migration_script.py | 🟢 100% | [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [run] Missing Belief State Logging: Function should use belief_scope context manager. [run] Missing Belief State Logging: Function should use belief_scope context manager. [run] Missing Belief State Logging: Function should use belief_scope context manager. [ask_delete_on_failure] Missing Belief State Logging: Function should use belief_scope context manager. [ask_delete_on_failure] Missing Belief State Logging: Function should use belief_scope context manager. [ask_delete_on_failure] Missing Belief State Logging: Function should use belief_scope context manager. [select_environments] Missing Belief State Logging: Function should use belief_scope context manager. [select_environments] Missing Belief State Logging: Function should use belief_scope context manager. [select_environments] Missing Belief State Logging: Function should use belief_scope context manager. [select_dashboards] Missing Belief State Logging: Function should use belief_scope context manager. [select_dashboards] Missing Belief State Logging: Function should use belief_scope context manager. [select_dashboards] Missing Belief State Logging: Function should use belief_scope context manager. [confirm_db_config_replacement] Missing Belief State Logging: Function should use belief_scope context manager. [confirm_db_config_replacement] Missing Belief State Logging: Function should use belief_scope context manager. [confirm_db_config_replacement] Missing Belief State Logging: Function should use belief_scope context manager. [_select_databases] Missing Belief State Logging: Function should use belief_scope context manager. [_select_databases] Missing Belief State Logging: Function should use belief_scope context manager. [_select_databases] Missing Belief State Logging: Function should use belief_scope context manager. [_batch_delete_by_ids] Missing Belief State Logging: Function should use belief_scope context manager. [_batch_delete_by_ids] Missing Belief State Logging: Function should use belief_scope context manager. [_batch_delete_by_ids] Missing Belief State Logging: Function should use belief_scope context manager. [execute_migration] Missing Belief State Logging: Function should use belief_scope context manager. [execute_migration] Missing Belief State Logging: Function should use belief_scope context manager. [execute_migration] Missing Belief State Logging: Function should use belief_scope context manager. |
| superset_tool/exceptions.py | 🟢 100% | [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. |
| superset_tool/models.py | 🟢 100% | [validate_auth] Missing Belief State Logging: Function should use belief_scope context manager. [validate_auth] Missing Belief State Logging: Function should use belief_scope context manager. [validate_auth] Missing Belief State Logging: Function should use belief_scope context manager. [normalize_base_url] Missing Belief State Logging: Function should use belief_scope context manager. [normalize_base_url] Missing Belief State Logging: Function should use belief_scope context manager. [normalize_base_url] Missing Belief State Logging: Function should use belief_scope context manager. [validate_config] Missing Belief State Logging: Function should use belief_scope context manager. [validate_config] Missing Belief State Logging: Function should use belief_scope context manager. [validate_config] Missing Belief State Logging: Function should use belief_scope context manager. |
| superset_tool/client.py | 🟢 100% | OK |
| superset_tool/init.py | 🟢 100% | OK |
| superset_tool/utils/init_clients.py | 🟢 100% | [setup_clients] Missing Belief State Logging: Function should use belief_scope context manager. [setup_clients] Missing Belief State Logging: Function should use belief_scope context manager. |
| superset_tool/utils/logger.py | 🟢 100% | [belief_scope] Missing Belief State Logging: Function should use belief_scope context manager. [belief_scope] Missing Belief State Logging: Function should use belief_scope context manager. |
| superset_tool/utils/fileio.py | 🟢 100% | OK |
| superset_tool/utils/network.py | 🟢 100% | OK |
| superset_tool/utils/whiptail_fallback.py | 🟢 100% | OK |
| superset_tool/utils/dataset_mapper.py | 🟢 100% | [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [get_postgres_comments] Missing Belief State Logging: Function should use belief_scope context manager. [get_postgres_comments] Missing Belief State Logging: Function should use belief_scope context manager. [get_postgres_comments] Missing Belief State Logging: Function should use belief_scope context manager. [load_excel_mappings] Missing Belief State Logging: Function should use belief_scope context manager. [load_excel_mappings] Missing Belief State Logging: Function should use belief_scope context manager. [load_excel_mappings] Missing Belief State Logging: Function should use belief_scope context manager. [run_mapping] Missing Belief State Logging: Function should use belief_scope context manager. [run_mapping] Missing Belief State Logging: Function should use belief_scope context manager. [run_mapping] Missing Belief State Logging: Function should use belief_scope context manager. |
| superset_tool/utils/init.py | 🟢 100% | OK |
| frontend/src/main.js | 🟢 100% | OK |
| frontend/src/App.svelte | 🟢 100% | OK |
| frontend/src/lib/stores.js | 🟢 100% | OK |
| frontend/src/lib/toasts.js | 🟢 100% | OK |
| frontend/src/lib/api.js | 🟢 100% | OK |
| frontend/src/routes/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/+page.ts | 🟢 100% | OK |
| frontend/src/routes/tasks/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/migration/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/migration/mappings/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/tools/search/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/tools/mapper/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/tools/debug/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/settings/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/settings/+page.ts | 🟢 100% | OK |
| frontend/src/routes/settings/connections/+page.svelte | 🟢 100% | OK |
| frontend/src/pages/Dashboard.svelte | 🟢 100% | OK |
| frontend/src/pages/Settings.svelte | 🟢 100% | OK |
| frontend/src/services/connectionService.js | 🟢 100% | OK |
| frontend/src/services/toolsService.js | 🟢 100% | OK |
| frontend/src/services/taskService.js | 🟢 100% | OK |
| frontend/src/components/PasswordPrompt.svelte | 🟢 100% | OK |
| frontend/src/components/MappingTable.svelte | 🟢 100% | OK |
| frontend/src/components/TaskLogViewer.svelte | 🟢 100% | OK |
| frontend/src/components/Footer.svelte | 🟢 100% | OK |
| frontend/src/components/MissingMappingModal.svelte | 🟢 100% | OK |
| frontend/src/components/DashboardGrid.svelte | 🟢 100% | OK |
| frontend/src/components/Navbar.svelte | 🟢 100% | OK |
| frontend/src/components/TaskHistory.svelte | 🟢 100% | OK |
| frontend/src/components/Toast.svelte | 🟢 100% | OK |
| frontend/src/components/TaskRunner.svelte | 🟢 100% | OK |
| frontend/src/components/TaskList.svelte | 🟢 100% | OK |
| frontend/src/components/DynamicForm.svelte | 🟢 100% | OK |
| frontend/src/components/EnvSelector.svelte | 🟢 100% | OK |
| frontend/src/components/tools/ConnectionForm.svelte | 🟢 100% | OK |
| frontend/src/components/tools/ConnectionList.svelte | 🟢 100% | OK |
| frontend/src/components/tools/MapperTool.svelte | 🟢 100% | OK |
| frontend/src/components/tools/DebugTool.svelte | 🟢 100% | OK |
| frontend/src/components/tools/SearchTool.svelte | 🟢 100% | OK |
| backend/src/app.py | 🟢 100% | OK |
| backend/src/dependencies.py | 🟢 100% | OK |
| backend/src/core/superset_client.py | 🟢 100% | OK |
| backend/src/core/config_manager.py | 🟢 100% | OK |
| backend/src/core/scheduler.py | 🟢 100% | OK |
| backend/src/core/config_models.py | 🟢 100% | OK |
| backend/src/core/database.py | 🟢 100% | OK |
| backend/src/core/logger.py | 🟢 100% | [format] Missing Belief State Logging: Function should use belief_scope context manager. [format] Missing Belief State Logging: Function should use belief_scope context manager. [format] Missing Belief State Logging: Function should use belief_scope context manager. [belief_scope] Missing Belief State Logging: Function should use belief_scope context manager. [belief_scope] Missing Belief State Logging: Function should use belief_scope context manager. [configure_logger] Missing Belief State Logging: Function should use belief_scope context manager. [configure_logger] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/core/plugin_loader.py | 🟢 100% | OK |
| backend/src/core/migration_engine.py | 🟢 100% | [_transform_yaml] Missing Belief State Logging: Function should use belief_scope context manager. [_transform_yaml] Missing Belief State Logging: Function should use belief_scope context manager. [_transform_yaml] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/core/plugin_base.py | 🟢 100% | OK |
| backend/src/core/utils/matching.py | 🟢 100% | [suggest_mappings] Missing Belief State Logging: Function should use belief_scope context manager. [suggest_mappings] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/core/task_manager/persistence.py | 🟢 100% | OK |
| backend/src/core/task_manager/manager.py | 🟢 100% | OK |
| backend/src/core/task_manager/models.py | 🟢 100% | [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/core/task_manager/cleanup.py | 🟢 100% | [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/core/task_manager/init.py | 🟢 100% | OK |
| backend/src/api/auth.py | 🟢 100% | [get_current_user] Missing Belief State Logging: Function should use belief_scope context manager. [get_current_user] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/api/routes/connections.py | 🟢 100% | OK |
| backend/src/api/routes/environments.py | 🟢 100% | OK |
| backend/src/api/routes/migration.py | 🟢 100% | [get_dashboards] Missing Belief State Logging: Function should use belief_scope context manager. [get_dashboards] Missing Belief State Logging: Function should use belief_scope context manager. [execute_migration] Missing Belief State Logging: Function should use belief_scope context manager. [execute_migration] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/api/routes/plugins.py | 🟢 100% | OK |
| backend/src/api/routes/mappings.py | 🟢 100% | OK |
| backend/src/api/routes/settings.py | 🟢 100% | OK |
| backend/src/api/routes/tasks.py | 🟢 100% | OK |
| backend/src/models/task.py | 🟢 100% | OK |
| backend/src/models/connection.py | 🟢 100% | OK |
| backend/src/models/mapping.py | 🟢 100% | OK |
| backend/src/models/dashboard.py | 🟢 100% | OK |
| backend/src/services/mapping_service.py | 🟢 100% | OK |
| backend/src/plugins/backup.py | 🟢 100% | OK |
| backend/src/plugins/debug.py | 🟢 100% | OK |
| backend/src/plugins/search.py | 🟢 100% | OK |
| backend/src/plugins/mapper.py | 🟢 100% | OK |
| backend/src/plugins/migration.py | 🟢 100% | OK |
| backend/tests/test_models.py | 🟢 100% | OK |
| backend/tests/test_logger.py | 🟢 100% | OK |