File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 :
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments