ekms 7.12.7 → 7.12.8-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/common/animals.instance.json +0 -44
  2. package/common/dialogues.js +106 -3
  3. package/common/dimension.instance.json +736 -62
  4. package/common/dimension.js +15 -7
  5. package/common/edible.instance.json +2 -190
  6. package/common/fastfood.instance.json +886 -922
  7. package/common/formulas.instance.json +992 -0
  8. package/common/formulas.js +18 -5
  9. package/common/formulas.test.json +1187 -3651
  10. package/common/length.instance.json +261 -505
  11. package/common/math.instance.json +1979 -1
  12. package/common/math.js +17 -5
  13. package/common/ordering.instance.json +0 -52
  14. package/common/pipboy.instance.json +23454 -1101
  15. package/common/pipboy.js +31 -4
  16. package/common/pipboy.test.json +13 -9
  17. package/common/pokemon.instance.json +0 -44
  18. package/common/pressure.instance.json +80 -0
  19. package/common/reports.instance.json +17 -1
  20. package/common/temperature.instance.json +80 -60
  21. package/common/ui.instance.json +8 -0
  22. package/common/weight.instance.json +272 -48
  23. package/main.js +0 -8
  24. package/package.json +4 -20
  25. package/common/dimensionTemplate.instance.json +0 -582
  26. package/common/dimensionTemplate.js +0 -35
  27. package/common/dimensionTemplate.test.json +0 -2
  28. package/common/formulasTemplate.instance.json +0 -483
  29. package/common/formulasTemplate.js +0 -30
  30. package/common/formulasTemplate.test.json +0 -2
  31. package/common/mathTemplate.instance.json +0 -1635
  32. package/common/mathTemplate.js +0 -32
  33. package/common/mathTemplate.test.json +0 -1422
  34. package/common/pipboyTemplate.instance.json +0 -17420
  35. package/common/pipboyTemplate.js +0 -48
  36. package/common/pipboyTemplate.test.json +0 -2
@@ -1,32 +0,0 @@
1
- const { Config, knowledgeModule, where, Digraph } = require('./runtime').theprogrammablemind
2
- const { defaultContextCheck } = require('./helpers')
3
- const base_km = require('./hierarchy')
4
- const countable = require('./countable')
5
- const comparable = require('./comparable')
6
- const tests = require('./mathTemplate.test.json')
7
- const instance = require('./mathTemplate.instance.json')
8
-
9
- const template = {
10
- queries: [
11
- "mathematical modifies operator",
12
- "* + / and - are mathematical operators",
13
- ]
14
- }
15
-
16
- const createConfig = () => {
17
- return new Config({ name: 'mathTemplate' }, module).add(base_km(), countable(), comparable())
18
- }
19
-
20
- knowledgeModule({
21
- module,
22
- description: 'Template for math',
23
- createConfig,
24
- template: { template, instance },
25
- test: {
26
- name: './mathTemplate.test.json',
27
- contents: tests,
28
- checks: {
29
- context: defaultContextCheck,
30
- },
31
- },
32
- })