Skip to content

A4: batch v3 — runner + result + store (fixes lstrip bug) #700

Description

@jepegit

Epic A — Batch v3 · runner.py + result.py + store.py. Plan §4.3–4.4.

Acceptance

  • load_cell(spec, policy) -> CellResult — pure-ish: loads one cell, optional recalc, returns cell or exception; no prints, no journal mutation.
  • run(journal, policy, executor="serial") -> BatchResult with per-cell outcome/timing/source; raise_if_failed() (strict mode) and report().
  • CellStore(Mapping[str, CellpyCell]) — lazy load on access; first/sample/unload; tab-completion via _ipython_key_completions_. Fixes the str.lstrip label-mangling bug (xenon_cellenon_cell).

Part of #696.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cellpy2-stage4cellpy 2.1 (Stage 4): batch/collectors redesign, utils waves 3-4, F6, shim removals

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions