+1




![autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>](/assets/img/avatar_default.png)




FFXN
GitHub
jyong
Yansong Zhang
autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
hj24
hj24
Joel
Stephen Zhou
CodingOnStar
copilot-swe-agent[bot] <[email protected]>
f9b76f0f52
Co-authored-by: jyong <[email protected]> Co-authored-by: Yansong Zhang <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: hj24 <[email protected]> Co-authored-by: hj24 <[email protected]> Co-authored-by: Joel <[email protected]> Co-authored-by: Stephen Zhou <[email protected]> Co-authored-by: CodingOnStar <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
22 lines
860 B
Python
22 lines
860 B
Python
from services.errors.base import BaseServiceError
|
|
|
|
|
|
class EvaluationFrameworkNotConfiguredError(BaseServiceError):
|
|
def __init__(self, description: str | None = None):
|
|
super().__init__(description or "Evaluation framework is not configured. Set EVALUATION_FRAMEWORK env var.")
|
|
|
|
|
|
class EvaluationNotFoundError(BaseServiceError):
|
|
def __init__(self, description: str | None = None):
|
|
super().__init__(description or "Evaluation not found.")
|
|
|
|
|
|
class EvaluationDatasetInvalidError(BaseServiceError):
|
|
def __init__(self, description: str | None = None):
|
|
super().__init__(description or "Evaluation dataset is invalid.")
|
|
|
|
|
|
class EvaluationMaxConcurrentRunsError(BaseServiceError):
|
|
def __init__(self, description: str | None = None):
|
|
super().__init__(description or "Maximum number of concurrent evaluation runs reached.")
|