Add constant for addend for published score

This commit is contained in:
Joshua Ramon Enslin 2023-07-28 16:16:19 +02:00
parent fc99e94d79
commit 55dc362cdb
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -13,6 +13,11 @@ declare(strict_types = 1);
*/
final class MDPuqi {
// Just by itself, the PuQI score basically starts at around -60.
// To not frustrate users, it thus makes sense to simply add a reasonable
// number to get scores starting in the upper 2 digit numbers.
public const PUBLICATION_ADDEND_FOR_SCORE = 171;
// Limits for word counts
private const THRESHOLD_WC_OBJECT_TYPE_TOO_LONG = 2;
private const THRESHOLD_WC_OBJECT_TITLE_TOO_LONG = 10;