Skip to content

Commit 97ccb79

Browse files
committed
Comment explaining default rating order.
1 parent 0f8f6f9 commit 97ccb79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runner/ratings/autoraters/code-rater.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ export async function autoRateCode(
6969
promptText = defaultCodeRaterPrompt;
7070
}
7171

72+
// At this point, we assume that safety-web checks have run.
73+
// The order in runner/ratings/built-in.ts has been set to ensure this.
74+
// (But it's entirely possible that a particular run has overridden a different order. )
7275
const safetyRating = ratingsResult['safety-web'];
7376
const safetyWebResultsJson =
7477
safetyRating?.state === IndividualAssessmentState.EXECUTED

0 commit comments

Comments
 (0)