@zodiacs/engine 1.0.0 → 2.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1244 -0
- package/LICENSING.md +172 -27
- package/NOTICE +78 -12
- package/README.md +344 -59
- package/dist/{api-WbxJ4Wj-.d.ts → api-C_SVd9BJ.d.ts} +39 -3
- package/dist/{ayanamsa--YQ46fET.d.ts → ayanamsa-Clgkekhh.d.ts} +2 -1
- package/dist/calc.d.ts +91 -4
- package/dist/calc.js +368 -126
- package/dist/chunk-CV53HA7R.js +87 -0
- package/dist/chunk-EEW7746S.js +83 -0
- package/dist/{chunk-WS3TDSP3.js → chunk-FVGA776A.js} +7 -3
- package/dist/chunk-HNVGWN3S.js +852 -0
- package/dist/chunk-I3L4POY7.js +18 -0
- package/dist/{chunk-FTX3JDJA.js → chunk-IXFUYEUF.js} +65 -29
- package/dist/{chunk-7TRLIFFI.js → chunk-LWZS7HI3.js} +1 -1
- package/dist/{chunk-CHSYDKBL.js → chunk-N4UQLCBN.js} +3 -3
- package/dist/{chunk-YIITY7Q7.js → chunk-NX4PHQBL.js} +34 -22
- package/dist/chunk-OVXQQEXL.js +41 -0
- package/dist/{chunk-SRXBTP5H.js → chunk-PNXIA7MI.js} +217 -192
- package/dist/chunk-RMBWKZI2.js +130 -0
- package/dist/{chunk-DMGHYCDI.js → chunk-SCRO6HWB.js} +5 -3
- package/dist/{chunk-OG4OYTJJ.js → chunk-T6F4FYYS.js} +1 -129
- package/dist/chunk-UXY4RU57.js +48 -0
- package/dist/{chunk-PFGUCNOK.js → chunk-WONTOC5W.js} +7 -6
- package/dist/conventions.d.ts +70 -0
- package/dist/conventions.js +26 -0
- package/dist/crossings.d.ts +15 -4
- package/dist/de440-pack.d.ts +43 -0
- package/dist/de440-pack.js +16 -0
- package/dist/de440.d.ts +113 -0
- package/dist/de440.js +19 -0
- package/dist/ephemeris-D1lM832F.d.ts +64 -0
- package/dist/geo.d.ts +28 -7
- package/dist/geo.js +2 -2
- package/dist/houses-extra.d.ts +5 -4
- package/dist/{houses-CFERsAlK.d.ts → houses-icK01yXi.d.ts} +3 -3
- package/dist/index.d.ts +8 -6
- package/dist/index.js +40 -28
- package/dist/{internal-math-DJJ8BYex.d.ts → internal-math-BGX23p4h.d.ts} +2 -2
- package/dist/internal-math.d.ts +4 -3
- package/dist/internal-math.js +14 -12
- package/dist/internal.d.ts +16 -7
- package/dist/internal.js +25 -4
- package/dist/lite-composite.js +114 -0
- package/dist/lite-declinations.js +253 -0
- package/dist/lite-dignities.js +333 -0
- package/dist/lite-sect.js +72 -0
- package/dist/lite.d.ts +82 -0
- package/dist/lite.js +4 -0
- package/dist/receipt.d.ts +3 -2
- package/dist/receipt.js +156 -67
- package/dist/{rulers-Dla6h_Sm.d.ts → rulers-CpS9qkvu.d.ts} +1 -1
- package/dist/sky.d.ts +4 -3
- package/dist/sky.js +17 -10
- package/dist/techniques.d.ts +102 -6
- package/dist/techniques.js +131 -56
- package/dist/time-bands-CZA9AlLg.d.ts +36 -0
- package/dist/time-scale-DIFNa0gz.d.ts +47 -0
- package/dist/time.d.ts +81 -0
- package/dist/time.js +74 -0
- package/dist/timing.d.ts +6 -5
- package/dist/timing.js +24 -17
- package/dist/types-BCnyWBQZ.d.ts +352 -0
- package/dist/vedic.d.ts +112 -4
- package/dist/vedic.js +369 -14
- package/dist/window.d.ts +22 -2
- package/dist/window.js +86 -28
- package/dist/{zone-history-ghdyO0Sc.d.ts → zone-history-0XzMGx9V.d.ts} +32 -10
- package/package.json +24 -3
- package/dist/types-B-yb_tGL.d.ts +0 -240
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,1249 @@
|
|
|
1
1
|
# Engine changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.2 (unreleased candidate)
|
|
4
|
+
|
|
5
|
+
The second candidate for **2.0.0**, a major release, on 1.1.0 (main at
|
|
6
|
+
`12943c1`). It is a draft for the owner's review and is not to be published
|
|
7
|
+
on npm until the owner approves it. Checks:
|
|
8
|
+
`docs/evidence/2.0.0-rc.2-20261116/`.
|
|
9
|
+
|
|
10
|
+
2.0.0-rc.1 was a draft on this same pull request (112), reviewed in draft
|
|
11
|
+
and not tagged or published: this candidate replaces it. Its review found a
|
|
12
|
+
blocker in pull request 105's check of a supplied `polar-angles` claim. The
|
|
13
|
+
fix changes `dist/`, and rc.1's archive is carried, so by the rule in
|
|
14
|
+
`artifacts/README.md` the fixed package takes a new number; rc.1's archive
|
|
15
|
+
stays, unchanged. rc.2 is rc.1 with pull request 105's fix merged into it
|
|
16
|
+
and the changes below; everything rc.1's entry says holds for rc.2 except
|
|
17
|
+
where this entry says otherwise.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- **A chart the engine flags `polar-angles` is no longer refused when passed
|
|
22
|
+
back in** (pull request 105, `522a0d6`). The engine sets the flag where
|
|
23
|
+
|latitude| ≥ 90° − (ε₀ + Δε), ε₀ the IAU 2006 mean obliquity
|
|
24
|
+
(`meanObliquity` in `src/houses.ts`, all six terms of its polynomial, up
|
|
25
|
+
to t⁵) and Δε the nutation in obliquity, both at the chart's TT. rc.1
|
|
26
|
+
allowed the flag on a supplied chart (`transits`, `synastry`,
|
|
27
|
+
`saturnReturn` and every timing, techniques and Vedic function that takes
|
|
28
|
+
a chart) and on a natal receipt where
|
|
29
|
+
|latitude| ≥ 66.55772° + 4.1227 × 10⁻¹⁵° for each millisecond from
|
|
30
|
+
J2000, ε₀'s constant and linear terms alone. The terms left out reach 16″
|
|
31
|
+
by 3999, so from 2936 on, at some phases of the nutation, a chart the
|
|
32
|
+
engine flagged at the edge of the circle was refused: `transits` threw
|
|
33
|
+
"chart flags must agree with its input and supplied house result", and its
|
|
34
|
+
natal receipt was refused as `inconsistent_result`, `createNatalEnvelope`
|
|
35
|
+
included. Both checks now allow the claim where
|
|
36
|
+
|latitude| ≥ 90° − ε₀ − 0.003°, ε₀ from the whole polynomial: a supplied
|
|
37
|
+
chart's at the TT of its input's instant, time scale and ΔT, a receipt's
|
|
38
|
+
at its instant on TT input or its instant plus its recorded ΔT on UTC or
|
|
39
|
+
UT1 input (UT1 − UTC, under a second, left out). The receipt entry keeps
|
|
40
|
+
its own copy of the polynomial, so as not to load the houses code, and a
|
|
41
|
+
test holds it to the same six coefficients. The 0.003° (10.8″) margin
|
|
42
|
+
covers Δε, which is under 10″ on every day of the ephemeris span, 0001 to
|
|
43
|
+
3998 (9.97″ at most); `docs/houses.md` gave it as under 9.3″, which was
|
|
44
|
+
wrong. Tests at 2937-03-18, 2955-09-23, 3197-09-19, 3991-10-06 and
|
|
45
|
+
3995-10-07, on both hemispheres, find by bisection the latitude at which
|
|
46
|
+
the engine starts to flag and show that chart round-tripping through
|
|
47
|
+
`transits` and a natal receipt, and a claim 0.0005° outside the allowed
|
|
48
|
+
band still refused; a ΔT pinned 95 years from its instant shows the TT is
|
|
49
|
+
the one read. They fail on rc.1 (`src/polar-angles.test.ts`,
|
|
50
|
+
`docs/houses.md`). A chart the engine flags is now accepted at every
|
|
51
|
+
instant of the ephemeris span. A claim on a chart it does not flag is held
|
|
52
|
+
to the polynomial too, which in the early centuries puts the bound up to
|
|
53
|
+
16″ further from the equator than rc.1's line, so a false claim rc.1 let
|
|
54
|
+
through in that sliver is now refused.
|
|
55
|
+
|
|
56
|
+
### Client contract
|
|
57
|
+
|
|
58
|
+
- The compute clients' contract (`clients/typescript/contracts/openapi.json`)
|
|
59
|
+
gains `"de440-unavailable"` and `"outside-de440-span"` in `ChartFlag` and
|
|
60
|
+
in the values of `BodyPosition.flags`. Both are real chart flags: the
|
|
61
|
+
ephemeris fallback flags (`EphemerisFallback`), part of the engine's
|
|
62
|
+
`ChartFlag` since 1.1.0-rc.10, which a chart computed on astronomy-engine
|
|
63
|
+
where the shipped DE440 pack was the default carries, and which a
|
|
64
|
+
`positions()` row carries as a chart at the same instant does (rc.1,
|
|
65
|
+
pull request 111). rc.1's contract named only the other two instant
|
|
66
|
+
flags. `provenance.json`'s subset hash and note and the generated
|
|
67
|
+
TypeScript and Python contracts follow. The engine's own types
|
|
68
|
+
(`InstantFlag`, `api/`) already had them.
|
|
69
|
+
|
|
70
|
+
### Documentation
|
|
71
|
+
|
|
72
|
+
- README.md: this candidate's paragraph, archive and evidence folder; under
|
|
73
|
+
*Input flag compatibility*, all eleven `ChartFlag` values, with
|
|
74
|
+
`calendar-unknown` among the four caller assertions (`dst-gap`,
|
|
75
|
+
`dst-fold`, `lmt`, `calendar-unknown`) and the seven flags a caller may
|
|
76
|
+
echo where the calculation derives them (`no-time`, `polar-fallback`,
|
|
77
|
+
`polar-angles`, `outside-reference-span`, `delta-t-extrapolated`,
|
|
78
|
+
`de440-unavailable`, `outside-de440-span`; rc.1's list named three);
|
|
79
|
+
`saturnReturn` runs one natal calculation for an asserted `polar-angles`
|
|
80
|
+
as for `polar-fallback`, and accepts the three flags it cannot check
|
|
81
|
+
without a chart unchecked.
|
|
82
|
+
- LICENSING.md: the owner's acceptance of shipping the DE440 pack, recorded
|
|
83
|
+
for 1.1.0, covers 2.0.0, which ships the same sealed pack
|
|
84
|
+
(`src/de440/` is unchanged since 1.1.0).
|
|
85
|
+
- rc.1's entry below: its `polar-angles` bullet gave the bound on a supplied
|
|
86
|
+
chart or receipt without saying which mean obliquity; it now points here.
|
|
87
|
+
- Conformance: this engine's results (`conformance/results/`, `RESULTS.md`)
|
|
88
|
+
were regenerated with the harness on Node 22.22.2 and name 2.0.0-rc.2. No
|
|
89
|
+
verdict changes (459 pass, 0 fail, 41 unsupported; on astronomy-engine
|
|
90
|
+
48 of the 240 positions pass); the 10 polar vectors whose charts fall back
|
|
91
|
+
from Placidus or Koch (`L2-POL-0001` to `0003` and `0005` to `0011`) now
|
|
92
|
+
record `polar-angles` beside `polar-fallback`, in both runs.
|
|
93
|
+
|
|
94
|
+
### Sizes and budgets
|
|
95
|
+
|
|
96
|
+
- Measured on this candidate's build
|
|
97
|
+
(`docs/evidence/2.0.0-rc.2-20261116/results/package-contents.log`), every
|
|
98
|
+
import graph is inside its budget and no budget or cap is raised. The fix
|
|
99
|
+
adds 32 bytes to the root's graph and to every graph that shares its chunk
|
|
100
|
+
(the time basis read once for both of `resolvedChart`'s checks, and
|
|
101
|
+
`meanObliquity`), and 222 to `./receipt` (its copy of the polynomial):
|
|
102
|
+
the root is 151,563 bytes of 151,700 (137 left), `./timing` 170,866 of
|
|
103
|
+
171,200, `./receipt` 76,845 of 77,400 and `./techniques` 205,247 of
|
|
104
|
+
207,300. The package beside the pack is 1,284,237 bytes unpacked
|
|
105
|
+
in 98 files, of 1,289,000 (this entry and the README's lines).
|
|
106
|
+
|
|
107
|
+
## 2.0.0-rc.1 (unreleased candidate)
|
|
108
|
+
|
|
109
|
+
The first candidate for **2.0.0**, a major release, on 1.1.0 (main at
|
|
110
|
+
`12943c1`). It is a draft for the owner's review and is not to be published
|
|
111
|
+
on npm until the owner approves it. Checks:
|
|
112
|
+
`docs/evidence/2.0.0-rc.1-20261116/`.
|
|
113
|
+
|
|
114
|
+
It carries four pull requests, merged into it with merge commits: 109 (a
|
|
115
|
+
bare birth date refused), 111 (`positions()` rows flagged), 110 (a skipped
|
|
116
|
+
calendar-switch date flagged) and 105 (angles inside the polar circle
|
|
117
|
+
flagged). The number is a major one because of 109: which input a function
|
|
118
|
+
refuses is public (`docs/versioning.md`, *Documented behaviour*), the README
|
|
119
|
+
documented a bare date as midnight UTC, and the owner decided on 2026-11-11
|
|
120
|
+
to hold the refusal for 2.0.0 (1.1.0-rc.6, below). The other three add a
|
|
121
|
+
flag value, a result field and the cases that carry them, which a minor
|
|
122
|
+
release may do.
|
|
123
|
+
|
|
124
|
+
### Breaking
|
|
125
|
+
|
|
126
|
+
- **A birth given as a calendar date with no time is refused** unless the
|
|
127
|
+
birth time is declared unknown (pull request 109). In 1.x,
|
|
128
|
+
`natalChart({ utc: "1990-05-03" })` read the date as 00:00 UTC and returned
|
|
129
|
+
a chart marked `timeKnown: true`, with a rising sign and houses for a time
|
|
130
|
+
nobody gave. Now it throws a `RangeError`. With `timeKnown: false` the
|
|
131
|
+
same date is accepted, with the `no-time` flag and no angles or houses. A
|
|
132
|
+
full instant (`"1990-05-03T00:00:00Z"`, or with an offset), a `Date` and an
|
|
133
|
+
epoch number are read exactly as before. The refusal covers every root
|
|
134
|
+
function that takes a birth (`natalChart`, `transits`, `synastry`,
|
|
135
|
+
`chartPoints`, `chartDeclinations`, and through the resolved chart the
|
|
136
|
+
timing, techniques and Vedic functions that take one), `saturnReturn` in
|
|
137
|
+
both forms (`saturnReturn("1990-05-03")` and
|
|
138
|
+
`saturnReturn({ utc: "1990-05-03" })`), and calc's `chart()` given such a
|
|
139
|
+
`time` (as a string or `{ iso }`). What to do: write the instant out
|
|
140
|
+
(`"YYYY-MM-DDT00:00:00Z"`) or pass `timeKnown: false`. Not changed: a chart
|
|
141
|
+
already built, a receipt replay, `progressedInstant` and
|
|
142
|
+
`progressedBodies`, timing's `solarArc`, calc's `houses()` and
|
|
143
|
+
`resolveLocalBirth`, which still read a bare date as the README says.
|
|
144
|
+
|
|
145
|
+
### Flags
|
|
146
|
+
|
|
147
|
+
- **`polar-angles`** (pull request 105). Every chart whose angles are inside
|
|
148
|
+
the polar circle, |latitude| ≥ 90° − ε on the true obliquity of date,
|
|
149
|
+
carries the new `ChartFlag` value `"polar-angles"`, in every house system,
|
|
150
|
+
from `natalChart`, calc's `chart()` and `houses()`; there the ascendant
|
|
151
|
+
turns half a circle twice a sidereal day. 1.1.0 warned only for Placidus
|
|
152
|
+
and Koch (`polar-fallback`). A supplied chart or natal receipt may carry
|
|
153
|
+
the flag where |latitude| ≥ 90° − ε₀ − 0.003°, ε₀ the mean obliquity of
|
|
154
|
+
its instant, may lack it there, and is refused anywhere else
|
|
155
|
+
(`docs/houses.md`; `docs/evidence/polar-angles-20261116/`). In rc.1, ε₀
|
|
156
|
+
there was its constant and linear terms alone, which refused some charts
|
|
157
|
+
the engine flagged from 2936 on; 2.0.0-rc.2 corrects it (above).
|
|
158
|
+
- **`calendar-unknown`** (pull request 110). `ChartFlag` and
|
|
159
|
+
`LocalTimeResolution["flags"]` gain `"calendar-unknown"`, a time flag a
|
|
160
|
+
caller may also assert. `resolveLocalToUtc` and the birth resolvers set it
|
|
161
|
+
when no country the Gregorian adoption table dates is given and the
|
|
162
|
+
written date, in either calendar, falls in the days one of the table's
|
|
163
|
+
changeovers skipped, for a changeover the zone does not rule out. The
|
|
164
|
+
capital zone of a tabled country follows that country's changeover alone,
|
|
165
|
+
for 12 of the 18 rows; the capital zones of the Netherlands, Switzerland,
|
|
166
|
+
Poland, Belgium, Sweden and Finland are not narrowed, since their rows'
|
|
167
|
+
notes date changeovers inside other rows' skipped days. Russia's change of
|
|
168
|
+
1918 applies only under `Europe/`, `Asia/` or a zone that names no place.
|
|
169
|
+
A country the table does not date no longer silences the flag. The flag
|
|
170
|
+
rides on the birth into the chart's flags and a receipt's `inputFlags`,
|
|
171
|
+
and a receipt refuses it on an instant outside 1582-10-04T00:00Z up to
|
|
172
|
+
1918-02-28T00:00Z, with or without a local record. The instant is never
|
|
173
|
+
changed. Greece is not in the table, since none of its three sources
|
|
174
|
+
dates its change of 1923, so a Greek date of 1923 is neither flagged nor
|
|
175
|
+
noted (`docs/time.md`; `docs/evidence/calendar-unknown-20261116/`).
|
|
176
|
+
- **`positions()` rows carry flags** (pull request 111). Each row of
|
|
177
|
+
`positions()`, `transits().positions` and `progressedBodies()` carries
|
|
178
|
+
`flags`, the flags `natalChart()` with no place gives at the same instant,
|
|
179
|
+
in the same order (`"outside-reference-span"`, `"delta-t-extrapolated"`,
|
|
180
|
+
then the ephemeris fallback), from one shared function. A row has no
|
|
181
|
+
`flags` property where the chart has none, so rows inside the span on a
|
|
182
|
+
tabulated ΔT are as before. Besides the span's ends, rows after 2027-10-02,
|
|
183
|
+
where the time basis moves from the IERS table to the ΔT model, now carry
|
|
184
|
+
`["delta-t-extrapolated"]`, as `natalChart()` there already does; code
|
|
185
|
+
that deep-compares rows or expects a fixed key set sees the new key there.
|
|
186
|
+
The root exports `InstantFlag`, the subset of `ChartFlag` an instant alone
|
|
187
|
+
determines (`docs/de440.md`; `docs/evidence/positions-span-20261116/`).
|
|
188
|
+
- **Code that switches exhaustively over `ChartFlag`** needs cases for
|
|
189
|
+
`"calendar-unknown"` and `"polar-angles"`.
|
|
190
|
+
|
|
191
|
+
### Client contract
|
|
192
|
+
|
|
193
|
+
- The compute clients' contract (`clients/typescript/contracts/openapi.json`,
|
|
194
|
+
ahead of the hosted API) gains `"calendar-unknown"` in `ChartFlag`,
|
|
195
|
+
`LocalResolution.flags` and `TimeResult.flags`, `"polar-angles"` in
|
|
196
|
+
`ChartFlag`, and an optional `flags` on `BodyPosition` with the values
|
|
197
|
+
`"outside-reference-span"` and `"delta-t-extrapolated"`, the instant flags
|
|
198
|
+
the contract's `ChartFlag` already names. `provenance.json` and the
|
|
199
|
+
generated TypeScript and Python contracts follow.
|
|
200
|
+
|
|
201
|
+
### Sizes and budgets
|
|
202
|
+
|
|
203
|
+
- Measured on this candidate's build with all four pull requests
|
|
204
|
+
(`docs/evidence/2.0.0-rc.1-20261116/results/package-contents.log`):
|
|
205
|
+
`./techniques` is 205,215 bytes, over its budget of 203,800 (the
|
|
206
|
+
zone evidence in the local-time chunk it shares with `./geo`, 109's check
|
|
207
|
+
and 111's flags): raised to 207,300. `./geo` is 36,178, over 35,700
|
|
208
|
+
(110's zone evidence and 105's flag): raised to 36,500. `./receipt` is
|
|
209
|
+
76,623, over 76,500 (the two flags' receipt checks): raised to
|
|
210
|
+
77,400. Each is the measurement and about one per cent. The package
|
|
211
|
+
beside the pack is 1,276,174 bytes unpacked in 98 files, over
|
|
212
|
+
the cap of 1,265,000 (the four changes' code and declarations, this entry
|
|
213
|
+
and the README's lines): raised to 1,289,000. None of these has the
|
|
214
|
+
owner's approval; they are for the owner to decide with the candidate
|
|
215
|
+
(`scripts/verify-package-contents.mjs`).
|
|
216
|
+
|
|
217
|
+
### Documentation
|
|
218
|
+
|
|
219
|
+
- README.md: this candidate's paragraph; the install section, which now
|
|
220
|
+
names npm's `latest`, 1.1.0, and this candidate's archive; *Resolved
|
|
221
|
+
instant inputs*, `saturnReturn`, *Uniform calculation API* and *Birth
|
|
222
|
+
settings* on the bare-date refusal; the polar paragraph on `polar-angles`;
|
|
223
|
+
the evidence folders.
|
|
224
|
+
- `docs/calc.md`, `docs/de440.md`, `docs/houses.md` and `docs/time.md` name
|
|
225
|
+
2.0.0 where they said "the release after 1.1.0".
|
|
226
|
+
|
|
227
|
+
## 1.1.0 (2026-11-16)
|
|
228
|
+
|
|
229
|
+
A minor release: 1.1.0-rc.13 with the version changed. Checks:
|
|
230
|
+
`docs/evidence/1.1.0-20261116/`.
|
|
231
|
+
|
|
232
|
+
- **What 1.1.0 is over 1.0.0.** The entries below, 1.1.0-rc.1 to
|
|
233
|
+
1.1.0-rc.13, are its history, and a caller moving from 1.0.0 reads them.
|
|
234
|
+
The largest change: a plain call computes on a DE440 pack the package
|
|
235
|
+
ships, for 1790 to 2210, in place of astronomy-engine, so positions inside
|
|
236
|
+
those years move by the difference between the two ephemerides. Measured
|
|
237
|
+
on JPL's kernel at noon TT on each day from 1800 to 2199, the largest is
|
|
238
|
+
29.19 arcseconds of ecliptic longitude for the Sun, the Moon and the
|
|
239
|
+
planets (Pluto, still growing at the end of the span) and 32.64 for the
|
|
240
|
+
true node; 1790 to 1799 and 2200 to 2209 were not swept, so these are the
|
|
241
|
+
largest measured, not a bound for the pack's whole span (1.1.0-rc.10,
|
|
242
|
+
below). `setDefaultEphemeris("astronomy-engine")`
|
|
243
|
+
gives 1.0.0's positions. On the pack a plain `natalChart` is within 1
|
|
244
|
+
arcsecond of JPL Horizons (DE441) at all 240 position vectors of the
|
|
245
|
+
conformance suite, 24 instants from 1851 to 2148
|
|
246
|
+
(`src/de440-default.test.ts`).
|
|
247
|
+
- **No code or value changes from 1.1.0-rc.13.** The only change under
|
|
248
|
+
`src/` is the version string (`ENGINE_VERSION`, the two tests and the
|
|
249
|
+
fixture that hold it), and `dist/` is rc.13's but for that string
|
|
250
|
+
(`docs/evidence/1.1.0-20261116/`).
|
|
251
|
+
- **The DE440 pack, accepted by the owner.** `LICENSING.md` held shipping the
|
|
252
|
+
pack, which rests on the owner's reading that DE440 is JPL's public data,
|
|
253
|
+
as an open question to be accepted by the owner in writing before
|
|
254
|
+
publication. On 2026-11-16 the owner answered, in writing, the question "Do
|
|
255
|
+
you accept shipping the NASA DE440 data in 1.1.0?" with "Yes. I delegate
|
|
256
|
+
these decisions to you." `LICENSING.md` now records that answer. Its three
|
|
257
|
+
other open questions (IERS EOP 20 C04, the CDS star values, Reid and
|
|
258
|
+
Brunthaler's two values) are as they were at 1.0.0. It also now names the
|
|
259
|
+
versions in its note on the licence field: 0.1.1-rc.8 to 0.1.1-rc.13
|
|
260
|
+
declared `MIT` alone, and 0.1.1-rc.14 corrected it.
|
|
261
|
+
- **The size budgets raised in 1.1.0-rc.12, approved.** rc.12 raised nine
|
|
262
|
+
import-graph budgets by about one per cent and the package cap from
|
|
263
|
+
1,245,000 to 1,265,000 bytes beside the pack, for the owner to decide with
|
|
264
|
+
the candidate. The maintainer approved them on 2026-11-16, after the
|
|
265
|
+
owner's written answer above delegated the release's decisions, and they
|
|
266
|
+
stand as rc.12 set them.
|
|
267
|
+
- **README.md.** The version line; the install section, which named
|
|
268
|
+
1.1.0-rc.10's archive, now gives `npm install @zodiacs/engine` and this
|
|
269
|
+
release's archive; the list of drafts; the unpacked size; the evidence
|
|
270
|
+
folders.
|
|
271
|
+
- **Conformance results.** Run again on Node 22.22.2: the verdicts are
|
|
272
|
+
rc.13's, and the results now name 1.1.0.
|
|
273
|
+
|
|
274
|
+
## 1.1.0-rc.13 (unreleased candidate)
|
|
275
|
+
|
|
276
|
+
The candidate for **1.1.0**, a minor release: 1.1.0-rc.12 with its
|
|
277
|
+
documentation corrected and nothing else. It is a draft for the owner, and is
|
|
278
|
+
not to be published on npm until the owner approves it. Checks:
|
|
279
|
+
`docs/evidence/1.1.0-rc.13-20261115/`.
|
|
280
|
+
|
|
281
|
+
1.1.0-rc.12 was a draft on this same pull request (101), reviewed with no
|
|
282
|
+
blocker and not tagged or published: this candidate replaces it. The
|
|
283
|
+
corrections below change `README.md`, `CHANGELOG.md`, `LICENSING.md` and
|
|
284
|
+
`NOTICE`, which the package holds, and rc.12's archive is carried, so by the
|
|
285
|
+
rule in `artifacts/README.md` the corrected package takes a new number. The
|
|
286
|
+
code is rc.12's: the only change under `src/` is the version string
|
|
287
|
+
(`ENGINE_VERSION`, and the tests and fixture that hold it), and `dist/` is
|
|
288
|
+
rc.12's but for that string (`docs/evidence/1.1.0-rc.13-20261115/`). No
|
|
289
|
+
position, bound, flag or size budget changes.
|
|
290
|
+
|
|
291
|
+
- **Credit to NASA JPL for the rule behind the Sun's disc.** The pack bends
|
|
292
|
+
no light from a planet behind the Sun's disc because that is what NASA
|
|
293
|
+
JPL's Horizons system does, and its radius of the Sun, 695,700 km, is
|
|
294
|
+
Horizons's (1.1.0-rc.12, below). `NOTICE`, `LICENSING.md` and the README
|
|
295
|
+
now say so and credit NASA JPL for the convention. Horizons's responses
|
|
296
|
+
were the arbiter it was measured against; no Horizons response is in the
|
|
297
|
+
package.
|
|
298
|
+
- **At the Sun's limb, said exactly.** rc.12's entry below and
|
|
299
|
+
`docs/de440.md` gave the pack as within 0.0005 arcseconds of Horizons
|
|
300
|
+
within 3 arcseconds of the limb. That holds only where both put the planet
|
|
301
|
+
on the same side of the limb. Within a second or two of a limb crossing
|
|
302
|
+
they can put it on different sides and then differ by the step at the
|
|
303
|
+
limb: the rc.12 review found 4 such instants of 50, 1.4732 to 1.6956
|
|
304
|
+
arcseconds apart, inside the 1.8 that `calc()` quotes there
|
|
305
|
+
(`docs/evidence/1.1.0-rc.12-20261115/breaker/BREAKER.md`, should-fix 3).
|
|
306
|
+
ERFA's `eraLdsun` figure is 5.76 arcseconds (5.761255 in the evidence),
|
|
307
|
+
not 5.77.
|
|
308
|
+
- **A longitude search at the limb step, documented.** For a planet whose
|
|
309
|
+
longitude steps back at the limb, a target longitude within the step is
|
|
310
|
+
crossed three times, and `searchLongitudeCrossings` and calc's `events()`
|
|
311
|
+
return one of them, the last, with a complete status
|
|
312
|
+
(`docs/evidence/1.1.0-rc.12-20261115/breaker/BREAKER.md`, should-fix 2).
|
|
313
|
+
`docs/de440.md` now says so. The search is unchanged.
|
|
314
|
+
- **rc.11's Neptune figure, marked as rc.11's.** The 1.1.0-rc.11 entry gave
|
|
315
|
+
33.37 arcseconds for Neptune near the Sun as the size of the change; that
|
|
316
|
+
came from rc.11's bending behind the disc, which rc.12 removed. The entry
|
|
317
|
+
now says so and no longer reads as a property of this package.
|
|
318
|
+
- **The near-Sun evidence names its build.** The rows in
|
|
319
|
+
`docs/evidence/1.1.0-rc.12-20261115/near-sun/` record the engine version
|
|
320
|
+
`1.1.0-rc.11`: they were run on rc.12's source before its version string
|
|
321
|
+
was raised. The rc.12 review recomputed all 6,720 rows on the installed
|
|
322
|
+
rc.12 archive and found them identical to the bit (should-fix 1); that
|
|
323
|
+
evidence's README now says so. rc.13's code is rc.12's, so they hold for
|
|
324
|
+
this candidate too.
|
|
325
|
+
- **Not changed.** The size of the change from earlier releases stays as
|
|
326
|
+
measured: up to 29.19 arcseconds of ecliptic longitude for the Sun, the
|
|
327
|
+
Moon and the planets and 32.64 for the true node at noon TT on each day
|
|
328
|
+
from 1800 to 2199 (1.1.0-rc.10, below). No larger round figure is given.
|
|
329
|
+
The size budgets rc.12 raised are as rc.12 left them, for the owner to
|
|
330
|
+
decide with the candidate.
|
|
331
|
+
|
|
332
|
+
## 1.1.0-rc.12 (unreleased candidate)
|
|
333
|
+
|
|
334
|
+
The candidate for **1.1.0**, a minor release: 1.1.0-rc.11 with the place of
|
|
335
|
+
a planet behind the Sun's disc made JPL Horizons's, the dense sweep's check
|
|
336
|
+
on the default source restored, and two more root results labelled. It is a
|
|
337
|
+
draft for the owner, and is not to be published on npm until the owner
|
|
338
|
+
approves it. Checks: `docs/evidence/1.1.0-rc.12-20261115/`.
|
|
339
|
+
|
|
340
|
+
1.1.0-rc.11 was a draft on this same pull request (101), reviewed and not
|
|
341
|
+
tagged or published: this candidate replaces it. Its archive stays in
|
|
342
|
+
`artifacts/`, as every carried archive does (`artifacts/README.md`), which is
|
|
343
|
+
why this cut has a new number. Everything below is against 1.1.0-rc.11.
|
|
344
|
+
|
|
345
|
+
- **No light deflection behind the Sun's disc, as JPL Horizons.** The
|
|
346
|
+
pack's reduction bent a planet's light by the Sun with the form of ERFA's
|
|
347
|
+
`eraLd` and a limiter of 1e-14, so behind the Sun's disc the deflection
|
|
348
|
+
grew towards the centre without limit, and the default place was far from
|
|
349
|
+
Horizons's: the rc.11 review measured 307.9 arcseconds for Mercury on
|
|
350
|
+
1954-05-08, 195.5 for Uranus on 2029-06-04, 56.3 for Jupiter on
|
|
351
|
+
2032-01-01, where `calc()` quoted 0.0037. Horizons applies the deflection
|
|
352
|
+
outside the disc and none inside it: its places at three passages, every
|
|
353
|
+
15 minutes for a day, are the kernel's with the deflection outside the
|
|
354
|
+
disc and without it inside, to the change at the limb. Now the reduction
|
|
355
|
+
bends no light from a planet farther than the Sun whose direction is within
|
|
356
|
+
the Sun's apparent radius of the Sun's (R = 695,700 km, Horizons's).
|
|
357
|
+
Measured against Horizons at every passage of Mercury to Pluto behind the
|
|
358
|
+
Sun from 1800 to 2199 (393 passages, 3,490 instants inside the disc, 66
|
|
359
|
+
within 3 arcseconds of the limb, 3,164 outside it), as the planet's
|
|
360
|
+
offset from the Sun, which takes out the two frames' difference: within
|
|
361
|
+
0.0023 arcseconds inside the disc and 0.0047 outside, where the 0.0047 is
|
|
362
|
+
the comparison's own remainder (a reduction of `de440.bsp` with the same
|
|
363
|
+
rule gives it too, and the pack is within 0.0038 of that reduction at all
|
|
364
|
+
6,720 instants). Within 3 arcseconds of the limb the two agree to 0.0005
|
|
365
|
+
only where both put the planet on the same side of it, as at all 66 of
|
|
366
|
+
those instants here; within a second or two of a limb crossing they can
|
|
367
|
+
put it on different sides, and then differ by the step at the limb: the
|
|
368
|
+
rc.12 review found 4 such instants of its 50 in that band, 1.4732 to
|
|
369
|
+
1.6956 arcseconds apart (`docs/evidence/1.1.0-rc.12-20261115/breaker/BREAKER.md`,
|
|
370
|
+
should-fix 3), inside the 1.8 that `calc()` quotes there. The formula of
|
|
371
|
+
rc.11, reduced from `de440.bsp`, is up to 333.48 arcseconds from Horizons
|
|
372
|
+
inside the disc (Mercury), and ERFA's `eraLdsun` limiter, which tapers the
|
|
373
|
+
deflection inside about 0.08 degrees, up to 5.76 (Uranus): which is why
|
|
374
|
+
the candidate follows Horizons and not `eraLdsun`
|
|
375
|
+
(`docs/evidence/1.1.0-rc.12-20261115/near-sun/`; [docs/de440.md](docs/de440.md),
|
|
376
|
+
*Behind the Sun's disc*). What changes: the apparent place of Mercury to
|
|
377
|
+
Pluto while behind the disc, in `natalChart()`, `positions()`, `calc()`
|
|
378
|
+
and everything built on them. Elsewhere nothing changes, bit for bit:
|
|
379
|
+
`positions()` of this build and of the carried rc.11 archive, at 20,000
|
|
380
|
+
pseudo-random instants from 1800 to 2199 and the 6,720 near-Sun ones,
|
|
381
|
+
differ in 3,583 of 320,640 rows, each a planet behind the disc
|
|
382
|
+
(`docs/evidence/1.1.0-rc.12-20261115/results/unchanged.json`); the 2026 Sagittarius ingress
|
|
383
|
+
is 2026-11-22T07:23:21 UTC to the second on every default-path search
|
|
384
|
+
(`src/de440-ingress.test.ts`). At the limb the place steps by the
|
|
385
|
+
deflection there, at most 4GM/c²R = 1.7512 arcseconds; Horizons's edge was
|
|
386
|
+
found 0.06 to 0.17 arcseconds inside the engine's at five limb crossings,
|
|
387
|
+
so within 3 arcseconds of the limb `calc()` quotes 1.8 arcseconds,
|
|
388
|
+
estimated (`DE440_AT_LIMB`). A speed's two samples (±0.001 day) take the
|
|
389
|
+
decision of the instant the speed is for, so a speed is the rate of the
|
|
390
|
+
place on that side and never the step over 0.002 day (1.7512 arcseconds
|
|
391
|
+
over 0.002 day is 876 arcseconds a day; `src/de440-behind-sun.test.ts`):
|
|
392
|
+
`place(body, ttDays, behind?)` of a source returns `behindDisc` and takes
|
|
393
|
+
`behind`, both optional, both new. The calc convention id is now
|
|
394
|
+
`deflection:sun-outside-disc` (rc.10 and rc.11 wrote `deflection:sun`).
|
|
395
|
+
The reduction is no longer the research runtime's operation for operation:
|
|
396
|
+
zodiacs.org's check C9 will find the two apart for a planet behind the
|
|
397
|
+
disc, and in a speed within 0.001 day of a limb crossing.
|
|
398
|
+
- **The birth-time window search near the Sun.** rc.10 raised a planet's
|
|
399
|
+
rate bound near the Sun by the inverse square of its elongation and
|
|
400
|
+
compared single milliseconds within 0.01° of the Sun's centre, because the
|
|
401
|
+
deflection grew there. Behind the disc there is none now, so that raise is
|
|
402
|
+
gone: within a degree of the Sun in longitude the search takes the
|
|
403
|
+
deflection as a displacement of at most 1.8 arcseconds, as it takes the
|
|
404
|
+
true node's jitter (`Sky.bend` in `src/window.ts`). The rate scan on the
|
|
405
|
+
pack (`docs/evidence/1.1.0-rc.12-20261115/window/`) finds every bound
|
|
406
|
+
held with its margin, bound over largest rate plus what the grid can miss
|
|
407
|
+
1.634 to 2.057 (rc.10: 0.395 for Neptune, 1.455 for Uranus, 1.480 for
|
|
408
|
+
Saturn).
|
|
409
|
+
- **The dense sweep checks the default source again.** From rc.11 the
|
|
410
|
+
workflow swept astronomy-engine only. It now also sweeps the pack
|
|
411
|
+
(`engine_sweep.mjs --ephemeris de440`) against the kernel's place with the
|
|
412
|
+
Sun's deflection, none behind the disc, and a new job, *Sweep results on
|
|
413
|
+
the DE440 pack*, holds every body's largest angle to
|
|
414
|
+
`src/calc-bounds-de440.ts` (`check_pack.py`). The astronomy-engine run and
|
|
415
|
+
its check against `src/calc-bounds.ts` are as they were. Run on this
|
|
416
|
+
build over the 146,097 days: every body but the Moon within 0.0040
|
|
417
|
+
arcseconds of the kernel (largest 0.003948), the Moon within 0.0045
|
|
418
|
+
(0.004422), near the Sun too, where rc.11 was up to 17.308.
|
|
419
|
+
- **The pack's position bounds cover the dense sweep.** They were the
|
|
420
|
+
largest angle from Horizons at the 240 L1 vectors alone, 0.0034 to 0.0038
|
|
421
|
+
arcseconds for the Sun and the planets; the sweep finds up to 0.00395
|
|
422
|
+
(the engine's IAU 2000B nutation against ERFA's 2000A in the frames of
|
|
423
|
+
date). Each is now the larger of the two, rounded up: the Moon 0.013,
|
|
424
|
+
Saturn 0.0039, every other body 0.0040 (`src/calc-bounds-de440.test.ts`
|
|
425
|
+
holds both).
|
|
426
|
+
- **No silent fallback in `chartPoints` and `chartDeclinations`.** Given a
|
|
427
|
+
birth they computed the chart themselves and their results named no
|
|
428
|
+
ephemeris and carried no flag, so with the pack damaged, or at 1750 or
|
|
429
|
+
2230, they returned astronomy-engine's values and said nothing. Both
|
|
430
|
+
results now carry `ephemeris` (the chart's: `{ name: "jpl-de440", version }`
|
|
431
|
+
or astronomy-engine's; null for a supplied chart that names none) and
|
|
432
|
+
`flags` (the chart's `"de440-unavailable"` or `"outside-de440-span"`),
|
|
433
|
+
given a birth or a chart (`src/ephemeris-fallback-root.test.ts`, and the
|
|
434
|
+
packed-consumer check with the pack removed, damaged and undecodable). No
|
|
435
|
+
other export that reads positions was found without a label (the sweep of
|
|
436
|
+
every entry point's exports is in the evidence).
|
|
437
|
+
- **`saturnReturn` names astronomy-engine wherever its flags hold a
|
|
438
|
+
fallback.** A search that began on the pack and ran past its end named
|
|
439
|
+
`jpl-de440` beside `"outside-de440-span"`.
|
|
440
|
+
- **What names its ephemeris, said exactly.** `docs/de440.md` said every
|
|
441
|
+
result names its ephemeris; the timing and vedic results,
|
|
442
|
+
`moonSignCandidates` and `searchLongitudeCrossings` carry the fallback
|
|
443
|
+
flags and name none. It now lists which do which.
|
|
444
|
+
- **Sizes.** The root entry's import graph is 150,170 bytes beside the pack,
|
|
445
|
+
2,034 more than rc.11's (the disc rule, the labels, a speed's side of the
|
|
446
|
+
disc), over its budget of 149,400: raised to 151,700. Eight graphs that
|
|
447
|
+
share the root's chunks go over theirs with it and are raised the same
|
|
448
|
+
way, to the measurement and about one per cent: `./calc` 202,042 to
|
|
449
|
+
204,100, `./window` 149,947 to 151,500, `./timing` 169,473 to 171,200,
|
|
450
|
+
`./vedic` 185,205 to 187,100, `./sky` 137,224 to 138,600, `./internal`
|
|
451
|
+
109,770 to 110,900, `./de440` 53,988 to 54,600 and `./de440/pack` 55,208
|
|
452
|
+
to 55,800. The package beside the pack is 1,253,195 bytes unpacked, over
|
|
453
|
+
the cap of 1,245,000 (this entry, the README's lines and the code): raised
|
|
454
|
+
to 1,265,000. None of these has the owner's approval; they are for the
|
|
455
|
+
owner to decide with the candidate (`scripts/verify-package-contents.mjs`).
|
|
456
|
+
- **`docs/calc.md` on the deflection.** It said an apparent place has no
|
|
457
|
+
deflection and that `SEFLG_NOGDEFL` is always so, which is astronomy-engine's
|
|
458
|
+
case only; the pack's apparent place has it. `flags.deflection` is a request
|
|
459
|
+
(`true` is refused) and a receipt echoes it as given; the conventions say
|
|
460
|
+
what was applied.
|
|
461
|
+
|
|
462
|
+
## 1.1.0-rc.11 (unreleased candidate)
|
|
463
|
+
|
|
464
|
+
The candidate for **1.1.0**, a minor release: 1.1.0-rc.10 with every
|
|
465
|
+
techniques result labelled, the dense DE440 sweep's check fixed, and the
|
|
466
|
+
size of the change to positions said exactly. It is a draft for the owner,
|
|
467
|
+
and is not to be published on npm until the owner approves it. Checks:
|
|
468
|
+
`docs/evidence/1.1.0-rc.11-20261115/`.
|
|
469
|
+
|
|
470
|
+
1.1.0-rc.10 was a draft on this same pull request (101), reviewed and not
|
|
471
|
+
tagged or published: this candidate replaces it. Its archive stays in
|
|
472
|
+
`artifacts/`, as every carried archive does (`artifacts/README.md`), which is
|
|
473
|
+
why this cut has a new number. Everything below is against 1.1.0-rc.10.
|
|
474
|
+
|
|
475
|
+
- **No silent fallback in `@zodiacs/engine/techniques` either.** In
|
|
476
|
+
1.1.0-rc.10 ten of its functions returned astronomy-engine's answer
|
|
477
|
+
with no flag and no ephemeris name where the shipped DE440 pack could not
|
|
478
|
+
be opened or the instant was outside it. Now each result says so, with the
|
|
479
|
+
names and flags the rest of the package uses (`ephemeris`
|
|
480
|
+
`{ name: "jpl-de440", version }` or astronomy-engine's; `flags`
|
|
481
|
+
`"de440-unavailable"` or `"outside-de440-span"`, after
|
|
482
|
+
`"outside-reference-span"`; the caller's own choice of astronomy-engine
|
|
483
|
+
named and not flagged):
|
|
484
|
+
- new fields `ephemeris` and `flags` on `voidOfCourseAt`'s result, on
|
|
485
|
+
`compositeChart`'s (`ephemeris` null where the two charts do not name
|
|
486
|
+
one and the same) and on `chartAspectPatterns`'s, now typed
|
|
487
|
+
`ChartAspectPatterns` (`AspectPatterns` with the two fields;
|
|
488
|
+
`aspectPatterns` is unchanged);
|
|
489
|
+
- the same two fields on each element of `moonIngresses`,
|
|
490
|
+
`moonAspects` and `voidOfCourseWindows` (and a window's `lastAspect`),
|
|
491
|
+
each labelled by the positions it was found from, so a list that runs
|
|
492
|
+
past an end of the pack labels each side;
|
|
493
|
+
- new functions for those that return a bare value, which cannot carry a
|
|
494
|
+
label: `solarReturnInstantDetailed`,
|
|
495
|
+
`mostRecentSolarReturnInstantDetailed`, `lunarReturnInstantDetailed` and
|
|
496
|
+
`moonSignsBetweenDetailed` take the same arguments as the plain function
|
|
497
|
+
and return `{ value, ephemeris, flags }` (new type `DetailedResult`),
|
|
498
|
+
`value` being the plain function's result; the plain functions are
|
|
499
|
+
unchanged. `./internal` has `bodyLongitudeDetailed` and
|
|
500
|
+
`longitudeSpeedDetailed` beside `bodyLongitude` and `longitudeSpeed`.
|
|
501
|
+
`findLongitudeCrossings` keeps `searchLongitudeCrossings` as its labelled
|
|
502
|
+
form. New types `TechniqueEphemeris`, `ChartAspectPatterns`,
|
|
503
|
+
`DetailedResult`. No signature or existing field changes.
|
|
504
|
+
Tests: `src/ephemeris-fallback-techniques.test.ts` (each of the twelve,
|
|
505
|
+
with the pack whole, damaged, and outside it at 1750 and 2230, and after
|
|
506
|
+
the caller's choice), and the packed-consumer check, which now also
|
|
507
|
+
checks a techniques `Date` through its detailed form, its objects and a
|
|
508
|
+
list's elements on the installed package with the pack removed, damaged
|
|
509
|
+
and undecodable.
|
|
510
|
+
- **The size of the change to positions, said exactly.** The 29 arcseconds
|
|
511
|
+
of 1.1.0-rc.10's first line are the largest difference at noon TT on each
|
|
512
|
+
of the 146,097 days the sweep read, not a limit. In this candidate a
|
|
513
|
+
planet passing behind the Sun moved more, because its pack bent the
|
|
514
|
+
planet's light by the Sun behind the disc too
|
|
515
|
+
(`docs/evidence/1.1.0-rc.11-20261115/results/near-sun.json` has the figures
|
|
516
|
+
measured on this build). That no longer holds: from 1.1.0-rc.12 the pack
|
|
517
|
+
bends no light behind the disc (1.1.0-rc.12, above), and outside it the
|
|
518
|
+
bending is at most 1.7512 arcseconds, at the limb.
|
|
519
|
+
- **The dense DE440 sweep measures what its table holds.**
|
|
520
|
+
`src/calc-bounds.ts` holds the bounds `calc()` quotes for astronomy-engine's
|
|
521
|
+
results (on the pack it quotes `src/calc-bounds-de440.ts`), but from
|
|
522
|
+
1.1.0-rc.10, when `calc()`'s default became the pack, the sweep's engine
|
|
523
|
+
side measured the pack's apparent places and its check compared them with
|
|
524
|
+
astronomy-engine's limits, and with an arbiter that leaves out the light
|
|
525
|
+
deflection the pack applies. Its workflow failed on 1.1.0-rc.10 (run
|
|
526
|
+
43618467433: the rates of Mercury to Pluto hundreds of arcseconds a day
|
|
527
|
+
over, at the days a planet passed behind the Sun). The sweep's engine side
|
|
528
|
+
now names the source it runs on (`--ephemeris`, astronomy-engine for the
|
|
529
|
+
table), refuses a result another source computed, and compares a run on
|
|
530
|
+
the pack with the kernel's place with the deflection; the table's tools
|
|
531
|
+
refuse a run on the pack. Run with the fixed tools on 1.1.0-rc.10's head,
|
|
532
|
+
whose position code this candidate keeps, over the same 146,097 instants,
|
|
533
|
+
the engine's values on astronomy-engine are the same bytes as 1.1.0-rc.3's
|
|
534
|
+
committed sweep in all eight eras, and every largest difference is within
|
|
535
|
+
the limit the table quotes, so `src/calc-bounds.ts` is unchanged
|
|
536
|
+
(`docs/evidence/1.1.0-rc.11-20261115/sweep/`). The workflow's run on this
|
|
537
|
+
candidate's head is the measurement of this build. The pack's own bounds
|
|
538
|
+
are still the 240 L1 vectors' (`src/calc-bounds-de440.ts`).
|
|
539
|
+
- **PR 102's flag on the pack.** `src/calc-delta-t-de440.test.ts` holds the
|
|
540
|
+
`"delta-t-extrapolated"` flag and the widened bound on the pack, as
|
|
541
|
+
`src/calc-delta-t.test.ts` does on astronomy-engine.
|
|
542
|
+
- **Sizes.** The techniques entry's import graph is 201,294 bytes, 3,483
|
|
543
|
+
more than 1.1.0-rc.10's, over its budget of 199,900: raised to 203,800.
|
|
544
|
+
The package beside the pack is 1,238,281 bytes unpacked, over the cap of
|
|
545
|
+
1,225,000 (this entry and the README's lines, and the labels): raised to
|
|
546
|
+
1,245,000. Neither has the owner's approval; both are for the owner to
|
|
547
|
+
decide with the candidate (`scripts/verify-package-contents.mjs`).
|
|
548
|
+
|
|
549
|
+
## 1.1.0-rc.10 (unreleased candidate)
|
|
550
|
+
|
|
551
|
+
The candidate for **1.1.0**, a minor release: the DE440 default of
|
|
552
|
+
1.1.0-rc.9, now under every function, and a fallback that is never silent.
|
|
553
|
+
It contains 1.1.0-rc.7 and 1.1.0-rc.9, and the far-future ΔT warning of pull
|
|
554
|
+
request 102 (ZOD-65). It is a draft for the owner, and is not to be published
|
|
555
|
+
on npm until the owner approves it. Checks:
|
|
556
|
+
`docs/evidence/1.1.0-rc.10-20261114/`.
|
|
557
|
+
|
|
558
|
+
1.1.0-rc.9 was a draft on this same pull request (101). It was superseded
|
|
559
|
+
before review and was never tagged or published: this candidate replaces it.
|
|
560
|
+
Its archive stays in `artifacts/`, as every carried archive does, because a
|
|
561
|
+
version names one byte sequence and an archive is never repacked
|
|
562
|
+
(`artifacts/README.md`); that is why this cut has a new number.
|
|
563
|
+
|
|
564
|
+
- **Default positions move to DE440, and can shift by up to 29 arcseconds
|
|
565
|
+
for the Sun, the Moon and the planets (33 for the true node).** From
|
|
566
|
+
1.1.0-rc.9 `natalChart()`, `positions()` and the functions built on them
|
|
567
|
+
compute on the shipped DE440 pack; from this candidate `calc()`, `chart()`,
|
|
568
|
+
`events()` and `birthWindow()` do too, so every function gives the same
|
|
569
|
+
position for the same instant. Against 1.1.0-rc.7 and every release before
|
|
570
|
+
it, which computed on astronomy-engine, a position inside 1790 to 2210
|
|
571
|
+
changes by the difference between the two ephemerides. The largest
|
|
572
|
+
differences measured, astronomy-engine's apparent place against DE440 at
|
|
573
|
+
noon TT on each of the 146,097 days from 1800-01-01 to 2199-12-31
|
|
574
|
+
(`docs/evidence/de440-sweep-20261111/`), in arcseconds of ecliptic
|
|
575
|
+
longitude of date: Pluto 29.19 (on 2199-12-31, and still growing), Venus
|
|
576
|
+
22.92, Neptune 19.71, Mars 14.32, Mercury 14.12, Saturn 13.10, Uranus
|
|
577
|
+
12.09, the Moon 11.92, Jupiter 10.64, the Sun 2.39; and the true node
|
|
578
|
+
32.64, which is more than 29. As a whole angle the largest is Pluto's,
|
|
579
|
+
29.86. The sweep read JPL's kernel, not the pack, whose places are within
|
|
580
|
+
0.0016 arcseconds of the kernel's and whose true node is within 0.84
|
|
581
|
+
(`docs/evidence/de440-20261110/pack-accuracy.json`); the years 1790 to
|
|
582
|
+
1799 and 2200 to 2209 were not swept. Signs, houses near a cusp, aspects
|
|
583
|
+
near their orb, speeds, and ingress and return times move with the
|
|
584
|
+
positions: the Moon's 12 arcseconds are about 20 seconds of its motion.
|
|
585
|
+
Mars to Pluto become planetary-system barycentres.
|
|
586
|
+
`setDefaultEphemeris("astronomy-engine")` gives the earlier values at
|
|
587
|
+
every instant.
|
|
588
|
+
- **`calc()`, `chart()`, `events()` and `birthWindow()` on DE440.** In
|
|
589
|
+
1.1.0-rc.9 these stayed on astronomy-engine, so a default `calc()` and
|
|
590
|
+
`positions()` could differ by up to 29.19 arcseconds for one instant.
|
|
591
|
+
Now `calc()` takes from the pack what `natalChart()` takes from it: the
|
|
592
|
+
apparent geocentric place of the Sun, the Moon and Mercury to Pluto, and
|
|
593
|
+
the true node and its opposite point, in all eight frames (the pack's
|
|
594
|
+
place is of date; another frame is reached from it with the engine's own
|
|
595
|
+
nutation and precession). With every default it is `positions()`'s
|
|
596
|
+
longitude, latitude and speed to the bit again, and `chart()` is
|
|
597
|
+
`natalChart()`'s chart. `events()` searches the same longitudes as
|
|
598
|
+
`searchLongitudeCrossings`. A `birthWindow()` is partitioned on the pack,
|
|
599
|
+
so each cell holds what a lone `natalChart()` call gives. Each receipt
|
|
600
|
+
names the ephemeris it used (`receipt.engine.ephemeris`, and
|
|
601
|
+
`ephemeris:jpl-de440@<the pack's SHA-256>` among its conventions), and a
|
|
602
|
+
window has a new `ephemeris` field.
|
|
603
|
+
- **What `calc()` still computes on astronomy-engine, and says so in its
|
|
604
|
+
receipt:** a heliocentric, barycentric or topocentric position, an
|
|
605
|
+
astrometric or geometric one, and the Earth. The pack's reduction makes
|
|
606
|
+
the apparent geocentric place only; the others are defined by
|
|
607
|
+
astronomy-engine's own steps (its barycentre, planet centres, no light
|
|
608
|
+
deflection) and their bounds were measured on it. `natalChart()` gives
|
|
609
|
+
none of them, so none disagrees with it, but a topocentric or geometric
|
|
610
|
+
position and the default one for the same body rest on two ephemerides.
|
|
611
|
+
Also unchanged, on astronomy-engine: the sky entry's rising, setting and
|
|
612
|
+
planetary hours, and the vedic entry's star-anchored ayanamsas and
|
|
613
|
+
`vargaSensitivity`. The mean node, the mean south node and Black Moon
|
|
614
|
+
Lilith use no ephemeris. `houses()` uses none either.
|
|
615
|
+
- **Bounds of a `calc()` position from the pack.** They are no longer
|
|
616
|
+
astronomy-engine's. `bounds.position` is the largest angle from JPL
|
|
617
|
+
Horizons (DE441) at the conformance suite's 240 L1 vectors, 24 TT instants
|
|
618
|
+
a body from 1851 to 2148, rounded up to two significant figures: the Moon
|
|
619
|
+
0.013 arcseconds, the Sun and the planets 0.0034 to 0.0038
|
|
620
|
+
(`src/calc-bounds-de440.ts`; `src/calc-bounds-de440.test.ts` recomputes
|
|
621
|
+
every row and fails on a stale one). It is labelled `measured` in the true
|
|
622
|
+
ecliptic of date, where it was measured, and `estimated` in the seven other
|
|
623
|
+
frames. Twenty-four instants a body are few. The distance and the speed of
|
|
624
|
+
such a position, and the true node, have been compared with no arbiter
|
|
625
|
+
on the pack: their bounds are `null`, not astronomy-engine's.
|
|
626
|
+
- **Never a silent fallback.** Where a result that would have come from the
|
|
627
|
+
pack comes from astronomy-engine instead, the result itself says so. Two
|
|
628
|
+
new `ChartFlag` values (the type `EphemerisFallback`):
|
|
629
|
+
`"de440-unavailable"`, when the pack could not be opened (its bytes are
|
|
630
|
+
missing, their SHA-256 is not the sealed pack's, or they cannot be
|
|
631
|
+
decoded; `defaultEphemeris().de440.error` says which), and
|
|
632
|
+
`"outside-de440-span"`, when the instant is outside the pack's coverage
|
|
633
|
+
less a day at each end. They appear last in `chart.flags`, in
|
|
634
|
+
`calc()`'s and `events()`'s `flags`, in a window's `flags`
|
|
635
|
+
(`"de440-unavailable"`; a window lies inside the pack's years), in
|
|
636
|
+
the timing and techniques entries' `flags`, and in a natal receipt's
|
|
637
|
+
`resultFlags`. And every result names its ephemeris: `chart.ephemeris` is
|
|
638
|
+
now on every chart (`{ name: "astronomy-engine", version: "2.1.19" }`
|
|
639
|
+
where it was absent before), each `BodyPosition` from the engine carries
|
|
640
|
+
`ephemeris` (a name) and, on a fallback, `fallback` (the reason), so
|
|
641
|
+
`positions()`, `transits()` and `progressedBodies()` say so row by row;
|
|
642
|
+
`moonPhase()` carries the same two fields; `saturnReturn()` and a complete
|
|
643
|
+
`searchLongitudeCrossings()` carry `flags`, which also report a search
|
|
644
|
+
that runs past the end of the pack. `setDefaultEphemeris("astronomy-engine")`
|
|
645
|
+
is the caller's own choice: the result names astronomy-engine and carries
|
|
646
|
+
no fallback flag. `findLongitudeCrossings()` returns bare crossings and
|
|
647
|
+
cannot say; use `searchLongitudeCrossings()` where it matters.
|
|
648
|
+
Tests: `src/ephemeris-fallback.test.ts` (the pack missing, changed in one
|
|
649
|
+
character, cut short, not base64; an instant outside it; the caller's
|
|
650
|
+
choice), and the packed-consumer check, which does the same to the
|
|
651
|
+
installed package's own file (`scripts/verify-packed-consumer.mjs`).
|
|
652
|
+
- **Compatibility of the new fields.** A chart's bodies now have two more
|
|
653
|
+
possible keys, so code that compares a computed chart's bodies with a
|
|
654
|
+
natal record's must leave `ephemeris` and `fallback` out: a record keeps
|
|
655
|
+
the computed fields and names the ephemeris once. A natal receipt whose
|
|
656
|
+
chart fell back carries the flag, which an engine before this candidate
|
|
657
|
+
refuses as an unknown flag. A supplied chart may carry a fallback flag
|
|
658
|
+
only if it names astronomy-engine (or, as a chart from an earlier
|
|
659
|
+
release, names nothing).
|
|
660
|
+
- **Birth-time windows and the pack's records.** The pack is a series of
|
|
661
|
+
Chebyshev fits; where a read passes from one record to the next, two fits
|
|
662
|
+
meet within the pack's budget and not exactly: the true node steps by up
|
|
663
|
+
to 1.11 arcseconds across the 96,049 such instants from 1800 to 2200, the
|
|
664
|
+
Moon by up to 0.0011, the Sun and the planets by under 0.00025
|
|
665
|
+
(`docs/evidence/1.1.0-rc.10-20261114/results/window-pack-seams.json`). The window search's bounds describe smooth motion, so it now
|
|
666
|
+
treats each such instant as a seam, as it treats a leap second: the
|
|
667
|
+
DE440 source's new `steps(fromTtDays, toTtDays)` lists them, a few in 48
|
|
668
|
+
hours. `src/window-de440.test.ts` holds windows on the pack to
|
|
669
|
+
`natalChart()` at every whole second and, around each seam, at every
|
|
670
|
+
millisecond. The pack's reduction also bends light at the Sun, by the
|
|
671
|
+
inverse of the angle from it, so a planet passing behind the Sun moves far
|
|
672
|
+
faster in `natalChart()` than the body does (Neptune, 0.022° from the
|
|
673
|
+
Sun's centre on 1920-08-03, at more than ten times the search's rate bound); the
|
|
674
|
+
search raises its bound for Mercury to Pluto within a degree of the Sun by
|
|
675
|
+
what that deflection allows. On the 1,000 preregistered random windows of `docs/evidence/birth-window/` (1800 to 2200, all thirteen systems), run on the pack, all 24,188 sampled transitions were matched, none missed and none extra, over 12,259,372 whole-second samples, and no window was flagged `bound-exceeded` (`docs/evidence/1.1.0-rc.10-20261114/`). On astronomy-engine the search
|
|
676
|
+
is as it was.
|
|
677
|
+
- **A far-future clock time is flagged, and its bounds widened (pull request
|
|
678
|
+
102, ZOD-65).** After the IERS table ends (2027-10-02 for this release's
|
|
679
|
+
table) ΔT is extrapolated, and no arbiter can check it. A result that
|
|
680
|
+
moves with it carries the new `ChartFlag` value `"delta-t-extrapolated"`:
|
|
681
|
+
`natalChart()` and `chart()` on UTC or UT1 input, and on TT input where
|
|
682
|
+
the chart has houses; `calc()` (new `flags`), `houses()` and `events()`
|
|
683
|
+
(new `flags`), whose bounds grow by how far the result moves while TT and
|
|
684
|
+
UT1 move by their 1-σ bands and are then labelled `estimated`
|
|
685
|
+
(`docs/calc.md`, *Bounds*; `src/calc-delta-t.test.ts`). A natal receipt
|
|
686
|
+
written by this candidate or later must carry the flag where its ΔT, time
|
|
687
|
+
scale and houses call for it; earlier records, 1.1.0-rc.9's among them,
|
|
688
|
+
are read without it. The topocentric Sun, Moon and Mars take the
|
|
689
|
+
geocentric bound, labelled `estimated`, as every other topocentric body
|
|
690
|
+
does. `ChartFlag` now has nine values.
|
|
691
|
+
- **API, additive.** `EphemerisFallback`; `Chart.ephemeris` on every chart;
|
|
692
|
+
`BodyPosition.ephemeris` and `.fallback`; `MoonPhase.ephemeris` and
|
|
693
|
+
`.fallback`; `SaturnReturnResult.ephemeris` and `.flags`;
|
|
694
|
+
`CrossingSearchResult` `flags`; `BirthWindow.ephemeris` and the
|
|
695
|
+
`BirthWindowFlag` value; `CalcPosition.flags`, `EventsResult.flags`;
|
|
696
|
+
`PositionSource.place` may give `dist`, and `PositionSource.steps` is
|
|
697
|
+
optional; a DE440 source gives both. `CalcReceipt`'s
|
|
698
|
+
`engine.ephemeris.name` is typed `string`, where it was the literal
|
|
699
|
+
`"astronomy-engine"`. New convention ids of a `calc()` receipt on the
|
|
700
|
+
pack: `light-time:iterated`, `deflection:sun`,
|
|
701
|
+
`aberration:relativistic-annual`, `target:system-barycentre`,
|
|
702
|
+
`place:icrf-to-true-ecliptic-of-date`,
|
|
703
|
+
`frame-bias:iau2006-fukushima-williams`, `nutation:iau2000b-p03`,
|
|
704
|
+
`time:tdb-three-term` and `frame-turn:from-true-ecliptic-of-date`
|
|
705
|
+
(`docs/calc.md`).
|
|
706
|
+
- **Conformance.** Regenerated on this candidate
|
|
707
|
+
(`conformance/RESULTS.md`): the verdicts are 1.1.0-rc.9's. A plain call
|
|
708
|
+
passes 459 of the 500 vectors, fails none, and 41 are unsupported (all 240
|
|
709
|
+
position vectors pass); started with `--ephemeris astronomy-engine` the
|
|
710
|
+
adapter gives 267, 192 and 41. Each position's `meta` now names the
|
|
711
|
+
ephemeris on either run.
|
|
712
|
+
- **Licensing.** Unchanged from 1.1.0-rc.9: the pack is data refitted from
|
|
713
|
+
JPL's DE440, `NOTICE` credits JPL and cites the ephemeris, and
|
|
714
|
+
`LICENSING.md` (*DE440 pack*) records what the pack rests on.
|
|
715
|
+
- **Sizes.** The package is 4,540,059 bytes unpacked in 98 files, against
|
|
716
|
+
1.1.0-rc.9's 4,502,147 and 1.1.0-rc.7's 1,152,017. 3,319,552 of them are
|
|
717
|
+
the pack's base64 text, unchanged; the rest is 1,220,507, 37,912 more than
|
|
718
|
+
1.1.0-rc.9's: documents 17,347 (this entry and the README's lines),
|
|
719
|
+
JavaScript 14,156 (5,139 of it in the root's import graph, which is
|
|
720
|
+
147,832 bytes beside the pack), declarations 6,408 and the
|
|
721
|
+
manifest 1 (`docs/evidence/1.1.0-rc.10-20261114/sizes.json`, which
|
|
722
|
+
also gives the packed sizes). The cap on the rest rises from 1,185,000 to
|
|
723
|
+
1,225,000. Eleven import-graph budgets rise, each to its measurement and
|
|
724
|
+
about one per cent: the root's from 144,000 to 149,400, `./calc`'s from
|
|
725
|
+
190,000 to 199,900, `./window`'s from 142,500 to 149,500, `./techniques`'s
|
|
726
|
+
from 194,500 to 199,900, `./timing`'s from 163,500 to 168,900, `./vedic`'s
|
|
727
|
+
from 179,500 to 184,800, `./sky`'s from 132,000 to 136,400, `./internal`'s
|
|
728
|
+
from 104,000 to 108,200, `./de440`'s from 50,700 to 53,200,
|
|
729
|
+
`./de440/pack`'s from 52,000 to 54,400 and `./geo`'s from 35,600 to 35,700
|
|
730
|
+
(`scripts/verify-package-contents.mjs` has each measurement and what the
|
|
731
|
+
bytes are). Part of the growth is pull request 102's. None of these
|
|
732
|
+
figures has the owner's approval: they are for the owner to decide with
|
|
733
|
+
this candidate.
|
|
734
|
+
|
|
735
|
+
## 1.1.0-rc.9 (draft, superseded by 1.1.0-rc.10 before review)
|
|
736
|
+
|
|
737
|
+
Never tagged or published. 1.1.0-rc.10 above contains it and changes what
|
|
738
|
+
this entry's *The fallback, and what says so* and *What stays on
|
|
739
|
+
astronomy-engine* describe.
|
|
740
|
+
|
|
741
|
+
The next candidate for 1.1.0 after 1.1.0-rc.7, which it contains: the sealed
|
|
742
|
+
DE440 pack, shipped in the package, and the root entry computing on it by
|
|
743
|
+
default. It is a draft for the owner, and is not to be published on npm until
|
|
744
|
+
the owner approves it. Checks: `docs/evidence/1.1.0-rc.9-20261114/`.
|
|
745
|
+
|
|
746
|
+
There is no 1.1.0-rc.8 archive. 1.1.0-rc.8 was a draft cut on 1.1.0-rc.3 in
|
|
747
|
+
pull request 101 that shipped the pack behind `withEphemeris` only: a plain
|
|
748
|
+
call still computed on astronomy-engine. Before it was reviewed, main moved
|
|
749
|
+
to 1.1.0-rc.7, and its archive, which held none of 1.1.0-rc.6's or
|
|
750
|
+
1.1.0-rc.7's changes, was withdrawn where the branch joined main. The number
|
|
751
|
+
is not used again (`artifacts/README.md`).
|
|
752
|
+
|
|
753
|
+
- **DE440 by default.** A call in the root entry outside `withEphemeris`
|
|
754
|
+
(`natalChart`, `positions` and the functions built on them, the crossing
|
|
755
|
+
searches, `moonPhase`, and the opt-in entries that build on them) takes the
|
|
756
|
+
Sun, the Moon, the planets and the true node from the shipped pack when its
|
|
757
|
+
instant is at least a day inside the pack's coverage, which is 1790 to 2210,
|
|
758
|
+
and from astronomy-engine otherwise. Nothing is opened, supplied or fetched
|
|
759
|
+
by the caller, and no environment variable is read. A chart from the pack
|
|
760
|
+
names it in `chart.ephemeris` (`jpl-de440`, with the pack's SHA-256), and
|
|
761
|
+
its receipt is a DE440 receipt, which engines before 1.1.0-rc.3 refuse; a
|
|
762
|
+
chart from astronomy-engine has no `ephemeris` property, as before.
|
|
763
|
+
- **Positions change.** `docs/versioning.md` lets a value change in a minor
|
|
764
|
+
release when the engine computes it more accurately, with its size listed.
|
|
765
|
+
Inside the pack's years every default position of the root moves from
|
|
766
|
+
astronomy-engine's value to DE440's. The largest such moves found by the
|
|
767
|
+
sweep of 1.1.0-rc.7, which compared astronomy-engine's apparent places with
|
|
768
|
+
DE440 at noon TT on each of the 146,097 days from 1800-01-01 to 2199-12-31
|
|
769
|
+
(`docs/evidence/de440-sweep-20261111/`), are, in arcseconds: Sun 3.4, Moon
|
|
770
|
+
12, Mercury 17, Venus 24, Mars 23, Jupiter 17, Saturn 24, Uranus 20,
|
|
771
|
+
Neptune 22, Pluto 30, the true node 33. (The sweep read the kernel; the
|
|
772
|
+
pack's own places were not swept, and 1790 to 1799 and 2200 to 2209 were
|
|
773
|
+
not in it.) Mars to Pluto become planetary-system barycentres. Speeds,
|
|
774
|
+
aspects, house placements near a cusp, ingress and return times move with
|
|
775
|
+
them. `setDefaultEphemeris("astronomy-engine")` gives 1.1.0-rc.7's values
|
|
776
|
+
at every instant, to the bit.
|
|
777
|
+
- **Accuracy against Horizons.** A plain `natalChart` is within 1″ in
|
|
778
|
+
longitude and in latitude of JPL Horizons (DE441, in the IAU 2006/2000A
|
|
779
|
+
true ecliptic of date) at all 240 L1 vectors of the conformance suite: 24
|
|
780
|
+
TT instants from 1851 to 2148, the Sun, the Moon and the planets, Mars to
|
|
781
|
+
Pluto as system barycentres. The largest differences are 0.0127″ in
|
|
782
|
+
longitude and 0.0011″ in latitude, both the Moon's
|
|
783
|
+
(`src/de440-default.test.ts`, which enforces them; the same on the package
|
|
784
|
+
installed from its archive, `docs/evidence/1.1.0-rc.9-20261114/`). On
|
|
785
|
+
astronomy-engine 48 of the 240 pass. The vectors do not test the true node,
|
|
786
|
+
speeds, or instants outside those years.
|
|
787
|
+
- **The fallback, and what says so.** New in the root: `defaultEphemeris()`
|
|
788
|
+
reports the default (`"de440"` or `"astronomy-engine"`), whether the pack
|
|
789
|
+
opened, its SHA-256, the two instants between which it is used, and why it
|
|
790
|
+
did not open if it did not; `setDefaultEphemeris(name)` chooses. If the
|
|
791
|
+
pack's bytes are not the sealed pack's, or the runtime cannot decode them,
|
|
792
|
+
the engine computes on astronomy-engine, does not throw, and every chart
|
|
793
|
+
says which ephemeris it came from. A search across an end of the pack reads
|
|
794
|
+
two ephemerides, one on each side (`docs/de440.md`, *The default source*).
|
|
795
|
+
- **What stays on astronomy-engine.** The calc entry (`calc`, `houses`,
|
|
796
|
+
`chart`, `events`), `birthWindow`, the sky entry's rising, setting and
|
|
797
|
+
planetary hours, and the vedic entry's star-anchored ayanamsas and
|
|
798
|
+
`vargaSensitivity` compute as before, with the bounds measured on
|
|
799
|
+
astronomy-engine, and name it; they still refuse inside `withEphemeris`. A
|
|
800
|
+
default `calc()` position and the root's `positions()` were equal to the
|
|
801
|
+
bit; inside the pack's years they now differ, within the limits `calc()`
|
|
802
|
+
quotes. No receipt of `calc()` carries a bound for a DE440 position.
|
|
803
|
+
- **`@zodiacs/engine/de440/pack`**, a new entry point (seventeen public entry
|
|
804
|
+
points): `DE440_PACK` describes the pack (`de440-1790-2210.v2.zeph`,
|
|
805
|
+
2,489,664 bytes, SHA-256
|
|
806
|
+
`51428874d9a47213abc0ff42cbcec65f338624eaa2d8831f0e6ddc3654bf1fa7`, refitted
|
|
807
|
+
by zodiacs.org's pack compiler 2.0.0 from NAIF's `de440.bsp`),
|
|
808
|
+
`de440PackBytes()` gives its bytes, and `shippedDe440Source()` the source
|
|
809
|
+
the root's default uses (`openShippedDe440Pack()`, the same as a promise).
|
|
810
|
+
- **`@zodiacs/engine/de440`** gains `openDe440PackSync`, `openDe440Pack`
|
|
811
|
+
without WebCrypto and without a promise, which checks the digest with the
|
|
812
|
+
engine's own SHA-256 (`src/de440/sha256.test.ts` compares it with Node's).
|
|
813
|
+
- **Conformance.** The suite's adapter answers every request with a plain
|
|
814
|
+
call: 459 of the 500 vectors pass, none fails and 41 are unsupported, where
|
|
815
|
+
1.1.0-rc.7 had 267, 192 and 41. Started with `--ephemeris
|
|
816
|
+
astronomy-engine` it sets the fallback, and those results (267, 192 and
|
|
817
|
+
41, 1.1.0-rc.7's verdicts) are committed beside the first and checked in
|
|
818
|
+
continuous integration (`conformance/RESULTS.md`).
|
|
819
|
+
- **Licensing.** The pack is data refitted from JPL's DE440. `NOTICE` cites
|
|
820
|
+
the ephemeris and says that Zodiacs.org made the pack; `LICENSING.md`
|
|
821
|
+
(*DE440 pack*) records what NAIF's rules for SPICE kernels state, that they
|
|
822
|
+
do not speak of data refitted from a kernel, and that shipping the pack
|
|
823
|
+
rests on the owner's position of 2026-11-13 that DE440 is JPL's public
|
|
824
|
+
data: an open question for the owner before publication. The licence
|
|
825
|
+
expression is unchanged.
|
|
826
|
+
- **Sizes.** The package is 4,502,147 bytes unpacked in 98 files, against
|
|
827
|
+
1.1.0-rc.7's 1,152,017 in 94: 3.9 times. 3,319,552 of those bytes are the
|
|
828
|
+
pack's base64 text, in one shared chunk; the rest is 1,182,595, 30,578 more
|
|
829
|
+
than 1.1.0-rc.7 (`docs/evidence/1.1.0-rc.9-20261114/sizes.json`, which
|
|
830
|
+
also gives the packed sizes). The pack compresses little, so every install
|
|
831
|
+
downloads about eight times what 1.1.0-rc.7's did, and, because the root
|
|
832
|
+
entry now imports the pack, so does every application that bundles the
|
|
833
|
+
root, `./calc`, `./sky`, `./techniques`, `./timing`, `./vedic` or
|
|
834
|
+
`./window`: the root's import graph is 142,693 bytes beside the pack's
|
|
835
|
+
3,319,552, where 1.1.0-rc.7's was 108,531. The package gate holds the pack
|
|
836
|
+
to its exact size and digest, in one file, measures every graph without it,
|
|
837
|
+
and caps the rest of the package: that cap rises from 1,155,000 to
|
|
838
|
+
1,185,000, the budgets of the eight graphs that load the ephemeris rise by
|
|
839
|
+
the code that reads a pack (the root's from 109,000 to 144,000), `./de440`'s
|
|
840
|
+
from 48,000 to 50,700, and `./de440/pack` gets 52,000
|
|
841
|
+
(`scripts/verify-package-contents.mjs`). None of these figures, and not the
|
|
842
|
+
size itself, has the owner's approval: they are for the owner to decide
|
|
843
|
+
with this candidate.
|
|
844
|
+
|
|
845
|
+
## 1.1.0-rc.7 (unreleased candidate)
|
|
846
|
+
|
|
847
|
+
The next candidate for 1.1.0 after 1.1.0-rc.6, which it contains: the error
|
|
848
|
+
limits a `calc()` result quotes, now from a far larger comparison. It is not
|
|
849
|
+
to be published on npm until the owner approves it.
|
|
850
|
+
|
|
851
|
+
- **Error limits from 146,097 daily comparisons with DE440.** Each position
|
|
852
|
+
from `@zodiacs/engine/calc` carries `bounds`: how far its position,
|
|
853
|
+
distance and speed were found to be from an independent ephemeris. For
|
|
854
|
+
the geocentric Sun, Moon, Mercury to Pluto (each correction) and the true
|
|
855
|
+
node and its opposite point, these were the largest differences from JPL
|
|
856
|
+
Horizons at 32 instants, and on other days the engine went past ten of
|
|
857
|
+
the eleven apparent position limits. They are now the largest differences
|
|
858
|
+
from JPL's DE440 at noon TT on each of the 146,097 days from 1800-01-01 to
|
|
859
|
+
2199-12-31, in all eight frames, rounded up to two significant figures
|
|
860
|
+
(`docs/evidence/de440-sweep-20261111/`). Position limits of the apparent
|
|
861
|
+
places, in arcseconds, old to new: Sun 3.0 to 3.4, Moon 8.3 to 12,
|
|
862
|
+
Mercury 9.3 to 17, Venus 11 to 24, Mars 6.6 to 23, Jupiter 13 to 17,
|
|
863
|
+
Saturn 18 to 24, Uranus 20 (unchanged), Neptune 21 to 22, Pluto 25 to 30,
|
|
864
|
+
and the true node and its opposite point 16 to 33. The astrometric and
|
|
865
|
+
geometric rows and the distance and speed limits of the same bodies move
|
|
866
|
+
by the same rule (`src/calc-bounds.ts`); none falls. `docs/versioning.md`
|
|
867
|
+
lets a bound found to be wrong be corrected in a minor release; these are
|
|
868
|
+
such corrections. Each bound's `basis` now names the comparison it rests
|
|
869
|
+
on.
|
|
870
|
+
- **What they mean.** They are the largest differences found at one instant
|
|
871
|
+
a day, not proven limits. The true node's is 33 arcseconds, so "within 30
|
|
872
|
+
arcseconds of DE440" holds for the Sun, the Moon and the planets only.
|
|
873
|
+
Pluto's largest is 29.86 arcseconds (29.19 in ecliptic longitude), on the
|
|
874
|
+
last day and still growing: a thin margin, for 1800 to 2199 only.
|
|
875
|
+
- **What keeps the old limits.** The 72 rows the sweep did not take
|
|
876
|
+
(heliocentric, barycentric and topocentric positions, and the mean nodes
|
|
877
|
+
and Black Moon Lilith) keep their values and their basis. The topocentric
|
|
878
|
+
Sun, Moon and Mars keep limits (3.0, 7.8 and 6.6 arcseconds) below the
|
|
879
|
+
geocentric ones the sweep found ([docs/calc.md](docs/calc.md)).
|
|
880
|
+
- **No position changes.** This candidate computes the positions 1.1.0-rc.6
|
|
881
|
+
and 1.1.0-rc.3 compute (`docs/evidence/1.1.0-rc.7-20261111/`).
|
|
882
|
+
- **Sizes.** The package is 1,152,017 bytes unpacked in 94 files, 3,690 more
|
|
883
|
+
than 1.1.0-rc.6's 1,148,327: this entry 2,888, the README's lines 379,
|
|
884
|
+
LICENSING.md and NOTICE 365, and JavaScript 58. That is over the cap
|
|
885
|
+
of 1,150,000, which rises to 1,155,000 (`scripts/verify-package-contents.mjs`,
|
|
886
|
+
`docs/evidence/1.1.0-rc.7-20261111/sizes.json`), a rise the owner decides
|
|
887
|
+
with this candidate. No entry point's budget changes.
|
|
888
|
+
|
|
889
|
+
## 1.1.0-rc.6 (unreleased candidate)
|
|
890
|
+
|
|
891
|
+
The next candidate for 1.1.0 after 1.1.0-rc.3 (main at `bc0b5a7`): a choice
|
|
892
|
+
for a birth in an hour the clock showed twice. It is not to be published on
|
|
893
|
+
npm until the owner approves it.
|
|
894
|
+
|
|
895
|
+
Two drafts came before it, and neither archive is carried here. 1.1.0-rc.4
|
|
896
|
+
was drafted in pull request 89 with this choice and with a refusal of a birth
|
|
897
|
+
given as a calendar date with no time. It was not merged. The refusal changes
|
|
898
|
+
documented behaviour, and by the owner's decision of 2026-11-11 it is held
|
|
899
|
+
for 2.0.0: in 1.x a birth's `utc` given as `YYYY-MM-DD` is read as midnight
|
|
900
|
+
UTC, as the README's *Resolved instant inputs* says. 1.1.0-rc.5 was drafted
|
|
901
|
+
in pull request 90 with the choice alone. An independent review of it found
|
|
902
|
+
that it recorded `"later"` for times that have no second pass, and it was
|
|
903
|
+
superseded by this candidate before merging.
|
|
904
|
+
|
|
905
|
+
- **`fold: "earlier" | "later"`** in `@zodiacs/engine/geo`.
|
|
906
|
+
`resolveLocalToUtc`, `resolveLocalBirth` and `resolveBirth` take the new
|
|
907
|
+
option for a wall time the clock showed twice. The default, `"earlier"`,
|
|
908
|
+
gives what earlier versions gave. With `fold: "later"`, 01:30 in New York
|
|
909
|
+
on 2021-11-07 resolves to 06:30 UTC where the default gives 05:30 UTC.
|
|
910
|
+
Both passes carry the `dst-fold` flag and the same `jump` and `transition`,
|
|
911
|
+
so a birth form can ask which pass it was and resolve again. The option
|
|
912
|
+
changes nothing for a time the clock showed once, neither the result nor
|
|
913
|
+
the record a receipt keeps, and a skipped time moves forward by the jump
|
|
914
|
+
whichever value is given. The expected instants in
|
|
915
|
+
`src/geo/fold-choice.test.ts` are written out from the IANA time zone
|
|
916
|
+
database's rules ([docs/time.md](docs/time.md)).
|
|
917
|
+
- **Receipts.** `localResolution.policy.fold` records the pass taken:
|
|
918
|
+
`"later"` only for a repeated time whose later pass was asked for,
|
|
919
|
+
`"earlier"` for every other time. The codec checks it against the instant
|
|
920
|
+
and the recorded clock change: an `"earlier"` record of a repeated time
|
|
921
|
+
must fall before the change, a `"later"` one at or after it, inside the
|
|
922
|
+
repeated span, and a `"later"` record without the `dst-fold` flag is
|
|
923
|
+
refused as `invalid_context`. 1.1.0-rc.1 and 1.1.0-rc.3 refuse a record
|
|
924
|
+
that says `"later"` as `unsupported_feature`, and read this candidate's
|
|
925
|
+
`"earlier"` records, among them those of an ordinary and of a skipped time
|
|
926
|
+
asked for their later pass (`docs/evidence/1.1.0-rc.6-20261111/`).
|
|
927
|
+
Records that say `"earlier"`, which is every record written before this
|
|
928
|
+
candidate, are read as before.
|
|
929
|
+
- **`api/`.** `api/geo.api.md` gains the exported type `FoldChoice` and the
|
|
930
|
+
optional `fold` of the three functions' options. It and
|
|
931
|
+
`api/receipt.api.md` widen `policy.fold` from `"earlier"` to
|
|
932
|
+
`"earlier" | "later"`, a new member of a union a result carries, which
|
|
933
|
+
`docs/versioning.md` allows in a minor release.
|
|
934
|
+
- **`lunarReturn`** still refuses a birth flagged `dst-fold`, whichever pass
|
|
935
|
+
was chosen.
|
|
936
|
+
- **Sizes.** The option, its input check and its error message make
|
|
937
|
+
`./geo`'s import graph 35,584 bytes, over its budget of 35,500, which
|
|
938
|
+
rises to 35,600. The package is 1,148,327 bytes unpacked in 94 files,
|
|
939
|
+
5,509 more than 1.1.0-rc.3's 1,142,818: this entry 3,499, the README's
|
|
940
|
+
lines 355, declarations 927 and JavaScript 728. That is over the
|
|
941
|
+
cap of 1,145,000, which rises to 1,150,000
|
|
942
|
+
(`scripts/verify-package-contents.mjs`,
|
|
943
|
+
`docs/evidence/1.1.0-rc.6-20261111/sizes.json`). The owner approved both
|
|
944
|
+
rises on 2026-11-11.
|
|
945
|
+
|
|
946
|
+
## 1.1.0-rc.3 (unreleased candidate)
|
|
947
|
+
|
|
948
|
+
The third candidate for 1.1.0, on 1.1.0-rc.2 (main at `883371f`): positions
|
|
949
|
+
from JPL's DE440, for zodiacs.org's hosted compute API (its programme unit
|
|
950
|
+
P4.1), with sixteen public entry points. It is not to be published on npm
|
|
951
|
+
until the owner approves it.
|
|
952
|
+
|
|
953
|
+
- **`@zodiacs/engine/de440`**, a new entry point. `openDe440Pack(bytes,
|
|
954
|
+
{ expectDigest })` opens a sealed pack (`ZODEPH02`) of Chebyshev series that
|
|
955
|
+
zodiacs.org's research runtime refits from NAIF's `de440.bsp` and quantises,
|
|
956
|
+
refuses it unless its SHA-256 is the one expected and its trailer and
|
|
957
|
+
header check, and returns a source that places the Sun, the Moon, the
|
|
958
|
+
planets and the true node. The reduction is the research runtime's, ported
|
|
959
|
+
operation for operation: light-time, deflection of light by the Sun,
|
|
960
|
+
relativistic annual aberration, IAU 2006 precession with frame bias, IAU
|
|
961
|
+
2000B nutation (the engine's own terms, arguments and offsets,
|
|
962
|
+
P03-adjusted) and the true obliquity; Mars to Pluto are planetary-system
|
|
963
|
+
barycentres. The geocentric Moon is formed from the Earth-Moon system's
|
|
964
|
+
parts, so that the barycentre's speed never multiplies the rounding of the
|
|
965
|
+
light-time epoch. Six-byte quantised fields, which the runtime's reader
|
|
966
|
+
decodes wrongly, are refused. The entry fetches nothing and ships no pack.
|
|
967
|
+
- **Accuracy.** On the raw kernel the reduction is within 1e-6″ of an ERFA
|
|
968
|
+
chain over `de440.bsp` at 200 instants from 1800 to 2200, place and node.
|
|
969
|
+
A pack adds its refit: on the pack compiled for 1790 to 2210, against the
|
|
970
|
+
kernel at 20,001 instants from 1800 to 2200 TT and at the edges of its
|
|
971
|
+
records, the Moon's place differs by at most 0.0016″, every other body's by
|
|
972
|
+
at most 0.0008″, and the true node by at most 0.84″, at an edge of the
|
|
973
|
+
Moon's records (`docs/evidence/de440-20261110/pack-accuracy.json`).
|
|
974
|
+
- **`withEphemeris(source, fn)`** in the root runs `fn` with the root's body
|
|
975
|
+
positions from a source (`positions`, `natalChart` and what is built on
|
|
976
|
+
them, the crossing searches, `moonPhase`), and restores the one before. A
|
|
977
|
+
chart computed inside names it (`chart.ephemeris`); a chart from
|
|
978
|
+
astronomy-engine is unchanged. The functions that compute positions from
|
|
979
|
+
astronomy-engine themselves, or whose bounds were measured on it (the calc
|
|
980
|
+
entry, the sky entry's rising, setting and planetary hours, the vedic
|
|
981
|
+
entry's star-anchored ayanamsas and `vargaSensitivity`, the window entry's
|
|
982
|
+
`birthWindow`), throw a TypeError inside it.
|
|
983
|
+
- **Natal receipts** of a chart from a DE440 pack carry a new conventions
|
|
984
|
+
set, the current one with the positions, the Moon and the frame of the
|
|
985
|
+
DE440 reduction, name the ephemeris `jpl-de440` with the pack's SHA-256 as
|
|
986
|
+
its version, and require the feature `ephemeris-jpl-de440`, so that an
|
|
987
|
+
earlier engine refuses them. The set is the last of
|
|
988
|
+
`NATAL_RECEIPT_CONVENTION_SETS`, so no earlier set's index moved. On a
|
|
989
|
+
DE440 receipt, a provenance claim about the ephemeris must name its pack.
|
|
990
|
+
- **Checks.** `src/de440.test.ts` and `src/de440-format.test.ts` (synthetic
|
|
991
|
+
packs, float64 and quantised, against values written independently: the
|
|
992
|
+
digest checks, the reader, the switch, the refusals, the receipts),
|
|
993
|
+
`src/de440-sources.test.ts` (no astronomy-engine position function is
|
|
994
|
+
called under a DE440 source in the calls zodiacs.org's compute API makes)
|
|
995
|
+
and `src/de440-kernel.test.ts` (with PRECISION_KERNEL set, the 1e-6″ gates).
|
|
996
|
+
- **Sizes.** The entry and the switch make the package 1,142,818 bytes
|
|
997
|
+
unpacked, 46,035 more than 1.1.0-rc.2's 1,096,783: opt-in JavaScript
|
|
998
|
+
(`dist/de440.js`, its own chunks and the refusals) 29,536, the root's
|
|
999
|
+
JavaScript 2,206 (`withEphemeris` and the source's path in the ephemeris
|
|
1000
|
+
chunk, which every entry that loads it carries), declarations 6,866,
|
|
1001
|
+
documents 7,271 and the manifest 156
|
|
1002
|
+
(`docs/evidence/de440-20261110/sizes.json`). The cap rises from
|
|
1003
|
+
1,100,000 to 1,145,000, with a budget of 48,000 for `./de440` and raised
|
|
1004
|
+
budgets for `./internal` (69,000), `./time` (42,600) and `./window`
|
|
1005
|
+
(107,000), with the owner's approval of 2026-11-10; the root's rises to
|
|
1006
|
+
109,000 and `./vedic`'s to 144,500 under the owner's delegation of
|
|
1007
|
+
2026-11-04 (`scripts/verify-package-contents.mjs`).
|
|
1008
|
+
|
|
1009
|
+
## 1.1.0-rc.2 (unreleased candidate)
|
|
1010
|
+
|
|
1011
|
+
The second candidate for 1.1.0, on 1.1.0-rc.1 (main at `a253973`):
|
|
1012
|
+
corrections of statements that said more than their evidence; two new entry
|
|
1013
|
+
points that load no ephemeris, `@zodiacs/engine/time` and
|
|
1014
|
+
`@zodiacs/engine/lite`, which make fifteen public entry points; time bands in
|
|
1015
|
+
`@zodiacs/engine/calc`; and the birth-time sensitivity of the vargas in
|
|
1016
|
+
`@zodiacs/engine/vedic`. The 500 conformance verdicts are 1.1.0-rc.1's: 267
|
|
1017
|
+
pass, 192 fail, 41 unsupported, none in error. It is not to be published on
|
|
1018
|
+
npm until the owner approves it. Checks: `docs/evidence/1.1.0-rc.2-20261102/`.
|
|
1019
|
+
|
|
1020
|
+
- **Corrections (zodiacs.org's finding F-89).** Statements that 1.0.0 and
|
|
1021
|
+
1.1.0-rc.1 made in the README, NOTICE, LICENSING.md and doc comments, and
|
|
1022
|
+
that zodiacs.org's claims ledger found to say more than their evidence, now
|
|
1023
|
+
say what was measured or what the code does
|
|
1024
|
+
(`docs/evidence/1.1.0-rc.2-20261102/f89/`). The README no longer says that
|
|
1025
|
+
the Vertex and the East Point agree with Swiss Ephemeris's
|
|
1026
|
+
`swe_houses_armc` to within 0.00001″ given its inputs, which zodiacs.org's
|
|
1027
|
+
points record of 0.1.1-rc.10 does not bear out; it gives the conformance
|
|
1028
|
+
suite's figures instead, within 0.014″ and 0.007″ on its ten L2 vectors for
|
|
1029
|
+
them, from 1833 to 2182, whose arbiter is ERFA (`conformance/RESULTS.md`,
|
|
1030
|
+
which rounds to the nearest 0.001″, and `conformance/results/summary.json`).
|
|
1031
|
+
A plain 5-day crossing scan can miss a station that takes the body less than
|
|
1032
|
+
|f″|h²/8 past the target: up to 0.0056° for Saturn and 0.011° for Jupiter at
|
|
1033
|
+
their stations from 2019 to 2024, not the 0.0103° and 0.0205° given before. A
|
|
1034
|
+
local-time resolution names a transition only where there is one, and no
|
|
1035
|
+
tzdb version where the runtime reports none. The Gregorian adoption table is
|
|
1036
|
+
in a shared chunk that `dist/geo.js` and `dist/techniques.js` import. The
|
|
1037
|
+
calc bounds of the mean node, the mean south node and Black Moon Lilith were
|
|
1038
|
+
measured against their definitions evaluated with ERFA, and their `basis`
|
|
1039
|
+
now says so; their speed bounds' basis also says that their speeds were
|
|
1040
|
+
compared in the true ecliptic of date only. No bound's value changes.
|
|
1041
|
+
Placidus's step count near the polar limit is no longer given. Munkasey's
|
|
1042
|
+
co-ascendant can lie west of the meridian within ε of the equator, not
|
|
1043
|
+
within 90° − ε. `ChartInput.deltaT` falls back to the engine's time basis.
|
|
1044
|
+
Receipts name the ephemeris from the rc.8 conventions set on, not only in
|
|
1045
|
+
the current one.
|
|
1046
|
+
- **`@zodiacs/engine/time`** (zodiacs.org's finding F-53), a new entry point
|
|
1047
|
+
that loads no ephemeris: `timeBasis(ms, scale, pin)`, an instant's UT1 and
|
|
1048
|
+
TT with the `deltaT` and `timeScale` records a chart carries, and
|
|
1049
|
+
`elapsedDays`; `EPHEMERIS_SPAN`; and the frame of date the ephemeris uses,
|
|
1050
|
+
`tilt`, `eclipticFrame`, `meanEcliptic` and `eclipticOfDate`; with
|
|
1051
|
+
`DELTA_T_IERS_MODEL`, `TIME_SCALE_NAMES` and the types they take and give
|
|
1052
|
+
(`api/time.api.md`, `docs/time.md`). Each is the function a chart computes
|
|
1053
|
+
with, behind a check that throws `RangeError` for an argument it refuses;
|
|
1054
|
+
`tilt` and `eclipticFrame` give frozen results, so a caller cannot change
|
|
1055
|
+
the frame the engine keeps for its next chart. Through them
|
|
1056
|
+
astronomy-engine's vectors give `natalChart`'s longitudes to the bit
|
|
1057
|
+
(`src/time.test.ts`; the preregistered checks are in
|
|
1058
|
+
`docs/evidence/1.1.0-rc.2-20261102/time-entry/`). The root does not import
|
|
1059
|
+
the entry. zodiacs.org bundled these functions from `dist/` until now. The
|
|
1060
|
+
nutation and frame modules move out of the ephemeris chunk into a shared
|
|
1061
|
+
chunk that it and `dist/time.js` import (NOTICE, LICENSING.md), so each
|
|
1062
|
+
graph that loads the ephemeris grows by the imports and exports that join
|
|
1063
|
+
the two.
|
|
1064
|
+
- **Bands from the time basis** (zodiacs.org's unit P1.M3c).
|
|
1065
|
+
`timeBands(record)`, exported by `@zodiacs/engine/time`, gives the 1-σ
|
|
1066
|
+
bands, in seconds, of the TT and the UT1 of a recorded instant (a
|
|
1067
|
+
`TimeBasis`, a chart, a calc instant, or a natal result from the time-basis
|
|
1068
|
+
set on) from its two recorded bands, `deltaT.sigma` and
|
|
1069
|
+
`timeScale.ut1MinusUtc.sigma`, by the scale the instant was given on and the
|
|
1070
|
+
basis that gave UT1 and TT (`docs/time.md`, *The time bands*). On UTC input
|
|
1071
|
+
from 1972-01-01 to 2027-10-02 without a pinned ΔT, TT comes from the leap
|
|
1072
|
+
seconds (exactly to 2027-06-28, when the shipped list expires; after it the
|
|
1073
|
+
list's last value is carried, with no band for a leap second not yet
|
|
1074
|
+
announced), so its band is 0, and UT1 carries the band of UT1 − UTC; with a
|
|
1075
|
+
pin, TT is UT1 plus the pin and takes UT1's band; after the table, TT takes
|
|
1076
|
+
both bands, combined as the root of the sum of their squares. It reads the
|
|
1077
|
+
recorded fields only, and throws `RangeError` for a record without a time
|
|
1078
|
+
scale. `@zodiacs/engine/calc` carries the bands into its results, to first
|
|
1079
|
+
order, as a new `band` field kept apart from `bounds` (`docs/calc.md`,
|
|
1080
|
+
*Bands*), and exports the `TimeBands` and `CalcTimeBand` types they use:
|
|
1081
|
+
`calc()`'s positions (null without speeds), from each coordinate's rate
|
|
1082
|
+
times the TT band, with a conservative bound on the observer's turn for a
|
|
1083
|
+
topocentric one, and for the true nodes from their speed over ±0.25 day,
|
|
1084
|
+
which smooths their short-period motion; `houses()`' angles and cusps, from
|
|
1085
|
+
each one's rate on UT1 times the UT1 band plus its rate on TT times the TT
|
|
1086
|
+
band (in the sidereal zodiac the sidereal longitude's, the ayanamsa's rate
|
|
1087
|
+
in it), whole-sign and fallback cusps 0; each event's UTC and UT1; and
|
|
1088
|
+
`chart()`'s bodies, ascendant and midheaven. So on UTC input from
|
|
1089
|
+
1972-01-01 to 2027-10-02 without a pinned ΔT every geocentric, heliocentric
|
|
1090
|
+
and barycentric position's band is 0. Each receipt names the new id
|
|
1091
|
+
`time-band:first-order`, last, but `calc()`'s without speeds; `events()`'
|
|
1092
|
+
even when it finds no event. A band is not a bound on the error and leaves
|
|
1093
|
+
out the ephemeris's error. Root charts, natal envelopes and the other
|
|
1094
|
+
entries' results carry none. The preregistered
|
|
1095
|
+
checks are in `docs/evidence/1.1.0-rc.2-20261102/time-bands/`.
|
|
1096
|
+
- **`@zodiacs/engine/lite`** (zodiacs.org's units P2.E: declinations, sect,
|
|
1097
|
+
composite and dignities), a new entry point that loads no ephemeris: the
|
|
1098
|
+
root's declination parallels and out-of-bounds flags
|
|
1099
|
+
(`findDeclinationAspects`, `declinationsForBodies`, `declinationOf`,
|
|
1100
|
+
`declinationOrb`, `eclipticToEquatorial`, with their constants and types),
|
|
1101
|
+
`@zodiacs/engine/techniques`' composite midpoints and their aspects and its
|
|
1102
|
+
essential dignities with their tables and mutual reception, and
|
|
1103
|
+
`sectReading`, new: a chart's sect under the convention a caller names,
|
|
1104
|
+
`"altitude"` (the Sun's altitude, which the caller computes; day from 0 up)
|
|
1105
|
+
or `"ecliptic"` (the root's `sectOf`), with the sect light, Mercury's side
|
|
1106
|
+
of the Sun (`orientality`) and the planets in and out of sect
|
|
1107
|
+
(`docs/lite.md`, `api/lite.api.md`). There is no default convention, and
|
|
1108
|
+
`sectOf` does not change. Each function and table of the declination,
|
|
1109
|
+
composite and dignity parts is a copy of the root's or the techniques
|
|
1110
|
+
entry's, with the same results and not the same object; the declarations are
|
|
1111
|
+
theirs. Each of the four parts is built into a file of its own that imports
|
|
1112
|
+
nothing (`scripts/build-lite.mjs`, which `npm run build` runs after tsup),
|
|
1113
|
+
and `npm run exports:smoke` checks that the entry holds only its pinned
|
|
1114
|
+
modules and loads in a Node process that cannot load astronomy-engine
|
|
1115
|
+
(`scripts/lite-entry.mjs`; the preregistered checks are in
|
|
1116
|
+
`docs/evidence/1.1.0-rc.2-20261102/lite/`). The composite functions and the
|
|
1117
|
+
techniques' name helpers move to modules of their own
|
|
1118
|
+
(`src/techniques/composite.ts`, `src/techniques/names.ts`), with no public
|
|
1119
|
+
change. esbuild 0.27.7, the version tsup runs, is now a direct dev
|
|
1120
|
+
dependency.
|
|
1121
|
+
- **The birth-time sensitivity of the vargas** (zodiacs.org's unit
|
|
1122
|
+
P2.B.vargas). `vargaSensitivity(natal, ayanamsa, options?)`, exported by
|
|
1123
|
+
`@zodiacs/engine/vedic` with `VARGA_POINTS` and seven types, gives for each
|
|
1124
|
+
point and varga the first millisecond after the birth at which the point's
|
|
1125
|
+
varga sign changes and the last change before it, up to 2,880 minutes on
|
|
1126
|
+
each side: the instant, its minutes from the birth, the boundary crossed and
|
|
1127
|
+
the signs on either side (`docs/vedic.md`, *Birth-time sensitivity*). The
|
|
1128
|
+
points are the Ascendant, the Sun to Pluto and the two mean nodes; the true
|
|
1129
|
+
node is not offered. Each instant is exact in the engine's own arithmetic on
|
|
1130
|
+
the chart's clock, as `siderealChart` and `chartPoints` compute the
|
|
1131
|
+
positions, which is not a claim of accuracy. That none is missed rests on
|
|
1132
|
+
derived rate bounds for the Ascendant and the mean nodes, and on bounds
|
|
1133
|
+
scanned, not derived, for the bodies. A row the search cannot compute
|
|
1134
|
+
carries a typed refusal:
|
|
1135
|
+
`no-angles`, `polar` (more than 66° from the equator), `out-of-range`
|
|
1136
|
+
(outside 1800 to 2200), `rate-bound` or `evaluation-budget` (2,000,000
|
|
1137
|
+
evaluations a call). `vargaOf` places a longitude as before, through an
|
|
1138
|
+
internal function that takes a whole tick, and the vargas' change
|
|
1139
|
+
boundaries are held to an engine-free fixture,
|
|
1140
|
+
`src/vedic/fixtures/varga-changes.json` (the preregistered checks are in
|
|
1141
|
+
`docs/evidence/1.1.0-rc.2-20261102/varga-sensitivity/`).
|
|
1142
|
+
- **Sizes.** `./time`'s import graph is 42,306 bytes in 7 files and
|
|
1143
|
+
`./lite`'s 28,930 in 5, under budgets of their own, 42,400 and 29,000
|
|
1144
|
+
(94 and 70 bytes left). `./calc`'s is 151,426 bytes, 6,165 more than
|
|
1145
|
+
1.1.0-rc.1's 145,261, for the corrections, the time bands and the chunks it
|
|
1146
|
+
shares with `./time`: over its budget of 145,500, which this candidate
|
|
1147
|
+
raises to 156,000. `./vedic`'s is 141,340, 13,589 more than 127,751, for
|
|
1148
|
+
the varga sensitivity and the same chunks: over its budget of 128,000,
|
|
1149
|
+
raised to 143,000. The graphs of the root, `./internal`, `./internal/math`,
|
|
1150
|
+
`./receipt`, `./sky`, `./techniques`, `./timing` and `./window` grow by 49
|
|
1151
|
+
to 405 bytes, the root's by 345 to 106,325, for the imports and exports
|
|
1152
|
+
that join the chunks `./time` shares with them (and, in `./techniques`, the
|
|
1153
|
+
two modules the composite functions and the name helpers moved to); none
|
|
1154
|
+
of their budgets is raised, and `./window`'s leaves 443 bytes. The package
|
|
1155
|
+
is 1,096,783 bytes unpacked in 90 files, 90,289 more than 1.1.0-rc.1's
|
|
1156
|
+
1,006,494, over the cap of 1,020,000, which this candidate raises to
|
|
1157
|
+
1,100,000 for the two entries, the bands, the varga sensitivity, the
|
|
1158
|
+
corrections and their documentation, rather than move the CHANGELOG's 0.x
|
|
1159
|
+
history out of the package: 50,692 bytes of JavaScript that only the
|
|
1160
|
+
opt-in entry points load, 21,520 of declarations, 17,312 of README,
|
|
1161
|
+
CHANGELOG, LICENSING.md and NOTICE, 420 of manifest and 345 of the root's
|
|
1162
|
+
graph (`sizes.json`). The two new budgets, the two raised ones and the cap
|
|
1163
|
+
are the ceilings approved under the owner's delegation of 2026-11-03 (OQ3
|
|
1164
|
+
in `docs/evidence/1.1.0-rc.2-20261102/OWNER-ANSWERS.md`), not about 5 per
|
|
1165
|
+
cent over a measured graph as before; `scripts/verify-package-contents.mjs`
|
|
1166
|
+
gives each graph's headroom.
|
|
1167
|
+
|
|
1168
|
+
## 1.1.0-rc.1 — unreleased candidate
|
|
1169
|
+
|
|
1170
|
+
The first candidate for 1.1.0, on 1.0.0 (main at `4771fa6`): natal receipts
|
|
1171
|
+
name their conventions as ids of the Zodiacs conventions registry, and a new
|
|
1172
|
+
entry point gives those ids. No value changes. It is not to be published on
|
|
1173
|
+
npm until the owner approves it. Checks: `docs/evidence/1.1.0-rc.1-20261026/`.
|
|
1174
|
+
|
|
1175
|
+
- **Receipts carry their ids.** `createNatalEnvelope` writes a new
|
|
1176
|
+
conventions set, 1.0.0's with `conventionIds:
|
|
1177
|
+
"zodiacs-conventions-registry;receipt-and-result;sorted-unique;in-receipt"`,
|
|
1178
|
+
and `receipt.conventionIds`: every id, in the registry's syntax (a
|
|
1179
|
+
namespace, a colon and a value), that the receipt and its result name, in
|
|
1180
|
+
code-unit order, each once. From the receipt, each conventions and coverage
|
|
1181
|
+
field's key and value (`zodiac:tropical`), the requested and actual house
|
|
1182
|
+
systems (`house:placidus`), why there are no houses, each flag, the
|
|
1183
|
+
reference, the instant's scale (`time-scale:utc`) and the ephemeris
|
|
1184
|
+
(`ephemeris:astronomy-engine@2.1.19`); from the result, the ΔT model and
|
|
1185
|
+
segment, the time basis and the source of UT1 − UTC (`time-basis:iers`).
|
|
1186
|
+
That is the rule of zodiacs.org's registry tests, and the registry it
|
|
1187
|
+
publishes (version 2026-10-18) holds every id these receipts name but the
|
|
1188
|
+
new set's own, which the site adds when it adopts this release
|
|
1189
|
+
(`results/site-rule.txt`). The tests' timed chart in New York with
|
|
1190
|
+
Placidus houses names 26; a flag or a polar fallback adds its own. The
|
|
1191
|
+
codec requires the ids under the new set, exactly as the envelope's fields
|
|
1192
|
+
give them, and refuses them under any other.
|
|
1193
|
+
- **Records.** An envelope of the new set requires the feature
|
|
1194
|
+
`convention-ids`. Each carried archive from 0.1.1-rc.7 to 1.0.0 refuses
|
|
1195
|
+
such a record as `unsupported_feature`, as docs/versioning.md says an
|
|
1196
|
+
earlier release refuses a set it does not know; without the feature they
|
|
1197
|
+
would refuse it as `invalid_shape`, because they read a receipt's fields
|
|
1198
|
+
before its set (`results/earlier-readers.json`). docs/versioning.md now
|
|
1199
|
+
asks a feature of every new set. This release reads every record 1.0.0
|
|
1200
|
+
reads. A receipt names the engine that computed its chart, which may be
|
|
1201
|
+
earlier or later than the one that wrote it, so the new set is accepted
|
|
1202
|
+
from 0.1.1-rc.16, as 1.0.0's is, with no upper bound. A receipt written by
|
|
1203
|
+
the carried 1.0.0 archive (`src/fixtures/receipt-1.0.0.json`) parses,
|
|
1204
|
+
serializes to its own bytes, and replays to positions, angles and cusps
|
|
1205
|
+
within 1e-9° of its own (`src/receipt-ids.test.ts`).
|
|
1206
|
+
- **`@zodiacs/engine/conventions`**, a new entry point that imports no
|
|
1207
|
+
module of another entry: `natalConventionIds(envelope)`, which names a
|
|
1208
|
+
1.0.0 envelope's ids too; `conventionId(namespace, value)`;
|
|
1209
|
+
`parseConventionId(id)`, which gives a `ConventionIdParts`, the value being
|
|
1210
|
+
everything after the first colon;
|
|
1211
|
+
`conventionAddress(id)`, the registry's page with the id through
|
|
1212
|
+
`encodeURI` as its fragment; and `CONVENTIONS_REGISTRY`. The three that
|
|
1213
|
+
take an id throw a `RangeError` for a malformed one. The root does not
|
|
1214
|
+
import the entry. `NatalReceipt` gains the optional `conventionIds`; `api/`
|
|
1215
|
+
records both.
|
|
1216
|
+
- **Migration.** Reading records needs nothing. Code that builds an envelope
|
|
1217
|
+
by hand may keep writing 1.0.0's set; code that writes the new set writes
|
|
1218
|
+
its ids and its feature too. On 1.0.x a 1.1 record is
|
|
1219
|
+
`unsupported_feature`: read it with 1.1. `NATAL_RECEIPT_CONVENTION_SETS`
|
|
1220
|
+
gains the new set at index 0, so each earlier set moves one place: take a
|
|
1221
|
+
set by its content, as its doc comment asks. The ids take room under
|
|
1222
|
+
`NATAL_ENVELOPE_LIMITS`: for the tests' chart the envelope grows from 5,585
|
|
1223
|
+
to 6,976 bytes, the longest string `createNatalEnvelope` accepts in
|
|
1224
|
+
`extensions` falls from 59,927 to 58,536 characters, and the longest array
|
|
1225
|
+
of numbers from 3,816 to 3,787 entries (`results/extension-room.txt`). An
|
|
1226
|
+
envelope near those limits that 1.0.0 accepted can now be refused
|
|
1227
|
+
(`size_limit`, `complexity_limit`).
|
|
1228
|
+
- **No value changes.** 1.0.0-rc.1's battery of 6,417 calls over 1.0.0's
|
|
1229
|
+
twelve entry points (the new `./conventions` is not in it) prints the same
|
|
1230
|
+
bytes on the carried 1.0.0 archive and on this build, run on one machine
|
|
1231
|
+
(darwin-arm64), but in the 129 lines that hold a natal envelope or the list
|
|
1232
|
+
of sets, which differ only by what this candidate adds to them. Of the
|
|
1233
|
+
build's 48 JavaScript files, three are new code: the receipt entry, the new
|
|
1234
|
+
entry and the chunk of ids the two share; ten hold 1.0.0's lines in another
|
|
1235
|
+
order, their chunks renamed; and the other 35 are 1.0.0's once chunk-name
|
|
1236
|
+
hashes and the version are set aside.
|
|
1237
|
+
- **Sizes.** The new entry's graph is 2,754 bytes, under a budget of 2,900.
|
|
1238
|
+
`./receipt` loads its ids: 72,500 bytes, 3,009 more than 1.0.0's 69,491,
|
|
1239
|
+
over its budget of 70,000, which this candidate raises to 76,500 with the
|
|
1240
|
+
owner's approval of 2026-10-26. The package is 1,006,494 bytes unpacked in
|
|
1241
|
+
77 files, 14,579 more than 1.0.0's 991,915, over the cap of 1,000,000, which
|
|
1242
|
+
it raises to 1,020,000 with the same approval: 3,740 bytes of JavaScript and
|
|
1243
|
+
3,370 of declarations for the new entry and the receipt's ids, 7,328 of
|
|
1244
|
+
README and CHANGELOG, 136 of manifest and the 5 of the version in the root's
|
|
1245
|
+
graph (`sizes.json`).
|
|
1246
|
+
|
|
3
1247
|
## 1.0.0 — 2026-10-11
|
|
4
1248
|
|
|
5
1249
|
The first stable release: 1.0.0-rc.2 with the version changed. From this
|