Skip to content

Commit 38c8b58

Browse files
committed
reverting back to normal eval + pipeline
1 parent 33d5088 commit 38c8b58

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
build:
8484
name: Build Docker Image
8585
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/build.yml@main
86+
needs: test
8687
permissions:
8788
contents: read
8889
id-token: write
@@ -91,7 +92,7 @@ jobs:
9192
deploy:
9293
name: Deploy to Lambda Feedback
9394
uses: lambda-feedback/evaluation-function-workflows/.github/workflows/deploy.yml@main
94-
needs: build
95+
needs: test
9596
with:
9697
template-repository-name: "lambda-feedback/evaluation-function-boilerplate-python"
9798
permissions:

evaluation_function/evaluation.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ def evaluation_function(
3737
return types and that evaluation_function() is the main function used
3838
to output the evaluation response.
3939
"""
40-
41-
return Result(is_correct=True, feedback_items=[("test", "this is a test")])
42-
40+
4341
if not isinstance(answer, str):
4442
return Result(
4543
is_correct=False,

0 commit comments

Comments
 (0)