Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit a8eefc87 authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

score + positif

parent 82f0b12e
...@@ -42,9 +42,9 @@ class ScoreValues{ ...@@ -42,9 +42,9 @@ class ScoreValues{
"IF(`validation`='given up', "IF(`validation`='given up',
-ROUND(`miseD`/3), -ROUND(`miseD`/3),
IF(`validation`='invalid', IF(`validation`='invalid',
-ROUND(1.5*`miseD`), -ROUND(1.2*`miseD`),
IF(`validation`='valid', IF(`validation`='valid',
ROUND(`miseV`*(0.5+`nbSucces`/`nbTentatives`)), ROUND(`miseV`*(0.5+(`nbSucces`*1.2)/GREATEST(1,`nbTentatives`))),
0 0
) )
) )
...@@ -140,7 +140,7 @@ class ScoreValues{ ...@@ -140,7 +140,7 @@ class ScoreValues{
} }
public function get_druid_string($valid){ public function get_druid_string($valid){
return self::$MULTIPLIERS_WIN[$valid]; return self::$DRUID_STRINGS[$valid];
} }
public function get_recording_score_sql_formula(){ public function get_recording_score_sql_formula(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment