Skip to content

v0.4.0

Latest

Choose a tag to compare

@simonvanlierde simonvanlierde released this 27 Oct 19:30
· 5 commits to main since this release
v0.4.0
86b2f20

A job from the optional live mode now shows on the map, and releases carry build provenance: this one ships the built page as a tarball with its SHA-256 and a Sigstore attestation, under a signed tag.

Open it at https://simonvanlierde.github.io/ramascene-explorer/. Cite it as doi:10.5281/zenodo.23461260.

Added

  • Live mode lights the map. With ?api=, a finished job that carries its
    embodied flows replaces the shown run in What if…: the map, the continent
    strip, the sentence and Details show the job's flows against the baseline
    from the same job, labelled "computed live by the job API, not precomputed",
    with the job's provenance in Details → Method. This needs a job API that
    returns flows; an older one keeps the result in the panel. A job that
    finishes while Flows is shown waits in What if… instead of switching the
    page. Without ?api= nothing new loads or fetches.
  • A reset button next to + and − once the map is zoomed in.
  • Try again buttons: on a run that could not be loaded, and on the live
    panel when the job API does not answer.
  • Docs on the architecture, the URL parameters and job API, what the page
    accepts from ?api= and ?data=, and a roadmap.
  • GOVERNANCE.md and a code of conduct.
  • CONTRIBUTING.md: how to set up, test and send a change. Commits from
    forks need a DCO sign-off, which a check on each pull request enforces.
    SECURITY.md says how a fix is disclosed and credited.
  • brightway-check/, a separate check that loads the same EXIOBASE arrays
    into Brightway and scores one product five ways (Brightway, numpy,
    pymrio, pycirk and this engine), with the agreement table in its README.
    CI checks that the table matches the committed results.
  • Releases carry build provenance. Each v* release gets the built page as a
    tarball with its SHA-256 and a Sigstore bundle, and embodied.parquet on
    data-2011 gets one too. How to check a download is in
    docs/publishing.md, and
    docs/assurance-case.md says why the page and its
    files can be trusted.

Changed

  • CI fails when line coverage drops below 80%. pnpm test checks the same floor.
  • The Pages workflow publishes only from main.
  • The live panel (?api=) is now a Custom scenario card at the end of the
    What if… run list, or in the selection sheet on a phone, instead of a form
    below the page. Its fields are stacked and labelled, the options show names
    without engine ids, and the change is held to the range the job API
    accepts (−100 to +1000%). Its status line sits under Run while the form
    is open, and screen readers hear it also when the phone's sheet is
    closed.
  • While a live job is on the map, the trust pill reads "Live job: not
    checked" instead of Verified, and Details no longer shows the green check,
    which covers the precomputed runs only.
  • Each region has one name everywhere: the sentence now says "Rest of
    Asia–Pacific", as the map and the cards do. "The" is added for the United
    States, the United Kingdom, the Netherlands and the Czech Republic.
  • The What if… legend reads "Change in each 2011 flow, %", every tick has
    its %, and the note is two lines.
  • On phones the zoom buttons sit at the map's bottom left, the Sankey's
    labels stay at their full size, and the pills and the sentence's controls
    are easier to tap.
  • The grid's pickers fold away with the run list, so the industry sections
    stay in view in What if….
  • The desktop scrubber is wider, with Replay on its own row.
  • Text sizes keep to the type scale: the country box, run titles, pickers
    and popover options are 13 px, the segmented controls, table and the
    units beside the figures 12 px, and the phone's top-bar name 13 px.
  • The possessive ("Germany’s") sits on the country's underline, in the
    same weight, instead of trailing after it.
  • Inputs and selects have a darker border, at 3:1 contrast against the
    page.

Fixed

  • Screen readers name each industry in the rail with the words it shows
    first ("Agriculture 11%"), so voice control can find it.
  • Labels on the map no longer hide under the map's buttons, legend or note.
  • With Details open, the keyboard can no longer reach the live panel
    behind it.
  • Focus stays on Run while a live job runs, instead of falling to the
    page.
  • In a narrow window the scroll wheel scrolls the page instead of being
    caught by the map.
  • The Sankey's caption no longer says to tap a band, which did nothing on
    a touch screen.
  • The Sankey of what a country releases mirrors the one of what it
    consumes, so the industry labels no longer run into the "Consumed in"
    column.
  • On phones the author link is a 44 px target like the other controls; the
    header's first row is 44 px tall to hold it.
  • Each of the sentence's controls has the words it shows in its name, so
    voice control finds "Germany’s" and "thousand jobs" by what is on screen.
  • On phones a tap just under one of the sentence's controls no longer goes
    to the control on the line below.
  • A live job whose flows hold a value that is not a number stays in the
    panel instead of showing NaN on the page.
  • The globe turns, drags and morphs from the flat map more smoothly on slow
    machines. While the map moves it draws simpler country outlines, then the
    full ones once it stops.