diff options
Diffstat (limited to 'exampleData/ruleSets/alwaysErrThreeTimes.json')
-rw-r--r-- | exampleData/ruleSets/alwaysErrThreeTimes.json | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/exampleData/ruleSets/alwaysErrThreeTimes.json b/exampleData/ruleSets/alwaysErrThreeTimes.json index 24b0b62..9c2b358 100644 --- a/exampleData/ruleSets/alwaysErrThreeTimes.json +++ b/exampleData/ruleSets/alwaysErrThreeTimes.json @@ -1,27 +1,27 @@ -{ "name": "always errors" -, "description": "A trivial rule set for experimentation." -, "rules": [ -//--------------------------------- - { "id":13 - , "name": "Reports three times" - , "description": "Test guideline that reports three errors" - , "rule": - function() { - report('Problem 1 (g1)', null); - report('Problem 3 (g1)', null); - report('Problem 2 (g1)', null); - } - }, -//--------------------------------- - { "id":14 - , "name": "Reports two times" - , "description": "Test guideline that reports two errors." - , "rule": - function() { - report('Problem 1 (g2)', null); - report('Problem 2 (g2)', null); - } - }//, -//--------------------------------- - ] +{ 'name': 'always errors' +, 'description': 'A trivial rule set for experimentation.' +, 'rules': [ +//--------------------------- + { 'id': 112201 + , 'name': 'Reports three times' + , 'description': 'Test guideline that reports three errors' + , 'rule': + function() { + report('Problem 1 (g1)', null); + report('Problem 3 (g1)', null); + report('Problem 2 (g1)', null); + } + }, +//--------------------------- + { 'id': 1122202 + , 'name': 'Reports two times' + , 'description': 'Test guideline that reports two errors.' + , 'rule': + function() { + report('Problem 1 (g2)', null); + report('Problem 2 (g2)', null); + } + }//, +//--------------------------- + ] } |