v1.11.0 — Derived transparency, cheaper latest-value fetches, hot-path performance #69
AnthonyPuggs
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
v1.11.0 — Derived transparency, cheaper latest-value fetches, hot-path performance
This release closes the three open items from the latest code review: it makes the
derived layer's alignment method machine-readable, stops the "latest print" path
from downloading full history, and removes wasted work on the request hot path.
All changes are additive and backward-compatible.
Added
alignment_methodon every derived series.metadata.derivednow carries anexplicit
alignment_method— one oflocf,exact_month,period_intersection,or
year_ended_lag— so a consumer can tell how a derived indicator's operands werealigned (e.g. last-observation-carried-forward, which can bias spreads and ratios
around turning points). Declared on all 16 derived concepts and added to the
response JSON Schema. (feat: derived alignment_method + ex-post real-rate disclosures #65)
Changed
real_cash_rate,real_10y_bond_yield,real_bank_bill_rate,real_business_lending_rate, andreal_mortgage_ratedescriptions now make explicit that they are ex-post real rates(nominal less realised year-ended CPI inflation), not the ex-ante Fisher
definition. (feat: derived alignment_method + ex-post real-rate disclosures #65)
derived_metadatainschemas/response.schema.jsongains arequired
alignment_methodfield. This is additive — existing fields and toolsignatures are unchanged. (feat: derived alignment_method + ex-post real-rate disclosures #65)
Performance
get_latest_observationsfor ABS now requestsonly the most recent observations upstream via SDMX
lastNObservations, keyeddistinctly in the cache, instead of downloading the full dataflow and truncating
client-side. The expert
get_abs_datatool is unchanged. (feat: cheap ABS latest-value path via lastNObservations (P0.3) #66)asyncio.gather);payload copying is centralised in the cache (the request hot path drops from two
deep copies to one); cache disk I/O is offloaded off the event loop; and concurrent
identical upstream fetches are coalesced with a single-flight helper so a burst of
duplicate requests hits the source only once. (perf: hot-path pass — concurrent operands, central cache copy, threaded disk I/O, single-flight (P1.7) #67)
Fixed
real_business_lending_ratenow aligns its lending-rate and inflation operands by(year, month), so the RBA monthly end-of-month series and the ABS monthly CPIseries intersect correctly instead of yielding an empty result.
This discussion was created from the release v1.11.0 — Derived transparency, cheaper latest-value fetches, hot-path performance.
Beta Was this translation helpful? Give feedback.
All reactions