star-whale / starwhale

an MLOps/LLMOps platform
https://starwhale.ai
Apache License 2.0
208 stars 35 forks source link

feat(controller): add import and export for ft eval #3002

Closed goldenxinxing closed 11 months ago

goldenxinxing commented 11 months ago

Description

  1. update model info for eval when release ft model
  2. add import and export for ft eval, releated #3003
  3. fix create ft-eval error

Modules

Checklist

codecov[bot] commented 11 months ago

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (857cff0) 82.51% compared to head (8a38e0e) 73.33%. Report is 2 commits behind head on main.

:exclamation: Current head 8a38e0e differs from pull request most recent head 21f5060. Consider uploading reports for the commit 21f5060 to get more accurate results

Files Patch % Lines
...ava/ai/starwhale/mlops/api/FineTuneController.java 0.00% 4 Missing :warning:
...ain/java/ai/starwhale/mlops/domain/job/JobDao.java 0.00% 3 Missing :warning:
...ain/java/ai/starwhale/mlops/api/JobController.java 0.00% 1 Missing and 1 partial :warning:
.../starwhale/mlops/domain/ft/FineTuneAppService.java 85.71% 1 Missing and 1 partial :warning:
...lops/domain/evaluation/storage/EvaluationRepo.java 96.29% 1 Missing :warning:
...ops/domain/ft/FineTuneEvaluationUpdateWatcher.java 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3002 +/- ## ============================================ - Coverage 82.51% 73.33% -9.19% - Complexity 3125 3131 +6 ============================================ Files 563 436 -127 Lines 30404 15266 -15138 Branches 1833 1774 -59 ============================================ - Hits 25088 11195 -13893 + Misses 4501 3257 -1244 + Partials 815 814 -1 ``` | [Flag](https://app.codecov.io/gh/star-whale/starwhale/pull/3002/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | Coverage Δ | | |---|---|---| | [console](https://app.codecov.io/gh/star-whale/starwhale/pull/3002/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [controller](https://app.codecov.io/gh/star-whale/starwhale/pull/3002/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `73.33% <75.47%> (+0.01%)` | :arrow_up: | | [standalone](https://app.codecov.io/gh/star-whale/starwhale/pull/3002/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | | [unittests](https://app.codecov.io/gh/star-whale/starwhale/pull/3002/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale) | `?` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=star-whale#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.