test(maturity-scoring): add unit tests for Fluency Score logic#598
Merged
test(maturity-scoring): add unit tests for Fluency Score logic#598
Conversation
…amMember and calculateMaturityScores Cover all 6 scoring categories (Prompt Engineering, Context Engineering, Agentic, Tool Usage, Customization, Workflow Integration) with boundary-value tests at each threshold. Also test the median-of-6 overall stage calculation and verify the async calculateMaturityScores function forwards its useCache flag and returns all expected response fields. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds 33 unit tests for maturityScoring.ts -- the module with zero test coverage that drives the AI Engineering Fluency Score, the product's core differentiating feature.
What's tested
Approach
All tests use plain inline object construction -- no mocks, no external dependencies.