Advise-me-0.1: Assessment services for the Advise-Me project

Maintainerbastiaan.heeren@ou.nl
Stabilityprovisional
Portabilityportable (depends on ghc)
Safe HaskellNone
LanguageHaskell98

Recognize.Data.Attribute

Description

This module defines the data type that is used to describe the diagnosis of some solution to an exercise. This information is then used to generate evidence during assessment.

Documentation

data Attribute Source #

Constructors

Expand Op

Expand a formula by a certain operation

Implicit Op

Implicitly expand a formula

Forget Op

Forgot to expand a formula

ForgetSym Symbol

Forgot to expand with a symbol

Normalized

Is a normalized expression

InvalidEquation Expr Expr 
UnequalRelations (Relation Expr) (Relation Expr) 
Recovery

Recover a made mistake

NonMatchingParentheses

Incorrect placement of parentheses

IncorrectDistribution 
IncorrectFactorization 
InvertedFraction

expected: 56, provided: 65

InvalidCommutativity Symbol

expected: 5-6, provided: 6-5

AtomMixedUp Expr Expr 
Sloppiness 
OperatorMixedUp Symbol Symbol 
Misconception Concept Concept 
AsymmetricRelation 
InequalityStrictness 
Approximation 
RoundingError 
CommonMistake

defined per exercise

CapturedWildcard String Expr 
PartialMatch Expr 
MatchedBy Expr Expr 
ARule RuleId (NonEmpty Expr) Expr 
ARuleR RuleId (Relation Expr) (Relation Expr) 
Label String 
LabelE String Expr 
FinalAnswer Expr 
NExpr Expr

Expression that is a Number or Natural

Other String 
Instances
Eq Attribute Source # 
Instance details

Defined in Recognize.Data.Attribute

Ord Attribute Source # 
Instance details

Defined in Recognize.Data.Attribute

Show Attribute Source # 
Instance details

Defined in Recognize.Data.Attribute

ToXML Attribute Source # 
Instance details

Defined in Recognize.Data.Attribute

Methods

toXML :: Attribute -> XML #

listToXML :: [Attribute] -> XML #

ToXML (Math, [Attribute]) Source # 
Instance details

Defined in Recognize.Data.Step

Methods

toXML :: (Math, [Attribute]) -> XML #

listToXML :: [(Math, [Attribute])] -> XML #

data Concept Source #

Instances
Eq Concept Source # 
Instance details

Defined in Recognize.Data.Attribute

Methods

(==) :: Concept -> Concept -> Bool #

(/=) :: Concept -> Concept -> Bool #

Ord Concept Source # 
Instance details

Defined in Recognize.Data.Attribute

Show Concept Source # 
Instance details

Defined in Recognize.Data.Attribute

(<!) :: [(a, [Attribute])] -> Attribute -> [(a, [Attribute])] infixl 7 Source #