Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display raw score in JSON report #4806

Closed
Sam152 opened this issue Aug 6, 2021 · 1 comment
Closed

Display raw score in JSON report #4806

Sam152 opened this issue Aug 6, 2021 · 1 comment
Labels
Duplicate 🐫 Duplicate of an already existing issue

Comments

@Sam152
Copy link

Sam152 commented Aug 6, 2021

Current problem

In 3.0.0a4, it's possible to see the score in the JSON report, however it's formatted as a human readable string.

Desired solution

Allow the JSON report to include a float of the raw score out of 10 and potentially an extra human readable version too. Maybe something like:

{
  'score': 8.51,
  'score_summary': 'Your code has been rated at 8.51/10'
}

Additional context

No response

@Sam152 Sam152 added Enhancement ✨ Improvement to a component Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Aug 6, 2021
@Pierre-Sassoulas
Copy link
Member

Duplicate of #4741

@Pierre-Sassoulas Pierre-Sassoulas marked this as a duplicate of #4741 Aug 6, 2021
@Pierre-Sassoulas Pierre-Sassoulas added Duplicate 🐫 Duplicate of an already existing issue and removed Enhancement ✨ Improvement to a component Needs triage 📥 Just created, needs acknowledgment, triage, and proper labelling labels Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate 🐫 Duplicate of an already existing issue
Projects
None yet
Development

No branches or pull requests

2 participants