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 bc94875 commit 9098b1fCopy full SHA for 9098b1f
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