EOSC-synergy / sqaaas-web

Software Quality Assurance as a Service (SQAaaS) Web
https://sqaaas.eosc-synergy.eu
GNU General Public License v3.0
2 stars 3 forks source link

In the QAA result page, provide a summary of criteria fulfilled and not fulfilled in the badge results #152

Open orviz opened 2 years ago

orviz commented 2 years ago

When reporting badge achievements, or lack thereof, in the final view of the QAA module there is no clear breakdown of the criteria fulfilled and/or not fulfilled. The API (version 2.0.0-alpha1) does now include a summary with such info:

   "badge": {
         "software": {
             "criteria": {
                 "bronze": {
                     "to_fulfill": [
                         "QC.Acc",
                         "QC.Doc",
                         "QC.Lic"
                     ],
                     "missing": [],
                     "fulfilled": [
                         "QC.Doc",
                         "QC.Acc",
                         "QC.Lic"
                     ]
                 },
                 "silver": {
                     "to_fulfill": [
                         "QC.Acc",
                         "QC.Doc",
                         "QC.Lic",
                         "QC.Sty",
                         "QC.Sec",
                         "QC.Ver"
                     ],
                     "missing": [
                         "QC.Ver",
                         "QC.Sty"
                     ],
                     "fulfilled": [
                         "QC.Doc",
                         "QC.Acc",
                         "QC.Lic",
                         "QC.Sec"
                     ]
                 },
                 "gold": {
                     "to_fulfill": [
                         "QC.Acc",
                         "QC.Doc",
                         "QC.Lic",
                         "QC.Sty",
                         "QC.Sec",
                         "QC.Ver",
                         "QC.Uni",
                         "QC.Wor",
                         "QC.Man",
                         "QC.Del"
                     ],
                     "missing": [
                         "QC.Del",
                         "QC.Wor",
                         "QC.Man",
                         "QC.Ver",
                         "QC.Sty",
                         "QC.Uni"
                     ],
                     "fulfilled": [
                         "QC.Doc",
                         "QC.Acc",
                         "QC.Lic",
                         "QC.Sec"
                     ]
                 }
            }
      }
}