Skip to content

fix: use proper eval default main eval metrics for text pair regressor #2387

fix: use proper eval default main eval metrics for text pair regressor

fix: use proper eval default main eval metrics for text pair regressor #2387

Triggered via pull request August 23, 2024 01:09
Status Failure
Total duration 17m 56s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
test: flair/__init__.py#L1
mypy-status mypy exited with status 1.
test: flair/models/pairwise_regression_model.py#L1
flair/models/pairwise_regression_model.py 281: error: Argument 6 of "evaluate" is incompatible with supertype "Model"; supertype defines the argument type as "Tuple[str, str]" [override] 281: note: This violates the Liskov substitution principle 281: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides 281: error: Incompatible default for argument "main_evaluation_metric" (default has type "Tuple[str, str]", argument has type "Tuple[str]") [assignment] 351: error: Tuple index out of range [misc]
test
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/