@nakafa/aksara-contracts 8.13.0 → 8.15.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.
Files changed (37) hide show
  1. package/dist/assessment/document.d.ts +15 -2
  2. package/dist/assessment/document.js +12 -3
  3. package/dist/visual/biology/flower.d.ts +276 -0
  4. package/dist/visual/biology/flower.js +76 -0
  5. package/dist/visual/biology/homeostasis.d.ts +284 -0
  6. package/dist/visual/biology/homeostasis.js +101 -0
  7. package/dist/visual/biology/membrane.d.ts +421 -0
  8. package/dist/visual/biology/membrane.js +129 -0
  9. package/dist/visual/biology/mendelian.d.ts +410 -0
  10. package/dist/visual/biology/mendelian.js +107 -0
  11. package/dist/visual/biology/neuron.d.ts +136 -1
  12. package/dist/visual/biology/neuron.js +41 -2
  13. package/dist/visual/biology/nutrition.d.ts +410 -0
  14. package/dist/visual/biology/nutrition.js +112 -0
  15. package/dist/visual/biology/phytohormone.d.ts +275 -0
  16. package/dist/visual/biology/phytohormone.js +75 -0
  17. package/dist/visual/biology/variation.d.ts +421 -0
  18. package/dist/visual/biology/variation.js +123 -0
  19. package/dist/visual/biology/vascular.d.ts +425 -0
  20. package/dist/visual/biology/vascular.js +107 -0
  21. package/dist/visual/biology.d.ts +2169 -0
  22. package/dist/visual/biology.js +12 -0
  23. package/dist/visual/catalog.d.ts +7460 -3208
  24. package/dist/visual/catalog.js +6 -0
  25. package/dist/visual/chemistry/rate.d.ts +280 -1
  26. package/dist/visual/chemistry/rate.js +81 -3
  27. package/dist/visual/physics/electronics.d.ts +163 -24
  28. package/dist/visual/physics/electronics.js +50 -5
  29. package/dist/visual/physics/gravity.d.ts +139 -4
  30. package/dist/visual/physics/gravity.js +46 -4
  31. package/dist/visual/physics/heat.d.ts +307 -12
  32. package/dist/visual/physics/heat.js +84 -5
  33. package/dist/visual/physics/nuclear.d.ts +150 -13
  34. package/dist/visual/physics/nuclear.js +44 -5
  35. package/dist/visual/physics/quantum.d.ts +282 -0
  36. package/dist/visual/physics/quantum.js +87 -0
  37. package/package.json +1 -1
@@ -0,0 +1,421 @@
1
+ import { Schema } from "effect";
2
+ import type { RichSlot } from "#contracts/visual/card";
3
+ /**
4
+ * Variation and mutation labs covering continuous vs discontinuous trait
5
+ * distributions, meiotic allele shuffling, and chromosomal mutations.
6
+ */
7
+ export declare function variationVisuals<E>(rich: RichSlot<E>): {
8
+ ChromosomeMutationLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
9
+ readonly description: RichSlot<E>;
10
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
11
+ readonly marks?: readonly [{
12
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
13
+ } | {
14
+ readonly attrs: {
15
+ readonly href: string;
16
+ };
17
+ readonly type: "link";
18
+ } | {
19
+ readonly attrs: {
20
+ readonly variant: "success" | "warning" | null;
21
+ };
22
+ readonly type: "highlight";
23
+ }, ...({
24
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
25
+ } | {
26
+ readonly attrs: {
27
+ readonly href: string;
28
+ };
29
+ readonly type: "link";
30
+ } | {
31
+ readonly attrs: {
32
+ readonly variant: "success" | "warning" | null;
33
+ };
34
+ readonly type: "highlight";
35
+ })[]];
36
+ readonly text: string;
37
+ readonly type: "text";
38
+ } | {
39
+ readonly attrs: {
40
+ readonly latex: string;
41
+ };
42
+ readonly marks?: readonly [{
43
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
44
+ } | {
45
+ readonly attrs: {
46
+ readonly href: string;
47
+ };
48
+ readonly type: "link";
49
+ } | {
50
+ readonly attrs: {
51
+ readonly variant: "success" | "warning" | null;
52
+ };
53
+ readonly type: "highlight";
54
+ }, ...({
55
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
56
+ } | {
57
+ readonly attrs: {
58
+ readonly href: string;
59
+ };
60
+ readonly type: "link";
61
+ } | {
62
+ readonly attrs: {
63
+ readonly variant: "success" | "warning" | null;
64
+ };
65
+ readonly type: "highlight";
66
+ })[]];
67
+ readonly type: "mathInline";
68
+ }, ...({
69
+ readonly marks?: readonly [{
70
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
71
+ } | {
72
+ readonly attrs: {
73
+ readonly href: string;
74
+ };
75
+ readonly type: "link";
76
+ } | {
77
+ readonly attrs: {
78
+ readonly variant: "success" | "warning" | null;
79
+ };
80
+ readonly type: "highlight";
81
+ }, ...({
82
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
83
+ } | {
84
+ readonly attrs: {
85
+ readonly href: string;
86
+ };
87
+ readonly type: "link";
88
+ } | {
89
+ readonly attrs: {
90
+ readonly variant: "success" | "warning" | null;
91
+ };
92
+ readonly type: "highlight";
93
+ })[]];
94
+ readonly text: string;
95
+ readonly type: "text";
96
+ } | {
97
+ readonly attrs: {
98
+ readonly latex: string;
99
+ };
100
+ readonly marks?: readonly [{
101
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
102
+ } | {
103
+ readonly attrs: {
104
+ readonly href: string;
105
+ };
106
+ readonly type: "link";
107
+ } | {
108
+ readonly attrs: {
109
+ readonly variant: "success" | "warning" | null;
110
+ };
111
+ readonly type: "highlight";
112
+ }, ...({
113
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
114
+ } | {
115
+ readonly attrs: {
116
+ readonly href: string;
117
+ };
118
+ readonly type: "link";
119
+ } | {
120
+ readonly attrs: {
121
+ readonly variant: "success" | "warning" | null;
122
+ };
123
+ readonly type: "highlight";
124
+ })[]];
125
+ readonly type: "mathInline";
126
+ })[]], E, never, never>>;
127
+ readonly title: RichSlot<E>;
128
+ readonly labels: Schema.Struct<{
129
+ readonly change: Schema.optionalKey<RichSlot<E>>;
130
+ readonly effect: Schema.optionalKey<RichSlot<E>>;
131
+ readonly mutation: Schema.Trimmed;
132
+ readonly mutations: Schema.$Record<Schema.Literals<readonly ["deletion", "duplication", "inversion", "translocation", "nondisjunction"]>, Schema.optionalKey<Schema.Struct<{
133
+ readonly change: RichSlot<E>;
134
+ readonly effect: RichSlot<E>;
135
+ readonly name: Schema.Trimmed;
136
+ }>>>;
137
+ readonly parts: Schema.$Record<Schema.Literals<readonly ["normalArm", "brokenSegment", "centromere", "extraCopy"]>, Schema.Trimmed>;
138
+ readonly view: Schema.Trimmed;
139
+ }>;
140
+ readonly mutations: Schema.NonEmptyArray<Schema.Literals<readonly ["deletion", "duplication", "inversion", "translocation", "nondisjunction"]>>;
141
+ }>, "figure">;
142
+ MeiosisShufflingLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
143
+ readonly description: RichSlot<E>;
144
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
145
+ readonly marks?: readonly [{
146
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
147
+ } | {
148
+ readonly attrs: {
149
+ readonly href: string;
150
+ };
151
+ readonly type: "link";
152
+ } | {
153
+ readonly attrs: {
154
+ readonly variant: "success" | "warning" | null;
155
+ };
156
+ readonly type: "highlight";
157
+ }, ...({
158
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
159
+ } | {
160
+ readonly attrs: {
161
+ readonly href: string;
162
+ };
163
+ readonly type: "link";
164
+ } | {
165
+ readonly attrs: {
166
+ readonly variant: "success" | "warning" | null;
167
+ };
168
+ readonly type: "highlight";
169
+ })[]];
170
+ readonly text: string;
171
+ readonly type: "text";
172
+ } | {
173
+ readonly attrs: {
174
+ readonly latex: string;
175
+ };
176
+ readonly marks?: readonly [{
177
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
178
+ } | {
179
+ readonly attrs: {
180
+ readonly href: string;
181
+ };
182
+ readonly type: "link";
183
+ } | {
184
+ readonly attrs: {
185
+ readonly variant: "success" | "warning" | null;
186
+ };
187
+ readonly type: "highlight";
188
+ }, ...({
189
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
190
+ } | {
191
+ readonly attrs: {
192
+ readonly href: string;
193
+ };
194
+ readonly type: "link";
195
+ } | {
196
+ readonly attrs: {
197
+ readonly variant: "success" | "warning" | null;
198
+ };
199
+ readonly type: "highlight";
200
+ })[]];
201
+ readonly type: "mathInline";
202
+ }, ...({
203
+ readonly marks?: readonly [{
204
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
205
+ } | {
206
+ readonly attrs: {
207
+ readonly href: string;
208
+ };
209
+ readonly type: "link";
210
+ } | {
211
+ readonly attrs: {
212
+ readonly variant: "success" | "warning" | null;
213
+ };
214
+ readonly type: "highlight";
215
+ }, ...({
216
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
217
+ } | {
218
+ readonly attrs: {
219
+ readonly href: string;
220
+ };
221
+ readonly type: "link";
222
+ } | {
223
+ readonly attrs: {
224
+ readonly variant: "success" | "warning" | null;
225
+ };
226
+ readonly type: "highlight";
227
+ })[]];
228
+ readonly text: string;
229
+ readonly type: "text";
230
+ } | {
231
+ readonly attrs: {
232
+ readonly latex: string;
233
+ };
234
+ readonly marks?: readonly [{
235
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
236
+ } | {
237
+ readonly attrs: {
238
+ readonly href: string;
239
+ };
240
+ readonly type: "link";
241
+ } | {
242
+ readonly attrs: {
243
+ readonly variant: "success" | "warning" | null;
244
+ };
245
+ readonly type: "highlight";
246
+ }, ...({
247
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
248
+ } | {
249
+ readonly attrs: {
250
+ readonly href: string;
251
+ };
252
+ readonly type: "link";
253
+ } | {
254
+ readonly attrs: {
255
+ readonly variant: "success" | "warning" | null;
256
+ };
257
+ readonly type: "highlight";
258
+ })[]];
259
+ readonly type: "mathInline";
260
+ })[]], E, never, never>>;
261
+ readonly title: RichSlot<E>;
262
+ readonly chromosomePairs: Schema.Struct<{
263
+ readonly max: Schema.Finite;
264
+ readonly min: Schema.Finite;
265
+ readonly value: Schema.Finite;
266
+ }>;
267
+ readonly labels: Schema.Struct<{
268
+ readonly chromosomePairs: Schema.Trimmed;
269
+ readonly combinations: Schema.optionalKey<RichSlot<E>>;
270
+ readonly mechanism: Schema.optionalKey<RichSlot<E>>;
271
+ readonly parts: Schema.$Record<Schema.Literals<readonly ["maternalChromatid", "paternalChromatid", "chiasma", "centromere", "gamete"]>, Schema.Trimmed>;
272
+ readonly stage: Schema.Trimmed;
273
+ readonly stages: Schema.$Record<Schema.Literals<readonly ["crossingOver", "independentAssortment", "randomFertilisation"]>, Schema.optionalKey<Schema.Struct<{
274
+ readonly mechanism: RichSlot<E>;
275
+ readonly name: Schema.Trimmed;
276
+ }>>>;
277
+ readonly view: Schema.Trimmed;
278
+ }>;
279
+ readonly stages: Schema.NonEmptyArray<Schema.Literals<readonly ["crossingOver", "independentAssortment", "randomFertilisation"]>>;
280
+ }>, "figure">;
281
+ VariationDistributionLab: import("#contracts/visual/entry").VisualEntry<Schema.Struct<{
282
+ readonly description: RichSlot<E>;
283
+ readonly footer: Schema.optionalKey<Schema.Codec<readonly [{
284
+ readonly marks?: readonly [{
285
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
286
+ } | {
287
+ readonly attrs: {
288
+ readonly href: string;
289
+ };
290
+ readonly type: "link";
291
+ } | {
292
+ readonly attrs: {
293
+ readonly variant: "success" | "warning" | null;
294
+ };
295
+ readonly type: "highlight";
296
+ }, ...({
297
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
298
+ } | {
299
+ readonly attrs: {
300
+ readonly href: string;
301
+ };
302
+ readonly type: "link";
303
+ } | {
304
+ readonly attrs: {
305
+ readonly variant: "success" | "warning" | null;
306
+ };
307
+ readonly type: "highlight";
308
+ })[]];
309
+ readonly text: string;
310
+ readonly type: "text";
311
+ } | {
312
+ readonly attrs: {
313
+ readonly latex: string;
314
+ };
315
+ readonly marks?: readonly [{
316
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
317
+ } | {
318
+ readonly attrs: {
319
+ readonly href: string;
320
+ };
321
+ readonly type: "link";
322
+ } | {
323
+ readonly attrs: {
324
+ readonly variant: "success" | "warning" | null;
325
+ };
326
+ readonly type: "highlight";
327
+ }, ...({
328
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
329
+ } | {
330
+ readonly attrs: {
331
+ readonly href: string;
332
+ };
333
+ readonly type: "link";
334
+ } | {
335
+ readonly attrs: {
336
+ readonly variant: "success" | "warning" | null;
337
+ };
338
+ readonly type: "highlight";
339
+ })[]];
340
+ readonly type: "mathInline";
341
+ }, ...({
342
+ readonly marks?: readonly [{
343
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
344
+ } | {
345
+ readonly attrs: {
346
+ readonly href: string;
347
+ };
348
+ readonly type: "link";
349
+ } | {
350
+ readonly attrs: {
351
+ readonly variant: "success" | "warning" | null;
352
+ };
353
+ readonly type: "highlight";
354
+ }, ...({
355
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
356
+ } | {
357
+ readonly attrs: {
358
+ readonly href: string;
359
+ };
360
+ readonly type: "link";
361
+ } | {
362
+ readonly attrs: {
363
+ readonly variant: "success" | "warning" | null;
364
+ };
365
+ readonly type: "highlight";
366
+ })[]];
367
+ readonly text: string;
368
+ readonly type: "text";
369
+ } | {
370
+ readonly attrs: {
371
+ readonly latex: string;
372
+ };
373
+ readonly marks?: readonly [{
374
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
375
+ } | {
376
+ readonly attrs: {
377
+ readonly href: string;
378
+ };
379
+ readonly type: "link";
380
+ } | {
381
+ readonly attrs: {
382
+ readonly variant: "success" | "warning" | null;
383
+ };
384
+ readonly type: "highlight";
385
+ }, ...({
386
+ readonly type: "bold" | "code" | "italic" | "subscript" | "superscript" | "underline";
387
+ } | {
388
+ readonly attrs: {
389
+ readonly href: string;
390
+ };
391
+ readonly type: "link";
392
+ } | {
393
+ readonly attrs: {
394
+ readonly variant: "success" | "warning" | null;
395
+ };
396
+ readonly type: "highlight";
397
+ })[]];
398
+ readonly type: "mathInline";
399
+ })[]], E, never, never>>;
400
+ readonly title: RichSlot<E>;
401
+ readonly genePairs: Schema.Struct<{
402
+ readonly max: Schema.Finite;
403
+ readonly min: Schema.Finite;
404
+ readonly value: Schema.Finite;
405
+ }>;
406
+ readonly kinds: Schema.NonEmptyArray<Schema.Literals<readonly ["continuous", "discontinuous"]>>;
407
+ readonly labels: Schema.Struct<{
408
+ readonly basis: Schema.optionalKey<RichSlot<E>>;
409
+ readonly genePairs: Schema.Trimmed;
410
+ readonly kind: Schema.Trimmed;
411
+ readonly kinds: Schema.$Record<Schema.Literals<readonly ["continuous", "discontinuous"]>, Schema.optionalKey<Schema.Struct<{
412
+ readonly basis: RichSlot<E>;
413
+ readonly name: Schema.Trimmed;
414
+ readonly shape: RichSlot<E>;
415
+ }>>>;
416
+ readonly parts: Schema.$Record<Schema.Literals<readonly ["bellCurve", "discreteBars", "meanLine", "environment"]>, Schema.Trimmed>;
417
+ readonly shape: Schema.optionalKey<RichSlot<E>>;
418
+ readonly view: Schema.Trimmed;
419
+ }>;
420
+ }>, "figure">;
421
+ };
@@ -0,0 +1,123 @@
1
+ import { Schema } from "effect";
2
+ import { byIds, byPickedIds, cardFields, namesEach, TextSchema, } from "#contracts/visual/card";
3
+ import { answerAt, figure } from "#contracts/visual/entry";
4
+ const PositiveSchema = Schema.Finite.check(Schema.isGreaterThan(0));
5
+ const NonNegativeSchema = Schema.Finite.check(Schema.isGreaterThanOrEqualTo(0));
6
+ const SliderSchema = Schema.Struct({
7
+ max: PositiveSchema,
8
+ min: NonNegativeSchema,
9
+ value: NonNegativeSchema,
10
+ }).check(Schema.makeFilter(({ max, min, value }) => min < max && min <= value && value <= max, {
11
+ message: "Expected a slider range whose minimum is below its maximum, with the starting value between them.",
12
+ }));
13
+ const VARIATION_KINDS = ["continuous", "discontinuous"];
14
+ const MEIOSIS_STAGES = [
15
+ "crossingOver",
16
+ "independentAssortment",
17
+ "randomFertilisation",
18
+ ];
19
+ const MUTATION_KINDS = [
20
+ "deletion",
21
+ "duplication",
22
+ "inversion",
23
+ "translocation",
24
+ "nondisjunction",
25
+ ];
26
+ /**
27
+ * Props of `VariationDistributionLab`: a 3D population trait histogram
28
+ * contrasting polygenic continuous variation (smooth bell curve influenced by
29
+ * environment) against single-gene discontinuous variation (distinct bars).
30
+ * Genetic basis and curve shape readouts are optional answer state.
31
+ */
32
+ function variationDistributionLab(rich) {
33
+ return figure(Schema.Struct({
34
+ ...cardFields(rich),
35
+ genePairs: SliderSchema,
36
+ kinds: Schema.NonEmptyArray(Schema.Literals(VARIATION_KINDS)).check(Schema.isUnique()),
37
+ labels: Schema.Struct({
38
+ basis: Schema.optionalKey(rich),
39
+ genePairs: TextSchema,
40
+ kind: TextSchema,
41
+ kinds: byPickedIds(VARIATION_KINDS, Schema.Struct({
42
+ basis: rich,
43
+ name: TextSchema,
44
+ shape: rich,
45
+ })),
46
+ parts: byIds(["bellCurve", "discreteBars", "meanLine", "environment"], TextSchema),
47
+ shape: Schema.optionalKey(rich),
48
+ view: TextSchema,
49
+ }),
50
+ }).check(Schema.makeFilter(({ kinds, labels }) => namesEach(kinds, labels.kinds), {
51
+ message: "Expected a name, basis, and shape note for every variation kind shown, and no other.",
52
+ })), answerAt(["labels", "basis"], ["labels", "shape"]));
53
+ }
54
+ /**
55
+ * Props of `MeiosisShufflingLab`: a 3D homologous chromosome model showing
56
+ * crossing-over at chiasmata during prophase I, independent assortment at
57
+ * metaphase I, and random fertilisation multiplying gamete combinations.
58
+ * Combination count and mechanism readouts are optional answer state.
59
+ */
60
+ function meiosisShufflingLab(rich) {
61
+ return figure(Schema.Struct({
62
+ ...cardFields(rich),
63
+ chromosomePairs: SliderSchema,
64
+ labels: Schema.Struct({
65
+ chromosomePairs: TextSchema,
66
+ combinations: Schema.optionalKey(rich),
67
+ mechanism: Schema.optionalKey(rich),
68
+ parts: byIds([
69
+ "maternalChromatid",
70
+ "paternalChromatid",
71
+ "chiasma",
72
+ "centromere",
73
+ "gamete",
74
+ ], TextSchema),
75
+ stage: TextSchema,
76
+ stages: byPickedIds(MEIOSIS_STAGES, Schema.Struct({
77
+ mechanism: rich,
78
+ name: TextSchema,
79
+ })),
80
+ view: TextSchema,
81
+ }),
82
+ stages: Schema.NonEmptyArray(Schema.Literals(MEIOSIS_STAGES)).check(Schema.isUnique()),
83
+ }).check(Schema.makeFilter(({ labels, stages }) => namesEach(stages, labels.stages), {
84
+ message: "Expected a name and mechanism note for every meiosis shuffling stage shown, and no other.",
85
+ })), answerAt(["labels", "combinations"], ["labels", "mechanism"]));
86
+ }
87
+ /**
88
+ * Props of `ChromosomeMutationLab`: a 3D banded chromosome model comparing
89
+ * structural mutations (deletion, duplication, inversion, translocation) and
90
+ * numerical nondisjunction (trisomy). Structural change and genetic effect
91
+ * readouts are optional answer state.
92
+ */
93
+ function chromosomeMutationLab(rich) {
94
+ return figure(Schema.Struct({
95
+ ...cardFields(rich),
96
+ labels: Schema.Struct({
97
+ change: Schema.optionalKey(rich),
98
+ effect: Schema.optionalKey(rich),
99
+ mutation: TextSchema,
100
+ mutations: byPickedIds(MUTATION_KINDS, Schema.Struct({
101
+ change: rich,
102
+ effect: rich,
103
+ name: TextSchema,
104
+ })),
105
+ parts: byIds(["normalArm", "brokenSegment", "centromere", "extraCopy"], TextSchema),
106
+ view: TextSchema,
107
+ }),
108
+ mutations: Schema.NonEmptyArray(Schema.Literals(MUTATION_KINDS)).check(Schema.isUnique()),
109
+ }).check(Schema.makeFilter(({ labels, mutations }) => namesEach(mutations, labels.mutations), {
110
+ message: "Expected a name, change, and effect note for every chromosomal mutation shown, and no other.",
111
+ })), answerAt(["labels", "change"], ["labels", "effect"]));
112
+ }
113
+ /**
114
+ * Variation and mutation labs covering continuous vs discontinuous trait
115
+ * distributions, meiotic allele shuffling, and chromosomal mutations.
116
+ */
117
+ export function variationVisuals(rich) {
118
+ return {
119
+ ChromosomeMutationLab: chromosomeMutationLab(rich),
120
+ MeiosisShufflingLab: meiosisShufflingLab(rich),
121
+ VariationDistributionLab: variationDistributionLab(rich),
122
+ };
123
+ }