@jam-overture/loom 0.1.0 → 0.2.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/README.md +3 -1
- package/dist/application/application.d.ts +109 -0
- package/dist/application/application.js +97 -0
- package/dist/application/memory.d.ts +20 -0
- package/dist/application/memory.js +79 -0
- package/dist/application/store.d.ts +101 -0
- package/dist/application/store.js +25 -0
- package/dist/audience/audience.d.ts +36 -0
- package/dist/audience/audience.js +41 -0
- package/dist/cli/templates.js +19 -0
- package/dist/data/plan.js +0 -0
- package/dist/data/resolution.d.ts +23 -1
- package/dist/data/resolve.d.ts +30 -3
- package/dist/data/resolve.js +11 -3
- package/dist/ids.d.ts +10 -0
- package/dist/ids.js +11 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/patch.d.ts +54 -0
- package/dist/patch.js +44 -0
- package/dist/project/closing.d.ts +51 -0
- package/dist/project/closing.js +53 -0
- package/dist/project/memory.d.ts +20 -0
- package/dist/project/memory.js +97 -0
- package/dist/project/project.d.ts +90 -0
- package/dist/project/project.js +91 -0
- package/dist/project/store.d.ts +135 -0
- package/dist/project/store.js +41 -0
- package/dist/registered.d.ts +64 -0
- package/dist/registered.js +118 -0
- package/dist/render/behaviour-adjust.d.ts +11 -19
- package/dist/render/behaviour-adjust.js +75 -21
- package/dist/render/behaviour-present.d.ts +8 -0
- package/dist/render/behaviour-present.js +57 -6
- package/dist/render/behaviour.d.ts +98 -17
- package/dist/render/behaviour.js +91 -26
- package/dist/render/control-name.d.ts +68 -0
- package/dist/render/control-name.js +37 -0
- package/dist/render/diagnostics.d.ts +72 -0
- package/dist/render/diagnostics.js +7 -0
- package/dist/render/index.d.ts +2 -0
- package/dist/render/index.js +2 -0
- package/dist/render/reads.d.ts +11 -0
- package/dist/render/reads.js +12 -1
- package/dist/render/render.js +102 -7
- package/dist/render/slots.d.ts +52 -0
- package/dist/render/slots.js +24 -0
- package/dist/render/theme.d.ts +54 -1
- package/dist/render/theme.js +23 -1
- package/dist/render/unshown.d.ts +152 -0
- package/dist/render/unshown.js +80 -0
- package/dist/runtime/analysis.d.ts +94 -9
- package/dist/runtime/analysis.js +54 -9
- package/dist/runtime/assessment.d.ts +36 -2
- package/dist/runtime/assessment.js +27 -2
- package/dist/runtime/checks.d.ts +148 -0
- package/dist/runtime/checks.js +112 -0
- package/dist/runtime/disposition.d.ts +96 -0
- package/dist/runtime/disposition.js +46 -0
- package/dist/runtime/gate.js +22 -0
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/irreversibility.d.ts +64 -0
- package/dist/runtime/irreversibility.js +45 -0
- package/dist/runtime/pipeline.d.ts +43 -0
- package/dist/runtime/pipeline.js +10 -2
- package/dist/runtime/policy-change.d.ts +93 -0
- package/dist/runtime/policy-change.js +299 -0
- package/dist/runtime/policy-log.d.ts +406 -0
- package/dist/runtime/policy-log.js +285 -0
- package/dist/runtime/reversibility.d.ts +11 -9
- package/dist/runtime/stakes.d.ts +129 -1
- package/dist/runtime/stakes.js +240 -26
- package/dist/runtime/vocabulary.d.ts +164 -7
- package/dist/runtime/vocabulary.js +181 -8
- package/dist/sdk/audit.d.ts +174 -3
- package/dist/sdk/audit.js +176 -17
- package/dist/sdk/catalogue.d.ts +9 -1
- package/dist/sdk/conformance.d.ts +37 -3
- package/dist/sdk/conformance.js +25 -4
- package/dist/sdk/definition.d.ts +65 -0
- package/dist/sdk/definition.js +22 -0
- package/dist/sdk/registry.d.ts +29 -2
- package/dist/sdk/registry.js +63 -1
- package/dist/signals/action-change.d.ts +507 -0
- package/dist/signals/action-change.js +265 -0
- package/dist/signals/action.d.ts +331 -0
- package/dist/signals/action.js +182 -0
- package/dist/signals/applied-window.contract.d.ts +23 -0
- package/dist/signals/applied-window.contract.js +160 -0
- package/dist/signals/arriving.d.ts +210 -0
- package/dist/signals/arriving.js +133 -0
- package/dist/signals/audiences.d.ts +528 -0
- package/dist/signals/audiences.js +255 -0
- package/dist/signals/broadcast.d.ts +8 -2
- package/dist/signals/broadcast.js +58 -8
- package/dist/signals/change.d.ts +378 -0
- package/dist/signals/change.js +327 -0
- package/dist/signals/collect.d.ts +41 -0
- package/dist/signals/collect.js +88 -7
- package/dist/signals/copy-change.d.ts +553 -0
- package/dist/signals/copy-change.js +377 -0
- package/dist/signals/copy.d.ts +337 -0
- package/dist/signals/copy.js +211 -0
- package/dist/signals/counters.d.ts +46 -0
- package/dist/signals/counters.js +102 -0
- package/dist/signals/deliver.d.ts +23 -4
- package/dist/signals/deliver.js +34 -6
- package/dist/signals/deployment-change.d.ts +371 -0
- package/dist/signals/deployment-change.js +268 -0
- package/dist/signals/deployment.d.ts +265 -0
- package/dist/signals/deployment.js +152 -0
- package/dist/signals/door.d.ts +92 -0
- package/dist/signals/door.js +53 -0
- package/dist/signals/fold.d.ts +10 -0
- package/dist/signals/fold.js +5 -1
- package/dist/signals/form-action.d.ts +302 -0
- package/dist/signals/form-action.js +169 -0
- package/dist/signals/form-copy.d.ts +523 -0
- package/dist/signals/form-copy.js +346 -0
- package/dist/signals/forms.d.ts +247 -0
- package/dist/signals/forms.js +147 -0
- package/dist/signals/funnel-change.d.ts +548 -0
- package/dist/signals/funnel-change.js +361 -0
- package/dist/signals/funnel.d.ts +532 -0
- package/dist/signals/funnel.js +216 -0
- package/dist/signals/health.d.ts +497 -0
- package/dist/signals/health.js +361 -0
- package/dist/signals/index.d.ts +41 -0
- package/dist/signals/index.js +41 -0
- package/dist/signals/ingest.d.ts +56 -1
- package/dist/signals/ingest.js +91 -1
- package/dist/signals/journal.d.ts +11 -0
- package/dist/signals/kinds.d.ts +8 -6
- package/dist/signals/kinds.js +14 -6
- package/dist/signals/library-action.d.ts +430 -0
- package/dist/signals/library-action.js +336 -0
- package/dist/signals/library-change.d.ts +477 -0
- package/dist/signals/library-change.js +335 -0
- package/dist/signals/library-copy-change.d.ts +498 -0
- package/dist/signals/library-copy-change.js +476 -0
- package/dist/signals/library-pace.d.ts +319 -0
- package/dist/signals/library-pace.js +305 -0
- package/dist/signals/library-reach-change.d.ts +636 -0
- package/dist/signals/library-reach-change.js +534 -0
- package/dist/signals/library-reach.d.ts +377 -0
- package/dist/signals/library-reach.js +227 -0
- package/dist/signals/library-word-reach-change.d.ts +567 -0
- package/dist/signals/library-word-reach-change.js +568 -0
- package/dist/signals/library.d.ts +306 -0
- package/dist/signals/library.js +178 -0
- package/dist/signals/memory.d.ts +9 -0
- package/dist/signals/memory.js +105 -14
- package/dist/signals/migrate.d.ts +17 -2
- package/dist/signals/migrate.js +122 -5
- package/dist/signals/notice.d.ts +334 -0
- package/dist/signals/notice.js +228 -0
- package/dist/signals/pace-change.d.ts +501 -0
- package/dist/signals/pace-change.js +310 -0
- package/dist/signals/pace.d.ts +296 -0
- package/dist/signals/pace.js +291 -0
- package/dist/signals/page-views.d.ts +365 -0
- package/dist/signals/page-views.js +218 -0
- package/dist/signals/parts.d.ts +344 -0
- package/dist/signals/parts.js +273 -0
- package/dist/signals/postgres.d.ts +16 -2
- package/dist/signals/postgres.js +390 -87
- package/dist/signals/progress.d.ts +212 -0
- package/dist/signals/progress.js +150 -0
- package/dist/signals/ratios.d.ts +108 -0
- package/dist/signals/ratios.js +40 -0
- package/dist/signals/reach.d.ts +309 -0
- package/dist/signals/reach.js +93 -0
- package/dist/signals/readable.d.ts +34 -0
- package/dist/signals/readable.js +34 -0
- package/dist/signals/readership.d.ts +381 -0
- package/dist/signals/readership.js +308 -0
- package/dist/signals/region-pages.d.ts +173 -0
- package/dist/signals/region-pages.js +62 -0
- package/dist/signals/region.d.ts +287 -0
- package/dist/signals/region.js +198 -0
- package/dist/signals/retention.d.ts +141 -0
- package/dist/signals/retention.js +58 -0
- package/dist/signals/rollup.d.ts +67 -3
- package/dist/signals/rollup.js +0 -0
- package/dist/signals/schema.d.ts +432 -1
- package/dist/signals/schema.js +157 -3
- package/dist/signals/signal.d.ts +237 -11
- package/dist/signals/signal.js +70 -10
- package/dist/signals/silence-census.d.ts +205 -0
- package/dist/signals/silence-census.js +87 -0
- package/dist/signals/silences.d.ts +848 -0
- package/dist/signals/silences.js +753 -0
- package/dist/signals/tally.d.ts +140 -11
- package/dist/signals/window-figures.d.ts +148 -0
- package/dist/signals/window-figures.js +42 -0
- package/dist/signals/window.d.ts +866 -0
- package/dist/signals/window.js +693 -0
- package/dist/signals/words.d.ts +24 -0
- package/dist/signals/words.js +24 -0
- package/dist/store/index.d.ts +19 -0
- package/dist/store/index.js +19 -0
- package/dist/store/memory.d.ts +2 -1
- package/dist/store/memory.js +48 -12
- package/dist/store/migrate.d.ts +80 -0
- package/dist/store/migrate.js +259 -7
- package/dist/store/postgres-applications.d.ts +4 -0
- package/dist/store/postgres-applications.js +197 -0
- package/dist/store/postgres-holds.d.ts +10 -1
- package/dist/store/postgres-holds.js +116 -101
- package/dist/store/postgres-policy-log.d.ts +14 -0
- package/dist/store/postgres-policy-log.js +240 -0
- package/dist/store/postgres-projects.d.ts +4 -0
- package/dist/store/postgres-projects.js +217 -0
- package/dist/store/postgres.d.ts +16 -1
- package/dist/store/postgres.js +59 -9
- package/dist/store/replay.d.ts +102 -1
- package/dist/store/replay.js +190 -19
- package/dist/store/reseed.d.ts +238 -0
- package/dist/store/reseed.js +308 -0
- package/dist/store/schema.d.ts +450 -2
- package/dist/store/schema.js +141 -5
- package/dist/store/store.d.ts +29 -6
- package/dist/submit/resolve.js +2 -1
- package/dist/telemetry/calibration.d.ts +25 -0
- package/dist/telemetry/calibration.js +27 -1
- package/dist/telemetry/event.d.ts +391 -33
- package/dist/telemetry/event.js +84 -20
- package/dist/telemetry/index.d.ts +1 -0
- package/dist/telemetry/index.js +1 -0
- package/dist/telemetry/journal.d.ts +72 -3
- package/dist/telemetry/journal.js +9 -0
- package/dist/telemetry/lookup.d.ts +27 -0
- package/dist/telemetry/lookup.js +18 -0
- package/dist/telemetry/memory.js +23 -0
- package/dist/telemetry/migrate.js +22 -1
- package/dist/telemetry/postgres.d.ts +10 -1
- package/dist/telemetry/postgres.js +172 -90
- package/dist/telemetry/remeasure.d.ts +78 -0
- package/dist/telemetry/remeasure.js +83 -0
- package/dist/telemetry/retention.d.ts +2 -2
- package/dist/telemetry/schema.d.ts +17 -0
- package/dist/telemetry/schema.js +27 -1
- package/dist/telemetry/sink.d.ts +2 -2
- package/dist/testing/application-contract.d.ts +14 -0
- package/dist/testing/application-contract.js +270 -0
- package/dist/testing/contracts.d.ts +12 -7
- package/dist/testing/contracts.js +12 -7
- package/dist/testing/definitions.d.ts +78 -0
- package/dist/testing/definitions.js +134 -9
- package/dist/testing/doubles.d.ts +103 -0
- package/dist/testing/doubles.js +143 -0
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.js +2 -2
- package/dist/testing/journal-contract.js +140 -2
- package/dist/testing/model-contract.d.ts +110 -0
- package/dist/testing/model-contract.js +150 -0
- package/dist/testing/policy-log-contract.d.ts +26 -0
- package/dist/testing/policy-log-contract.js +344 -0
- package/dist/testing/project-contract.d.ts +14 -0
- package/dist/testing/project-contract.js +266 -0
- package/dist/testing/reader-signal-contract.d.ts +27 -2
- package/dist/testing/reader-signal-contract.js +475 -5
- package/dist/testing/store-contract.d.ts +7 -1
- package/dist/testing/store-contract.js +84 -3
- package/dist/theme/apply.d.ts +20 -1
- package/dist/theme/apply.js +5 -3
- package/dist/theme/derive.d.ts +22 -0
- package/dist/theme/derive.js +54 -1
- package/dist/theme/library.js +1 -1
- package/dist/theme/measure.d.ts +34 -0
- package/dist/theme/measure.js +30 -1
- package/dist/theme/palettes.js +7 -7
- package/dist/theme/ramp.d.ts +64 -0
- package/dist/theme/ramp.js +114 -0
- package/dist/theme/registry.d.ts +9 -0
- package/dist/theme/registry.js +11 -1
- package/dist/theme/separation.d.ts +97 -3
- package/dist/theme/separation.js +75 -0
- package/dist/tree/compare.d.ts +9 -0
- package/dist/tree/compare.js +18 -0
- package/dist/write/computed.d.ts +60 -0
- package/dist/write/computed.js +61 -0
- package/dist/write/held.d.ts +59 -0
- package/dist/write/index.d.ts +5 -2
- package/dist/write/index.js +5 -2
- package/dist/write/reseed.d.ts +151 -0
- package/dist/write/reseed.js +184 -0
- package/dist/write/revert.js +2 -16
- package/package.json +98 -19
|
@@ -0,0 +1,753 @@
|
|
|
1
|
+
import { everyMemberOf } from "../closed-set.js";
|
|
2
|
+
export const SILENCE_SUBJECTS = everyMemberOf()([
|
|
3
|
+
"page",
|
|
4
|
+
"part",
|
|
5
|
+
"comparison",
|
|
6
|
+
"kind",
|
|
7
|
+
]);
|
|
8
|
+
/** One line per subject, for a surface naming what a reason is about. */
|
|
9
|
+
export const describeSilenceSubject = (subject) => {
|
|
10
|
+
switch (subject) {
|
|
11
|
+
case "page":
|
|
12
|
+
return "this version of the page, and the window read against it";
|
|
13
|
+
case "part":
|
|
14
|
+
return "one part of the page";
|
|
15
|
+
case "comparison":
|
|
16
|
+
return "the two readings together, neither side named";
|
|
17
|
+
case "kind":
|
|
18
|
+
return "one kind of part, everywhere it stands in the pages read";
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
export const SILENCE_VOCABULARIES = everyMemberOf()([
|
|
22
|
+
"action-change",
|
|
23
|
+
"change",
|
|
24
|
+
"copy",
|
|
25
|
+
"copy-change",
|
|
26
|
+
"deployment",
|
|
27
|
+
"deployment-change",
|
|
28
|
+
"form-action",
|
|
29
|
+
"form-copy",
|
|
30
|
+
"forms",
|
|
31
|
+
"funnel-change",
|
|
32
|
+
"library",
|
|
33
|
+
"library-action",
|
|
34
|
+
"library-change",
|
|
35
|
+
"library-copy-change",
|
|
36
|
+
"library-pace",
|
|
37
|
+
"library-reach",
|
|
38
|
+
"library-reach-change",
|
|
39
|
+
"library-word-reach-change",
|
|
40
|
+
"pace",
|
|
41
|
+
"pace-change",
|
|
42
|
+
"reach",
|
|
43
|
+
]);
|
|
44
|
+
/**
|
|
45
|
+
* What each reading's reasons are about.
|
|
46
|
+
*
|
|
47
|
+
* Published as a table over the vocabularies because that is what it is: the
|
|
48
|
+
* subject is a property of the reading, uniform across its whole set, and a
|
|
49
|
+
* caller holding a silence it has not yet mapped can read the subject off this
|
|
50
|
+
* before it reads the condition.
|
|
51
|
+
*/
|
|
52
|
+
export const SUBJECT_OF_VOCABULARY = Object.freeze({
|
|
53
|
+
"action-change": "comparison",
|
|
54
|
+
change: "comparison",
|
|
55
|
+
copy: "page",
|
|
56
|
+
"copy-change": "comparison",
|
|
57
|
+
deployment: "page",
|
|
58
|
+
"deployment-change": "comparison",
|
|
59
|
+
"form-action": "comparison",
|
|
60
|
+
"form-copy": "comparison",
|
|
61
|
+
forms: "comparison",
|
|
62
|
+
"funnel-change": "comparison",
|
|
63
|
+
library: "kind",
|
|
64
|
+
"library-action": "kind",
|
|
65
|
+
"library-change": "kind",
|
|
66
|
+
"library-copy-change": "kind",
|
|
67
|
+
"library-pace": "kind",
|
|
68
|
+
"library-reach": "kind",
|
|
69
|
+
"library-reach-change": "kind",
|
|
70
|
+
"library-word-reach-change": "kind",
|
|
71
|
+
pace: "part",
|
|
72
|
+
"pace-change": "comparison",
|
|
73
|
+
reach: "page",
|
|
74
|
+
});
|
|
75
|
+
export const SILENCE_CONDITIONS = everyMemberOf()([
|
|
76
|
+
"two-pages",
|
|
77
|
+
"two-audiences",
|
|
78
|
+
"no-view-reported",
|
|
79
|
+
"no-arrivals-counted",
|
|
80
|
+
"no-openings-marked",
|
|
81
|
+
"no-window-folded",
|
|
82
|
+
"says-nothing",
|
|
83
|
+
"words-a-floor",
|
|
84
|
+
"readers-above-views",
|
|
85
|
+
"nothing-carried",
|
|
86
|
+
"no-action-credited",
|
|
87
|
+
"nothing-of-the-kind",
|
|
88
|
+
"nothing-inside",
|
|
89
|
+
"no-reach-reported",
|
|
90
|
+
"two-forms-unsplit",
|
|
91
|
+
"two-revisions",
|
|
92
|
+
"one-population",
|
|
93
|
+
"no-audience-named",
|
|
94
|
+
]);
|
|
95
|
+
/**
|
|
96
|
+
* One line per condition, written so that it reads after the subject it is
|
|
97
|
+
* about rather than naming one itself.
|
|
98
|
+
*
|
|
99
|
+
* Each set's own `describe` is the sentence for one reading and stays the right
|
|
100
|
+
* thing to print there. This is the sentence for the state, which is what a
|
|
101
|
+
* surface needs when it is speaking about two readings at once.
|
|
102
|
+
*/
|
|
103
|
+
export const describeSilenceCondition = (condition) => {
|
|
104
|
+
switch (condition) {
|
|
105
|
+
case "two-pages":
|
|
106
|
+
return "the two readings are of different pages";
|
|
107
|
+
case "two-audiences":
|
|
108
|
+
return "the two readings are of different audiences, and so of different readers";
|
|
109
|
+
case "no-view-reported":
|
|
110
|
+
return "nothing reported a view of it";
|
|
111
|
+
case "no-arrivals-counted":
|
|
112
|
+
return "no page views have been counted at the door for it";
|
|
113
|
+
case "no-openings-marked":
|
|
114
|
+
return "nothing has said a page view began";
|
|
115
|
+
case "no-window-folded":
|
|
116
|
+
return "readers arrived and no window of their reading has been counted yet";
|
|
117
|
+
case "says-nothing":
|
|
118
|
+
return "it says nothing that could be read";
|
|
119
|
+
case "words-a-floor":
|
|
120
|
+
return "some of its words are a floor, because a type in it declares no copy";
|
|
121
|
+
case "readers-above-views":
|
|
122
|
+
return "it reports more readers than views, which no rollup produces";
|
|
123
|
+
case "nothing-carried":
|
|
124
|
+
return "the change left no word of the page as it was";
|
|
125
|
+
case "no-action-credited":
|
|
126
|
+
return "it holds actions and credits none of them to a reader";
|
|
127
|
+
case "nothing-of-the-kind":
|
|
128
|
+
return "there is none of it in the pages that were read";
|
|
129
|
+
case "nothing-inside":
|
|
130
|
+
return "it has nothing inside it, so there is nothing a reader could act in";
|
|
131
|
+
case "no-reach-reported":
|
|
132
|
+
return "its counters are there and not one of them reports being reached";
|
|
133
|
+
case "two-forms-unsplit":
|
|
134
|
+
return "one window holds two forms of the page and says which readers neither";
|
|
135
|
+
case "two-revisions":
|
|
136
|
+
return "the two readings are of two revisions, and so not of one page held still";
|
|
137
|
+
case "one-population":
|
|
138
|
+
return "both readings are of one audience, so there is no second population";
|
|
139
|
+
case "no-audience-named":
|
|
140
|
+
return "nothing recorded which audience it was of";
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
const meaning = (vocabulary, condition) => ({
|
|
144
|
+
condition,
|
|
145
|
+
subject: SUBJECT_OF_VOCABULARY[vocabulary],
|
|
146
|
+
vocabulary,
|
|
147
|
+
});
|
|
148
|
+
/**
|
|
149
|
+
* What a comparison of what readers *did* reports (0251).
|
|
150
|
+
*
|
|
151
|
+
* A comparison, so its subject is the pair and never the page on the screen —
|
|
152
|
+
* and `unwalked` is the one member of any set that does not say which side it is
|
|
153
|
+
* true of while being the one a surface most wants to name. The two readings
|
|
154
|
+
* travel on the comparison, each with its own `unwalked`, which is where that is
|
|
155
|
+
* answered; the condition is what the two sides have in common and no more, as
|
|
156
|
+
* `no-openings-marked` is for a deployment.
|
|
157
|
+
*/
|
|
158
|
+
export const meaningOfActionChangeSilence = (silence) => {
|
|
159
|
+
switch (silence) {
|
|
160
|
+
case "different-trees":
|
|
161
|
+
return meaning("action-change", "two-pages");
|
|
162
|
+
case "different-audiences":
|
|
163
|
+
return meaning("action-change", "two-audiences");
|
|
164
|
+
case "audiences-mixed":
|
|
165
|
+
return meaning("action-change", "two-forms-unsplit");
|
|
166
|
+
case "unwalked":
|
|
167
|
+
return meaning("action-change", "no-action-credited");
|
|
168
|
+
case "nothing-measured":
|
|
169
|
+
return meaning("action-change", "no-view-reported");
|
|
170
|
+
case "dissolved":
|
|
171
|
+
return meaning("action-change", "nothing-carried");
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
/** What a before-and-after reading's silence reports (0224). */
|
|
175
|
+
export const meaningOfChangeSilence = (silence) => {
|
|
176
|
+
switch (silence) {
|
|
177
|
+
case "different-trees":
|
|
178
|
+
return meaning("change", "two-pages");
|
|
179
|
+
case "different-audiences":
|
|
180
|
+
return meaning("change", "two-audiences");
|
|
181
|
+
case "audiences-mixed":
|
|
182
|
+
return meaning("change", "two-forms-unsplit");
|
|
183
|
+
case "nothing-measured":
|
|
184
|
+
return meaning("change", "no-view-reported");
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* What a copy reading's silence reports (0235, 0282).
|
|
189
|
+
*
|
|
190
|
+
* `unspoken` is the newer of the two reasons there is no mean, and the one that
|
|
191
|
+
* brought this table its thirteenth condition: a page whose rows report no
|
|
192
|
+
* reach at all is not a page nobody read.
|
|
193
|
+
*/
|
|
194
|
+
export const meaningOfCopySilence = (silence) => {
|
|
195
|
+
switch (silence) {
|
|
196
|
+
case "wordless":
|
|
197
|
+
return meaning("copy", "says-nothing");
|
|
198
|
+
case "unmeasured":
|
|
199
|
+
return meaning("copy", "no-view-reported");
|
|
200
|
+
case "floored":
|
|
201
|
+
return meaning("copy", "words-a-floor");
|
|
202
|
+
case "unspoken":
|
|
203
|
+
return meaning("copy", "no-reach-reported");
|
|
204
|
+
case "inconsistent":
|
|
205
|
+
return meaning("copy", "readers-above-views");
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* What a comparison of two windows' words reports (0239, 0282).
|
|
210
|
+
*
|
|
211
|
+
* Six of its seven reasons are states of the pair; `unspoken` is the same state
|
|
212
|
+
* a copy reading reports, said of the carried passages rather than of the page.
|
|
213
|
+
*/
|
|
214
|
+
export const meaningOfCopyChangeSilence = (silence) => {
|
|
215
|
+
switch (silence) {
|
|
216
|
+
case "different-trees":
|
|
217
|
+
return meaning("copy-change", "two-pages");
|
|
218
|
+
case "different-audiences":
|
|
219
|
+
return meaning("copy-change", "two-audiences");
|
|
220
|
+
case "wordless":
|
|
221
|
+
return meaning("copy-change", "says-nothing");
|
|
222
|
+
case "audiences-mixed":
|
|
223
|
+
return meaning("copy-change", "two-forms-unsplit");
|
|
224
|
+
case "nothing-measured":
|
|
225
|
+
return meaning("copy-change", "no-view-reported");
|
|
226
|
+
case "inconsistent":
|
|
227
|
+
return meaning("copy-change", "readers-above-views");
|
|
228
|
+
case "dissolved":
|
|
229
|
+
return meaning("copy-change", "nothing-carried");
|
|
230
|
+
case "floored":
|
|
231
|
+
return meaning("copy-change", "words-a-floor");
|
|
232
|
+
case "unspoken":
|
|
233
|
+
return meaning("copy-change", "no-reach-reported");
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* What an order over a deployment's pages reports, of one of them (0250).
|
|
238
|
+
*
|
|
239
|
+
* Every reason here is a fact about one revision of one page, so the subject is
|
|
240
|
+
* the page — which is the one case this table did not have, and the only thing
|
|
241
|
+
* about it that is new. A reading of a deployment is silent about its **members**
|
|
242
|
+
* rather than about itself: the order stands, and one page is not in it.
|
|
243
|
+
*
|
|
244
|
+
* `unscaled` is the second name in this subsystem for the state a share-of-readers
|
|
245
|
+
* reading calls `unmeasured`, and the two are deliberately not spelled alike. A
|
|
246
|
+
* reach reading has nothing to say at all without a row at the door; an order has
|
|
247
|
+
* a complete reading of that page and is missing only what would make it
|
|
248
|
+
* comparable with another, which is a different sentence to print even though it
|
|
249
|
+
* is one state of the world.
|
|
250
|
+
*/
|
|
251
|
+
export const meaningOfDeploymentSilence = (silence) => {
|
|
252
|
+
switch (silence) {
|
|
253
|
+
case "unread":
|
|
254
|
+
return meaning("deployment", "no-view-reported");
|
|
255
|
+
case "unsplit":
|
|
256
|
+
return meaning("deployment", "two-forms-unsplit");
|
|
257
|
+
case "unscaled":
|
|
258
|
+
return meaning("deployment", "no-arrivals-counted");
|
|
259
|
+
case "unopened":
|
|
260
|
+
return meaning("deployment", "no-openings-marked");
|
|
261
|
+
case "inconsistent":
|
|
262
|
+
return meaning("deployment", "readers-above-views");
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* What an order over what a change did to a deployment reports, of one page's
|
|
267
|
+
* comparison (0291).
|
|
268
|
+
*
|
|
269
|
+
* The seventeenth set. Every reason is a fact about one comparison, so the
|
|
270
|
+
* subject is the pair even though the reading is of a deployment — which is the
|
|
271
|
+
* combination this table did not have, and the only thing about it that is new.
|
|
272
|
+
*
|
|
273
|
+
* `unread` is the condition a before-and-after reading reports as
|
|
274
|
+
* `nothing-measured`, said here of the comparison that is not in the order
|
|
275
|
+
* rather than of the order; `mispaired` is that reading's `different-trees` for
|
|
276
|
+
* the same reason.
|
|
277
|
+
*/
|
|
278
|
+
export const meaningOfDeploymentChangeSilence = (silence) => {
|
|
279
|
+
switch (silence) {
|
|
280
|
+
case "unread":
|
|
281
|
+
return meaning("deployment-change", "no-view-reported");
|
|
282
|
+
case "mispaired":
|
|
283
|
+
return meaning("deployment-change", "two-pages");
|
|
284
|
+
case "unsplit":
|
|
285
|
+
return meaning("deployment-change", "two-forms-unsplit");
|
|
286
|
+
case "unscaled":
|
|
287
|
+
return meaning("deployment-change", "no-arrivals-counted");
|
|
288
|
+
case "unopened":
|
|
289
|
+
return meaning("deployment-change", "no-openings-marked");
|
|
290
|
+
case "inconsistent":
|
|
291
|
+
return meaning("deployment-change", "readers-above-views");
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
/**
|
|
295
|
+
* What a census of the library reports, of one kind of part (0257).
|
|
296
|
+
*
|
|
297
|
+
* Both reasons are about a kind and neither is about a page, so this is the set
|
|
298
|
+
* that put the fourth subject in the table above. `unplaced` is the one member
|
|
299
|
+
* in this subsystem whose condition is not an absence of measurement but an
|
|
300
|
+
* absence of the thing measured, and the distinction is worth a surface's
|
|
301
|
+
* attention: `unread` on a kind says point a reader at it, `unplaced` says
|
|
302
|
+
* nothing in this library is one.
|
|
303
|
+
*/
|
|
304
|
+
export const meaningOfKindSilence = (silence) => {
|
|
305
|
+
switch (silence) {
|
|
306
|
+
case "unread":
|
|
307
|
+
return meaning("library", "no-view-reported");
|
|
308
|
+
case "unplaced":
|
|
309
|
+
return meaning("library", "nothing-of-the-kind");
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
/**
|
|
313
|
+
* What a kind's share of the readers who met it reports, of one kind (0256).
|
|
314
|
+
*
|
|
315
|
+
* The tenth set, and the first since the seventh to bring neither a condition
|
|
316
|
+
* nor a subject — which is the claim below holding rather than a coincidence:
|
|
317
|
+
* three of its five reasons are the states of the door, and the door's states
|
|
318
|
+
* were named the first time a share of readers was taken of anything.
|
|
319
|
+
*
|
|
320
|
+
* **It is also the first set that could not reuse another's outright.** A
|
|
321
|
+
* funnel answer reports a reach silence unchanged, because a funnel is asked of
|
|
322
|
+
* a page and so is a reach reading; this is asked of a **kind**, and a subject
|
|
323
|
+
* is a property of the reading rather than of the condition. So the three
|
|
324
|
+
* door states are said again here at a kind, the page they are true of is
|
|
325
|
+
* published with a reach silence on it, and this table is what says the two are
|
|
326
|
+
* one state at two subjects. The census's own two reasons are reused as values,
|
|
327
|
+
* because those were already a kind's.
|
|
328
|
+
*/
|
|
329
|
+
export const meaningOfKindReachSilence = (silence) => {
|
|
330
|
+
switch (silence) {
|
|
331
|
+
case "unread":
|
|
332
|
+
return meaning("library-reach", "no-view-reported");
|
|
333
|
+
case "unplaced":
|
|
334
|
+
return meaning("library-reach", "nothing-of-the-kind");
|
|
335
|
+
case "unscaled":
|
|
336
|
+
return meaning("library-reach", "no-arrivals-counted");
|
|
337
|
+
case "unopened":
|
|
338
|
+
return meaning("library-reach", "no-openings-marked");
|
|
339
|
+
case "uncounted":
|
|
340
|
+
return meaning("library-reach", "no-window-folded");
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* What a reader-weighted comparison of a kind of part reports, of one kind
|
|
345
|
+
* (0279).
|
|
346
|
+
*
|
|
347
|
+
* **The fourteenth set, and the first assembled out of two readings of its own
|
|
348
|
+
* question.** Five of its six members are the two it is built from — the
|
|
349
|
+
* census's `unplaced`, the places comparison's `unpaired` and `unread`, and the
|
|
350
|
+
* door's three — and the sixth, `unscaled`, is the door's again. A comparison
|
|
351
|
+
* is withheld for every reason either side's figure is withheld and for nothing
|
|
352
|
+
* else, which is why a set that answers a genuinely new question brings no new
|
|
353
|
+
* state of the world.
|
|
354
|
+
*
|
|
355
|
+
* The subject is the kind and not the pair, for the reason the places comparison
|
|
356
|
+
* has it (0266): the rows are keyed by the vocabulary, so each reason is about
|
|
357
|
+
* one kind of part across both windows. Which **window** a door reason came from
|
|
358
|
+
* is published on the page it is about rather than in this vocabulary — a side
|
|
359
|
+
* is not a state.
|
|
360
|
+
*/
|
|
361
|
+
export const meaningOfKindReachChangeSilence = (silence) => {
|
|
362
|
+
switch (silence) {
|
|
363
|
+
case "unplaced":
|
|
364
|
+
return meaning("library-reach-change", "nothing-of-the-kind");
|
|
365
|
+
case "unpaired":
|
|
366
|
+
return meaning("library-reach-change", "nothing-carried");
|
|
367
|
+
case "unread":
|
|
368
|
+
return meaning("library-reach-change", "no-view-reported");
|
|
369
|
+
case "unscaled":
|
|
370
|
+
return meaning("library-reach-change", "no-arrivals-counted");
|
|
371
|
+
case "unopened":
|
|
372
|
+
return meaning("library-reach-change", "no-openings-marked");
|
|
373
|
+
case "uncounted":
|
|
374
|
+
return meaning("library-reach-change", "no-window-folded");
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* What a comparison of the words one reader got to reports, of one kind (0280).
|
|
379
|
+
*
|
|
380
|
+
* **The fifteenth set, and the first assembled out of four.** The census's
|
|
381
|
+
* `unplaced`, the places comparison's `unpaired`, the door's three states said
|
|
382
|
+
* of a kind, and the pair a comparison of a library's words already reports of
|
|
383
|
+
* one — `wordless` and `floored`. Nothing is new because nothing can be: a
|
|
384
|
+
* comparison is withheld for every reason one side's figure is withheld and
|
|
385
|
+
* for nothing a window could be in on its own.
|
|
386
|
+
*
|
|
387
|
+
* `floored` is the member worth reading twice. It is the same condition the
|
|
388
|
+
* thirteenth set reports, said at the same subject, and it withholds five
|
|
389
|
+
* figures here where it withholds one there — because every figure this
|
|
390
|
+
* reading would have a surface subtract is a sum of signed terms that floors
|
|
391
|
+
* scale by different factors. One state of the world, two costs, and the cost
|
|
392
|
+
* belongs to the reading.
|
|
393
|
+
*/
|
|
394
|
+
export const meaningOfKindWordReachChangeSilence = (silence) => {
|
|
395
|
+
switch (silence) {
|
|
396
|
+
case "unplaced":
|
|
397
|
+
return meaning("library-word-reach-change", "nothing-of-the-kind");
|
|
398
|
+
case "unpaired":
|
|
399
|
+
return meaning("library-word-reach-change", "nothing-carried");
|
|
400
|
+
case "wordless":
|
|
401
|
+
return meaning("library-word-reach-change", "says-nothing");
|
|
402
|
+
case "unread":
|
|
403
|
+
return meaning("library-word-reach-change", "no-view-reported");
|
|
404
|
+
case "unscaled":
|
|
405
|
+
return meaning("library-word-reach-change", "no-arrivals-counted");
|
|
406
|
+
case "unopened":
|
|
407
|
+
return meaning("library-word-reach-change", "no-openings-marked");
|
|
408
|
+
case "uncounted":
|
|
409
|
+
return meaning("library-word-reach-change", "no-window-folded");
|
|
410
|
+
case "floored":
|
|
411
|
+
return meaning("library-word-reach-change", "words-a-floor");
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* What a kind's share of the readers who acted inside it reports, of one kind
|
|
416
|
+
* (0265).
|
|
417
|
+
*
|
|
418
|
+
* **The eleventh set, and the first built on another's type rather than beside
|
|
419
|
+
* it.** It takes the tenth's five members whole — the census's two and the
|
|
420
|
+
* door's three — because the tenth's own limit was that a set cannot be reused
|
|
421
|
+
* across subjects, and this reading's subject is a kind exactly as that one's
|
|
422
|
+
* is. So the reuse is that limit used in the affirmative: same subject, same
|
|
423
|
+
* states, one word for one state on any surface drawing both.
|
|
424
|
+
*
|
|
425
|
+
* Two members are added and only one of them brings a condition. `unwalked` is
|
|
426
|
+
* `no-action-credited`, which the eighth set brought and which is the state of a
|
|
427
|
+
* window whose nought is a filing rule. `unenterable` is the twelfth condition
|
|
428
|
+
* and is **not about a window at all**: a kind standing only in places with
|
|
429
|
+
* nothing inside them has no question to answer, which would be exactly as true
|
|
430
|
+
* of a deployment every reader in the world had read.
|
|
431
|
+
*/
|
|
432
|
+
export const meaningOfKindActionSilence = (silence) => {
|
|
433
|
+
switch (silence) {
|
|
434
|
+
case "unread":
|
|
435
|
+
return meaning("library-action", "no-view-reported");
|
|
436
|
+
case "unplaced":
|
|
437
|
+
return meaning("library-action", "nothing-of-the-kind");
|
|
438
|
+
case "unenterable":
|
|
439
|
+
return meaning("library-action", "nothing-inside");
|
|
440
|
+
case "unwalked":
|
|
441
|
+
return meaning("library-action", "no-action-credited");
|
|
442
|
+
case "unscaled":
|
|
443
|
+
return meaning("library-action", "no-arrivals-counted");
|
|
444
|
+
case "unopened":
|
|
445
|
+
return meaning("library-action", "no-openings-marked");
|
|
446
|
+
case "uncounted":
|
|
447
|
+
return meaning("library-action", "no-window-folded");
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
/**
|
|
451
|
+
* What a comparison of two windows of one library reports, of one kind (0266).
|
|
452
|
+
*
|
|
453
|
+
* **The twelfth set, and the first comparison whose subject is not the pair.**
|
|
454
|
+
* Every other comparison here names neither side — *one of the two windows held
|
|
455
|
+
* no page views* is a fact about the two readings together — and this one does
|
|
456
|
+
* not, because its rows are keyed by the **vocabulary** and each reason is about
|
|
457
|
+
* one kind of part across both windows. So the subject is `kind`, which is 0240's
|
|
458
|
+
* claim holding in the one place it looked most likely to break: the subject is a
|
|
459
|
+
* property of the reading and uniform across its set, and a reading's scope was
|
|
460
|
+
* never what decided it (0250).
|
|
461
|
+
*
|
|
462
|
+
* **It brings no condition and no subject.** `unread` and `unplaced` are the
|
|
463
|
+
* census's own two, reused for the reason the eleventh set reuses them — same
|
|
464
|
+
* subject, same states. `unpaired` is `nothing-carried`, which is the state a
|
|
465
|
+
* comparison of two windows' words reports of words and a comparison of two
|
|
466
|
+
* paces reports of parts: the change left nothing of the thing being compared as
|
|
467
|
+
* it was. Here the thing is a **place**, and the condition's sentence is written
|
|
468
|
+
* for words because words were the first counter it was found in.
|
|
469
|
+
*/
|
|
470
|
+
export const meaningOfKindChangeSilence = (silence) => {
|
|
471
|
+
switch (silence) {
|
|
472
|
+
case "unread":
|
|
473
|
+
return meaning("library-change", "no-view-reported");
|
|
474
|
+
case "unplaced":
|
|
475
|
+
return meaning("library-change", "nothing-of-the-kind");
|
|
476
|
+
case "unpaired":
|
|
477
|
+
return meaning("library-change", "nothing-carried");
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* What a comparison of two windows' words at the scale of a library reports
|
|
482
|
+
* (0270).
|
|
483
|
+
*
|
|
484
|
+
* Five members and not one new condition, and the subject is the kind for the
|
|
485
|
+
* reason the comparison of places has it: the rows are keyed by the vocabulary,
|
|
486
|
+
* so every reason is about one kind of part across both windows.
|
|
487
|
+
*
|
|
488
|
+
* `floored` is the one member in this table whose reading withholds a figure
|
|
489
|
+
* rather than a comparison — the signed movement in a mass of words, which a
|
|
490
|
+
* floor can give the wrong sign, where the two shares it is the difference of
|
|
491
|
+
* both stand (0239).
|
|
492
|
+
*/
|
|
493
|
+
export const meaningOfKindCopyChangeSilence = (silence) => {
|
|
494
|
+
switch (silence) {
|
|
495
|
+
case "unplaced":
|
|
496
|
+
return meaning("library-copy-change", "nothing-of-the-kind");
|
|
497
|
+
case "unpaired":
|
|
498
|
+
return meaning("library-copy-change", "nothing-carried");
|
|
499
|
+
case "wordless":
|
|
500
|
+
return meaning("library-copy-change", "says-nothing");
|
|
501
|
+
case "unread":
|
|
502
|
+
return meaning("library-copy-change", "no-view-reported");
|
|
503
|
+
case "floored":
|
|
504
|
+
return meaning("library-copy-change", "words-a-floor");
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* What a kind of part's pace reports, of one kind (0325).
|
|
509
|
+
*
|
|
510
|
+
* **The twenty-first set, and the first to bring neither a condition nor a
|
|
511
|
+
* subject of its own.** Its two census reasons were already a kind's and are
|
|
512
|
+
* reused as values; its other two are the states a part's own pace reports,
|
|
513
|
+
* said here of a kind — the same move `library-reach` made with the door's
|
|
514
|
+
* three states, and this table is again what says the two are one state at two
|
|
515
|
+
* subjects (0240).
|
|
516
|
+
*/
|
|
517
|
+
export const meaningOfKindPaceSilence = (silence) => {
|
|
518
|
+
switch (silence) {
|
|
519
|
+
case "unread":
|
|
520
|
+
return meaning("library-pace", "no-view-reported");
|
|
521
|
+
case "unplaced":
|
|
522
|
+
return meaning("library-pace", "nothing-of-the-kind");
|
|
523
|
+
case "unreadable":
|
|
524
|
+
return meaning("library-pace", "words-a-floor");
|
|
525
|
+
case "wordless":
|
|
526
|
+
return meaning("library-pace", "says-nothing");
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
/** What a pace reading's silence reports, of one part (0230). */
|
|
530
|
+
export const meaningOfPaceSilence = (silence) => {
|
|
531
|
+
switch (silence) {
|
|
532
|
+
case "unreached":
|
|
533
|
+
return meaning("pace", "no-view-reported");
|
|
534
|
+
case "unreadable":
|
|
535
|
+
return meaning("pace", "words-a-floor");
|
|
536
|
+
case "wordless":
|
|
537
|
+
return meaning("pace", "says-nothing");
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
/**
|
|
541
|
+
* What a comparison of two windows' pace reports (0244).
|
|
542
|
+
*
|
|
543
|
+
* A comparison, so its subject is the pair and never the page on the screen —
|
|
544
|
+
* which is the distinction this module exists for: `nothing-measured` here does
|
|
545
|
+
* not say which of the two windows was empty.
|
|
546
|
+
*/
|
|
547
|
+
export const meaningOfPaceChangeSilence = (silence) => {
|
|
548
|
+
switch (silence) {
|
|
549
|
+
case "different-trees":
|
|
550
|
+
return meaning("pace-change", "two-pages");
|
|
551
|
+
case "different-audiences":
|
|
552
|
+
return meaning("pace-change", "two-audiences");
|
|
553
|
+
case "wordless":
|
|
554
|
+
return meaning("pace-change", "says-nothing");
|
|
555
|
+
case "audiences-mixed":
|
|
556
|
+
return meaning("pace-change", "two-forms-unsplit");
|
|
557
|
+
case "nothing-measured":
|
|
558
|
+
return meaning("pace-change", "no-view-reported");
|
|
559
|
+
case "dissolved":
|
|
560
|
+
return meaning("pace-change", "nothing-carried");
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
/**
|
|
564
|
+
* What a share-of-readers silence reports, which is also a funnel's (0229).
|
|
565
|
+
*
|
|
566
|
+
* Its `unmeasured` is the one name in this subsystem that means something other
|
|
567
|
+
* than what the same name means elsewhere, and this is where that is written
|
|
568
|
+
* down: a missing row at the door, not a window without readers.
|
|
569
|
+
*/
|
|
570
|
+
export const meaningOfReachSilence = (silence) => {
|
|
571
|
+
switch (silence) {
|
|
572
|
+
case "unmeasured":
|
|
573
|
+
return meaning("reach", "no-arrivals-counted");
|
|
574
|
+
case "unopened":
|
|
575
|
+
return meaning("reach", "no-openings-marked");
|
|
576
|
+
case "uncounted":
|
|
577
|
+
return meaning("reach", "no-window-folded");
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* What a comparison of two windows' funnels reports (0288).
|
|
582
|
+
*
|
|
583
|
+
* **The sixteenth set, and the first assembled out of the door's three said of
|
|
584
|
+
* a pair.** `different-trees` is the state every comparison here reports;
|
|
585
|
+
* `unscaled`, `unopened` and `uncounted` are the door's three (0229) at the
|
|
586
|
+
* `comparison` subject rather than the `page` subject a funnel answer reports
|
|
587
|
+
* them at; and `unasked` is `nothing-carried` said of a question.
|
|
588
|
+
*
|
|
589
|
+
* Nothing is new because nothing can be: a comparison is withheld for every
|
|
590
|
+
* reason one side's figure is withheld and for nothing a window could be in on
|
|
591
|
+
* its own. What the set does add is written up with the conditions above — the
|
|
592
|
+
* door's three cost this reading half of itself and not all of it.
|
|
593
|
+
*/
|
|
594
|
+
export const meaningOfFunnelChangeSilence = (silence) => {
|
|
595
|
+
switch (silence) {
|
|
596
|
+
case "different-trees":
|
|
597
|
+
return meaning("funnel-change", "two-pages");
|
|
598
|
+
case "different-audiences":
|
|
599
|
+
return meaning("funnel-change", "two-audiences");
|
|
600
|
+
case "unscaled":
|
|
601
|
+
return meaning("funnel-change", "no-arrivals-counted");
|
|
602
|
+
case "unopened":
|
|
603
|
+
return meaning("funnel-change", "no-openings-marked");
|
|
604
|
+
case "uncounted":
|
|
605
|
+
return meaning("funnel-change", "no-window-folded");
|
|
606
|
+
case "audiences-mixed":
|
|
607
|
+
return meaning("funnel-change", "two-forms-unsplit");
|
|
608
|
+
case "unasked":
|
|
609
|
+
return meaning("funnel-change", "nothing-carried");
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
/**
|
|
613
|
+
* What a comparison of two forms of one page reports (0302).
|
|
614
|
+
*
|
|
615
|
+
* **The eighteenth set, and the first whose subject is the readership rather
|
|
616
|
+
* than the tree, the window or the vocabulary** — which is why it is also the
|
|
617
|
+
* first to bring three conditions of its own where no set since the eighth
|
|
618
|
+
* brought more than one. Each of the three is a state only a reading that holds
|
|
619
|
+
* the tree still and varies the audience can be in: two revisions, one
|
|
620
|
+
* population, and a side that cannot name its own.
|
|
621
|
+
*
|
|
622
|
+
* The other three are borrowed exactly. `different-pages` is the state every
|
|
623
|
+
* comparison here reports, `unsplit` is the window fault 0300 brought, and
|
|
624
|
+
* `nothing-measured` is the door's quiet window — and it is the only member of
|
|
625
|
+
* this set that withholds half of a reading rather than all of it.
|
|
626
|
+
*/
|
|
627
|
+
export const meaningOfFormComparisonSilence = (silence) => {
|
|
628
|
+
switch (silence) {
|
|
629
|
+
case "different-pages":
|
|
630
|
+
return meaning("forms", "two-pages");
|
|
631
|
+
case "unsplit":
|
|
632
|
+
return meaning("forms", "two-forms-unsplit");
|
|
633
|
+
case "unattributed":
|
|
634
|
+
return meaning("forms", "no-audience-named");
|
|
635
|
+
case "one-population":
|
|
636
|
+
return meaning("forms", "one-population");
|
|
637
|
+
case "different-revisions":
|
|
638
|
+
return meaning("forms", "two-revisions");
|
|
639
|
+
case "nothing-measured":
|
|
640
|
+
return meaning("forms", "no-view-reported");
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* What a comparison of what two forms' readers *did* reports (0303).
|
|
645
|
+
*
|
|
646
|
+
* **The nineteenth set, and the first since the fourth to bring no condition of
|
|
647
|
+
* its own.** That is the whole of what this entry is here to say. It reports
|
|
648
|
+
* seven states and every one of them was already in the table: five from the
|
|
649
|
+
* form comparison's own pairing rule, which it imports rather than restates,
|
|
650
|
+
* one from the comparison of what readers did, and the door's quiet window.
|
|
651
|
+
*
|
|
652
|
+
* A set that brings nothing is the shape worth having, because the alternative
|
|
653
|
+
* was seven more names for seven states a surface can already print one
|
|
654
|
+
* sentence for (0240) — and `no-action-credited` arriving a second time is the
|
|
655
|
+
* evidence that the condition the action comparison declared was about the
|
|
656
|
+
* **sender** rather than about that comparison.
|
|
657
|
+
*/
|
|
658
|
+
export const meaningOfFormActionSilence = (silence) => {
|
|
659
|
+
switch (silence) {
|
|
660
|
+
case "different-pages":
|
|
661
|
+
return meaning("form-action", "two-pages");
|
|
662
|
+
case "unsplit":
|
|
663
|
+
return meaning("form-action", "two-forms-unsplit");
|
|
664
|
+
case "unattributed":
|
|
665
|
+
return meaning("form-action", "no-audience-named");
|
|
666
|
+
case "one-population":
|
|
667
|
+
return meaning("form-action", "one-population");
|
|
668
|
+
case "different-revisions":
|
|
669
|
+
return meaning("form-action", "two-revisions");
|
|
670
|
+
case "unwalked":
|
|
671
|
+
return meaning("form-action", "no-action-credited");
|
|
672
|
+
case "nothing-measured":
|
|
673
|
+
return meaning("form-action", "no-view-reported");
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* What a comparison of what two forms *say* reports (0305).
|
|
678
|
+
*
|
|
679
|
+
* **The twentieth set, and the second in a row to bring no condition of its
|
|
680
|
+
* own** — eleven states, every one of them already here. Five are the pairing
|
|
681
|
+
* rule it imports rather than restates, and the other six are the states a
|
|
682
|
+
* reading of words has been in since the fourth set: a page that says nothing,
|
|
683
|
+
* a window nobody opened, a passage reporting more readers than views, no text
|
|
684
|
+
* the two sides share, nothing either side can speak for, and a word count that
|
|
685
|
+
* is a floor.
|
|
686
|
+
*
|
|
687
|
+
* Two sets in a row bringing nothing is a stronger version of what the
|
|
688
|
+
* nineteenth said about one. These are the states of the world, and a third
|
|
689
|
+
* reading of one pair of forms over a counter nothing else compares still lands
|
|
690
|
+
* entirely on them: what a new reading brings is a figure, and only a reading
|
|
691
|
+
* that can be in a state nothing before it could reaches for a condition.
|
|
692
|
+
*/
|
|
693
|
+
export const meaningOfFormCopySilence = (silence) => {
|
|
694
|
+
switch (silence) {
|
|
695
|
+
case "different-pages":
|
|
696
|
+
return meaning("form-copy", "two-pages");
|
|
697
|
+
case "unsplit":
|
|
698
|
+
return meaning("form-copy", "two-forms-unsplit");
|
|
699
|
+
case "unattributed":
|
|
700
|
+
return meaning("form-copy", "no-audience-named");
|
|
701
|
+
case "one-population":
|
|
702
|
+
return meaning("form-copy", "one-population");
|
|
703
|
+
case "different-revisions":
|
|
704
|
+
return meaning("form-copy", "two-revisions");
|
|
705
|
+
case "wordless":
|
|
706
|
+
return meaning("form-copy", "says-nothing");
|
|
707
|
+
case "nothing-measured":
|
|
708
|
+
return meaning("form-copy", "no-view-reported");
|
|
709
|
+
case "inconsistent":
|
|
710
|
+
return meaning("form-copy", "readers-above-views");
|
|
711
|
+
case "unshared":
|
|
712
|
+
return meaning("form-copy", "nothing-carried");
|
|
713
|
+
case "unspoken":
|
|
714
|
+
return meaning("form-copy", "no-reach-reported");
|
|
715
|
+
case "floored":
|
|
716
|
+
return meaning("form-copy", "words-a-floor");
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
export const SILENCE_RELATIONS = everyMemberOf()([
|
|
720
|
+
"one-state",
|
|
721
|
+
"one-reason",
|
|
722
|
+
"unrelated",
|
|
723
|
+
]);
|
|
724
|
+
/**
|
|
725
|
+
* Hold two readings' reasons against each other.
|
|
726
|
+
*
|
|
727
|
+
* The vocabulary is deliberately not part of the comparison. Two readings that
|
|
728
|
+
* report one state are reporting one state whether or not they spell it the
|
|
729
|
+
* same, which is the whole of what this module is for.
|
|
730
|
+
*/
|
|
731
|
+
export const relateSilences = (one, other) => {
|
|
732
|
+
if (one.condition !== other.condition)
|
|
733
|
+
return "unrelated";
|
|
734
|
+
return one.subject === other.subject ? "one-state" : "one-reason";
|
|
735
|
+
};
|
|
736
|
+
/**
|
|
737
|
+
* The states a card is actually in, out of the readings on it.
|
|
738
|
+
*
|
|
739
|
+
* Takes the silences as a surface holds them — one per reading, most of them
|
|
740
|
+
* `null` on a healthy deployment — and gives back the distinct states, in the
|
|
741
|
+
* order the readings were handed over. Nulls are dropped rather than refused,
|
|
742
|
+
* because that is the shape of the call: a caller maps its readings' `silence`
|
|
743
|
+
* fields and should not have to narrow them first.
|
|
744
|
+
*
|
|
745
|
+
* Two readings that report one state collapse to one entry, and the entry keeps
|
|
746
|
+
* the **first** reading's vocabulary, so a surface that would rather print that
|
|
747
|
+
* reading's own sentence still can. Two readings that report one condition
|
|
748
|
+
* about different subjects stay as two, for the reason the relation gives.
|
|
749
|
+
*/
|
|
750
|
+
export const distinctSilences = (meanings) => meanings.reduce((kept, next) => next === null || kept.some((seen) => relateSilences(seen, next) === "one-state")
|
|
751
|
+
? kept
|
|
752
|
+
: [...kept, next], []);
|
|
753
|
+
//# sourceMappingURL=silences.js.map
|