We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f8f6f9 commit 97ccb79Copy full SHA for 97ccb79
runner/ratings/autoraters/code-rater.ts
@@ -69,6 +69,9 @@ export async function autoRateCode(
69
promptText = defaultCodeRaterPrompt;
70
}
71
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. )
75
const safetyRating = ratingsResult['safety-web'];
76
const safetyWebResultsJson =
77
safetyRating?.state === IndividualAssessmentState.EXECUTED
0 commit comments