[Task] Define metadata import diagnostics and BI quality plans #7

Closed
opened 2026-07-30 18:17:54 +02:00 by zemion · 2 comments
Owner

Context

Make migrations from established BI catalogues reviewable without executing imported SQL or hiding semantic loss. The supplied SuperX metadata is the first behavior reference; do not copy third-party code or assets.

Acceptance criteria

  • Define a provider-neutral import mapping report for exact, approximated, omitted, and unsupported semantics.
  • Block activation for unsupported or approximated behavior until explicitly accepted.
  • Import only declarative metadata into native versioned GovOPlaN definitions; never preserve executable SQL/stored procedures as a runtime bypass.
  • Record custom functions, implicit authorization, provider assumptions, and manual bindings.
  • Define reusable report assertions, dataset comparison plans, grouped controls, execution evidence, and trend summaries.
  • Add a synthetic import fixture with expected mapping/loss diagnostics.

Depends on #4. Architecture reference: docs/SUPERX_CAPABILITY_ASSESSMENT.md.

## Context Make migrations from established BI catalogues reviewable without executing imported SQL or hiding semantic loss. The supplied SuperX metadata is the first behavior reference; do not copy third-party code or assets. ## Acceptance criteria - [ ] Define a provider-neutral import mapping report for exact, approximated, omitted, and unsupported semantics. - [ ] Block activation for unsupported or approximated behavior until explicitly accepted. - [ ] Import only declarative metadata into native versioned GovOPlaN definitions; never preserve executable SQL/stored procedures as a runtime bypass. - [ ] Record custom functions, implicit authorization, provider assumptions, and manual bindings. - [ ] Define reusable report assertions, dataset comparison plans, grouped controls, execution evidence, and trend summaries. - [ ] Add a synthetic import fixture with expected mapping/loss diagnostics. Depends on #4. Architecture reference: `docs/SUPERX_CAPABILITY_ASSESSMENT.md`.
Author
Owner

Codex State: done

Summary

  • Provider-neutral import assessments now classify exact, approximated, omitted and unsupported semantics; approximations require explicit acceptance, unsupported executable behavior blocks activation, and quality plans persist reusable assertions and run evidence.
  • The synthetic assessment tests prove blocked/accepted mappings and reject executable SQL bypasses.

Changed Files

  • src/govoplan_reporting/backend/operations.py
  • src/govoplan_reporting/backend/schemas.py
  • tests/test_reporting_service.py

Verification

  • 7 Reporting tests passed; Ruff passed.

Next / Blocked

  • Close after the implementation commit is pushed.
## Codex State: done ### Summary - Provider-neutral import assessments now classify exact, approximated, omitted and unsupported semantics; approximations require explicit acceptance, unsupported executable behavior blocks activation, and quality plans persist reusable assertions and run evidence. - The synthetic assessment tests prove blocked/accepted mappings and reject executable SQL bypasses. ### Changed Files - `src/govoplan_reporting/backend/operations.py` - `src/govoplan_reporting/backend/schemas.py` - `tests/test_reporting_service.py` ### Verification - `7 Reporting tests passed; Ruff passed.` ### Next / Blocked - Close after the implementation commit is pushed.
zemion added
status
in-progress
and removed
status
ready
labels 2026-08-01 14:56:08 +02:00
Author
Owner

Codex State: done

The verified implementation has been committed and pushed on main in eba35ed. The issue acceptance scope is complete; follow-on product depth remains tracked separately.

## Codex State: done The verified implementation has been committed and pushed on `main` in `eba35ed`. The issue acceptance scope is complete; follow-on product depth remains tracked separately.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GovOPlaN/govoplan-reporting#7