Frontmatter
| id | 10033 |
| title | Concept Graph Unit Tests |
| state | Closed |
| labels | enhancementaitesting |
| assignees | tobiu |
| createdAt | Apr 15, 2026, 11:57 PM |
| updatedAt | Apr 19, 2026, 11:00 AM |
| githubUrl | https://github.com/neomjs/neo/issues/10033 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | 10030 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [x] 10032 ConceptService & Source Code Wiring |
| blocking | [x] 10035 Graph Integration & GapInferenceEngine Refactor |
| closedAt | Apr 19, 2026, 11:00 AM |
Concept Graph Unit Tests
tobiu cross-referenced by #10035 on Apr 15, 2026, 11:57 PM
tobiu added parent issue #10030 on Apr 15, 2026, 11:58 PM
tobiu marked this issue as being blocked by #10032 on Apr 15, 2026, 11:58 PM
tobiu marked this issue as blocking #10035 on Apr 15, 2026, 11:58 PM
tobiu cross-referenced by PR #10047 on Apr 17, 2026, 9:38 AM
tobiu assigned to @tobiu on Apr 19, 2026, 10:24 AM
tobiu cross-referenced by PR #10078 on Apr 19, 2026, 10:28 AM
tobiu cross-referenced by #10079 on Apr 19, 2026, 10:43 AM
tobiu closed this issue on Apr 19, 2026, 11:00 AM
tobiu cross-referenced by #10080 on Apr 19, 2026, 11:16 AM
tobiu cross-referenced by PR #10084 on Apr 19, 2026, 12:20 PM
tobiu cross-referenced by #10030 on Apr 19, 2026, 12:33 PM
Objective
Create Playwright unit tests for the ConceptService, validating graph loading, querying, gap detection, and LLM serialization.
Context
Phase 1, Step 3 of the Concept Ontology epic (#10030). Tests validate the ConceptService from #10032.
Test File
test/playwright/unit/ai/graph/ConceptService.spec.mjsTest Cases
Graph Loading
Concept Tree
getConceptTree()returns hierarchical structuremaxTierparameterCoverage Queries
getConceptCoverage(id)returns all edge typesGap Detection
findGuideGaps()returns concepts missing EXPLAINED_BYminWeightthresholdClassification
classifyConcept('src/core/Config.mjs')returns "Config System" conceptLLM Serialization
serializeForLLM()produces valid tree formatWeight Calculation
Acceptance Criteria
npm run test-unit -- test/playwright/unit/ai/graph/ConceptService.spec.mjsOrigin Session ID: 496c0120-29aa-4b02-a804-d5a32ff6b5eb