Code source du site TeacherCorner.lamdera.app, contenant une suite d'outils permettant d'automatiser la production de documents pédagogiques.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
TeacherCorner/src/Evergreen/V1/CalculateurDeNotes.elm

34 lines
591 B

module Evergreen.V1.CalculateurDeNotes exposing (..)
type alias Reponses =
List String
type alias Eleve =
{ numeroEtudiant : String
, numeroSujet : Int
, nomEtudiant : String
, prenomEtudiant : String
, reponses : Reponses
, note : Maybe Float
}
type alias Eleves =
List Eleve
type alias Model =
{ bareme : String
, reponsesCorrectes : String
, reponsesEleves : String
, eleves : Eleves
}
type Msg
= NouveauBareme String
| NouvellesReponsesCorrectes String
| NouvellesReponsesEleves String
| TelechargerNotes