Skip to content

Commit 74ea2dc

Browse files
committed
refactor(evaluate): uncomment default return in EvaluateTranslation
Uncomment the return statement to always return 1.0 and nil, bypassing the evaluation logic for testing or as a placeholder implementation.
1 parent a7369b2 commit 74ea2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/evaluate/evaluate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ var (
7878
)
7979

8080
func EvaluateTranslation(ctx context.Context, l llm.Model, inputLang types.Lang, outputLang types.Lang, input string, output string) (float64, error) {
81-
// return 1.0, nil
81+
return 1.0, nil
8282

8383
var b [8]byte
8484
rand.Read(b[:])

0 commit comments

Comments
 (0)