feat(config-audit): wire TOK into posture scorecard as 8th quality area (Token Efficiency)
This commit is contained in:
parent
068622e513
commit
4b385bf456
3 changed files with 23 additions and 8 deletions
|
|
@ -265,11 +265,11 @@ describe('determineSegment', () => {
|
|||
// scoreByArea
|
||||
// ========================================
|
||||
describe('scoreByArea', () => {
|
||||
it('returns areas for all 8 scanners', () => {
|
||||
const scanners = ['CML', 'SET', 'HKV', 'RUL', 'MCP', 'IMP', 'CNF', 'GAP']
|
||||
it('returns areas for all 9 scanners', () => {
|
||||
const scanners = ['CML', 'SET', 'HKV', 'RUL', 'MCP', 'IMP', 'CNF', 'GAP', 'TOK']
|
||||
.map(s => makeScannerResult(s, 0));
|
||||
const result = scoreByArea(scanners);
|
||||
assert.equal(result.areas.length, 8);
|
||||
assert.equal(result.areas.length, 9);
|
||||
});
|
||||
|
||||
it('zero findings → A grade', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue