20 KiB
20 KiB
Semantic Compliance Report
Generated At: 2026-01-26T11:20:20.785724 Global Compliance Score: 98.5% Scanned Files: 108
Critical Parsing Errors
- 🔴 frontend/src/routes/tools/storage/+page.svelte:79 Function 'handleNavigate' implementation found without matching [DEF:handleNavigate:Function] contract.
- 🔴 frontend/src/routes/tools/storage/+page.svelte:84 Function 'navigateUp' implementation found without matching [DEF:navigateUp:Function] contract.
- 🔴 frontend/src/components/storage/FileList.svelte:22 Function 'isDirectory' implementation found without matching [DEF:isDirectory:Function] contract.
- 🔴 frontend/src/components/storage/FileList.svelte:26 Function 'formatSize' implementation found without matching [DEF:formatSize:Function] contract.
- 🔴 frontend/src/components/storage/FileList.svelte:34 Function 'formatDate' implementation found without matching [DEF:formatDate:Function] contract.
File Compliance Status
| File | Score | Issues |
|---|---|---|
| backend/src/models/storage.py | 🔴 50% | [FileCategory] Missing Mandatory Tag: @PURPOSE [StorageConfig] Missing Mandatory Tag: @PURPOSE [StoredFile] Missing Mandatory Tag: @PURPOSE |
| frontend/src/services/storageService.js | 🟡 70% | [storageService] Missing Mandatory Tag: @SEMANTICS [listFiles] Missing Mandatory Tag: @PRE [listFiles] Missing Mandatory Tag: @POST [listFiles] Missing Mandatory Tag: @PRE [listFiles] Missing Mandatory Tag: @POST [uploadFile] Missing Mandatory Tag: @PRE [uploadFile] Missing Mandatory Tag: @POST [uploadFile] Missing Mandatory Tag: @PRE [uploadFile] Missing Mandatory Tag: @POST [deleteFile] Missing Mandatory Tag: @PRE [deleteFile] Missing Mandatory Tag: @POST [deleteFile] Missing Mandatory Tag: @PRE [deleteFile] Missing Mandatory Tag: @POST [downloadFileUrl] Missing Mandatory Tag: @PRE [downloadFileUrl] Missing Mandatory Tag: @POST [downloadFileUrl] Missing Mandatory Tag: @PRE [downloadFileUrl] Missing Mandatory Tag: @POST |
| backend/src/plugins/storage/plugin.py | 🟡 74% | [init] Missing Mandatory Tag: @PRE [init] Missing Mandatory Tag: @POST [init] Missing Mandatory Tag: @PRE [init] Missing Mandatory Tag: @POST [init] Missing Mandatory Tag: @PRE [init] Missing Mandatory Tag: @POST [id] Missing Mandatory Tag: @PRE [id] Missing Mandatory Tag: @POST [id] Missing Belief State Logging: Function should use belief_scope context manager. [id] Missing Mandatory Tag: @PRE [id] Missing Mandatory Tag: @POST [id] Missing Belief State Logging: Function should use belief_scope context manager. [id] Missing Mandatory Tag: @PRE [id] Missing Mandatory Tag: @POST [id] Missing Belief State Logging: Function should use belief_scope context manager. [name] Missing Mandatory Tag: @PRE [name] Missing Mandatory Tag: @POST [name] Missing Belief State Logging: Function should use belief_scope context manager. [name] Missing Mandatory Tag: @PRE [name] Missing Mandatory Tag: @POST [name] Missing Belief State Logging: Function should use belief_scope context manager. [name] Missing Mandatory Tag: @PRE [name] Missing Mandatory Tag: @POST [name] Missing Belief State Logging: Function should use belief_scope context manager. [description] Missing Mandatory Tag: @PRE [description] Missing Mandatory Tag: @POST [description] Missing Belief State Logging: Function should use belief_scope context manager. [description] Missing Mandatory Tag: @PRE [description] Missing Mandatory Tag: @POST [description] Missing Belief State Logging: Function should use belief_scope context manager. [description] Missing Mandatory Tag: @PRE [description] Missing Mandatory Tag: @POST [description] Missing Belief State Logging: Function should use belief_scope context manager. [version] Missing Mandatory Tag: @PRE [version] Missing Mandatory Tag: @POST [version] Missing Belief State Logging: Function should use belief_scope context manager. [version] Missing Mandatory Tag: @PRE [version] Missing Mandatory Tag: @POST [version] Missing Belief State Logging: Function should use belief_scope context manager. [version] Missing Mandatory Tag: @PRE [version] Missing Mandatory Tag: @POST [version] Missing Belief State Logging: Function should use belief_scope context manager. [get_schema] Missing Mandatory Tag: @PRE [get_schema] Missing Mandatory Tag: @POST [get_schema] Missing Belief State Logging: Function should use belief_scope context manager. [get_schema] Missing Mandatory Tag: @PRE [get_schema] Missing Mandatory Tag: @POST [get_schema] Missing Belief State Logging: Function should use belief_scope context manager. [get_schema] Missing Mandatory Tag: @PRE [get_schema] Missing Mandatory Tag: @POST [get_schema] Missing Belief State Logging: Function should use belief_scope context manager. [execute] Missing Mandatory Tag: @PRE [execute] Missing Mandatory Tag: @POST [execute] Missing Mandatory Tag: @PRE [execute] Missing Mandatory Tag: @POST [execute] Missing Mandatory Tag: @PRE [execute] Missing Mandatory Tag: @POST [get_storage_root] Missing Mandatory Tag: @PRE [get_storage_root] Missing Mandatory Tag: @PRE [get_storage_root] Missing Mandatory Tag: @PRE [resolve_path] Missing Mandatory Tag: @PRE [resolve_path] Missing Mandatory Tag: @POST [resolve_path] Missing Mandatory Tag: @PRE [resolve_path] Missing Mandatory Tag: @POST [resolve_path] Missing Mandatory Tag: @PRE [resolve_path] Missing Mandatory Tag: @POST [ensure_directories] Missing Mandatory Tag: @PRE [ensure_directories] Missing Mandatory Tag: @POST [ensure_directories] Missing Mandatory Tag: @PRE [ensure_directories] Missing Mandatory Tag: @POST [ensure_directories] Missing Mandatory Tag: @PRE [ensure_directories] Missing Mandatory Tag: @POST [list_files] Missing Mandatory Tag: @PRE [list_files] Missing Mandatory Tag: @POST [list_files] Missing Mandatory Tag: @PRE [list_files] Missing Mandatory Tag: @POST [list_files] Missing Mandatory Tag: @PRE [list_files] Missing Mandatory Tag: @POST [save_file] Missing Mandatory Tag: @PRE [save_file] Missing Mandatory Tag: @POST [save_file] Missing Mandatory Tag: @PRE [save_file] Missing Mandatory Tag: @POST [save_file] Missing Mandatory Tag: @PRE [save_file] Missing Mandatory Tag: @POST [delete_file] Missing Mandatory Tag: @PRE [delete_file] Missing Mandatory Tag: @POST [delete_file] Missing Mandatory Tag: @PRE [delete_file] Missing Mandatory Tag: @POST [delete_file] Missing Mandatory Tag: @PRE [delete_file] Missing Mandatory Tag: @POST [get_file_path] Missing Mandatory Tag: @PRE [get_file_path] Missing Mandatory Tag: @POST [get_file_path] Missing Mandatory Tag: @PRE [get_file_path] Missing Mandatory Tag: @POST [get_file_path] Missing Mandatory Tag: @PRE [get_file_path] Missing Mandatory Tag: @POST |
| frontend/src/routes/tools/storage/+page.svelte | 🟡 83% | [loadFiles] Missing Mandatory Tag: @PRE [loadFiles] Missing Mandatory Tag: @PRE [handleDelete] Missing Mandatory Tag: @PRE [handleDelete] Missing Mandatory Tag: @POST [handleDelete] Missing Mandatory Tag: @PRE [handleDelete] Missing Mandatory Tag: @POST |
| frontend/src/components/storage/FileUpload.svelte | 🟡 89% | [handleDrop] Missing Mandatory Tag: @PRE [handleDrop] Missing Mandatory Tag: @POST [handleDrop] Missing Mandatory Tag: @PRE [handleDrop] Missing Mandatory Tag: @POST |
| backend/src/core/logger.py | 🟡 93% | [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. [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. [emit] Missing Belief State Logging: Function should use belief_scope context manager. [emit] Missing Belief State Logging: Function should use belief_scope context manager. [emit] Missing Belief State Logging: Function should use belief_scope context manager. [get_recent_logs] Missing Belief State Logging: Function should use belief_scope context manager. [get_recent_logs] Missing Belief State Logging: Function should use belief_scope context manager. [get_recent_logs] Missing Belief State Logging: Function should use belief_scope context manager. [believed] Missing Mandatory Tag: @PRE [believed] Missing Mandatory Tag: @POST [believed] Missing Belief State Logging: Function should use belief_scope context manager. [believed] Missing Mandatory Tag: @PRE [believed] Missing Mandatory Tag: @POST [believed] Missing Belief State Logging: Function should use belief_scope context manager. [believed] Missing Mandatory Tag: @PRE [believed] Missing Mandatory Tag: @POST [believed] Missing Belief State Logging: Function should use belief_scope context manager. [decorator] Missing Mandatory Tag: @PRE [decorator] Missing Mandatory Tag: @POST [decorator] Missing Belief State Logging: Function should use belief_scope context manager. [decorator] Missing Mandatory Tag: @PRE [decorator] Missing Mandatory Tag: @POST [decorator] Missing Belief State Logging: Function should use belief_scope context manager. [decorator] Missing Mandatory Tag: @PRE [decorator] Missing Mandatory Tag: @POST [decorator] Missing Belief State Logging: Function should use belief_scope context manager. [decorator] Missing Mandatory Tag: @PRE [decorator] Missing Mandatory Tag: @POST [decorator] Missing Belief State Logging: Function should use belief_scope context manager. [wrapper] Missing Mandatory Tag: @PRE [wrapper] Missing Mandatory Tag: @POST [wrapper] Missing Mandatory Tag: @PRE [wrapper] Missing Mandatory Tag: @POST [wrapper] Missing Mandatory Tag: @PRE [wrapper] Missing Mandatory Tag: @POST [wrapper] Missing Mandatory Tag: @PRE [wrapper] Missing Mandatory Tag: @POST [wrapper] Missing Mandatory Tag: @PRE [wrapper] Missing Mandatory Tag: @POST |
| frontend/src/components/git/CommitModal.svelte | 🟡 94% | [loadStatus] Missing Mandatory Tag: @POST [loadStatus] Missing Mandatory Tag: @POST |
| frontend/src/components/DashboardGrid.svelte | 🟡 94% | [openGit] Missing Mandatory Tag: @PRE [openGit] Missing Mandatory Tag: @POST [openGit] Missing Mandatory Tag: @PRE [openGit] Missing Mandatory Tag: @POST |
| backend/src/api/routes/settings.py | 🟡 95% | [get_storage_settings] Missing Mandatory Tag: @PRE [get_storage_settings] Missing Mandatory Tag: @POST [get_storage_settings] Missing Mandatory Tag: @PRE [get_storage_settings] Missing Mandatory Tag: @POST [update_storage_settings] Missing Mandatory Tag: @PRE [update_storage_settings] Missing Mandatory Tag: @PRE |
| frontend/src/components/git/DeploymentModal.svelte | 🟡 96% | [loadEnvironments] Missing Mandatory Tag: @PRE [loadEnvironments] Missing Mandatory Tag: @PRE |
| frontend/src/components/git/BranchSelector.svelte | 🟡 97% | [handleCheckout] Missing Mandatory Tag: @PRE [handleCheckout] Missing Mandatory Tag: @PRE |
| backend/src/core/utils/dataset_mapper.py | 🟡 97% | [init] Missing Mandatory Tag: @PRE [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Mandatory Tag: @PRE [init] Missing Belief State Logging: Function should use belief_scope context manager. [init] Missing Mandatory Tag: @PRE [init] Missing Belief State Logging: Function should use belief_scope context manager. |
| 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. |
| frontend/src/lib/stores.js | 🟢 100% | OK |
| frontend/src/lib/toasts.js | 🟢 100% | OK |
| frontend/src/lib/api.js | 🟢 100% | OK |
| frontend/src/lib/ui/Select.svelte | 🟢 100% | OK |
| frontend/src/lib/ui/index.ts | 🟢 100% | OK |
| frontend/src/lib/ui/PageHeader.svelte | 🟢 100% | OK |
| frontend/src/lib/ui/Card.svelte | 🟢 100% | OK |
| frontend/src/lib/ui/Button.svelte | 🟢 100% | OK |
| frontend/src/lib/ui/Input.svelte | 🟢 100% | OK |
| frontend/src/lib/ui/LanguageSwitcher.svelte | 🟢 100% | OK |
| frontend/src/lib/i18n/index.ts | 🟢 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/routes/settings/git/+page.svelte | 🟢 100% | OK |
| frontend/src/routes/git/+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/gitService.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/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/storage/FileList.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 |
| frontend/src/components/git/CommitHistory.svelte | 🟢 100% | OK |
| frontend/src/components/git/ConflictResolver.svelte | 🟢 100% | OK |
| frontend/src/components/git/GitManager.svelte | 🟢 100% | OK |
| backend/delete_running_tasks.py | 🟢 100% | [delete_running_tasks] Missing Belief State Logging: Function should use belief_scope context manager. [delete_running_tasks] Missing Belief State Logging: Function should use belief_scope context manager. |
| 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/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/fileio.py | 🟢 100% | [replacer] Missing Belief State Logging: Function should use belief_scope context manager. [replacer] Missing Belief State Logging: Function should use belief_scope context manager. [replacer] Missing Belief State Logging: Function should use belief_scope context manager. |
| backend/src/core/utils/network.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/git.py | 🟢 100% | OK |
| backend/src/api/routes/connections.py | 🟢 100% | OK |
| backend/src/api/routes/environments.py | 🟢 100% | OK |
| backend/src/api/routes/migration.py | 🟢 100% | OK |
| backend/src/api/routes/plugins.py | 🟢 100% | OK |
| backend/src/api/routes/mappings.py | 🟢 100% | OK |
| backend/src/api/routes/git_schemas.py | 🟢 100% | OK |
| backend/src/api/routes/storage.py | 🟢 100% | OK |
| backend/src/api/routes/tasks.py | 🟢 100% | OK |
| backend/src/models/git.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/git_service.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/git_plugin.py | 🟢 100% | OK |
| backend/src/plugins/migration.py | 🟢 100% | OK |
| backend/tests/test_models.py | 🟢 100% | OK |
| backend/tests/test_logger.py | 🟢 100% | OK |