mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-13 19:40:28 -07:00
feat(evals): implement related evaluation system for targeted testing
This commit is contained in:
@@ -500,6 +500,9 @@ function main() {
|
||||
if (args.includes('--check-github-actions-pinning')) {
|
||||
runGithubActionsPinningLinter();
|
||||
}
|
||||
if (args.includes('--eval-suites')) {
|
||||
runEvalSuiteLinter();
|
||||
}
|
||||
|
||||
if (args.length === 0) {
|
||||
setupLinters();
|
||||
@@ -511,8 +514,18 @@ function main() {
|
||||
runSensitiveKeywordLinter();
|
||||
runTSConfigLinter();
|
||||
runGithubActionsPinningLinter();
|
||||
runEvalSuiteLinter();
|
||||
console.log('\nAll linting checks passed!');
|
||||
}
|
||||
}
|
||||
|
||||
export function runEvalSuiteLinter() {
|
||||
console.log('\nRunning eval suite linter...');
|
||||
try {
|
||||
execSync('node scripts/validate_eval_suites.js', { stdio: 'inherit' });
|
||||
} catch {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
main();
|
||||
|
||||
Reference in New Issue
Block a user