Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
= Enea_Gore committed Jan 15, 2025
1 parent 1e21816 commit d7aaacd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion athena/athena/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ def feedback_consumer(func: Union[
Callable[[E, S, List[F]], None],
Callable[[E, S, List[F]], Coroutine[Any, Any, None]],
Callable[[E, S, List[F], C], None],
Callable[[E, S, List[F], C], Coroutine[Any, Any, None]]
Callable[[E, S, List[F], C], Coroutine[Any, Any, None]],
Callable[[E, S, List[F], G, C], Coroutine[Any, Any, None]],
Callable[[E, S, List[F], G, C]],
Callable[[E, S, List[F], G, C], None],

]):
"""
Receive feedback from the Assessment Module Manager.
Expand Down
2 changes: 1 addition & 1 deletion modules/text/module_text_llm/module_text_llm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def select_submission(exercise: Exercise, submissions: List[Submission]) -> Subm

@feedback_consumer
async def process_incoming_feedback(exercise: Exercise, submission: Submission, feedbacks: List[Feedback], use_for_continuous_learning: bool, module_config: Configuration):
logger.info("process_feedback: Received %d feedbacks for submission %d of exercise %d.", len(feedbacks), submission.id, exercise.id)
logger.info("process_feedback: Received %d feedbacks for submission %d of exercise %d. Approach: %s", len(feedbacks), submission.id, exercise.id,module_config.approach.__name__)
logger.info("useForContinuousLearning: %s", use_for_continuous_learning)
# logger.info("Recieved feedbacks: %s", feedbacks)
if use_for_continuous_learning:
Expand Down

0 comments on commit d7aaacd

Please sign in to comment.