Skip to content

feat (ontology) Precision score#44

Merged
benoitcayladbx merged 1 commit into
developfrom
feat/ontology-Precision-Score
Jun 1, 2026
Merged

feat (ontology) Precision score#44
benoitcayladbx merged 1 commit into
developfrom
feat/ontology-Precision-Score

Conversation

@benoitcayladbx
Copy link
Copy Markdown
Collaborator

Add an ontology precision score computed from the existing pitfalls analysis in OntoBricks.
The pitfalls engine is in src/back/core/external/pitfalls/runner.py
(OntologyPatternToolkit) and src/back/objects/domain/PitfallsService.py.
The UI is src/front/static/ontology/js/ontology-pitfalls.js.
Compute a 0–100 score from pitfall results: weight Critical (P1.x) issues more heavily
than Minor (P4.x), normalized by ontology size (class + property count).
Expose it in GET /ontology/pitfalls/results/{task_id} as a precision_score field.
Display a circular gauge in the pitfalls UI header alongside the existing issue count.
Store the score in the domain session so it appears on the domain home panel.

ontology precision score computed from the existing pitfalls analysis in OntoBricks.
The pitfalls engine is in src/back/core/external/pitfalls/runner.py
(OntologyPatternToolkit) and src/back/objects/domain/PitfallsService.py.
The UI is src/front/static/ontology/js/ontology-pitfalls.js.
Compute a 0–100 score from pitfall results: weight Critical (P1.x) issues more heavily
than Minor (P4.x), normalized by ontology size (class + property count).
Expose it in GET /ontology/pitfalls/results/{task_id} as a precision_score field.
Display a circular gauge in the pitfalls UI header alongside the existing issue count.
Store the score in the domain session so it appears on the domain home panel.
@benoitcayladbx benoitcayladbx requested a review from a team as a code owner June 1, 2026 07:01
@benoitcayladbx benoitcayladbx changed the title feat (ontllogy) Precision score feat (ontology) Precision score Jun 1, 2026
@benoitcayladbx benoitcayladbx merged commit 5edfdfb into develop Jun 1, 2026
@benoitcayladbx benoitcayladbx deleted the feat/ontology-Precision-Score branch June 1, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant