namirasoft-bill-watch 1.4.7 → 1.4.9

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.
Files changed (227) hide show
  1. package/.ns-sdkg-dir-deep +6 -6
  2. package/.ns-sdkg-file-keep +21 -20
  3. package/dist/formula/BaseFormula.d.ts +0 -2
  4. package/dist/formula/BaseFormula.js +0 -194
  5. package/dist/formula/BaseFormula.js.map +1 -1
  6. package/dist/formula/FormulaDefinitionRow.d.ts +2 -0
  7. package/dist/formula/Formulas.d.ts +4 -0
  8. package/dist/formula/Formulas.js +233 -0
  9. package/dist/formula/Formulas.js.map +1 -0
  10. package/dist/formula/statistical/amount/Formula_AmountByAverage.d.ts +1 -1
  11. package/dist/formula/statistical/amount/Formula_AmountByAverage.js +1 -1
  12. package/dist/formula/statistical/amount/Formula_AmountByAverage.js.map +1 -1
  13. package/dist/formula/statistical/amount/Formula_AmountByLast.d.ts +1 -1
  14. package/dist/formula/statistical/amount/Formula_AmountByLast.js +1 -1
  15. package/dist/formula/statistical/amount/Formula_AmountByLast.js.map +1 -1
  16. package/dist/formula/statistical/amount/Formula_AmountByMax.d.ts +1 -1
  17. package/dist/formula/statistical/amount/Formula_AmountByMax.js +1 -1
  18. package/dist/formula/statistical/amount/Formula_AmountByMax.js.map +1 -1
  19. package/dist/formula/statistical/amount/Formula_AmountByMedian.d.ts +1 -1
  20. package/dist/formula/statistical/amount/Formula_AmountByMedian.js +1 -1
  21. package/dist/formula/statistical/amount/Formula_AmountByMedian.js.map +1 -1
  22. package/dist/formula/statistical/amount/Formula_AmountByMin.d.ts +1 -1
  23. package/dist/formula/statistical/amount/Formula_AmountByMin.js +1 -1
  24. package/dist/formula/statistical/amount/Formula_AmountByMin.js.map +1 -1
  25. package/dist/formula/statistical/percent/Formula_PercentageByAverage.d.ts +1 -1
  26. package/dist/formula/statistical/percent/Formula_PercentageByAverage.js +1 -1
  27. package/dist/formula/statistical/percent/Formula_PercentageByAverage.js.map +1 -1
  28. package/dist/formula/statistical/percent/Formula_PercentageByLast.d.ts +1 -1
  29. package/dist/formula/statistical/percent/Formula_PercentageByLast.js +1 -1
  30. package/dist/formula/statistical/percent/Formula_PercentageByLast.js.map +1 -1
  31. package/dist/formula/statistical/percent/Formula_PercentageByMax.d.ts +1 -1
  32. package/dist/formula/statistical/percent/Formula_PercentageByMax.js +1 -1
  33. package/dist/formula/statistical/percent/Formula_PercentageByMax.js.map +1 -1
  34. package/dist/formula/statistical/percent/Formula_PercentageByMedian.d.ts +1 -1
  35. package/dist/formula/statistical/percent/Formula_PercentageByMedian.js +1 -1
  36. package/dist/formula/statistical/percent/Formula_PercentageByMedian.js.map +1 -1
  37. package/dist/formula/statistical/percent/Formula_PercentageByMin.d.ts +1 -1
  38. package/dist/formula/statistical/percent/Formula_PercentageByMin.js +1 -1
  39. package/dist/formula/statistical/percent/Formula_PercentageByMin.js.map +1 -1
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.js +1 -0
  42. package/dist/index.js.map +1 -1
  43. package/package.json +27 -27
  44. package/src/NamirasoftBillWatchServer.ts +83 -83
  45. package/src/NamirasoftBillWatchServerAWS.ts +70 -70
  46. package/src/NamirasoftBillWatchServerAWSCategory.ts +62 -62
  47. package/src/NamirasoftBillWatchServerAWSField.ts +69 -69
  48. package/src/NamirasoftBillWatchServerAWSTag.ts +69 -69
  49. package/src/NamirasoftBillWatchServerAzure.ts +70 -70
  50. package/src/NamirasoftBillWatchServerAzureCategory.ts +62 -62
  51. package/src/NamirasoftBillWatchServerAzureField.ts +69 -69
  52. package/src/NamirasoftBillWatchServerAzureTag.ts +69 -69
  53. package/src/NamirasoftBillWatchServerBase.ts +29 -29
  54. package/src/NamirasoftBillWatchServerGCP.ts +70 -70
  55. package/src/NamirasoftBillWatchServerGCPCategory.ts +62 -62
  56. package/src/NamirasoftBillWatchServerGCPField.ts +69 -69
  57. package/src/NamirasoftBillWatchServerGCPTag.ts +69 -69
  58. package/src/NamirasoftBillWatchServerHealthz.ts +35 -35
  59. package/src/NamirasoftBillWatchServerRule.ts +70 -70
  60. package/src/NamirasoftBillWatchServerRuleCategory.ts +62 -62
  61. package/src/NamirasoftBillWatchServerRuleField.ts +69 -69
  62. package/src/NamirasoftBillWatchServerRuleTag.ts +69 -69
  63. package/src/NamirasoftBillWatchServerValue.ts +36 -36
  64. package/src/command/AWSCategoryCommand.ts +37 -37
  65. package/src/command/AWSCategoryCreateCommand.ts +55 -55
  66. package/src/command/AWSCategoryDeleteCommand.ts +44 -44
  67. package/src/command/AWSCategoryGetCommand.ts +44 -44
  68. package/src/command/AWSCategoryListCommand.ts +44 -44
  69. package/src/command/AWSCommand.ts +39 -39
  70. package/src/command/AWSCreateCommand.ts +154 -154
  71. package/src/command/AWSDeleteCommand.ts +44 -44
  72. package/src/command/AWSFieldCommand.ts +39 -39
  73. package/src/command/AWSFieldCreateCommand.ts +64 -64
  74. package/src/command/AWSFieldDeleteCommand.ts +44 -44
  75. package/src/command/AWSFieldGetCommand.ts +44 -44
  76. package/src/command/AWSFieldListCommand.ts +44 -44
  77. package/src/command/AWSFieldUpdateCommand.ts +64 -64
  78. package/src/command/AWSGetCommand.ts +44 -44
  79. package/src/command/AWSListCommand.ts +44 -44
  80. package/src/command/AWSTagCommand.ts +39 -39
  81. package/src/command/AWSTagCreateCommand.ts +64 -64
  82. package/src/command/AWSTagDeleteCommand.ts +44 -44
  83. package/src/command/AWSTagGetCommand.ts +44 -44
  84. package/src/command/AWSTagListCommand.ts +44 -44
  85. package/src/command/AWSTagUpdateCommand.ts +64 -64
  86. package/src/command/AWSUpdateCommand.ts +154 -154
  87. package/src/command/AzureCategoryCommand.ts +37 -37
  88. package/src/command/AzureCategoryCreateCommand.ts +55 -55
  89. package/src/command/AzureCategoryDeleteCommand.ts +44 -44
  90. package/src/command/AzureCategoryGetCommand.ts +44 -44
  91. package/src/command/AzureCategoryListCommand.ts +44 -44
  92. package/src/command/AzureCommand.ts +39 -39
  93. package/src/command/AzureCreateCommand.ts +145 -145
  94. package/src/command/AzureDeleteCommand.ts +44 -44
  95. package/src/command/AzureFieldCommand.ts +39 -39
  96. package/src/command/AzureFieldCreateCommand.ts +64 -64
  97. package/src/command/AzureFieldDeleteCommand.ts +44 -44
  98. package/src/command/AzureFieldGetCommand.ts +44 -44
  99. package/src/command/AzureFieldListCommand.ts +44 -44
  100. package/src/command/AzureFieldUpdateCommand.ts +64 -64
  101. package/src/command/AzureGetCommand.ts +44 -44
  102. package/src/command/AzureListCommand.ts +44 -44
  103. package/src/command/AzureTagCommand.ts +39 -39
  104. package/src/command/AzureTagCreateCommand.ts +64 -64
  105. package/src/command/AzureTagDeleteCommand.ts +44 -44
  106. package/src/command/AzureTagGetCommand.ts +44 -44
  107. package/src/command/AzureTagListCommand.ts +44 -44
  108. package/src/command/AzureTagUpdateCommand.ts +64 -64
  109. package/src/command/AzureUpdateCommand.ts +145 -145
  110. package/src/command/GCPCategoryCommand.ts +37 -37
  111. package/src/command/GCPCategoryCreateCommand.ts +55 -55
  112. package/src/command/GCPCategoryDeleteCommand.ts +44 -44
  113. package/src/command/GCPCategoryGetCommand.ts +44 -44
  114. package/src/command/GCPCategoryListCommand.ts +44 -44
  115. package/src/command/GCPCommand.ts +39 -39
  116. package/src/command/GCPCreateCommand.ts +145 -145
  117. package/src/command/GCPDeleteCommand.ts +44 -44
  118. package/src/command/GCPFieldCommand.ts +39 -39
  119. package/src/command/GCPFieldCreateCommand.ts +64 -64
  120. package/src/command/GCPFieldDeleteCommand.ts +44 -44
  121. package/src/command/GCPFieldGetCommand.ts +44 -44
  122. package/src/command/GCPFieldListCommand.ts +44 -44
  123. package/src/command/GCPFieldUpdateCommand.ts +64 -64
  124. package/src/command/GCPGetCommand.ts +44 -44
  125. package/src/command/GCPListCommand.ts +44 -44
  126. package/src/command/GCPTagCommand.ts +39 -39
  127. package/src/command/GCPTagCreateCommand.ts +64 -64
  128. package/src/command/GCPTagDeleteCommand.ts +44 -44
  129. package/src/command/GCPTagGetCommand.ts +44 -44
  130. package/src/command/GCPTagListCommand.ts +44 -44
  131. package/src/command/GCPTagUpdateCommand.ts +64 -64
  132. package/src/command/GCPUpdateCommand.ts +145 -145
  133. package/src/command/HealthzCommand.ts +31 -31
  134. package/src/command/HealthzGetCommand.ts +44 -44
  135. package/src/command/RuleCategoryCommand.ts +37 -37
  136. package/src/command/RuleCategoryCreateCommand.ts +55 -55
  137. package/src/command/RuleCategoryDeleteCommand.ts +44 -44
  138. package/src/command/RuleCategoryGetCommand.ts +44 -44
  139. package/src/command/RuleCategoryListCommand.ts +44 -44
  140. package/src/command/RuleCommand.ts +39 -39
  141. package/src/command/RuleCreateCommand.ts +109 -109
  142. package/src/command/RuleDeleteCommand.ts +44 -44
  143. package/src/command/RuleFieldCommand.ts +39 -39
  144. package/src/command/RuleFieldCreateCommand.ts +64 -64
  145. package/src/command/RuleFieldDeleteCommand.ts +44 -44
  146. package/src/command/RuleFieldGetCommand.ts +44 -44
  147. package/src/command/RuleFieldListCommand.ts +44 -44
  148. package/src/command/RuleFieldUpdateCommand.ts +64 -64
  149. package/src/command/RuleGetCommand.ts +44 -44
  150. package/src/command/RuleListCommand.ts +44 -44
  151. package/src/command/RuleTagCommand.ts +39 -39
  152. package/src/command/RuleTagCreateCommand.ts +64 -64
  153. package/src/command/RuleTagDeleteCommand.ts +44 -44
  154. package/src/command/RuleTagGetCommand.ts +44 -44
  155. package/src/command/RuleTagListCommand.ts +44 -44
  156. package/src/command/RuleTagUpdateCommand.ts +64 -64
  157. package/src/command/RuleUpdateCommand.ts +109 -109
  158. package/src/command/ValueCommand.ts +31 -31
  159. package/src/command/ValueListCommand.ts +44 -44
  160. package/src/command/cli.ts +66 -66
  161. package/src/formula/BaseFormula.ts +48 -243
  162. package/src/formula/CalculationResult.ts +4 -4
  163. package/src/formula/ChangeType.ts +5 -5
  164. package/src/formula/FormulaDefinitionRow.ts +14 -12
  165. package/src/formula/FormulaRow.ts +6 -6
  166. package/src/formula/Formulas.ts +231 -0
  167. package/src/formula/statistical/Formula_InterquartileRange.ts +52 -52
  168. package/src/formula/statistical/amount/Formula_AmountByAverage.ts +24 -24
  169. package/src/formula/statistical/amount/Formula_AmountByLast.ts +24 -24
  170. package/src/formula/statistical/amount/Formula_AmountByMax.ts +24 -24
  171. package/src/formula/statistical/amount/Formula_AmountByMedian.ts +24 -24
  172. package/src/formula/statistical/amount/Formula_AmountByMin.ts +24 -24
  173. package/src/formula/statistical/percent/Formula_PercentageByAverage.ts +24 -24
  174. package/src/formula/statistical/percent/Formula_PercentageByLast.ts +24 -24
  175. package/src/formula/statistical/percent/Formula_PercentageByMax.ts +24 -24
  176. package/src/formula/statistical/percent/Formula_PercentageByMedian.ts +24 -24
  177. package/src/formula/statistical/percent/Formula_PercentageByMin.ts +24 -24
  178. package/src/formula/statistical/z_score/Formula_GrubbsTest.ts +64 -64
  179. package/src/formula/statistical/z_score/Formula_ModifiedZScore.ts +34 -34
  180. package/src/formula/statistical/z_score/Formula_ZScore.ts +34 -34
  181. package/src/formula/trend/Formula_RegressionResidual.ts +48 -48
  182. package/src/formula/trend/Formula_TrendDeviation.ts +44 -44
  183. package/src/index.ts +201 -200
  184. package/src/meta/AWSCategoryMetaTable.ts +57 -57
  185. package/src/meta/AWSFieldMetaTable.ts +59 -59
  186. package/src/meta/AWSMetaTable.ts +69 -69
  187. package/src/meta/AWSTagMetaTable.ts +59 -59
  188. package/src/meta/AzureCategoryMetaTable.ts +57 -57
  189. package/src/meta/AzureFieldMetaTable.ts +59 -59
  190. package/src/meta/AzureMetaTable.ts +67 -67
  191. package/src/meta/AzureTagMetaTable.ts +59 -59
  192. package/src/meta/GCPCategoryMetaTable.ts +57 -57
  193. package/src/meta/GCPFieldMetaTable.ts +59 -59
  194. package/src/meta/GCPMetaTable.ts +67 -67
  195. package/src/meta/GCPTagMetaTable.ts +59 -59
  196. package/src/meta/NamirasoftBillWatchMetaDatabase.ts +95 -95
  197. package/src/meta/RuleCategoryMetaTable.ts +57 -57
  198. package/src/meta/RuleFieldMetaTable.ts +59 -59
  199. package/src/meta/RuleMetaTable.ts +61 -61
  200. package/src/meta/RuleTagMetaTable.ts +59 -59
  201. package/src/row/AWSCategoryRow.ts +28 -28
  202. package/src/row/AWSFieldRow.ts +29 -29
  203. package/src/row/AWSFullRow.ts +42 -42
  204. package/src/row/AWSInputRow.ts +38 -38
  205. package/src/row/AWSRow.ts +34 -34
  206. package/src/row/AWSTagRow.ts +29 -29
  207. package/src/row/AzureCategoryRow.ts +28 -28
  208. package/src/row/AzureFieldRow.ts +29 -29
  209. package/src/row/AzureFullRow.ts +41 -41
  210. package/src/row/AzureInputRow.ts +37 -37
  211. package/src/row/AzureRow.ts +33 -33
  212. package/src/row/AzureTagRow.ts +29 -29
  213. package/src/row/EntityCategoryInputRow.ts +23 -23
  214. package/src/row/EntityFieldInputRow.ts +24 -24
  215. package/src/row/EntityTagInputRow.ts +24 -24
  216. package/src/row/GCPCategoryRow.ts +28 -28
  217. package/src/row/GCPFieldRow.ts +29 -29
  218. package/src/row/GCPFullRow.ts +41 -41
  219. package/src/row/GCPInputRow.ts +37 -37
  220. package/src/row/GCPRow.ts +33 -33
  221. package/src/row/GCPTagRow.ts +29 -29
  222. package/src/row/RuleCategoryRow.ts +28 -28
  223. package/src/row/RuleFieldRow.ts +29 -29
  224. package/src/row/RuleFullRow.ts +37 -37
  225. package/src/row/RuleInputRow.ts +33 -33
  226. package/src/row/RuleRow.ts +30 -30
  227. package/src/row/RuleTagRow.ts +29 -29
package/.ns-sdkg-dir-deep CHANGED
@@ -1,7 +1,7 @@
1
- /src
2
- /src/formula
3
- /src/formula/statistical
4
- /src/formula/statistical/amount
5
- /src/formula/statistical/percent
6
- /src/formula/statistical/z_score
1
+ /src
2
+ /src/formula
3
+ /src/formula/statistical
4
+ /src/formula/statistical/amount
5
+ /src/formula/statistical/percent
6
+ /src/formula/statistical/z_score
7
7
  /src/formula/trend
@@ -1,21 +1,22 @@
1
- src/formula/BaseFormula.ts
2
- src/formula/CalculationResult.ts
3
- src/formula/ChangeType.ts
4
- src/formula/FormulaDefinitionRow.ts
5
- src/formula/FormulaRow.ts
6
- src/formula/statistical/amount/Formula_AmountByMedian.ts
7
- src/formula/statistical/amount/Formula_AmountByMax.ts
8
- src/formula/statistical/amount/Formula_AmountByLast.ts
9
- src/formula/statistical/amount/Formula_AmountByAverage.ts
10
- src/formula/statistical/amount/Formula_AmountByMin.ts
11
- src/formula/statistical/percent/Formula_PercentageByMin.ts
12
- src/formula/statistical/percent/Formula_PercentageByMedian.ts
13
- src/formula/statistical/percent/Formula_PercentageByMax.ts
14
- src/formula/statistical/percent/Formula_PercentageByLast.ts
15
- src/formula/statistical/percent/Formula_PercentageByAverage.ts
16
- src/formula/statistical/z_score/Formula_GrubbsTest.ts
17
- src/formula/statistical/z_score/Formula_ModifiedZScore.ts
18
- src/formula/statistical/z_score/Formula_ZScore.ts
19
- src/formula/statistical/Formula_InterquartileRange.ts
20
- src/formula/trend/Formula_TrendDeviation.ts
1
+ src/formula/BaseFormula.ts
2
+ src/formula/CalculationResult.ts
3
+ src/formula/ChangeType.ts
4
+ src/formula/FormulaDefinitionRow.ts
5
+ src/formula/FormulaRow.ts
6
+ src/formula/Formulas.ts
7
+ src/formula/statistical/amount/Formula_AmountByMedian.ts
8
+ src/formula/statistical/amount/Formula_AmountByMax.ts
9
+ src/formula/statistical/amount/Formula_AmountByLast.ts
10
+ src/formula/statistical/amount/Formula_AmountByAverage.ts
11
+ src/formula/statistical/amount/Formula_AmountByMin.ts
12
+ src/formula/statistical/percent/Formula_PercentageByMin.ts
13
+ src/formula/statistical/percent/Formula_PercentageByMedian.ts
14
+ src/formula/statistical/percent/Formula_PercentageByMax.ts
15
+ src/formula/statistical/percent/Formula_PercentageByLast.ts
16
+ src/formula/statistical/percent/Formula_PercentageByAverage.ts
17
+ src/formula/statistical/z_score/Formula_GrubbsTest.ts
18
+ src/formula/statistical/z_score/Formula_ModifiedZScore.ts
19
+ src/formula/statistical/z_score/Formula_ZScore.ts
20
+ src/formula/statistical/Formula_InterquartileRange.ts
21
+ src/formula/trend/Formula_TrendDeviation.ts
21
22
  src/formula/trend/Formula_RegressionResidual.ts
@@ -1,8 +1,6 @@
1
1
  import { CalculationResult } from "./CalculationResult";
2
2
  import { ChangeType } from "./ChangeType";
3
- import { FormulaDefinitionRow } from "./FormulaDefinitionRow";
4
3
  export declare abstract class BaseFormula {
5
- static ALL: FormulaDefinitionRow[];
6
4
  checkLength(data: number[], min_length: number): CalculationResult | null;
7
5
  checkChnage(change: ChangeType, difference: number, values: {
8
6
  [name: string]: any;
@@ -2,22 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BaseFormula = void 0;
4
4
  const ChangeType_1 = require("./ChangeType");
5
- const Formula_AmountByAverage_1 = require("./statistical/amount/Formula_AmountByAverage");
6
- const Formula_AmountByLast_1 = require("./statistical/amount/Formula_AmountByLast");
7
- const Formula_AmountByMax_1 = require("./statistical/amount/Formula_AmountByMax");
8
- const Formula_AmountByMedian_1 = require("./statistical/amount/Formula_AmountByMedian");
9
- const Formula_AmountByMin_1 = require("./statistical/amount/Formula_AmountByMin");
10
- const Formula_InterquartileRange_1 = require("./statistical/Formula_InterquartileRange");
11
- const Formula_PercentageByAverage_1 = require("./statistical/percent/Formula_PercentageByAverage");
12
- const Formula_PercentageByLast_1 = require("./statistical/percent/Formula_PercentageByLast");
13
- const Formula_PercentageByMax_1 = require("./statistical/percent/Formula_PercentageByMax");
14
- const Formula_PercentageByMedian_1 = require("./statistical/percent/Formula_PercentageByMedian");
15
- const Formula_PercentageByMin_1 = require("./statistical/percent/Formula_PercentageByMin");
16
- const Formula_GrubbsTest_1 = require("./statistical/z_score/Formula_GrubbsTest");
17
- const Formula_ModifiedZScore_1 = require("./statistical/z_score/Formula_ModifiedZScore");
18
- const Formula_ZScore_1 = require("./statistical/z_score/Formula_ZScore");
19
- const Formula_RegressionResidual_1 = require("./trend/Formula_RegressionResidual");
20
- const Formula_TrendDeviation_1 = require("./trend/Formula_TrendDeviation");
21
5
  class BaseFormula {
22
6
  checkLength(data, min_length) {
23
7
  if (data.length < min_length)
@@ -56,182 +40,4 @@ class BaseFormula {
56
40
  }
57
41
  }
58
42
  exports.BaseFormula = BaseFormula;
59
- BaseFormula.ALL = [
60
- {
61
- name: "AmountByLast",
62
- parameters: {
63
- amount: {
64
- default: 2,
65
- min: 1,
66
- max: 10000
67
- }
68
- },
69
- getCalculator: () => new Formula_AmountByLast_1.Formula_AmountByLast()
70
- },
71
- {
72
- name: "AmountByMin",
73
- parameters: {
74
- amount: {
75
- default: 2,
76
- min: 1,
77
- max: 10000
78
- }
79
- },
80
- getCalculator: () => new Formula_AmountByMin_1.Formula_AmountByMin()
81
- },
82
- {
83
- name: "AmountByMax",
84
- parameters: {
85
- amount: {
86
- default: 2,
87
- min: 1,
88
- max: 10000
89
- }
90
- },
91
- getCalculator: () => new Formula_AmountByMax_1.Formula_AmountByMax()
92
- },
93
- {
94
- name: "AmountByAverage",
95
- parameters: {
96
- amount: {
97
- default: 2,
98
- min: 1,
99
- max: 10000
100
- }
101
- },
102
- getCalculator: () => new Formula_AmountByAverage_1.Formula_AmountByAverage()
103
- },
104
- {
105
- name: "AmountByMedian",
106
- parameters: {
107
- amount: {
108
- default: 2,
109
- min: 1,
110
- max: 10000
111
- }
112
- },
113
- getCalculator: () => new Formula_AmountByMedian_1.Formula_AmountByMedian()
114
- },
115
- {
116
- name: "PercentageByLast",
117
- parameters: {
118
- percent: {
119
- default: 5,
120
- min: 1,
121
- max: 100
122
- }
123
- },
124
- getCalculator: () => new Formula_PercentageByLast_1.Formula_PercentageByLast()
125
- },
126
- {
127
- name: "PercentageByMin",
128
- parameters: {
129
- percent: {
130
- default: 5,
131
- min: 1,
132
- max: 100
133
- }
134
- },
135
- getCalculator: () => new Formula_PercentageByMin_1.Formula_PercentageByMin()
136
- },
137
- {
138
- name: "PercentageByMax",
139
- parameters: {
140
- percent: {
141
- default: 5,
142
- min: 1,
143
- max: 100
144
- }
145
- },
146
- getCalculator: () => new Formula_PercentageByMax_1.Formula_PercentageByMax()
147
- },
148
- {
149
- name: "PercentageByAverage",
150
- parameters: {
151
- percent: {
152
- default: 5,
153
- min: 1,
154
- max: 100
155
- }
156
- },
157
- getCalculator: () => new Formula_PercentageByAverage_1.Formula_PercentageByAverage()
158
- },
159
- {
160
- name: "PercentageByMedian",
161
- parameters: {
162
- percent: {
163
- default: 5,
164
- min: 1,
165
- max: 100
166
- }
167
- },
168
- getCalculator: () => new Formula_PercentageByMedian_1.Formula_PercentageByMedian()
169
- },
170
- {
171
- name: "ZScore",
172
- parameters: {
173
- threshold: {
174
- default: 2,
175
- min: 1,
176
- max: 5
177
- }
178
- },
179
- getCalculator: () => new Formula_ZScore_1.Formula_ZScore()
180
- },
181
- {
182
- name: "ModifiedZScore",
183
- parameters: {
184
- threshold: {
185
- default: 3.5,
186
- min: 2,
187
- max: 5
188
- }
189
- },
190
- getCalculator: () => new Formula_ModifiedZScore_1.Formula_ModifiedZScore()
191
- },
192
- {
193
- name: "GrubbsTest",
194
- parameters: {
195
- rough_threshold: {
196
- default: 0.05,
197
- min: 0.001,
198
- max: 0.1
199
- }
200
- },
201
- getCalculator: () => new Formula_GrubbsTest_1.Formula_GrubbsTest()
202
- },
203
- {
204
- name: "InterquartileRange",
205
- parameters: {
206
- multiplier: {
207
- default: 1.5,
208
- min: 1,
209
- max: 3
210
- }
211
- },
212
- getCalculator: () => new Formula_InterquartileRange_1.Formula_InterquartileRange()
213
- },
214
- {
215
- name: "RegressionResidual",
216
- parameters: {
217
- threshold: {
218
- default: 2,
219
- min: 1,
220
- max: 5
221
- }
222
- },
223
- getCalculator: () => new Formula_RegressionResidual_1.Formula_RegressionResidual()
224
- },
225
- {
226
- name: "TrendDeviation",
227
- parameters: {
228
- threshold: {
229
- default: 1,
230
- min: 0.1,
231
- max: 2
232
- }
233
- },
234
- getCalculator: () => new Formula_TrendDeviation_1.Formula_TrendDeviation()
235
- },
236
- ];
237
43
  //# sourceMappingURL=BaseFormula.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseFormula.js","sourceRoot":"","sources":["../../src/formula/BaseFormula.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAE1C,0FAAuF;AACvF,oFAAiF;AACjF,kFAA+E;AAC/E,wFAAqF;AACrF,kFAA+E;AAC/E,yFAAsF;AACtF,mGAAgG;AAChG,6FAA0F;AAC1F,2FAAwF;AACxF,iGAA8F;AAC9F,2FAAwF;AACxF,iFAA8E;AAC9E,yFAAsF;AACtF,yEAAsE;AACtE,mFAAgF;AAChF,2EAAwE;AAExE,MAAsB,WAAW;IAoL7B,WAAW,CAAC,IAAc,EAAE,UAAkB;QAE1C,IAAI,IAAI,CAAC,MAAM,GAAG,UAAU;YACxB,OAAO;gBACH,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,+BAA+B;gBACvC,MAAM,EAAE,EAAE,QAAQ,EAAE,WAAW,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;aACvE,CAAC;QACN,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,WAAW,CAAC,MAAkB,EAAE,UAAkB,EAAE,MAA+B;QAE/E,IAAI,MAAM,IAAI,uBAAU,CAAC,SAAS;YAC9B,IAAI,UAAU,GAAG,CAAC;gBACd,OAAO;oBACH,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,uEAAuE;oBAC/E,MAAM;iBACT,CAAC;QAEV,IAAI,MAAM,IAAI,uBAAU,CAAC,SAAS;YAC9B,IAAI,UAAU,GAAG,CAAC;gBACd,OAAO;oBACH,KAAK,EAAE,IAAI;oBACX,MAAM,EAAE,uEAAuE;oBAC/E,MAAM;iBACT,CAAC;QAEV,OAAO,IAAI,CAAC;IAChB,CAAC;IACS,MAAM,CAAC,MAAM,CAAC,GAAa;QAEjC,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC;YAChB,OAAO,GAAG,CAAC;QAEf,MAAM,MAAM,GAAG,CAAC,GAA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,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAE1C,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,KAAK,CAAC;YACvB,OAAO,CAAC,MAAM,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;QAC/C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;CAEJ;AA7CD,kCA6CC"}
@@ -8,5 +8,7 @@ export type FormulaDefinitionRow = {
8
8
  max: number | null;
9
9
  };
10
10
  };
11
+ description: string;
12
+ learn_more: string;
11
13
  getCalculator: () => BaseFormula;
12
14
  };
@@ -0,0 +1,4 @@
1
+ import { FormulaDefinitionRow } from "./FormulaDefinitionRow";
2
+ export declare class Formulas {
3
+ static ALL: FormulaDefinitionRow[];
4
+ }
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Formulas = void 0;
4
+ const Formula_AmountByAverage_1 = require("./statistical/amount/Formula_AmountByAverage");
5
+ const Formula_AmountByLast_1 = require("./statistical/amount/Formula_AmountByLast");
6
+ const Formula_AmountByMax_1 = require("./statistical/amount/Formula_AmountByMax");
7
+ const Formula_AmountByMedian_1 = require("./statistical/amount/Formula_AmountByMedian");
8
+ const Formula_AmountByMin_1 = require("./statistical/amount/Formula_AmountByMin");
9
+ const Formula_InterquartileRange_1 = require("./statistical/Formula_InterquartileRange");
10
+ const Formula_PercentageByAverage_1 = require("./statistical/percent/Formula_PercentageByAverage");
11
+ const Formula_PercentageByLast_1 = require("./statistical/percent/Formula_PercentageByLast");
12
+ const Formula_PercentageByMax_1 = require("./statistical/percent/Formula_PercentageByMax");
13
+ const Formula_PercentageByMedian_1 = require("./statistical/percent/Formula_PercentageByMedian");
14
+ const Formula_PercentageByMin_1 = require("./statistical/percent/Formula_PercentageByMin");
15
+ const Formula_GrubbsTest_1 = require("./statistical/z_score/Formula_GrubbsTest");
16
+ const Formula_ModifiedZScore_1 = require("./statistical/z_score/Formula_ModifiedZScore");
17
+ const Formula_ZScore_1 = require("./statistical/z_score/Formula_ZScore");
18
+ const Formula_RegressionResidual_1 = require("./trend/Formula_RegressionResidual");
19
+ const Formula_TrendDeviation_1 = require("./trend/Formula_TrendDeviation");
20
+ class Formulas {
21
+ }
22
+ exports.Formulas = Formulas;
23
+ Formulas.ALL = [
24
+ {
25
+ name: "AmountByLast",
26
+ parameters: {
27
+ threshold: {
28
+ default: 2,
29
+ min: 1,
30
+ max: 10000
31
+ }
32
+ },
33
+ description: "Flags anomaly if the difference from the last value exceeds the threshold",
34
+ learn_more: "",
35
+ getCalculator: () => new Formula_AmountByLast_1.Formula_AmountByLast()
36
+ },
37
+ {
38
+ name: "AmountByMin",
39
+ parameters: {
40
+ threshold: {
41
+ default: 2,
42
+ min: 1,
43
+ max: 10000
44
+ }
45
+ },
46
+ description: "Flags anomaly if the differnce from the minimum of previous values exceeds the threshold",
47
+ learn_more: "",
48
+ getCalculator: () => new Formula_AmountByMin_1.Formula_AmountByMin()
49
+ },
50
+ {
51
+ name: "AmountByMax",
52
+ parameters: {
53
+ threshold: {
54
+ default: 2,
55
+ min: 1,
56
+ max: 10000
57
+ }
58
+ },
59
+ description: "Flags anomaly if the differnce from the maximum of previous values exceeds the threshold",
60
+ learn_more: "",
61
+ getCalculator: () => new Formula_AmountByMax_1.Formula_AmountByMax()
62
+ },
63
+ {
64
+ name: "AmountByAverage",
65
+ parameters: {
66
+ threshold: {
67
+ default: 2,
68
+ min: 1,
69
+ max: 10000
70
+ }
71
+ },
72
+ description: "Flags anomaly if the differnce from the average of previous values exceeds the threshold",
73
+ learn_more: "",
74
+ getCalculator: () => new Formula_AmountByAverage_1.Formula_AmountByAverage()
75
+ },
76
+ {
77
+ name: "AmountByMedian",
78
+ parameters: {
79
+ threshold: {
80
+ default: 2,
81
+ min: 1,
82
+ max: 10000
83
+ }
84
+ },
85
+ description: "Flags anomaly if the differnce from the median of previous values exceeds the threshold",
86
+ learn_more: "",
87
+ getCalculator: () => new Formula_AmountByMedian_1.Formula_AmountByMedian()
88
+ },
89
+ {
90
+ name: "PercentageByLast",
91
+ parameters: {
92
+ threshold: {
93
+ default: 5,
94
+ min: 1,
95
+ max: 100
96
+ }
97
+ },
98
+ description: "Flags anomaly if the percentage change from the last value exceeds the threshold",
99
+ learn_more: "",
100
+ getCalculator: () => new Formula_PercentageByLast_1.Formula_PercentageByLast()
101
+ },
102
+ {
103
+ name: "PercentageByMin",
104
+ parameters: {
105
+ threshold: {
106
+ default: 5,
107
+ min: 1,
108
+ max: 100
109
+ }
110
+ },
111
+ description: "Flags anomaly if the percentage change from the minimum of previous values exceeds the threshold",
112
+ learn_more: "",
113
+ getCalculator: () => new Formula_PercentageByMin_1.Formula_PercentageByMin()
114
+ },
115
+ {
116
+ name: "PercentageByMax",
117
+ parameters: {
118
+ threshold: {
119
+ default: 5,
120
+ min: 1,
121
+ max: 100
122
+ }
123
+ },
124
+ description: "Flags anomaly if the percentage change from the maximum of previous values exceeds the threshold",
125
+ learn_more: "",
126
+ getCalculator: () => new Formula_PercentageByMax_1.Formula_PercentageByMax()
127
+ },
128
+ {
129
+ name: "PercentageByAverage",
130
+ parameters: {
131
+ threshold: {
132
+ default: 5,
133
+ min: 1,
134
+ max: 100
135
+ }
136
+ },
137
+ description: "Flags anomaly if the percentage change from the average of previous values exceeds the threshold",
138
+ learn_more: "",
139
+ getCalculator: () => new Formula_PercentageByAverage_1.Formula_PercentageByAverage()
140
+ },
141
+ {
142
+ name: "PercentageByMedian",
143
+ parameters: {
144
+ threshold: {
145
+ default: 5,
146
+ min: 1,
147
+ max: 100
148
+ }
149
+ },
150
+ description: "Flags anomaly if the percentage change from the median of previous values exceeds the threshold",
151
+ learn_more: "",
152
+ getCalculator: () => new Formula_PercentageByMedian_1.Formula_PercentageByMedian()
153
+ },
154
+ {
155
+ name: "ZScore",
156
+ parameters: {
157
+ threshold: {
158
+ default: 2,
159
+ min: 1,
160
+ max: 5
161
+ }
162
+ },
163
+ description: "Flags anomaly if a value's z-score exceeds the threshold, indicating it is far from the mean.",
164
+ learn_more: "",
165
+ getCalculator: () => new Formula_ZScore_1.Formula_ZScore()
166
+ },
167
+ {
168
+ name: "ModifiedZScore",
169
+ parameters: {
170
+ threshold: {
171
+ default: 3.5,
172
+ min: 2,
173
+ max: 5
174
+ }
175
+ },
176
+ description: "Flags anomaly like z-score but uses the median and MAD",
177
+ learn_more: "",
178
+ getCalculator: () => new Formula_ModifiedZScore_1.Formula_ModifiedZScore()
179
+ },
180
+ {
181
+ name: "GrubbsTest",
182
+ parameters: {
183
+ rough_threshold: {
184
+ default: 0.05,
185
+ min: 0.001,
186
+ max: 0.1
187
+ }
188
+ },
189
+ description: "A formal statistical test to determine whether the latest value is an outlier",
190
+ learn_more: "",
191
+ getCalculator: () => new Formula_GrubbsTest_1.Formula_GrubbsTest()
192
+ },
193
+ {
194
+ name: "InterquartileRange",
195
+ parameters: {
196
+ multiplier: {
197
+ default: 1.5,
198
+ min: 1,
199
+ max: 3
200
+ }
201
+ },
202
+ description: "Flags anomaly if a value falls outside the IQR range, scaled by a multiplier",
203
+ learn_more: "",
204
+ getCalculator: () => new Formula_InterquartileRange_1.Formula_InterquartileRange()
205
+ },
206
+ {
207
+ name: "RegressionResidual",
208
+ parameters: {
209
+ threshold: {
210
+ default: 2,
211
+ min: 1,
212
+ max: 5
213
+ }
214
+ },
215
+ description: "Flags anomaly based on how far the current value is from a linear regression prediction",
216
+ learn_more: "",
217
+ getCalculator: () => new Formula_RegressionResidual_1.Formula_RegressionResidual()
218
+ },
219
+ {
220
+ name: "TrendDeviation",
221
+ parameters: {
222
+ threshold: {
223
+ default: 1,
224
+ min: 0.1,
225
+ max: 2
226
+ }
227
+ },
228
+ description: "Flags anomaly if the value deviates from an estimated trend line beyond the threshold",
229
+ learn_more: "",
230
+ getCalculator: () => new Formula_TrendDeviation_1.Formula_TrendDeviation()
231
+ },
232
+ ];
233
+ //# sourceMappingURL=Formulas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Formulas.js","sourceRoot":"","sources":["../../src/formula/Formulas.ts"],"names":[],"mappings":";;;AACA,0FAAuF;AACvF,oFAAiF;AACjF,kFAA+E;AAC/E,wFAAqF;AACrF,kFAA+E;AAC/E,yFAAsF;AACtF,mGAAgG;AAChG,6FAA0F;AAC1F,2FAAwF;AACxF,iGAA8F;AAC9F,2FAAwF;AACxF,iFAA8E;AAC9E,yFAAsF;AACtF,yEAAsE;AACtE,mFAAgF;AAChF,2EAAwE;AAExE,MAAa,QAAQ;;AAArB,4BAoNC;AAlNU,YAAG,GAA2B;IACjC;QACI,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,WAAW,EAAE,2EAA2E;QACxF,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,2CAAoB,EAAE;KAClD;IACD;QACI,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,WAAW,EAAE,0FAA0F;QACvG,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,yCAAmB,EAAE;KACjD;IACD;QACI,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,WAAW,EAAE,0FAA0F;QACvG,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,yCAAmB,EAAE;KACjD;IACD;QACI,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE;YACR,SAAS,EAA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EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,uCAAkB,EAAE;KAChD;IACD;QACI,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE;YACR,UAAU,EAAE;gBACR,OAAO,EAAE,GAAG;gBACZ,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,CAAC;aACT;SACJ;QACD,WAAW,EAAE,8EAA8E;QAC3F,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,uDAA0B,EAAE;KACxD;IACD;QACI,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,CAAC;aACT;SACJ;QACD,WAAW,EAAE,yFAAyF;QACtG,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,uDAA0B,EAAE;KACxD;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,GAAG;gBACR,GAAG,EAAE,CAAC;aACT;SACJ;QACD,WAAW,EAAE,uFAAuF;QACpG,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,+CAAsB,EAAE;KACpD;CACJ,CAAC"}
@@ -3,6 +3,6 @@ import { CalculationResult } from "../../CalculationResult";
3
3
  import { ChangeType } from "../../ChangeType";
4
4
  export declare class Formula_AmountByAverage extends BaseFormula {
5
5
  evaluate(data: number[], value: number, change: ChangeType, parameters: {
6
- amount: number;
6
+ threshold: number;
7
7
  }): CalculationResult;
8
8
  }
@@ -13,7 +13,7 @@ class Formula_AmountByAverage extends BaseFormula_1.BaseFormula {
13
13
  if (err)
14
14
  return err;
15
15
  return {
16
- value: Math.abs(difference) >= parameters.amount,
16
+ value: Math.abs(difference) >= parameters.threshold,
17
17
  values: { mean, difference }
18
18
  };
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Formula_AmountByAverage.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByAverage.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,uBAAwB,SAAQ,yBAAW;IAEpD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAA8B;QAEtF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QACzD,IAAI,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;QAE9B,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QACjE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,MAAM;YAChD,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;CACJ;AApBD,0DAoBC"}
1
+ {"version":3,"file":"Formula_AmountByAverage.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByAverage.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,uBAAwB,SAAQ,yBAAW;IAEpD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAAiC;QAEzF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;QACzD,IAAI,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;QAE9B,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QACjE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,SAAS;YACnD,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;CACJ;AApBD,0DAoBC"}
@@ -3,6 +3,6 @@ import { CalculationResult } from "../../CalculationResult";
3
3
  import { ChangeType } from "../../ChangeType";
4
4
  export declare class Formula_AmountByLast extends BaseFormula {
5
5
  evaluate(data: number[], value: number, change: ChangeType, parameters: {
6
- amount: number;
6
+ threshold: number;
7
7
  }): CalculationResult;
8
8
  }
@@ -13,7 +13,7 @@ class Formula_AmountByLast extends BaseFormula_1.BaseFormula {
13
13
  if (err)
14
14
  return err;
15
15
  return {
16
- value: Math.abs(difference) >= parameters.amount,
16
+ value: Math.abs(difference) >= parameters.threshold,
17
17
  values: { last, difference }
18
18
  };
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Formula_AmountByLast.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByLast.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,oBAAqB,SAAQ,yBAAW;IAEjD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAA8B;QAEtF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACjC,IAAI,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;QAE9B,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QACjE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,MAAM;YAChD,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;CACJ;AApBD,oDAoBC"}
1
+ {"version":3,"file":"Formula_AmountByLast.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByLast.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,oBAAqB,SAAQ,yBAAW;IAEjD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAAiC;QAEzF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QACjC,IAAI,UAAU,GAAG,KAAK,GAAG,IAAI,CAAC;QAE9B,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QACjE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,SAAS;YACnD,MAAM,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;CACJ;AApBD,oDAoBC"}
@@ -3,6 +3,6 @@ import { CalculationResult } from "../../CalculationResult";
3
3
  import { ChangeType } from "../../ChangeType";
4
4
  export declare class Formula_AmountByMax extends BaseFormula {
5
5
  evaluate(data: number[], value: number, change: ChangeType, parameters: {
6
- amount: number;
6
+ threshold: number;
7
7
  }): CalculationResult;
8
8
  }
@@ -13,7 +13,7 @@ class Formula_AmountByMax extends BaseFormula_1.BaseFormula {
13
13
  if (err)
14
14
  return err;
15
15
  return {
16
- value: Math.abs(difference) >= parameters.amount,
16
+ value: Math.abs(difference) >= parameters.threshold,
17
17
  values: { max, difference }
18
18
  };
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Formula_AmountByMax.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByMax.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,mBAAoB,SAAQ,yBAAW;IAEhD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAA8B;QAEtF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;QAC5B,IAAI,UAAU,GAAG,KAAK,GAAG,GAAG,CAAC;QAE7B,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE,CAAC,CAAC;QAChE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,MAAM;YAChD,MAAM,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE;SAC9B,CAAC;IACN,CAAC;CACJ;AApBD,kDAoBC"}
1
+ {"version":3,"file":"Formula_AmountByMax.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByMax.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,mBAAoB,SAAQ,yBAAW;IAEhD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAAiC;QAEzF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;QAC5B,IAAI,UAAU,GAAG,KAAK,GAAG,GAAG,CAAC;QAE7B,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE,CAAC,CAAC;QAChE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,SAAS;YACnD,MAAM,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE;SAC9B,CAAC;IACN,CAAC;CACJ;AApBD,kDAoBC"}
@@ -3,6 +3,6 @@ import { CalculationResult } from "../../CalculationResult";
3
3
  import { ChangeType } from "../../ChangeType";
4
4
  export declare class Formula_AmountByMedian extends BaseFormula {
5
5
  evaluate(data: number[], value: number, change: ChangeType, parameters: {
6
- amount: number;
6
+ threshold: number;
7
7
  }): CalculationResult;
8
8
  }
@@ -13,7 +13,7 @@ class Formula_AmountByMedian extends BaseFormula_1.BaseFormula {
13
13
  if (err)
14
14
  return err;
15
15
  return {
16
- value: Math.abs(difference) >= parameters.amount,
16
+ value: Math.abs(difference) >= parameters.threshold,
17
17
  values: { median, difference }
18
18
  };
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Formula_AmountByMedian.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByMedian.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,sBAAuB,SAAQ,yBAAW;IAEnD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAA8B;QAEtF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,MAAM,GAAG,yBAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,UAAU,GAAG,KAAK,GAAG,MAAM,CAAC;QAEhC,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;QACnE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,MAAM;YAChD,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SACjC,CAAC;IACN,CAAC;CACJ;AApBD,wDAoBC"}
1
+ {"version":3,"file":"Formula_AmountByMedian.js","sourceRoot":"","sources":["../../../../src/formula/statistical/amount/Formula_AmountByMedian.ts"],"names":[],"mappings":";;;AAAA,mDAAgD;AAIhD,MAAa,sBAAuB,SAAQ,yBAAW;IAEnD,QAAQ,CAAC,IAAc,EAAE,KAAa,EAAE,MAAkB,EAAE,UAAiC;QAEzF,IAAI,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACpC,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,IAAI,MAAM,GAAG,yBAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACtC,IAAI,UAAU,GAAG,KAAK,GAAG,MAAM,CAAC;QAEhC,GAAG,GAAG,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;QACnE,IAAI,GAAG;YACH,OAAO,GAAG,CAAC;QAEf,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,UAAU,CAAC,SAAS;YACnD,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SACjC,CAAC;IACN,CAAC;CACJ;AApBD,wDAoBC"}