Skip to content

Commit 92cafbd

Browse files
committed
Don't run other evals in this PR. This commit to be reverted before merge.
1 parent a8a253c commit 92cafbd

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

.github/workflows/eval-functions.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ jobs:
104104
mkdir -p eval-results
105105
EVAL_ERRORS=0
106106
107-
echo "Running explainText evaluation..."
108-
genkit eval:flow explainText \
109-
--input datasets/explain-chinese.json \
110-
--evaluators=custom/chineseTextPresent,custom/validPinyinFormat,custom/outputStructureValid,custom/grammarExplanationQuality \
111-
--batchSize 10 \
112-
--output eval-results/explain-chinese-results.json || { echo "⚠️ explainText evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
107+
# echo "Running explainText evaluation..."
108+
# genkit eval:flow explainText \
109+
# --input datasets/explain-chinese.json \
110+
# --evaluators=custom/chineseTextPresent,custom/validPinyinFormat,custom/outputStructureValid,custom/grammarExplanationQuality \
111+
# --batchSize 10 \
112+
# --output eval-results/explain-chinese-results.json || { echo "⚠️ explainText evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
113113
114114
echo "Running explainEnglish evaluation..."
115115
genkit eval:flow explainEnglish \
@@ -118,26 +118,26 @@ jobs:
118118
--batchSize 10 \
119119
--output eval-results/explain-english-results.json || { echo "⚠️ explainEnglish evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
120120
121-
echo "Running generateChineseSentences evaluation..."
122-
genkit eval:flow generateChineseSentences \
123-
--input datasets/generate-chinese-sentences.json \
124-
--evaluators=custom/chineseTextPresent,custom/validPinyinFormat,custom/outputStructureValid,custom/sentenceGenerationQuality \
125-
--batchSize 10 \
126-
--output eval-results/generate-sentences-results.json || { echo "⚠️ generateChineseSentences evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
127-
128-
echo "Running analyzeCollocation evaluation..."
129-
genkit eval:flow analyzeCollocation \
130-
--input datasets/analyze-collocation.json \
131-
--evaluators=custom/chineseTextPresent,custom/englishTranslationPresent,custom/outputStructureValid \
132-
--batchSize 10 \
133-
--output eval-results/collocation-results.json || { echo "⚠️ analyzeCollocation evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
134-
135-
echo "Running explainWordInContext evaluation..."
136-
genkit eval:flow explainWordInContext \
137-
--input datasets/explain-word-in-context.json \
138-
--evaluators=custom/chineseTextPresent,custom/englishTranslationPresent,custom/outputStructureValid \
139-
--batchSize 10 \
140-
--output eval-results/word-context-results.json || { echo "⚠️ explainWordInContext evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
121+
# echo "Running generateChineseSentences evaluation..."
122+
# genkit eval:flow generateChineseSentences \
123+
# --input datasets/generate-chinese-sentences.json \
124+
# --evaluators=custom/chineseTextPresent,custom/validPinyinFormat,custom/outputStructureValid,custom/sentenceGenerationQuality \
125+
# --batchSize 10 \
126+
# --output eval-results/generate-sentences-results.json || { echo "⚠️ generateChineseSentences evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
127+
128+
# echo "Running analyzeCollocation evaluation..."
129+
# genkit eval:flow analyzeCollocation \
130+
# --input datasets/analyze-collocation.json \
131+
# --evaluators=custom/chineseTextPresent,custom/englishTranslationPresent,custom/outputStructureValid \
132+
# --batchSize 10 \
133+
# --output eval-results/collocation-results.json || { echo "⚠️ analyzeCollocation evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
134+
135+
# echo "Running explainWordInContext evaluation..."
136+
# genkit eval:flow explainWordInContext \
137+
# --input datasets/explain-word-in-context.json \
138+
# --evaluators=custom/chineseTextPresent,custom/englishTranslationPresent,custom/outputStructureValid \
139+
# --batchSize 10 \
140+
# --output eval-results/word-context-results.json || { echo "⚠️ explainWordInContext evaluation had errors"; EVAL_ERRORS=$((EVAL_ERRORS+1)); }
141141
142142
if [ $EVAL_ERRORS -gt 0 ]; then
143143
echo "⚠️ $EVAL_ERRORS evaluation(s) had errors - check results for details"

0 commit comments

Comments
 (0)