@pie-lib/categorize 0.8.17 → 0.9.1-beta.0
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.
- package/CHANGELOG.md +24 -67
- package/NEXT.CHANGELOG.json +1 -0
- package/package.json +2 -2
- package/src/__tests__/index.test.js +953 -0
- package/src/__tests__/scoring.test.js +282 -0
- package/src/__tests__/utils.js +19 -0
- package/src/index.js +16 -0
- package/README.md +0 -5
- package/lib/index.js +0 -651
- package/lib/index.js.map +0 -1
- package/lib/scoring.js +0 -145
- package/lib/scoring.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.
|
|
6
|
+
## [0.9.1-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.9.1-beta.0) (2025-07-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
9
9
|
|
|
@@ -11,144 +11,101 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Bug Fixes
|
|
14
|
+
# [0.9.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.9.0-beta.0) (2025-07-20)
|
|
18
15
|
|
|
19
|
-
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
20
17
|
|
|
21
18
|
|
|
22
19
|
|
|
23
20
|
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
# [0.10.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.10.0-beta.0) (2025-07-15)
|
|
26
23
|
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
27
25
|
|
|
28
|
-
|
|
26
|
+
# [0.9.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.9.0-beta.0) (2025-07-15)
|
|
29
27
|
|
|
30
|
-
|
|
28
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
31
29
|
|
|
30
|
+
## [0.8.17](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.16...@pie-lib/categorize@0.8.17) (2023-06-24)
|
|
32
31
|
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
33
33
|
|
|
34
|
+
## [0.8.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.15...@pie-lib/categorize@0.8.16) (2023-05-08)
|
|
34
35
|
|
|
36
|
+
### Bug Fixes
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
- **categorize:** add sanity check to fix PD-1982 ([9c221b5](https://github.com/pie-framework/pie-lib/commit/9c221b5fb7ef2469d8bc8eb96bce0203ce3d8ff3))
|
|
37
39
|
|
|
40
|
+
## [0.8.15](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.13...@pie-lib/categorize@0.8.15) (2023-02-28)
|
|
38
41
|
|
|
39
42
|
### Bug Fixes
|
|
40
43
|
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
- version bump ([d9280a9](https://github.com/pie-framework/pie-lib/commit/d9280a9aeddab459b6d84ecdbeb62814e1eee965))
|
|
43
45
|
|
|
46
|
+
## [0.8.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.12...@pie-lib/categorize@0.8.13) (2023-02-28)
|
|
44
47
|
|
|
48
|
+
### Bug Fixes
|
|
45
49
|
|
|
50
|
+
- **categorize:** sanity check for blind session answers in eval mode-PD-2601 ([b974de8](https://github.com/pie-framework/pie-lib/commit/b974de8c4a44d3fead2bcbdf8f523204c83d4846))
|
|
46
51
|
|
|
47
52
|
## [0.8.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.10...@pie-lib/categorize@0.8.12) (2023-01-31)
|
|
48
53
|
|
|
49
54
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
50
55
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
56
|
## [0.8.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.9...@pie-lib/categorize@0.8.10) (2023-01-31)
|
|
56
57
|
|
|
57
58
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
60
|
## [0.8.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.8...@pie-lib/categorize@0.8.9) (2023-01-31)
|
|
64
61
|
|
|
65
62
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
66
63
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
64
|
## [0.8.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.7...@pie-lib/categorize@0.8.8) (2023-01-31)
|
|
72
65
|
|
|
73
66
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
74
67
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
68
|
## [0.8.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.4...@pie-lib/categorize@0.8.7) (2023-01-31)
|
|
80
69
|
|
|
81
70
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
82
71
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
72
|
## [0.8.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.2...@pie-lib/categorize@0.8.4) (2023-01-31)
|
|
88
73
|
|
|
89
74
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
90
75
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
76
|
## [0.8.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.0...@pie-lib/categorize@0.8.2) (2023-01-31)
|
|
96
77
|
|
|
97
78
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
98
79
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
80
|
# [0.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.7.0...@pie-lib/categorize@0.8.0) (2023-01-16)
|
|
104
81
|
|
|
105
|
-
|
|
106
82
|
### Features
|
|
107
83
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
84
|
+
- added theme naming support + cleanup ([72d562d](https://github.com/pie-framework/pie-lib/commit/72d562d509e5d31d883690eb455a9afea6bf54fc))
|
|
113
85
|
|
|
114
86
|
# [0.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.26...@pie-lib/categorize@0.7.0) (2023-01-03)
|
|
115
87
|
|
|
116
|
-
|
|
117
88
|
### Bug Fixes
|
|
118
89
|
|
|
119
|
-
|
|
120
|
-
|
|
90
|
+
- **categorize:** add test for addChoiceToAlternate-PD-1995 ([153ada3](https://github.com/pie-framework/pie-lib/commit/153ada3ce0a27189ca1fecb5839c2843e35487d5))
|
|
121
91
|
|
|
122
92
|
### Features
|
|
123
93
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
94
|
+
- **categorize:** add method to swap teo choices-PD-1967 ([4660fcf](https://github.com/pie-framework/pie-lib/commit/4660fcfe8cd47c0d02707651812c7897182baeea))
|
|
95
|
+
- **categorize:** conclude merge ([da8b332](https://github.com/pie-framework/pie-lib/commit/da8b33228705490c504be56d250f61e14ca5530d))
|
|
96
|
+
- **categorize:** ensure no extra choices in alternate + sanity checks-PD-1967 ([a574028](https://github.com/pie-framework/pie-lib/commit/a5740285469691e89bc2255045f129989861892b))
|
|
97
|
+
- **categorzie:** Ensure that there are no extra choices after moving and adding new choices: PD-1967 ([a2f0ebd](https://github.com/pie-framework/pie-lib/commit/a2f0ebd1dd5e0f86a255727207182a29db7e8ce0))
|
|
132
98
|
|
|
133
99
|
## [0.6.26](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.25...@pie-lib/categorize@0.6.26) (2022-12-19)
|
|
134
100
|
|
|
135
|
-
|
|
136
101
|
### Bug Fixes
|
|
137
102
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
103
|
+
- **drag,categorize:** drag an answer choice elsewhere after it has been placed in a category-PD-1995 ([d32015b](https://github.com/pie-framework/pie-lib/commit/d32015b31d50b45851df2f27ad517eeaad8ae511))
|
|
143
104
|
|
|
144
105
|
## [0.6.25](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.24...@pie-lib/categorize@0.6.25) (2022-11-23)
|
|
145
106
|
|
|
146
107
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
147
108
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
109
|
## [0.6.24](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.22...@pie-lib/categorize@0.6.24) (2021-06-25)
|
|
153
110
|
|
|
154
111
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/categorize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {},
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "e2aa3ddac60f49bcb8c2562370f496323642f453"
|
|
18
18
|
}
|