@teamkeel/solver 0.0.0-stage → 0.509.1
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/dist/index.cjs +6878 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +6850 -0
- package/dist/internal.cjs +17244 -0
- package/dist/internal.d.cts +1275 -0
- package/dist/internal.d.ts +1275 -0
- package/dist/internal.js +17164 -0
- package/dist/layout-ZQ45Tlkb.d.cts +2111 -0
- package/dist/layout-efr1Ke_2.d.ts +2111 -0
- package/dist/layout.cjs +19 -0
- package/dist/layout.d.cts +2 -0
- package/dist/layout.d.ts +2 -0
- package/dist/layout.js +1 -0
- package/dist/record-results-BWnJIpkK.d.ts +222 -0
- package/dist/record-results-DPczGZWH.d.cts +222 -0
- package/dist/types-DIFPlxBZ.d.cts +1865 -0
- package/dist/types-DIFPlxBZ.d.ts +1865 -0
- package/fixtures/operation/bakery/operation.json +350 -0
- package/fixtures/operation/bakery/plan.json +872 -0
- package/fixtures/operation/bakery/readback.json +114 -0
- package/fixtures/operation/bakery/score.json +1520 -0
- package/fixtures/operation/bakery/timeline.json +2376 -0
- package/fixtures/operation/clinic/operation.json +223 -0
- package/fixtures/operation/clinic/plan.json +383 -0
- package/fixtures/operation/clinic/readback.json +83 -0
- package/fixtures/operation/clinic/score.json +1305 -0
- package/fixtures/operation/clinic/timeline.json +2283 -0
- package/fixtures/operation/field-service/operation.json +194 -0
- package/fixtures/operation/field-service/plan.json +172 -0
- package/fixtures/operation/field-service/readback.json +73 -0
- package/fixtures/operation/field-service/score.json +585 -0
- package/fixtures/operation/field-service/timeline.json +661 -0
- package/fixtures/operation/filling/operation.json +245 -0
- package/fixtures/operation/filling/plan.json +525 -0
- package/fixtures/operation/filling/readback.json +87 -0
- package/fixtures/operation/filling/score.json +756 -0
- package/fixtures/operation/filling/timeline.json +1322 -0
- package/fixtures/operation/shop/operation.json +320 -0
- package/fixtures/operation/shop/plan.json +664 -0
- package/fixtures/operation/shop/readback.json +130 -0
- package/fixtures/operation/shop/score.json +1106 -0
- package/fixtures/operation/shop/timeline.json +2734 -0
- package/fixtures/operation/warehouse-day/operation.json +517 -0
- package/fixtures/operation/warehouse-day/plan.json +477 -0
- package/fixtures/operation/warehouse-day/readback.json +207 -0
- package/fixtures/operation/warehouse-day/score.json +979 -0
- package/fixtures/operation/warehouse-day/timeline.json +1420 -0
- package/package.json +63 -4
- package/README.md +0 -3
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "keel.solver.operation/2",
|
|
3
|
+
"hash": "sha256:b76e79b87d4c20bfba8f2d10c6bea7f2889508b84eb8e5ea7402924a04b5f368",
|
|
4
|
+
"solver": "ClinicRooms",
|
|
5
|
+
"words": {},
|
|
6
|
+
"nouns": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "hours",
|
|
9
|
+
"at": {
|
|
10
|
+
"line": 32
|
|
11
|
+
},
|
|
12
|
+
"about": "hours",
|
|
13
|
+
"name": "hours",
|
|
14
|
+
"words": {
|
|
15
|
+
"one": "hours",
|
|
16
|
+
"many": "hours",
|
|
17
|
+
"at": "in"
|
|
18
|
+
},
|
|
19
|
+
"open": [
|
|
20
|
+
"08:00-18:00"
|
|
21
|
+
],
|
|
22
|
+
"openOn": [],
|
|
23
|
+
"startUp": null,
|
|
24
|
+
"dayStarts": null,
|
|
25
|
+
"allDay": [],
|
|
26
|
+
"startUpWith": null,
|
|
27
|
+
"ends": null
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "equipment",
|
|
31
|
+
"at": {
|
|
32
|
+
"line": 14
|
|
33
|
+
},
|
|
34
|
+
"about": "equipment.room",
|
|
35
|
+
"name": "room",
|
|
36
|
+
"words": {
|
|
37
|
+
"one": "room",
|
|
38
|
+
"many": "rooms",
|
|
39
|
+
"at": "in"
|
|
40
|
+
},
|
|
41
|
+
"area": null,
|
|
42
|
+
"glyph": "space",
|
|
43
|
+
"speed": null,
|
|
44
|
+
"takes": [],
|
|
45
|
+
"holds": null,
|
|
46
|
+
"count": null
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"kind": "downtime",
|
|
50
|
+
"at": {
|
|
51
|
+
"line": 15
|
|
52
|
+
},
|
|
53
|
+
"about": "equipment.room.downtime.turnover",
|
|
54
|
+
"name": "turnover",
|
|
55
|
+
"words": {
|
|
56
|
+
"one": "turnover",
|
|
57
|
+
"many": "turnovers",
|
|
58
|
+
"at": "on"
|
|
59
|
+
},
|
|
60
|
+
"on": "equipment.room",
|
|
61
|
+
"triggers": [
|
|
62
|
+
{
|
|
63
|
+
"when": "change",
|
|
64
|
+
"key": "type"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"table": null,
|
|
68
|
+
"people": []
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"kind": "process",
|
|
72
|
+
"at": {
|
|
73
|
+
"line": 20
|
|
74
|
+
},
|
|
75
|
+
"about": "processes.appointment",
|
|
76
|
+
"name": "appointment",
|
|
77
|
+
"words": {
|
|
78
|
+
"one": "appointment",
|
|
79
|
+
"many": "appointments",
|
|
80
|
+
"at": "on"
|
|
81
|
+
},
|
|
82
|
+
"ready": {
|
|
83
|
+
"key": "earliestAt",
|
|
84
|
+
"called": "arrival",
|
|
85
|
+
"says": null,
|
|
86
|
+
"notEarlier": null
|
|
87
|
+
},
|
|
88
|
+
"due": {
|
|
89
|
+
"key": "preferredEnd",
|
|
90
|
+
"called": "preferred finish",
|
|
91
|
+
"says": null,
|
|
92
|
+
"notEarlier": null
|
|
93
|
+
},
|
|
94
|
+
"deadline": {
|
|
95
|
+
"key": "latestAt",
|
|
96
|
+
"called": "latest finish",
|
|
97
|
+
"says": null,
|
|
98
|
+
"notEarlier": null
|
|
99
|
+
},
|
|
100
|
+
"leaves": null,
|
|
101
|
+
"release": null,
|
|
102
|
+
"where": null,
|
|
103
|
+
"makes": [],
|
|
104
|
+
"yields": [],
|
|
105
|
+
"consumes": [],
|
|
106
|
+
"scheduleOnly": false,
|
|
107
|
+
"batched": false
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"kind": "step",
|
|
111
|
+
"at": {
|
|
112
|
+
"line": 21
|
|
113
|
+
},
|
|
114
|
+
"about": "processes.appointment.steps.treat",
|
|
115
|
+
"name": "treat",
|
|
116
|
+
"words": {
|
|
117
|
+
"one": "treat",
|
|
118
|
+
"many": "treats",
|
|
119
|
+
"at": "in"
|
|
120
|
+
},
|
|
121
|
+
"uses": [
|
|
122
|
+
{
|
|
123
|
+
"on": "equipment.room",
|
|
124
|
+
"until": null,
|
|
125
|
+
"perRun": false,
|
|
126
|
+
"only": {
|
|
127
|
+
"because": "Treat only in a room that suits the appointment's type",
|
|
128
|
+
"per": "job"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"crew": [],
|
|
133
|
+
"after": [],
|
|
134
|
+
"waits": [],
|
|
135
|
+
"order": 1,
|
|
136
|
+
"tone": 0,
|
|
137
|
+
"collects": [],
|
|
138
|
+
"inPortions": false,
|
|
139
|
+
"perRun": false,
|
|
140
|
+
"startsDuring": null
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "priority",
|
|
144
|
+
"at": {
|
|
145
|
+
"line": 37
|
|
146
|
+
},
|
|
147
|
+
"about": "priorities.Everyone seen by the time they wanted to leave",
|
|
148
|
+
"name": "Everyone seen by the time they wanted to leave",
|
|
149
|
+
"words": {
|
|
150
|
+
"one": "Everyone seen by the time they wanted to leave",
|
|
151
|
+
"many": "Everyone seen by the time they wanted to leave",
|
|
152
|
+
"at": "on"
|
|
153
|
+
},
|
|
154
|
+
"tier": "first",
|
|
155
|
+
"tolerance": null,
|
|
156
|
+
"level": null
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"kind": "priority",
|
|
160
|
+
"at": {
|
|
161
|
+
"line": 41
|
|
162
|
+
},
|
|
163
|
+
"about": "priorities.Then finish the day early",
|
|
164
|
+
"name": "Then finish the day early",
|
|
165
|
+
"words": {
|
|
166
|
+
"one": "Then finish the day early",
|
|
167
|
+
"many": "Then finish the day early",
|
|
168
|
+
"at": "on"
|
|
169
|
+
},
|
|
170
|
+
"tier": "then",
|
|
171
|
+
"tolerance": null,
|
|
172
|
+
"level": null
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "priority",
|
|
176
|
+
"at": {
|
|
177
|
+
"line": 42
|
|
178
|
+
},
|
|
179
|
+
"about": "priorities.watch.1",
|
|
180
|
+
"name": "The downtime minutes",
|
|
181
|
+
"words": {
|
|
182
|
+
"one": "The downtime minutes",
|
|
183
|
+
"many": "The downtime minutes",
|
|
184
|
+
"at": "on"
|
|
185
|
+
},
|
|
186
|
+
"tier": "watch",
|
|
187
|
+
"tolerance": null,
|
|
188
|
+
"level": null
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"lowers": {
|
|
192
|
+
"plan": null,
|
|
193
|
+
"schedule": {
|
|
194
|
+
"decisions": {
|
|
195
|
+
"appointment.treat": "processes.appointment.steps.treat"
|
|
196
|
+
},
|
|
197
|
+
"rules": {
|
|
198
|
+
"room.turnover": "equipment.room.downtime.turnover",
|
|
199
|
+
"appointment.open": "hours",
|
|
200
|
+
"appointment.close": "hours",
|
|
201
|
+
"appointment.ready": "processes.appointment.ready",
|
|
202
|
+
"appointment.due": "processes.appointment.due",
|
|
203
|
+
"appointment.deadline": "processes.appointment.deadline"
|
|
204
|
+
},
|
|
205
|
+
"goals": {
|
|
206
|
+
"Then finish the day early": "priorities.Then finish the day early"
|
|
207
|
+
},
|
|
208
|
+
"kpis": {
|
|
209
|
+
"watch.1": "priorities.watch.1"
|
|
210
|
+
},
|
|
211
|
+
"usages": {},
|
|
212
|
+
"estimates": {},
|
|
213
|
+
"itemSets": {
|
|
214
|
+
"appointment": "processes.appointment"
|
|
215
|
+
},
|
|
216
|
+
"levels": {
|
|
217
|
+
"1": "priorities.Everyone seen by the time they wanted to leave",
|
|
218
|
+
"2": "priorities.Then finish the day early"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"confirmed": null
|
|
223
|
+
}
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "keel.solver.plan/1",
|
|
3
|
+
"run": "run-clinic-1",
|
|
4
|
+
"build": "sha256:ec3272c4652bd93c6e86208f2c34e14ed754bf7f02e2cdb9fb1bd1c19ea9b741",
|
|
5
|
+
"status": "optimal",
|
|
6
|
+
"reason": "proved",
|
|
7
|
+
"clock": {
|
|
8
|
+
"from": "2026-10-05T07:00:00.000Z",
|
|
9
|
+
"to": "2026-10-05T23:00:00.000Z",
|
|
10
|
+
"zone": "Europe/London",
|
|
11
|
+
"unitMs": 60000
|
|
12
|
+
},
|
|
13
|
+
"resources": [
|
|
14
|
+
{
|
|
15
|
+
"id": "gym",
|
|
16
|
+
"label": "Rehab gym",
|
|
17
|
+
"kind": "area",
|
|
18
|
+
"group": "rooms"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "pool",
|
|
22
|
+
"label": "Hydro pool",
|
|
23
|
+
"kind": "area",
|
|
24
|
+
"group": "rooms"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "room-1",
|
|
28
|
+
"label": "Room 1",
|
|
29
|
+
"kind": "area",
|
|
30
|
+
"group": "rooms"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "room-2",
|
|
34
|
+
"label": "Room 2",
|
|
35
|
+
"kind": "area",
|
|
36
|
+
"group": "rooms"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "room-3",
|
|
40
|
+
"label": "Room 3",
|
|
41
|
+
"kind": "area",
|
|
42
|
+
"group": "rooms"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"items": {
|
|
46
|
+
"appointment": [
|
|
47
|
+
{
|
|
48
|
+
"id": "appt-20261005-01",
|
|
49
|
+
"label": "Aroha"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "appt-20261005-02",
|
|
53
|
+
"label": "Callum"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "appt-20261005-03",
|
|
57
|
+
"label": "Priya"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "appt-20261005-04",
|
|
61
|
+
"label": "Tomasz"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "appt-20261005-05",
|
|
65
|
+
"label": "Leo"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "appt-20261005-06",
|
|
69
|
+
"label": "Marta"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "appt-20261005-07",
|
|
73
|
+
"label": "Anders"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "appt-20261005-08",
|
|
77
|
+
"label": "Nia"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "appt-20261005-09",
|
|
81
|
+
"label": "Jonah"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "appt-20261005-10",
|
|
85
|
+
"label": "Mei"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "appt-20261005-11",
|
|
89
|
+
"label": "Dara"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "appt-20261005-12",
|
|
93
|
+
"label": "Imani"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "appt-20261005-13",
|
|
97
|
+
"label": "Rhys"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "appt-20261005-14",
|
|
101
|
+
"label": "Sofia"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "appt-20261005-15",
|
|
105
|
+
"label": "Kofi"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "appt-20261005-16",
|
|
109
|
+
"label": "Elsie"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
"values": {
|
|
114
|
+
"appointment.treat": {
|
|
115
|
+
"appt-20261005-01": {
|
|
116
|
+
"on": "room-3",
|
|
117
|
+
"start": "2026-10-05T07:30:00.000Z",
|
|
118
|
+
"end": "2026-10-05T08:15:00.000Z"
|
|
119
|
+
},
|
|
120
|
+
"appt-20261005-02": {
|
|
121
|
+
"on": "room-2",
|
|
122
|
+
"start": "2026-10-05T07:30:00.000Z",
|
|
123
|
+
"end": "2026-10-05T08:00:00.000Z"
|
|
124
|
+
},
|
|
125
|
+
"appt-20261005-03": {
|
|
126
|
+
"on": "room-1",
|
|
127
|
+
"start": "2026-10-05T07:30:00.000Z",
|
|
128
|
+
"end": "2026-10-05T08:00:00.000Z"
|
|
129
|
+
},
|
|
130
|
+
"appt-20261005-04": {
|
|
131
|
+
"on": "pool",
|
|
132
|
+
"start": "2026-10-05T08:00:00.000Z",
|
|
133
|
+
"end": "2026-10-05T08:40:00.000Z"
|
|
134
|
+
},
|
|
135
|
+
"appt-20261005-05": {
|
|
136
|
+
"on": "pool",
|
|
137
|
+
"start": "2026-10-05T08:40:00.000Z",
|
|
138
|
+
"end": "2026-10-05T09:20:00.000Z"
|
|
139
|
+
},
|
|
140
|
+
"appt-20261005-06": {
|
|
141
|
+
"on": "pool",
|
|
142
|
+
"start": "2026-10-05T10:00:00.000Z",
|
|
143
|
+
"end": "2026-10-05T10:40:00.000Z"
|
|
144
|
+
},
|
|
145
|
+
"appt-20261005-07": {
|
|
146
|
+
"on": "pool",
|
|
147
|
+
"start": "2026-10-05T09:20:00.000Z",
|
|
148
|
+
"end": "2026-10-05T10:00:00.000Z"
|
|
149
|
+
},
|
|
150
|
+
"appt-20261005-08": {
|
|
151
|
+
"on": "gym",
|
|
152
|
+
"start": "2026-10-05T08:00:00.000Z",
|
|
153
|
+
"end": "2026-10-05T08:45:00.000Z"
|
|
154
|
+
},
|
|
155
|
+
"appt-20261005-09": {
|
|
156
|
+
"on": "room-2",
|
|
157
|
+
"start": "2026-10-05T08:05:00.000Z",
|
|
158
|
+
"end": "2026-10-05T08:25:00.000Z"
|
|
159
|
+
},
|
|
160
|
+
"appt-20261005-10": {
|
|
161
|
+
"on": "room-2",
|
|
162
|
+
"start": "2026-10-05T08:25:00.000Z",
|
|
163
|
+
"end": "2026-10-05T08:45:00.000Z"
|
|
164
|
+
},
|
|
165
|
+
"appt-20261005-11": {
|
|
166
|
+
"on": "room-2",
|
|
167
|
+
"start": "2026-10-05T08:45:00.000Z",
|
|
168
|
+
"end": "2026-10-05T09:15:00.000Z"
|
|
169
|
+
},
|
|
170
|
+
"appt-20261005-12": {
|
|
171
|
+
"on": "room-1",
|
|
172
|
+
"start": "2026-10-05T08:30:00.000Z",
|
|
173
|
+
"end": "2026-10-05T09:15:00.000Z"
|
|
174
|
+
},
|
|
175
|
+
"appt-20261005-13": {
|
|
176
|
+
"on": "room-2",
|
|
177
|
+
"start": "2026-10-05T11:30:00.000Z",
|
|
178
|
+
"end": "2026-10-05T12:15:00.000Z"
|
|
179
|
+
},
|
|
180
|
+
"appt-20261005-14": {
|
|
181
|
+
"on": "gym",
|
|
182
|
+
"start": "2026-10-05T12:00:00.000Z",
|
|
183
|
+
"end": "2026-10-05T12:45:00.000Z"
|
|
184
|
+
},
|
|
185
|
+
"appt-20261005-15": {
|
|
186
|
+
"on": "room-1",
|
|
187
|
+
"start": "2026-10-05T13:00:00.000Z",
|
|
188
|
+
"end": "2026-10-05T13:30:00.000Z"
|
|
189
|
+
},
|
|
190
|
+
"appt-20261005-16": {
|
|
191
|
+
"on": "room-3",
|
|
192
|
+
"start": "2026-10-05T13:30:00.000Z",
|
|
193
|
+
"end": "2026-10-05T14:15:00.000Z"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"byResource": {
|
|
198
|
+
"gym": [
|
|
199
|
+
{
|
|
200
|
+
"decision": "appointment.treat",
|
|
201
|
+
"item": "appt-20261005-08",
|
|
202
|
+
"kind": "work",
|
|
203
|
+
"step": "treat",
|
|
204
|
+
"start": "2026-10-05T08:00:00.000Z",
|
|
205
|
+
"end": "2026-10-05T08:45:00.000Z"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"decision": "appointment.treat",
|
|
209
|
+
"item": "appt-20261005-14",
|
|
210
|
+
"kind": "work",
|
|
211
|
+
"step": "treat",
|
|
212
|
+
"start": "2026-10-05T12:00:00.000Z",
|
|
213
|
+
"end": "2026-10-05T12:45:00.000Z"
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"pool": [
|
|
217
|
+
{
|
|
218
|
+
"decision": "appointment.treat",
|
|
219
|
+
"item": "appt-20261005-04",
|
|
220
|
+
"kind": "work",
|
|
221
|
+
"step": "treat",
|
|
222
|
+
"start": "2026-10-05T08:00:00.000Z",
|
|
223
|
+
"end": "2026-10-05T08:40:00.000Z"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"decision": "appointment.treat",
|
|
227
|
+
"item": "appt-20261005-05",
|
|
228
|
+
"kind": "work",
|
|
229
|
+
"step": "treat",
|
|
230
|
+
"start": "2026-10-05T08:40:00.000Z",
|
|
231
|
+
"end": "2026-10-05T09:20:00.000Z"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"decision": "appointment.treat",
|
|
235
|
+
"item": "appt-20261005-07",
|
|
236
|
+
"kind": "work",
|
|
237
|
+
"step": "treat",
|
|
238
|
+
"start": "2026-10-05T09:20:00.000Z",
|
|
239
|
+
"end": "2026-10-05T10:00:00.000Z"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"decision": "appointment.treat",
|
|
243
|
+
"item": "appt-20261005-06",
|
|
244
|
+
"kind": "work",
|
|
245
|
+
"step": "treat",
|
|
246
|
+
"start": "2026-10-05T10:00:00.000Z",
|
|
247
|
+
"end": "2026-10-05T10:40:00.000Z"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"room-1": [
|
|
251
|
+
{
|
|
252
|
+
"decision": "appointment.treat",
|
|
253
|
+
"item": "appt-20261005-03",
|
|
254
|
+
"kind": "work",
|
|
255
|
+
"step": "treat",
|
|
256
|
+
"start": "2026-10-05T07:30:00.000Z",
|
|
257
|
+
"end": "2026-10-05T08:00:00.000Z"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"decision": "appointment.treat",
|
|
261
|
+
"item": "appt-20261005-12",
|
|
262
|
+
"kind": "changeover",
|
|
263
|
+
"after": "appt-20261005-03",
|
|
264
|
+
"rule": "room.turnover",
|
|
265
|
+
"start": "2026-10-05T08:00:00.000Z",
|
|
266
|
+
"end": "2026-10-05T08:05:00.000Z"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"decision": "appointment.treat",
|
|
270
|
+
"item": "appt-20261005-12",
|
|
271
|
+
"kind": "work",
|
|
272
|
+
"step": "treat",
|
|
273
|
+
"start": "2026-10-05T08:30:00.000Z",
|
|
274
|
+
"end": "2026-10-05T09:15:00.000Z"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"decision": "appointment.treat",
|
|
278
|
+
"item": "appt-20261005-15",
|
|
279
|
+
"kind": "changeover",
|
|
280
|
+
"after": "appt-20261005-12",
|
|
281
|
+
"rule": "room.turnover",
|
|
282
|
+
"start": "2026-10-05T09:15:00.000Z",
|
|
283
|
+
"end": "2026-10-05T09:20:00.000Z"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"decision": "appointment.treat",
|
|
287
|
+
"item": "appt-20261005-15",
|
|
288
|
+
"kind": "work",
|
|
289
|
+
"step": "treat",
|
|
290
|
+
"start": "2026-10-05T13:00:00.000Z",
|
|
291
|
+
"end": "2026-10-05T13:30:00.000Z"
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"room-2": [
|
|
295
|
+
{
|
|
296
|
+
"decision": "appointment.treat",
|
|
297
|
+
"item": "appt-20261005-02",
|
|
298
|
+
"kind": "work",
|
|
299
|
+
"step": "treat",
|
|
300
|
+
"start": "2026-10-05T07:30:00.000Z",
|
|
301
|
+
"end": "2026-10-05T08:00:00.000Z"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"decision": "appointment.treat",
|
|
305
|
+
"item": "appt-20261005-09",
|
|
306
|
+
"kind": "changeover",
|
|
307
|
+
"after": "appt-20261005-02",
|
|
308
|
+
"rule": "room.turnover",
|
|
309
|
+
"start": "2026-10-05T08:00:00.000Z",
|
|
310
|
+
"end": "2026-10-05T08:05:00.000Z"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"decision": "appointment.treat",
|
|
314
|
+
"item": "appt-20261005-09",
|
|
315
|
+
"kind": "work",
|
|
316
|
+
"step": "treat",
|
|
317
|
+
"start": "2026-10-05T08:05:00.000Z",
|
|
318
|
+
"end": "2026-10-05T08:25:00.000Z"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"decision": "appointment.treat",
|
|
322
|
+
"item": "appt-20261005-10",
|
|
323
|
+
"kind": "work",
|
|
324
|
+
"step": "treat",
|
|
325
|
+
"start": "2026-10-05T08:25:00.000Z",
|
|
326
|
+
"end": "2026-10-05T08:45:00.000Z"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"decision": "appointment.treat",
|
|
330
|
+
"item": "appt-20261005-11",
|
|
331
|
+
"kind": "work",
|
|
332
|
+
"step": "treat",
|
|
333
|
+
"start": "2026-10-05T08:45:00.000Z",
|
|
334
|
+
"end": "2026-10-05T09:15:00.000Z"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"decision": "appointment.treat",
|
|
338
|
+
"item": "appt-20261005-13",
|
|
339
|
+
"kind": "changeover",
|
|
340
|
+
"after": "appt-20261005-11",
|
|
341
|
+
"rule": "room.turnover",
|
|
342
|
+
"start": "2026-10-05T09:15:00.000Z",
|
|
343
|
+
"end": "2026-10-05T09:20:00.000Z"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"decision": "appointment.treat",
|
|
347
|
+
"item": "appt-20261005-13",
|
|
348
|
+
"kind": "work",
|
|
349
|
+
"step": "treat",
|
|
350
|
+
"start": "2026-10-05T11:30:00.000Z",
|
|
351
|
+
"end": "2026-10-05T12:15:00.000Z"
|
|
352
|
+
}
|
|
353
|
+
],
|
|
354
|
+
"room-3": [
|
|
355
|
+
{
|
|
356
|
+
"decision": "appointment.treat",
|
|
357
|
+
"item": "appt-20261005-01",
|
|
358
|
+
"kind": "work",
|
|
359
|
+
"step": "treat",
|
|
360
|
+
"start": "2026-10-05T07:30:00.000Z",
|
|
361
|
+
"end": "2026-10-05T08:15:00.000Z"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"decision": "appointment.treat",
|
|
365
|
+
"item": "appt-20261005-16",
|
|
366
|
+
"kind": "work",
|
|
367
|
+
"step": "treat",
|
|
368
|
+
"start": "2026-10-05T13:30:00.000Z",
|
|
369
|
+
"end": "2026-10-05T14:15:00.000Z"
|
|
370
|
+
}
|
|
371
|
+
]
|
|
372
|
+
},
|
|
373
|
+
"kpis": {
|
|
374
|
+
"watch.1": {
|
|
375
|
+
"value": 20,
|
|
376
|
+
"unit": "minutes",
|
|
377
|
+
"display": "minutes",
|
|
378
|
+
"text": "20 min"
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"assumptions": [],
|
|
382
|
+
"warnings": []
|
|
383
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "keel.solver.readback/2",
|
|
3
|
+
"zone": "Europe/London",
|
|
4
|
+
"unread": [
|
|
5
|
+
"day",
|
|
6
|
+
"missingTurnoverMinutes",
|
|
7
|
+
"params"
|
|
8
|
+
],
|
|
9
|
+
"sentences": [
|
|
10
|
+
{
|
|
11
|
+
"about": "hours",
|
|
12
|
+
"says": "Open 08:00 to 18:00.",
|
|
13
|
+
"plain": "Open 08:00 to 18:00."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"about": "hours",
|
|
17
|
+
"says": "Closing can run late if the day can't fit.",
|
|
18
|
+
"plain": "If the work doesn't fit in the open hours, it runs past closing."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"about": "equipment.room",
|
|
22
|
+
"says": "Rooms, one for each of the rooms.",
|
|
23
|
+
"plain": "Rooms, one for each of the rooms."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"about": "equipment.room.downtime.turnover",
|
|
27
|
+
"says": "A turnover when the type changes, from turnovers (assessment to hydro 10 min, assessment to manual 5 min, …).",
|
|
28
|
+
"plain": "A turnover when the type changes, for as long as its table says (assessment to hydro 10 min, assessment to manual 5 min, …)."
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"about": "equipment.room.downtime.turnover",
|
|
32
|
+
"says": "5 min where turnovers has no figure.",
|
|
33
|
+
"assumed": true,
|
|
34
|
+
"plain": "A turnover takes 5 min when its table gives no time."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"about": "processes.appointment",
|
|
38
|
+
"says": "Appointment, one for each of the appointments: treat.",
|
|
39
|
+
"plain": "Appointment, one for each of the appointments: treat."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"about": "processes.appointment.steps.treat",
|
|
43
|
+
"says": "Treat in a room, for the appointment's minutes.",
|
|
44
|
+
"plain": "Treat in a room, for the appointment's treat time."
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"about": "processes.appointment.steps.treat",
|
|
48
|
+
"says": "Treat only in a room that suits the appointment's type.",
|
|
49
|
+
"plain": "Treat only in a room that suits the appointment's type."
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"about": "processes.appointment.ready",
|
|
53
|
+
"says": "Treat not before its arrival (earliestAt).",
|
|
54
|
+
"plain": "Treat not before its arrival."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"about": "processes.appointment.due",
|
|
58
|
+
"says": "Treat by its preferred finish (preferredEnd), or it's late.",
|
|
59
|
+
"plain": "Treat by its preferred finish, or it's late."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"about": "processes.appointment.deadline",
|
|
63
|
+
"says": "Treat ends by its latest finish (latestAt), unless the day can't fit.",
|
|
64
|
+
"plain": "Treat ends by its latest finish, or later only if the work doesn't fit."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"about": "priorities.Everyone seen by the time they wanted to leave",
|
|
68
|
+
"says": "First, everyone seen by the time they wanted to leave: the minutes the appointments are late times 10.",
|
|
69
|
+
"plain": "First, everyone seen by the time they wanted to leave: how late the appointments are times 10."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"about": "priorities.Then finish the day early",
|
|
73
|
+
"says": "Then finish the day early: the finish time.",
|
|
74
|
+
"plain": "Then finish the day early: the finish time."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"about": "priorities.watch.1",
|
|
78
|
+
"says": "Watched: the downtime minutes.",
|
|
79
|
+
"plain": "Watched: the time lost to downtime."
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"refusals": []
|
|
83
|
+
}
|