fix(guide,suggest): word agent guidance no stronger than the evidence #2
1 changed files with 5 additions and 5 deletions
test(suggest): match the judgement label the scorer prints
commit
b304b61a48
|
|
@ -345,10 +345,7 @@ void main() {
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
expect(
|
expect(plan.toAgentBlock(), contains('Order is a score, not a mandate.'));
|
||||||
plan.toAgentBlock(),
|
|
||||||
contains('Order is a score, not a mandate.'),
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('wiring up a dead handler is not scored as judgement-free', () {
|
test('wiring up a dead handler is not scored as judgement-free', () {
|
||||||
|
|
@ -371,7 +368,10 @@ void main() {
|
||||||
policy: FixPolicy.remove,
|
policy: FixPolicy.remove,
|
||||||
);
|
);
|
||||||
expect(wireUp.ordered.single.why, isNot(contains('no product judgement')));
|
expect(wireUp.ordered.single.why, isNot(contains('no product judgement')));
|
||||||
expect(remove.ordered.single.why, contains('no product judgement (+15)'));
|
expect(
|
||||||
|
remove.ordered.single.why,
|
||||||
|
contains('no product judgement needed (+15)'),
|
||||||
|
);
|
||||||
expect(remove.ordered.single.score, wireUp.ordered.single.score + 15);
|
expect(remove.ordered.single.score, wireUp.ordered.single.score + 15);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue