Closed juhoinkinen closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
3451bd3
) 99.63% compared to head (0cc9fe3
) 99.63%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I started to think adding also "Backend" column to the output of list-projects
, but maybe that is too much detail in there. But backend could be shown by show-projects
.
Yet another addition would be to dump project configuration to output of show-project
.
Other possible items to be added to the show-project
output have been listed in the old issue https://github.com/NatLibFi/Annif/issues/329.
Yet another addition would be to dump project configuration to output of
show-project
.
The output for project configuration could be like this (hiding the parameters that are already shown by the above lines):
$ annif show-project fasttext-fi
Project ID: fasttext-fi
Project Name: fastText Finnish
Language: fi
Vocabulary: yso
Vocab language: fi
Access: public
Trained: True
Modification time: 2023-04-21 10:33:16
Parameters:
backend: fasttext
analyzer: voikko(fi)
dim: 500
lr: 0.25
epoch: 30
loss: hs
limit: 100
chunksize: 24
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Maybe simplest would be to merge this as it is now, then possibly work on the project configuration display in a follow-up PR?
Makes the column widths of the output of
annif list-projects
andannif list-vocabs
dynamic to not spend unnecessary space in terminal. For vocabularies the benefit of this is not so great, but implementing this for both listing commands keeps the functionalities aligned. The separator for columns is 2 spaces.Adds vocabulary ID and modification time columns to the output of
list-projects
implementing issue #686.Converts the project modification timestamps to current timezone (from UTC) and formats them to YYYY-MM-DD hh:mm:ss in the outputs of
list-projects
andshow-project
, using-
in place ofNone
.Adds "Backend" line the output of
show-project
An example output of
list-projects
:An example output of
list-vocabs
:An example output of
show-project
: