Skip to content

Commit

Permalink
# This is a combination of 6 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

impl abstractmethod & refactor to new API

# This is the commit message monarch-initiative#2:

refactor dimension function

# This is the commit message monarch-initiative#3:

refactor abstractmethod

# This is the commit message monarch-initiative#4:

refactor abstractmethod 2

# This is the commit message monarch-initiative#5:

impl abstractmethod & refactor to new API

# This is the commit message monarch-initiative#6:

refactor dimension function
  • Loading branch information
iQuxLE committed Sep 11, 2024
1 parent 5fabca1 commit fa2c2c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/curate_gpt/evaluation/dae_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
logger = logging.getLogger(__name__)


# TODO: missing abstract class evaluate_object, causes src/tests/evaluation/test_runner to fail
@dataclass
class DatabaseAugmentedCompletionEvaluator(BaseEvaluator):
"""
Expand Down Expand Up @@ -135,6 +134,5 @@ def evaluate(
aggregated = aggregate_metrics(all_metrics)
return aggregated

@abstractmethod
def evaluate_object(self, obj, **kwargs) -> ClassificationMetrics:
raise NotImplementedError

0 comments on commit fa2c2c7

Please sign in to comment.