Accuracy

How accurate is Vedaksha?

Accuracy

What is measured, and what is not.

Two classes of evidence live on this page, and they carry different guarantees. Keep them apart when you cite either.

Class A below is a per-body residual our own oracle tests print, against a committed 24,350-row JPL Horizons DE441 fixture the engine ships. Each Class A block carries the exact cargo test command that reproduces it; run it against a fresh checkout and you get the same numbers. The fixture itself is regenerable from a fresh JPL Horizons pull via scripts/generate_horizons_oracle.py in the engine repository.

Class B below is cross-validation against two national ephemeris agencies, measured with reference kernels the engine does not ship and its own CI cannot regenerate. It is a dated, provenance-stamped reading, not a number CI asserts on every push. The measurement was made with vedaksha-parity, which is public. Download it and the reference kernels to re-run this table.

Provider choice

Choose an ephemeris provider

Provider data requirements and measured longitude residuals against JPL Horizons
ProviderData requirementMeasured eraMean (arcsec)Maximum (arcsec)
SpkReaderJPL DE440s kernel1900-20250.0960.272
AnalyticalProviderCompiled VSOP87A and ELP/MPP02 constants; no runtime ephemeris file1900-20250.1601.473

Choose AnalyticalProvider when runtime ephemeris files are impractical, including browser deployments. Choose SpkReader when the kernel file is available and its measured longitude residuals fit your requirements. These measurements do not establish house-cusp accuracy or the same residuals outside the measured era.

Class A, self-verifiable

Per-body residuals, from our own oracle.

Measured against a committed 24,350-row JPL Horizons DE441 fixture the engine ships in tests/. Both headline measurements cover 1900-2025; neither figure implies anything about the other, and neither should be paired with the full 24,350-row fixture count.

Precisely what this measures

A longitude residual, against a barycentre, over one era.

Mean angular residual in apparent geocentric ecliptic longitude (of date) vs JPL Horizons. Not a general position-accuracy figure: the oracle fixture also stores ref_latitude, ref_distance and ref_speed (see oracle_comparison.rs), but none of those enter this number -- longitude only.

Comparisons query planetary-system barycentre IDs (Body::naif_id()), matching what the DE440s kernel stores and what SpkReader returns -- not physical planet centres. Querying centres instead would inject a spurious ~0.1 arcsecond offset for the outer planets (scripts/generate_horizons_oracle.py), the same order of magnitude as the headline mean itself.

SpkReader

DE440s kernel, 15,350 comparisons over 1900-2025.

Class A · self-verifiable
SpkReader: apparent geocentric longitude residuals, 1900-2025
ProviderMean (arcsec)Maximum (arcsec)Worst bodyComparisons
SpkReader0.0960.272Moon15,350
SpkReader: per-body longitude residuals, 1900-2025
BodyMean (arcsec)Maximum (arcsec)Comparisons
Jupiter0.0960.2461,535
Mars0.0950.2441,535
Mercury0.0950.2451,535
Moon0.0920.2721,535
Neptune0.0960.2471,535
Pluto0.1000.2511,535
Saturn0.0960.2461,535
Sun0.0950.2441,535
Uranus0.0950.2461,535
Venus0.0950.2431,535

Reproduce this table yourself:

cargo test -p vedaksha-ephem-core --release --locked --test oracle_comparison -- --include-ignored

AnalyticalProvider

VSOP87A + ELP/MPP02, no runtime data file, 13,815 comparisons over 1900-2025.

Class A · self-verifiable
AnalyticalProvider: apparent geocentric longitude residuals, 1900-2025
ProviderMean (arcsec)Maximum (arcsec)Worst bodyComparisons
AnalyticalProvider0.1601.473Neptune13,815
AnalyticalProvider: per-body longitude residuals, 1900-2025
BodyMean (arcsec)Maximum (arcsec)Comparisons
Sun0.0940.2601,535
Moon0.0940.2761,535
Mercury0.0940.2781,535
Venus0.0940.2691,535
Mars0.0900.2461,535
Jupiter0.1480.3351,535
Saturn0.1590.3381,535
Uranus0.2571.2011,535
Neptune0.4101.4731,535

Reproduce this table yourself:

cargo test -p vedaksha-ephem-core --release --locked --test analytical_oracle -- --include-ignored

Time scales

How the oracle handles time scales

From 1962-01-20, the oracle converts Horizons' UTC tags to TT using leap seconds. Delta T does not enter those residuals. The SPK maximum over 2026 to 2100 is 0.189 arcseconds. UT1 predictions after 2033.75 still depend on extrapolated Delta T. The headline tables retain the 1900-2025 cut so their published counts and definition stay consistent.

Class B, not reproducible from this repo

Cross-validation against national ephemeris agencies.

Measured against reference kernels the engine does not ship and its own CI cannot regenerate. Dated and provenance-stamped below; treat it as a snapshot, not a live gate.

Cross-validation

Two independent national agencies.

Published 2026-10-24 · measured 2026-10-24 · harness: A separate parity harness maintained by the same authors · engine v10.0.0.

Class B · not reproducible from this repo
Cross-validation of engine v10.0.0, published 2026-10-24
ReferenceKernelMean (arcsec)Maximum (arcsec)Comparisons
JPLDE440 (local kernel)0.0300.695 (Mars)13,832
IMCCEINPOP21a (local kernel)0.0250.696 (Mars)11,788

These references were not shipped with the engine and were not exercised by this repository's CI. They were measured once, out of band, using a separate parity harness maintained by the same authors, and are reported here as a dated snapshot.

A separate parity-testing project that consumes this engine only through its published interfaces and holds its own local copies of the reference kernels. It is maintained by the same authors as this engine: what is independent is the methodology and the reference ephemerides, not the party performing the measurement.

The harness is public at github.com/arthiqlabs/vedaksha-parity. With your own copies of the reference kernels, you can reproduce this table.

By distance from J2000

Residual growth away from the epoch.

Class B · not reproducible from this repo

The “max” column below is a lower bound on the true worst case, not a measured worst case. A coarse date grid can alias a short-period oscillation and understate its peak; do not read these maxima as ceilings.

0-100: 8 dates
BodyMean (arcsec)Maximum (arcsec, lower bound)
Sun0.0100.025
Moon0.0100.019
Mercury0.0120.053
Venus0.0090.025
Mars0.0270.077
Jupiter0.1410.292
Saturn0.1460.217
Uranus0.5441.312
Neptune0.9822.202
100-200: 8 dates
BodyMean (arcsec)Maximum (arcsec, lower bound)
Sun0.0330.056
Moon0.0160.028
Mercury0.0310.069
Venus0.0340.050
Mars0.1430.393
Jupiter0.3040.661
Saturn0.2000.347
Uranus0.6112.183
Neptune1.9103.538
200-300: 8 dates
BodyMean (arcsec)Maximum (arcsec, lower bound)
Sun0.0530.099
Moon0.0450.087
Mercury0.0560.160
Venus0.0540.094
Mars0.2680.735
Jupiter0.4420.516
Saturn0.3610.495
Uranus1.3653.043
Neptune3.3774.388
300-400: 8 dates
BodyMean (arcsec)Maximum (arcsec, lower bound)
Sun0.0730.160
Moon0.0780.167
Mercury0.0720.140
Venus0.0710.136
Mars0.4430.849
Jupiter0.4120.741
Saturn0.5010.609
Uranus1.8494.499
Neptune4.8056.368
400-500: 6 dates
BodyMean (arcsec)Maximum (arcsec, lower bound)
Sun0.0690.181
Moon0.2410.354
Mercury0.1080.266
Venus0.1200.273
Mars1.3473.881
Jupiter0.4500.782
Saturn0.7520.935
Uranus3.1176.493
Neptune5.7686.280
500-600: 4 dates
BodyMean (arcsec)Maximum (arcsec, lower bound)
Sun0.0550.075
Moon0.5080.602
Mercury0.0680.105
Venus0.0190.040
Mars2.3946.371
Jupiter0.4430.505
Saturn1.0751.231
Uranus5.39510.056
Neptune7.7258.196

Not measured here

Three things this page deliberately does not measure.

  • House cusps. No figure on this page covers house-cusp placement or any house-system boundary. That validation does not exist yet; see the open backlog rather than assuming a silent pass.
  • The true node. The osculating true-node figures above are agreement with JPL Horizons over the sampled epochs, not a claim of agreement with any other library's true-node computation, which can differ by construction (osculating vs. mean, and by perturbation model).
  • Ayanamsha agreement with other implementations. Each ayanamsha system is checked against its own cited primary source and against an independent derivation of that same primary, never against another engine or software package. Agreement with another implementation is not evidence of correct derivation, so it is not tested for and not claimed.

Provenance

Clean-room provenance.

Every external data source the engine ingests, and the cleanroom record behind the more contested derivations, are public in the engine repository.

  • DATA_PROVENANCE.md: every external data source ingested, with primary URL, license status, fetch date, and content hash.
  • docs/audit/: dated clean-room and review records for the more contested derivations (lunar theory, ayanamsha, node direction rules), each naming what was checked and against what.

Questions

Accuracy questions

How accurate is Vedaksha?

0.096" mean longitude residual with JPL Horizons DE441 over 15,350 comparisons on the SpkReader path (DE440s kernel), and 0.160" mean longitude residual over 13,815 comparisons on the AnalyticalProvider path (VSOP87A + ELP/MPP02, no runtime data file), both measured over 1900-2025. The two providers are separately implemented and separately measured, and must not be averaged or presented as one number.

Is it validated against an independent reference?

Yes. Cross-validated against JPL and IMCCE, reference kernels the engine does not ship and its own CI cannot regenerate. Published 2026-10-24 and measured 2026-10-24, against engine v10.0.0, using a separate parity harness maintained by the same authors. A separate parity-testing project that consumes this engine only through its published interfaces and holds its own local copies of the reference kernels. It is maintained by the same authors as this engine: what is independent is the methodology and the reference ephemerides, not the party performing the measurement. Per-reference results: JPL 0.030" mean, 0.695" max (Mars) over 13,832 comparisons; IMCCE 0.025" mean, 0.696" max (Mars) over 11,788 comparisons. This is a dated, provenance-stamped snapshot, not a number the engine's own CI asserts on every push.

Does it work without a data file?

Yes. The AnalyticalProvider path evaluates VSOP87A + ELP/MPP02 from committed constants with no runtime data file, measuring 0.160" mean longitude residual with JPL Horizons DE441 over 13,815 comparisons in 1900-2025.

What is not validated?

Three things are deliberately not validated. House cusps: no figure on this page covers house-cusp placement or any house-system boundary. The true node: the osculating true-node figures are agreement with JPL Horizons over the sampled epochs, not a claim of agreement with any other library's true-node computation. Ayanamsha agreement with other implementations: each ayanamsha system is checked against its own cited primary source, never against another engine or software package.

Further reading

The technical report.

A technical report on the engine's ephemeris pipelines, measured accuracy, and clean-room provenance, available as a PDF. It is not peer reviewed: read it as a detailed writeup from the people who built the engine, not as an independently refereed publication.

vedaksha-technical-report.pdf: the rendered report, unreviewed. The LaTeX source is also available for anyone who wants to build it themselves.