@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,553 @@
|
|
|
1
|
+
import type { NodeId, TreeId } from "../ids.js";
|
|
2
|
+
import type { PrimitiveType } from "../primitive-type.js";
|
|
3
|
+
import type { PrimitiveRole } from "../role.js";
|
|
4
|
+
import { type ComparedAudiences } from "./audiences.js";
|
|
5
|
+
import { type CopyReading, type Passage } from "./copy.js";
|
|
6
|
+
import { type PageReading, type PartStanding } from "./parts.js";
|
|
7
|
+
/**
|
|
8
|
+
* What a change did to what a page says, and to how much of it gets read.
|
|
9
|
+
*
|
|
10
|
+
* [`copy.ts`](copy.ts) answers *this page says twelve hundred words, the average
|
|
11
|
+
* reader got to two hundred and sixty, and the three hundred nobody saw are
|
|
12
|
+
* these* — of **one window of one revision**. The sentence a change is judged
|
|
13
|
+
* by is the next one: *the words nobody read last week are read now*, or the
|
|
14
|
+
* worse one, *the three hundred words this change added are words nobody has
|
|
15
|
+
* reached.* That is the question [`change.ts`](change.ts) asks of where reading
|
|
16
|
+
* stops, asked of text instead.
|
|
17
|
+
*
|
|
18
|
+
* It is the **ninth** thing taken out of the server-side join rather than
|
|
19
|
+
* collected: nothing was added to a payload, a browser, a column, a store or
|
|
20
|
+
* the vocabulary, and the broadcaster was not touched.
|
|
21
|
+
*
|
|
22
|
+
* ## The figure that looks like the answer and is not
|
|
23
|
+
*
|
|
24
|
+
* `now.wordsByStanding.read − was.wordsByStanding.read`. It is the subtraction
|
|
25
|
+
* anybody would write first and it answers two questions at once: a change that
|
|
26
|
+
* adds four hundred words readers all reach raises it by four hundred while
|
|
27
|
+
* making the page **less** read as a share of itself. The page got longer and
|
|
28
|
+
* the reading got worse, and one number says *better*.
|
|
29
|
+
*
|
|
30
|
+
* So the unit here is **the words both revisions say**, which this calls the
|
|
31
|
+
* *carried* words. Identical text on both sides means the only thing that can
|
|
32
|
+
* differ is the reading of it, and every reader figure below is of those words
|
|
33
|
+
* alone. What the change wrote — {@link WordsWritten.added},
|
|
34
|
+
* {@link WordsWritten.removed}, {@link WordsWritten.reworded} — is reported
|
|
35
|
+
* beside them as a census of the page rather than of its readers, because it is
|
|
36
|
+
* exact: no reader is in it, so neither is any of the error every count in this
|
|
37
|
+
* subsystem carries.
|
|
38
|
+
*
|
|
39
|
+
* That census is the half worth having on its own. *The change took two hundred
|
|
40
|
+
* words away and readers had never got to a hundred and eighty of them* is the
|
|
41
|
+
* sentence that says a change was right, and
|
|
42
|
+
* {@link WordsWritten.removedByStanding} is the whole of it.
|
|
43
|
+
*
|
|
44
|
+
* ## Two reader figures, and only one of them is comparable
|
|
45
|
+
*
|
|
46
|
+
* **A standing is not.** `read` means *at least one reader reached this*
|
|
47
|
+
* (0212), so a quiet window marks parts `skipped` that a busy one marks `read`,
|
|
48
|
+
* and {@link PassageMovement} therefore moves with traffic as well as with
|
|
49
|
+
* reading. It is still the sentence a person wants — *these words were never
|
|
50
|
+
* seen and now they are* — so it is reported, named as a movement rather than
|
|
51
|
+
* as an improvement, and never divided by anything.
|
|
52
|
+
*
|
|
53
|
+
* **A share of a side's own views is.** {@link PassageSide.reach} is
|
|
54
|
+
* `readers ÷ views` off one side's own rows, so each side's straddle
|
|
55
|
+
* over-count (0147) has very nearly divided out before the two sides meet —
|
|
56
|
+
* which is [0221](../../decisions/0221-where-reading-stops-is-a-fall-between-two-siblings-and-a-ratio-of-two-counts-off-one-row-set.md)'s
|
|
57
|
+
* cancellation and
|
|
58
|
+
* [0224](../../decisions/0224-a-before-and-after-reading-compares-two-shares-and-a-pair-the-change-dissolved-is-an-answer.md)'s
|
|
59
|
+
* rule for comparing two revisions, applied to a passage rather than to a pair
|
|
60
|
+
* of siblings. {@link ComparedPassage.gain} weights that difference by the
|
|
61
|
+
* passage's words, so it reads *this passage put forty more words in front of
|
|
62
|
+
* the average reader*, and the gains add up across passages for the one reason
|
|
63
|
+
* 0235 published: a part's own words partition the page exactly once.
|
|
64
|
+
*
|
|
65
|
+
* ## Where a position matters and here it does not
|
|
66
|
+
*
|
|
67
|
+
* A passage the change **moved** is compared like any other. Nothing here
|
|
68
|
+
* divides by a depth, an index or a parent, so a band dragged to the top of the
|
|
69
|
+
* page keeps its identity and its words and the comparison is about reading
|
|
70
|
+
* them. That is the one place this reading is more forgiving than 0224's, where
|
|
71
|
+
* a sibling that moved dissolves the pair it was half of — a pair is a position
|
|
72
|
+
* by construction and a passage is not.
|
|
73
|
+
*
|
|
74
|
+
* ## What a floor can and cannot do to this
|
|
75
|
+
*
|
|
76
|
+
* A type that declares no `copy` (0122) leaves a passage short of words nothing
|
|
77
|
+
* here can see, and
|
|
78
|
+
* [0235](../../decisions/0235-how-much-of-a-page-gets-read-is-a-share-of-words-that-partition-it-and-the-typical-reader-is-a-ceiling.md)
|
|
79
|
+
* refused to publish a mean of floored words at all. One half of that refusal
|
|
80
|
+
* does not reach a comparison and the other half does, and the difference is
|
|
81
|
+
* worth being exact about:
|
|
82
|
+
*
|
|
83
|
+
* - **A single passage's {@link ComparedPassage.gain} survives a floor.** The
|
|
84
|
+
* same words are on both sides, so an understated word count scales the gain
|
|
85
|
+
* toward zero and cannot flip its sign. *At least this many words moved* is a
|
|
86
|
+
* safe claim, which is more than 0235 could say of one window.
|
|
87
|
+
* - **A passage nothing can be said about is in neither.** A carried passage
|
|
88
|
+
* whose standing is `unknown` on one side or the other has no gain and is in
|
|
89
|
+
* no mass (0282): its reach of nought is a counter that is missing rather
|
|
90
|
+
* than a reader who did not arrive, and a subtraction against it would read
|
|
91
|
+
* as the change having taken the other side's whole reach away. Its words are
|
|
92
|
+
* in `wordsByMovement` under `unknown`, where they can be seen and not acted
|
|
93
|
+
* on, and a pair with no spoken-for carried word at all is `unspoken`.
|
|
94
|
+
* - **The page's total does not.** {@link CopyChange.typical} adds signed terms
|
|
95
|
+
* that floors scale by **different** factors, so a floored passage that
|
|
96
|
+
* gained and an exact one that lost can sum to a regression where the truth
|
|
97
|
+
* is an improvement. So it is withheld under a floor, exactly as 0235
|
|
98
|
+
* withholds `typical`, and the per-passage gains are left standing.
|
|
99
|
+
*
|
|
100
|
+
* Pure, linear in the parts of the two readings, and reaches no store, clock or
|
|
101
|
+
* DOM. A caller checks `PageReading.orphaned` on both readings before trusting
|
|
102
|
+
* either, as it must before trusting either copy reading.
|
|
103
|
+
*/
|
|
104
|
+
/** Why a comparison of two windows' words answered nothing. */
|
|
105
|
+
export type CopyChangeSilence =
|
|
106
|
+
/**
|
|
107
|
+
* The two readings are of different trees.
|
|
108
|
+
*
|
|
109
|
+
* Nothing is comparable and nothing is countable: two pages are two pages,
|
|
110
|
+
* and the plausible-false-number failure here is a screen reporting that a
|
|
111
|
+
* change deleted every word of a page it was never about. Spelled as
|
|
112
|
+
* `ChangeSilence` spells it, because a surface drawing both comparisons of
|
|
113
|
+
* one change should not meet two names for one state.
|
|
114
|
+
*/
|
|
115
|
+
"different-trees"
|
|
116
|
+
/**
|
|
117
|
+
* The two readings are of two audiences, and so of two populations.
|
|
118
|
+
*
|
|
119
|
+
* Spelled and refused as `ChangeSilence` spells and refuses it (0240), and
|
|
120
|
+
* for the sharper reason here: a page is one base tree plus the deltas an
|
|
121
|
+
* audience earns (0263), so the words the other form says would be counted as
|
|
122
|
+
* words this change wrote. Both halves are withheld, the census included,
|
|
123
|
+
* because the census is the half that would look most like an answer.
|
|
124
|
+
*
|
|
125
|
+
* Refused only where both sides name an audience and the two differ; a pair
|
|
126
|
+
* spanning the migration that added the column (0284) is in
|
|
127
|
+
* {@link CopyChange.audiences} instead.
|
|
128
|
+
*/
|
|
129
|
+
| "different-audiences"
|
|
130
|
+
/** Neither revision says anything that could have been read. */
|
|
131
|
+
| "wordless"
|
|
132
|
+
/**
|
|
133
|
+
* One of the two windows holds two forms of the page and named neither.
|
|
134
|
+
*
|
|
135
|
+
* The state the before-and-after reading and the two deployment orders took
|
|
136
|
+
* the morning before (0301), in one of the three readings that record did not
|
|
137
|
+
* reach. Without it this comparison published `nothing-measured` — *one of the two windows
|
|
138
|
+
* held no page views* — of a window that held plenty: it held two forms of
|
|
139
|
+
* them. A page reading read as neither has a view floor of nought with full
|
|
140
|
+
* counters behind it (`parts.ts`), so the floor alone cannot tell a window
|
|
141
|
+
* nobody read from a window nobody split, and the two sentences send a
|
|
142
|
+
* deployment to opposite places: one to look for a broken sender, the other
|
|
143
|
+
* to split the window and read twice, which is a call away.
|
|
144
|
+
*
|
|
145
|
+
* The census of words still answers, for `wordless`'s reason and
|
|
146
|
+
* `nothing-measured`'s: what the change wrote is read off the two trees and
|
|
147
|
+
* off no counter at all, so *this change added three hundred words and took
|
|
148
|
+
* two hundred away, over a window that holds two forms* is true and is worth
|
|
149
|
+
* saying.
|
|
150
|
+
*
|
|
151
|
+
* **It cannot co-occur with `different-audiences`**, so the order between the
|
|
152
|
+
* two is not observable: `crossesAudiences` needs an audience on both sides
|
|
153
|
+
* and a mixed side has none, while a side that names one and holds two in its
|
|
154
|
+
* census reads as `one`, because an audience asked for always wins (0300).
|
|
155
|
+
* The order that does matter is **after `wordless` and before the view
|
|
156
|
+
* floor**: a page saying nothing survives the remedy, so reporting it first
|
|
157
|
+
* loses nothing, and the floor is this state's own symptom.
|
|
158
|
+
*/
|
|
159
|
+
| "audiences-mixed"
|
|
160
|
+
/**
|
|
161
|
+
* One of the two windows held no page views.
|
|
162
|
+
*
|
|
163
|
+
* Every standing on that side is `unknown` (`parts.ts`) and that side has no
|
|
164
|
+
* `reach`, so there is nothing to compare a share against. **The census still
|
|
165
|
+
* answers**, because what a change did to the words is a fact about the two
|
|
166
|
+
* trees: *this change added three hundred words and took two hundred away,
|
|
167
|
+
* and nothing has been measured since* is true and is worth saying.
|
|
168
|
+
*/
|
|
169
|
+
| "nothing-measured"
|
|
170
|
+
/**
|
|
171
|
+
* A passage reports more readers than its side of the page has views.
|
|
172
|
+
*
|
|
173
|
+
* Carried through from whichever reading said it (0235), where it is the
|
|
174
|
+
* alarm for a reading assembled by hand or by a sender that is not one. The
|
|
175
|
+
* per-passage figures are left in place rather than hidden, because a `reach`
|
|
176
|
+
* above 1 is the visible evidence and withholding it would hide the fault
|
|
177
|
+
* while leaving the screen drawable.
|
|
178
|
+
*/
|
|
179
|
+
| "inconsistent"
|
|
180
|
+
/**
|
|
181
|
+
* The change left no word of the page as it was.
|
|
182
|
+
*
|
|
183
|
+
* Every word is added, removed or reworded, so there is no carried text for a
|
|
184
|
+
* reader figure to be about. The census answers in full and is the whole of
|
|
185
|
+
* what can be said: a page rewritten end to end has no before and after of
|
|
186
|
+
* its own words, only a before and an after.
|
|
187
|
+
*/
|
|
188
|
+
| "dissolved"
|
|
189
|
+
/**
|
|
190
|
+
* Some carried passage's words are a floor, so a page-wide mean of them is
|
|
191
|
+
* neither a count nor a ceiling.
|
|
192
|
+
*
|
|
193
|
+
* The reason is in the module documentation, and it is not the reason one
|
|
194
|
+
* window has for withholding the same figure (0235): the floors scale the
|
|
195
|
+
* signed terms of the sum unequally, so the total can read as a regression
|
|
196
|
+
* where the truth is an improvement. Each passage's own
|
|
197
|
+
* {@link ComparedPassage.gain} is unaffected in sign and stays published.
|
|
198
|
+
*/
|
|
199
|
+
| "floored"
|
|
200
|
+
/**
|
|
201
|
+
* No carried word of the page can be spoken for in both windows.
|
|
202
|
+
*
|
|
203
|
+
* Every carried passage is `unknown` on one side or the other, so not one of
|
|
204
|
+
* them has two reaches that are both a measurement and there is nothing to
|
|
205
|
+
* compare. `unknown` is *nothing can be said* and never *nobody reached it*
|
|
206
|
+
* (0212), so a figure taken over nought spoken-for words would publish a
|
|
207
|
+
* change of nought where the honest answer is that the pair cannot say.
|
|
208
|
+
*
|
|
209
|
+
* The words are in {@link CopyChange.wordsByMovement} under `unknown`, which
|
|
210
|
+
* is where a surface sees how much of the page is in this state without
|
|
211
|
+
* acting on it.
|
|
212
|
+
*/
|
|
213
|
+
| "unspoken";
|
|
214
|
+
/** The closed set, for a surface that has to account for every reason a figure is absent. */
|
|
215
|
+
export declare const COPY_CHANGE_SILENCES: readonly CopyChangeSilence[];
|
|
216
|
+
/** One line per silence, for a surface saying why a figure is not there. */
|
|
217
|
+
export declare const describeCopyChangeSilence: (silence: CopyChangeSilence) => string;
|
|
218
|
+
/**
|
|
219
|
+
* What happened to the reading of one passage whose words did not change.
|
|
220
|
+
*
|
|
221
|
+
* A standing and not a rate, so it moves with how many readers there were as
|
|
222
|
+
* well as with how far they got — which is why it is named for the movement and
|
|
223
|
+
* not for the verdict. {@link ComparedPassage.gain} is the figure that is a
|
|
224
|
+
* rate.
|
|
225
|
+
*/
|
|
226
|
+
export type PassageMovement =
|
|
227
|
+
/** Reached on both sides. */
|
|
228
|
+
"held"
|
|
229
|
+
/** Nobody reached it and now somebody does, which is the sentence a change is made for. */
|
|
230
|
+
| "gained"
|
|
231
|
+
/** Somebody reached it and now nobody does. */
|
|
232
|
+
| "lost"
|
|
233
|
+
/** Nobody reached it on either side — the words a change did not fix. */
|
|
234
|
+
| "unread"
|
|
235
|
+
/**
|
|
236
|
+
* One side cannot be spoken for.
|
|
237
|
+
*
|
|
238
|
+
* Its window held no views at all, or the passage reported something other
|
|
239
|
+
* than coming into view, so `skipped` would be a claim nobody made (0212).
|
|
240
|
+
*/
|
|
241
|
+
| "unknown";
|
|
242
|
+
/** The closed set, for a surface accounting for every passage it was handed. */
|
|
243
|
+
export declare const PASSAGE_MOVEMENTS: readonly PassageMovement[];
|
|
244
|
+
/** One line per movement, for a surface putting a passage in front of a person. */
|
|
245
|
+
export declare const describePassageMovement: (movement: PassageMovement) => string;
|
|
246
|
+
/** What one window said about one passage. */
|
|
247
|
+
export type PassageSide = {
|
|
248
|
+
readonly standing: PartStanding;
|
|
249
|
+
/** Distinct page views that reported the part coming into view; `0` where no row named it. */
|
|
250
|
+
readonly readers: number;
|
|
251
|
+
/** That side's page-view floor, carried through so the share below can be checked. */
|
|
252
|
+
readonly views: number;
|
|
253
|
+
/**
|
|
254
|
+
* {@link readers} over {@link views}, and `null` where the window held none.
|
|
255
|
+
*
|
|
256
|
+
* A ceiling on the share of that window's readers who reached the passage:
|
|
257
|
+
* `reached` is generous by the page views that straddled a rollup window
|
|
258
|
+
* (0147) and `views` is a floor on the page views there were (0212), so the
|
|
259
|
+
* numerator leans up and the denominator leans down. It is the figure the two
|
|
260
|
+
* sides are compared on, because the same inflation is in both terms of each
|
|
261
|
+
* side and has very nearly divided out before the sides meet.
|
|
262
|
+
*
|
|
263
|
+
* Above 1 is the input `inconsistent` names. It is not clamped: a figure cut
|
|
264
|
+
* to fit its own ceiling is a fault made undrawable rather than visible.
|
|
265
|
+
*/
|
|
266
|
+
readonly reach: number | null;
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* One passage both revisions say, word for word, as two windows read it.
|
|
270
|
+
*
|
|
271
|
+
* The comparable unit of this module. The text is identical on both sides, so
|
|
272
|
+
* nothing here is about the page having changed and everything is about the
|
|
273
|
+
* reading of it.
|
|
274
|
+
*/
|
|
275
|
+
export type ComparedPassage = {
|
|
276
|
+
readonly nodeId: NodeId;
|
|
277
|
+
readonly type: PrimitiveType;
|
|
278
|
+
readonly role: PrimitiveRole | null;
|
|
279
|
+
/** The words, the same number on both sides because they are the same words. */
|
|
280
|
+
readonly words: number;
|
|
281
|
+
/** The text itself, so a passage can be quoted back without a second join. */
|
|
282
|
+
readonly text: readonly string[];
|
|
283
|
+
/**
|
|
284
|
+
* Whether either side's part declares no `copy`, so {@link words} is a floor.
|
|
285
|
+
*
|
|
286
|
+
* The visible words are the same on both sides; what a floor withholds is
|
|
287
|
+
* whether there are more. A side may be floored where the other is not, when
|
|
288
|
+
* a prop a type does not declare holds something on one revision and nothing
|
|
289
|
+
* on the other — so this is either side, and the figures it qualifies are
|
|
290
|
+
* qualified for both.
|
|
291
|
+
*/
|
|
292
|
+
readonly floored: boolean;
|
|
293
|
+
readonly was: PassageSide;
|
|
294
|
+
readonly now: PassageSide;
|
|
295
|
+
readonly movement: PassageMovement;
|
|
296
|
+
/**
|
|
297
|
+
* The words this passage newly put in front of the average reader:
|
|
298
|
+
* `words × (now.reach − was.reach)`.
|
|
299
|
+
*
|
|
300
|
+
* Negative where readers lost ground, and `null` where either side held no
|
|
301
|
+
* views **or either side's standing is `unknown`** (0282) — a reach of nought
|
|
302
|
+
* that is a missing counter is not a reader who did not arrive, and
|
|
303
|
+
* subtracting against it would sign the other side's whole reach as something
|
|
304
|
+
* the change did. It adds across passages — a part's own words partition the
|
|
305
|
+
* page exactly once (0235) — and the sum is {@link CopyChange.typical}'s
|
|
306
|
+
* `change`, over the same spoken-for passages.
|
|
307
|
+
*
|
|
308
|
+
* A floor on {@link words} scales it toward zero and cannot change its sign,
|
|
309
|
+
* which is why it is published where the page total is withheld.
|
|
310
|
+
*/
|
|
311
|
+
readonly gain: number | null;
|
|
312
|
+
};
|
|
313
|
+
/**
|
|
314
|
+
* One passage the change rewrote, as two windows read it.
|
|
315
|
+
*
|
|
316
|
+
* Kept and reported rather than dropped, for 0224's reason at the level of
|
|
317
|
+
* text: *the words were changed and readers still do not reach them* is the
|
|
318
|
+
* answer somebody most needs, and a comparison that silently kept only
|
|
319
|
+
* untouched text would be quietest about the passages a change was actually
|
|
320
|
+
* aimed at.
|
|
321
|
+
*
|
|
322
|
+
* No {@link ComparedPassage.gain}, because a word-weighted figure needs one
|
|
323
|
+
* word count and there are two. The standings and the reaches are each true of
|
|
324
|
+
* their own side and are carried, with the rewording as the confound a reader of
|
|
325
|
+
* them has to hold: a passage that got shorter is easier to finish, so a
|
|
326
|
+
* movement here is not attributable the way a carried passage's is.
|
|
327
|
+
*/
|
|
328
|
+
export type RewordedPassage = {
|
|
329
|
+
readonly nodeId: NodeId;
|
|
330
|
+
readonly type: PrimitiveType;
|
|
331
|
+
readonly role: PrimitiveRole | null;
|
|
332
|
+
/** The two word counts, which is why there is no single one. */
|
|
333
|
+
readonly words: {
|
|
334
|
+
readonly was: number;
|
|
335
|
+
readonly now: number;
|
|
336
|
+
};
|
|
337
|
+
/** Whether either side declares no `copy`, so its word count is a floor. */
|
|
338
|
+
readonly floored: boolean;
|
|
339
|
+
readonly was: PassageSide;
|
|
340
|
+
readonly now: PassageSide;
|
|
341
|
+
readonly movement: PassageMovement;
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* What the change did to the words themselves.
|
|
345
|
+
*
|
|
346
|
+
* **Exact.** No reader is in any of these figures, so none of them carries the
|
|
347
|
+
* straddle (0147), the view floor (0212) or the traffic sensitivity a standing
|
|
348
|
+
* has. The two trees say this between them, and a window with no views at all
|
|
349
|
+
* reports it in full.
|
|
350
|
+
*/
|
|
351
|
+
export type WordsWritten = {
|
|
352
|
+
/**
|
|
353
|
+
* Words both revisions say, word for word — the universe every reader figure
|
|
354
|
+
* here is about.
|
|
355
|
+
*/
|
|
356
|
+
readonly carried: number;
|
|
357
|
+
/** Words only the later revision says. */
|
|
358
|
+
readonly added: number;
|
|
359
|
+
/**
|
|
360
|
+
* {@link added}, by what the later window said about reaching them. The three
|
|
361
|
+
* add to {@link added}.
|
|
362
|
+
*
|
|
363
|
+
* *Of the three hundred words this change wrote, forty have been reached.* It
|
|
364
|
+
* is the one figure here that is about words nobody could have read before,
|
|
365
|
+
* so it has no comparison and needs none.
|
|
366
|
+
*/
|
|
367
|
+
readonly addedByStanding: Readonly<Record<PartStanding, number>>;
|
|
368
|
+
/** Words only the earlier revision says. */
|
|
369
|
+
readonly removed: number;
|
|
370
|
+
/**
|
|
371
|
+
* {@link removed}, by what the earlier window said about reaching them. The
|
|
372
|
+
* three add to {@link removed}.
|
|
373
|
+
*
|
|
374
|
+
* *The change took two hundred words away and nobody had reached a hundred and
|
|
375
|
+
* eighty of them* is a change that was right, and the opposite reading of the
|
|
376
|
+
* same row is the one worth stopping for.
|
|
377
|
+
*/
|
|
378
|
+
readonly removedByStanding: Readonly<Record<PartStanding, number>>;
|
|
379
|
+
/** Words of passages both revisions have and neither says the same way. */
|
|
380
|
+
readonly reworded: {
|
|
381
|
+
readonly was: number;
|
|
382
|
+
readonly now: number;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
/** A word total, before and after, with the subtraction done once. */
|
|
386
|
+
export type WordCount = {
|
|
387
|
+
readonly was: number;
|
|
388
|
+
readonly now: number;
|
|
389
|
+
readonly change: number;
|
|
390
|
+
};
|
|
391
|
+
/**
|
|
392
|
+
* What a change did to what a page says and to how much of it is read.
|
|
393
|
+
*
|
|
394
|
+
* Two readings in, one comparison out. The two {@link CopyReading}s it derives
|
|
395
|
+
* are returned, so nothing downstream computes them twice and every whole-page
|
|
396
|
+
* figure — including each side's own `share` and `typical` — is one field away
|
|
397
|
+
* without a second join.
|
|
398
|
+
*/
|
|
399
|
+
export type CopyChange = {
|
|
400
|
+
/** The earlier reading's tree. The two agree unless `silence` is `different-trees`. */
|
|
401
|
+
readonly treeId: TreeId;
|
|
402
|
+
readonly revisions: {
|
|
403
|
+
readonly was: number;
|
|
404
|
+
readonly now: number;
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* The audience each side was of, where its reading named one.
|
|
408
|
+
*
|
|
409
|
+
* As `ReadingChange.audiences` carries it, and for the same reason: a `null`
|
|
410
|
+
* on either side is why an unprovable pair of populations is compared rather
|
|
411
|
+
* than refused.
|
|
412
|
+
*/
|
|
413
|
+
readonly audiences: ComparedAudiences;
|
|
414
|
+
/** The two copy readings this comparison is made of. */
|
|
415
|
+
readonly readings: {
|
|
416
|
+
readonly was: CopyReading;
|
|
417
|
+
readonly now: CopyReading;
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Every word each revision says, counted once, and the difference.
|
|
421
|
+
*
|
|
422
|
+
* Exact on both sides and comparable without qualification, which no other
|
|
423
|
+
* pair of figures in this subsystem is: a page's words are a property of its
|
|
424
|
+
* tree and no reader is in them.
|
|
425
|
+
*/
|
|
426
|
+
readonly words: WordCount;
|
|
427
|
+
/** The census of what the change wrote, with no reader in it. */
|
|
428
|
+
readonly wrote: WordsWritten;
|
|
429
|
+
/**
|
|
430
|
+
* Every passage both revisions say identically, in the **later** reading's
|
|
431
|
+
* reading order.
|
|
432
|
+
*
|
|
433
|
+
* The later order because that is the page somebody is looking at, and a
|
|
434
|
+
* passage's place in it is where they would find it. A before-and-after of
|
|
435
|
+
* where reading stops orders its pairs by the earlier reading instead (0224),
|
|
436
|
+
* because a pair is a position by construction and cannot survive being moved;
|
|
437
|
+
* a passage can, so the two modules order their rows differently on purpose.
|
|
438
|
+
*/
|
|
439
|
+
readonly compared: readonly ComparedPassage[];
|
|
440
|
+
/** Every passage both revisions have and neither says the same way, in the later order. */
|
|
441
|
+
readonly reworded: readonly RewordedPassage[];
|
|
442
|
+
/** Every passage only the later revision has, in its reading order. */
|
|
443
|
+
readonly added: readonly Passage[];
|
|
444
|
+
/** Every passage only the earlier revision had, in the earlier reading order. */
|
|
445
|
+
readonly removed: readonly Passage[];
|
|
446
|
+
/**
|
|
447
|
+
* Carried words by what happened to the reading of them. The five add to
|
|
448
|
+
* {@link WordsWritten.carried}.
|
|
449
|
+
*/
|
|
450
|
+
readonly wordsByMovement: Readonly<Record<PassageMovement, number>>;
|
|
451
|
+
/**
|
|
452
|
+
* Carried passages by the same. The five add to {@link compared}'s length.
|
|
453
|
+
*
|
|
454
|
+
* Published beside the word totals because a count of passages **survives a
|
|
455
|
+
* floor** where a count of words does not: a part that declares no `copy` is
|
|
456
|
+
* one part whatever it is hiding. A surface that has to be right about
|
|
457
|
+
* direction under a floor reads this row.
|
|
458
|
+
*/
|
|
459
|
+
readonly passagesByMovement: Readonly<Record<PassageMovement, number>>;
|
|
460
|
+
/** Carried passages whose words are a floor, which is what `floored` counts. */
|
|
461
|
+
readonly floored: number;
|
|
462
|
+
/**
|
|
463
|
+
* The carried passages nobody reached on either side, most words first and
|
|
464
|
+
* then in the later reading order.
|
|
465
|
+
*
|
|
466
|
+
* The words a change did not fix, which is the list a person can act on
|
|
467
|
+
* without reading anything else. Ranked by words for the reason one window's
|
|
468
|
+
* reading ranks them (0235): the passage nobody saw that costs the page most is
|
|
469
|
+
* the long one, not the first one.
|
|
470
|
+
*
|
|
471
|
+
* `unread` only. A passage whose standing is `unknown` on either side is in
|
|
472
|
+
* {@link wordsByMovement} where it can be seen and not acted on, because
|
|
473
|
+
* putting it here would turn *nothing can be said* into *nobody read this*.
|
|
474
|
+
*/
|
|
475
|
+
readonly stillUnseen: readonly ComparedPassage[];
|
|
476
|
+
/**
|
|
477
|
+
* The carried words the average reader got to, before and after. `null` where
|
|
478
|
+
* {@link silence} says why not.
|
|
479
|
+
*
|
|
480
|
+
* Each side is `Σ(readers × words) ÷ views` over the carried passages **both
|
|
481
|
+
* windows can speak for** — the same arithmetic as `CopyReading.typical` and
|
|
482
|
+
* a ceiling for the same two reasons, restricted to the words both revisions
|
|
483
|
+
* say so that the page having grown or shrunk is not in it, and to the
|
|
484
|
+
* passages neither window is `unknown` about so that a part that stopped
|
|
485
|
+
* reporting is not in it either (0282). One set of passages, so it is the
|
|
486
|
+
* same set on both sides. `change` is the sum of every
|
|
487
|
+
* {@link ComparedPassage.gain}.
|
|
488
|
+
*
|
|
489
|
+
* The words left out are in {@link wordsByMovement} under `unknown`, and a
|
|
490
|
+
* pair with nothing but those gets the `unspoken` silence rather than a
|
|
491
|
+
* change of nought.
|
|
492
|
+
*
|
|
493
|
+
* Each side's own whole-page figure is on `readings.was.typical` and
|
|
494
|
+
* `readings.now.typical`, and those two are **not** comparable: a page that
|
|
495
|
+
* lost four hundred words lowers the second without anybody having read less.
|
|
496
|
+
*/
|
|
497
|
+
readonly typical: WordCount | null;
|
|
498
|
+
/**
|
|
499
|
+
* The carried passage the change put most words in front of the average
|
|
500
|
+
* reader, and `null` where none gained any.
|
|
501
|
+
*
|
|
502
|
+
* By {@link ComparedPassage.gain} — words weighted by readers — rather than by
|
|
503
|
+
* the change in `reach`, which is the ranking rule a fall between two siblings
|
|
504
|
+
* already uses (0221): a long passage a tenth of readers newly reach is worth
|
|
505
|
+
* more than a three-word label all of them do.
|
|
506
|
+
*/
|
|
507
|
+
readonly mostGained: ComparedPassage | null;
|
|
508
|
+
/** The carried passage it took most words away from, on the same terms. */
|
|
509
|
+
readonly mostLost: ComparedPassage | null;
|
|
510
|
+
/** Why there is no reader comparison, or `null` where there is one. */
|
|
511
|
+
readonly silence: CopyChangeSilence | null;
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* What one window said about one passage, as a side of a comparison.
|
|
515
|
+
*
|
|
516
|
+
* **Published rather than kept private**, for the reason `passageOf` itself is
|
|
517
|
+
* (0235): a comparison of two **forms** of one page asks the same question of
|
|
518
|
+
* the same passages as this comparison of two windows, and one projection with
|
|
519
|
+
* two spellings is two things to disagree about once a third reading arrives.
|
|
520
|
+
* The rule it carries is the whole of it — a window with no views has no reach
|
|
521
|
+
* at all, and a reach is never clamped to its own ceiling.
|
|
522
|
+
*/
|
|
523
|
+
export declare const passageSideOf: (passage: Passage, views: number) => PassageSide;
|
|
524
|
+
/**
|
|
525
|
+
* Whether both windows can say whether this passage was reached.
|
|
526
|
+
*
|
|
527
|
+
* The one test every signed figure here is taken over. A passage `unknown` on
|
|
528
|
+
* either side is in the census, in `wordsByMovement` and in no mass (0282).
|
|
529
|
+
*
|
|
530
|
+
* **Published, because a reading of a library asks the same question of the
|
|
531
|
+
* same passages** (0280) and spelled it a second way until 0287. It is read
|
|
532
|
+
* off the movement, which `movementOf` derives from the same `spokenFor` the
|
|
533
|
+
* page-scale figures use — so the two are one rule rather than two that agree.
|
|
534
|
+
*/
|
|
535
|
+
export declare const spokenForOnBothSides: (passage: ComparedPassage) => boolean;
|
|
536
|
+
/**
|
|
537
|
+
* What a change did to the words of a page and to the reading of them.
|
|
538
|
+
*
|
|
539
|
+
* Handed two `PageReading`s rather than two `CopyReading`s, for the reason
|
|
540
|
+
* `readingChangeOf` is handed two: one input per side cannot be a mismatched
|
|
541
|
+
* pair, and the census needs the parts a copy reading leaves out — a part that
|
|
542
|
+
* says nothing on one side is a word the change wrote on the other, and reading
|
|
543
|
+
* it off a filtered list would call the part new. The two copy readings it
|
|
544
|
+
* derives are returned.
|
|
545
|
+
*
|
|
546
|
+
* The labels `was` and `now` are the caller's. Nothing here checks which
|
|
547
|
+
* reading is older, so a caller holding them backwards gets a comparison with
|
|
548
|
+
* every sign reversed rather than a refusal — the same bargain 0224 struck, for
|
|
549
|
+
* the same reason: *this week against last week* is the same question with the
|
|
550
|
+
* tree held still, and refusing one order would refuse that too.
|
|
551
|
+
*/
|
|
552
|
+
export declare const copyChangeOf: (was: PageReading, now: PageReading) => CopyChange;
|
|
553
|
+
//# sourceMappingURL=copy-change.d.ts.map
|