aws / aws/fmeval

[Feature] Add callback mechanism to evaluation

Open
#284 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
291
Forks
60
PR merge metrics
No merged PRs in 30d

Description

I'm integrating fmeval with experiments tracking solutions (MLflow for now), and the lack of [callback mechanisms](https://www.askpython.com/python/built-in-methods/callback-functions-in-python) means that the tracing can only happen after an evaluation is completed.
Drawbacks:
- results can be recorded only once the evaluation has completed (similar to #278 )
- if the evaluation fails during the execution, the already generated values are lost

The suggested solution is to implement a callback mechanism to be able to tracks results as they're generated, simplifying integration with experiment tracking solutions.

Contributor guide

Open the contributing guide

Research direction

Start by mapping the evaluation flow to identify where generated values become available and where failures discard them. Define the callback behavior and verify that partial results can be observed during evaluation and retained when execution fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.