tpmkms_4wp 7.4.1 → 7.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tpmkms_4wp might be problematic. Click here for more details.
- package/common/currency.js +0 -6
- package/common/helpers/properties.js +2 -2
- package/common/ordering.test.json +76 -76
- package/common/people.js +4 -24
- package/common/people.test.json +298 -298
- package/common/pokemon.js +0 -5
- package/common/properties.js +1 -1
- package/common/properties.test.json +238 -238
- package/common/reports.js +3 -3
- package/common/reports.test.json +958 -48
- package/common/scorekeeper.js +3 -13
- package/common/scorekeeper.test.json +29 -29
- package/common/time.js +0 -10
- package/package.json +2 -2
package/common/scorekeeper.js
CHANGED
@@ -71,7 +71,7 @@ let config = {
|
|
71
71
|
"the players are x y and x'
|
72
72
|
"the winning score is 10000'
|
73
73
|
'greg got 10
|
74
|
-
'
|
74
|
+
'wendy got 20 points'
|
75
75
|
'who is winning'
|
76
76
|
'what are the scores'
|
77
77
|
*/
|
@@ -101,16 +101,6 @@ let config = {
|
|
101
101
|
"ten": [{"id": "number", "initial": "{ value: 10 }" }],
|
102
102
|
*/
|
103
103
|
},
|
104
|
-
/*
|
105
|
-
associations: {
|
106
|
-
negative: [
|
107
|
-
],
|
108
|
-
positive: [
|
109
|
-
[['score', 0], ['is', 0], ['point', 0]],
|
110
|
-
[['score', 0], ['is', 0], ['number', 0], ['point', 0]],
|
111
|
-
]
|
112
|
-
},
|
113
|
-
*/
|
114
104
|
priorities: [
|
115
105
|
[['is', 0], ['the', 0], ['winning', 0]],
|
116
106
|
],
|
@@ -375,8 +365,8 @@ config.initializer( ({objects, km, isModule}) => {
|
|
375
365
|
})
|
376
366
|
|
377
367
|
startWithDefault20 = [
|
378
|
-
"greg got 1 point
|
379
|
-
"greg got 1 point
|
368
|
+
"greg got 1 point alice got 2 points greg got 1 point start a new game who is next",
|
369
|
+
"greg got 1 point alice got 2 points greg got 1 point start a new game",
|
380
370
|
"start a new game greg got 10 points start a new game greg got 10 points what are the scores",
|
381
371
|
"greg got 100 points start a new game what are the scores",
|
382
372
|
"greg got 10 points sara got 3 points greg got 2 points whose turn is it",
|
@@ -9002,14 +9002,14 @@
|
|
9002
9002
|
"end": 20,
|
9003
9003
|
"start": 17
|
9004
9004
|
},
|
9005
|
-
"text": "
|
9005
|
+
"text": "alice",
|
9006
9006
|
"types": [
|
9007
9007
|
"player",
|
9008
9008
|
"unknown"
|
9009
9009
|
],
|
9010
9010
|
"unknown": true,
|
9011
|
-
"value": "
|
9012
|
-
"word": "
|
9011
|
+
"value": "alice",
|
9012
|
+
"word": "alice"
|
9013
9013
|
},
|
9014
9014
|
"points": {
|
9015
9015
|
"amount": {
|
@@ -9044,7 +9044,7 @@
|
|
9044
9044
|
"end": 33,
|
9045
9045
|
"start": 17
|
9046
9046
|
},
|
9047
|
-
"text": "
|
9047
|
+
"text": "alice got 2 points",
|
9048
9048
|
"topLevel": true,
|
9049
9049
|
"touchedBy": [
|
9050
9050
|
"call9"
|
@@ -10137,11 +10137,11 @@
|
|
10137
10137
|
"nextPlayer": 0,
|
10138
10138
|
"players": [
|
10139
10139
|
"greg",
|
10140
|
-
"
|
10140
|
+
"alice"
|
10141
10141
|
],
|
10142
10142
|
"scores": {
|
10143
10143
|
"greg": 0,
|
10144
|
-
"
|
10144
|
+
"alice": 0
|
10145
10145
|
}
|
10146
10146
|
},
|
10147
10147
|
"1": {
|
@@ -10222,7 +10222,7 @@
|
|
10222
10222
|
"types": [
|
10223
10223
|
"turn"
|
10224
10224
|
],
|
10225
|
-
"whose": "
|
10225
|
+
"whose": "alice",
|
10226
10226
|
"word": "turn"
|
10227
10227
|
},
|
10228
10228
|
{
|
@@ -10595,14 +10595,14 @@
|
|
10595
10595
|
"end": 20,
|
10596
10596
|
"start": 17
|
10597
10597
|
},
|
10598
|
-
"text": "
|
10598
|
+
"text": "alice",
|
10599
10599
|
"types": [
|
10600
10600
|
"player",
|
10601
10601
|
"unknown"
|
10602
10602
|
],
|
10603
10603
|
"unknown": true,
|
10604
|
-
"value": "
|
10605
|
-
"word": "
|
10604
|
+
"value": "alice",
|
10605
|
+
"word": "alice"
|
10606
10606
|
},
|
10607
10607
|
"points": {
|
10608
10608
|
"amount": {
|
@@ -10637,14 +10637,14 @@
|
|
10637
10637
|
"end": 33,
|
10638
10638
|
"start": 17
|
10639
10639
|
},
|
10640
|
-
"text": "
|
10640
|
+
"text": "alice got 2 points",
|
10641
10641
|
"topLevel": true,
|
10642
10642
|
"touchedBy": [
|
10643
10643
|
"call9"
|
10644
10644
|
],
|
10645
10645
|
"word": "got"
|
10646
10646
|
},
|
10647
|
-
"paraphrases": "
|
10647
|
+
"paraphrases": "alice got 2 points",
|
10648
10648
|
"responses": [
|
10649
10649
|
"",
|
10650
10650
|
"",
|
@@ -10660,14 +10660,14 @@
|
|
10660
10660
|
"paraphrases": [
|
10661
10661
|
"the winning score is 20 points",
|
10662
10662
|
"greg got 1 point",
|
10663
|
-
"
|
10663
|
+
"alice got 2 points",
|
10664
10664
|
"greg got 1 point",
|
10665
10665
|
"start a new game",
|
10666
10666
|
"what is the winning score?",
|
10667
10667
|
"who is next?",
|
10668
10668
|
"what is the winning score?"
|
10669
10669
|
],
|
10670
|
-
"query": "the winning score is 20 points\\ngreg got 1 point
|
10670
|
+
"query": "the winning score is 20 points\\ngreg got 1 point alice got 2 points greg got 1 point start a new game who is next",
|
10671
10671
|
"responses": [
|
10672
10672
|
"",
|
10673
10673
|
"",
|
@@ -10930,14 +10930,14 @@
|
|
10930
10930
|
"end": 20,
|
10931
10931
|
"start": 17
|
10932
10932
|
},
|
10933
|
-
"text": "
|
10933
|
+
"text": "alice",
|
10934
10934
|
"types": [
|
10935
10935
|
"player",
|
10936
10936
|
"unknown"
|
10937
10937
|
],
|
10938
10938
|
"unknown": true,
|
10939
|
-
"value": "
|
10940
|
-
"word": "
|
10939
|
+
"value": "alice",
|
10940
|
+
"word": "alice"
|
10941
10941
|
},
|
10942
10942
|
"points": {
|
10943
10943
|
"amount": {
|
@@ -10972,7 +10972,7 @@
|
|
10972
10972
|
"end": 33,
|
10973
10973
|
"start": 17
|
10974
10974
|
},
|
10975
|
-
"text": "
|
10975
|
+
"text": "alice got 2 points",
|
10976
10976
|
"topLevel": true,
|
10977
10977
|
"touchedBy": [
|
10978
10978
|
"call9"
|
@@ -11705,11 +11705,11 @@
|
|
11705
11705
|
"nextPlayer": 0,
|
11706
11706
|
"players": [
|
11707
11707
|
"greg",
|
11708
|
-
"
|
11708
|
+
"alice"
|
11709
11709
|
],
|
11710
11710
|
"scores": {
|
11711
11711
|
"greg": 0,
|
11712
|
-
"
|
11712
|
+
"alice": 0
|
11713
11713
|
}
|
11714
11714
|
},
|
11715
11715
|
"1": {
|
@@ -11776,7 +11776,7 @@
|
|
11776
11776
|
"types": [
|
11777
11777
|
"turn"
|
11778
11778
|
],
|
11779
|
-
"whose": "
|
11779
|
+
"whose": "alice",
|
11780
11780
|
"word": "turn"
|
11781
11781
|
},
|
11782
11782
|
{
|
@@ -12015,14 +12015,14 @@
|
|
12015
12015
|
"end": 20,
|
12016
12016
|
"start": 17
|
12017
12017
|
},
|
12018
|
-
"text": "
|
12018
|
+
"text": "alice",
|
12019
12019
|
"types": [
|
12020
12020
|
"player",
|
12021
12021
|
"unknown"
|
12022
12022
|
],
|
12023
12023
|
"unknown": true,
|
12024
|
-
"value": "
|
12025
|
-
"word": "
|
12024
|
+
"value": "alice",
|
12025
|
+
"word": "alice"
|
12026
12026
|
},
|
12027
12027
|
"points": {
|
12028
12028
|
"amount": {
|
@@ -12057,14 +12057,14 @@
|
|
12057
12057
|
"end": 33,
|
12058
12058
|
"start": 17
|
12059
12059
|
},
|
12060
|
-
"text": "
|
12060
|
+
"text": "alice got 2 points",
|
12061
12061
|
"topLevel": true,
|
12062
12062
|
"touchedBy": [
|
12063
12063
|
"call9"
|
12064
12064
|
],
|
12065
12065
|
"word": "got"
|
12066
12066
|
},
|
12067
|
-
"paraphrases": "
|
12067
|
+
"paraphrases": "alice got 2 points",
|
12068
12068
|
"responses": [
|
12069
12069
|
"",
|
12070
12070
|
"",
|
@@ -12218,12 +12218,12 @@
|
|
12218
12218
|
"paraphrases": [
|
12219
12219
|
"the winning score is 20 points",
|
12220
12220
|
"greg got 1 point",
|
12221
|
-
"
|
12221
|
+
"alice got 2 points",
|
12222
12222
|
"greg got 1 point",
|
12223
12223
|
"start a new game",
|
12224
12224
|
"what is the winning score?"
|
12225
12225
|
],
|
12226
|
-
"query": "the winning score is 20 points\\ngreg got 1 point
|
12226
|
+
"query": "the winning score is 20 points\\ngreg got 1 point alice got 2 points greg got 1 point start a new game",
|
12227
12227
|
"responses": [
|
12228
12228
|
"",
|
12229
12229
|
"",
|
@@ -23504,4 +23504,4 @@
|
|
23504
23504
|
""
|
23505
23505
|
]
|
23506
23506
|
}
|
23507
|
-
]
|
23507
|
+
]
|
package/common/time.js
CHANGED
@@ -63,16 +63,6 @@ let config = {
|
|
63
63
|
['ampm', 'queryable'],
|
64
64
|
['time', 'theAble'],
|
65
65
|
],
|
66
|
-
/*
|
67
|
-
associations: {
|
68
|
-
negative: [
|
69
|
-
[['time', 0], ['is', 0], ['count', 0], ['ampm', 0]],
|
70
|
-
],
|
71
|
-
positive: [
|
72
|
-
[['time', 0], ['is', 0], ['hourUnits', 0], ['ampm', 0]],
|
73
|
-
]
|
74
|
-
},
|
75
|
-
*/
|
76
66
|
|
77
67
|
"words": {
|
78
68
|
" ([0-9]+)": [{"id": "count", "initial": "{ value: int(group[0]) }" }],
|
package/package.json
CHANGED