Skip to content

Releases

jupyddl 2.5.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 11:39

Added

  • Every merge is a release, decided by what was merged. Pull request
    titles are Conventional Commits (a pr-title check enforces it), and on
    each merge release.yml takes the largest bump the PR's title and commits
    ask for — fix → patch, feat → minor, feat! → major — bumps the version
    everywhere, dates this changelog, commits and tags main, and publishes to
    PyPI. No release PR and nothing to approve. A release:* label overrides
    the bump. See .docs/RELEASING.md.
  • The intent to publish, written down. .docs/PUBLISHING.md says why and
    where we mean to publish jupyddl as citable research software — a Zenodo DOI
    per release, a JOSS paper, ICAPS workshops for the research results — with a
    readiness checklist, the paper outline, the AI-usage disclosure JOSS requires
    and how contributors can be considered for authorship. The README states the
    project's aim (a framework to build on and to explain algorithms with) and
    its Cite section says which version the 2021 preprint describes.
  • Plugins. A package can now add planners, heuristics and generators by
    declaring jupyddl.planners, jupyddl.heuristics or jupyddl.generators
    entry points; once it is installed, jupyddl solve -s <its planner> works
    without anyone importing it. Discovery is lazy (the CLI runs it before
    building its parser, the library only when asked for a name it does not
    know), a built-in name always wins, a plugin that fails to import is skipped
    with a warning, and JUPYDDL_NO_PLUGINS=1 turns it off. jupyddl plugins
    lists what was found.
  • .docs/EXTENDING.md, a guide to building on the framework: a heuristic,
    a planner from a priority function, a planner from scratch with the full
    budget/observer contract, a generator, how to test the guarantees you claim,
    and how to ship it all as a plugin. Every example runs in the test suite, so
    the guide cannot drift from the API.
  • best_first accepts a tuple priority for tie-breaking
    (lambda g, h: (g + h, h)); observers are given its first element as f.
  • Community files for outside contributors: a security policy, a
    pull-request template, a Propose an algorithm issue template, and an
    "Adding an algorithm" section in CONTRIBUTING.md.

Changed

  • CI now runs on pull requests, including from forks. tests and build
    were on: [push], which never fires for a fork, so an outside contributor's
    PR showed no checks at all. They now run on every pull request and on pushes
    to main.

  • Documentation lives in one place: .docs/. It was spread over three
    directories — docs/ for the contributor files and the README charts,
    promo/ for the videos and screenshots, .docs/ for the research notes —
    with no rule saying which took what, so every new file was a guess. The
    research notes, the release runbook and every image, video and measurement
    cache are now under .docs/, with binaries in .docs/assets/. This also
    matches pymapf, the sibling project.

    Paths quoted in the released sections below are the ones that were correct
    at the time. promo/rl-data.json is now .docs/assets/rl-data.json, and
    docs/images/ is now .docs/assets/.

    CONTRIBUTING.md and CODE_OF_CONDUCT.md moved to .github/ rather than
    .docs/: GitHub only recognises those two files in the repository root,
    .github/ or docs/, so filing them under .docs/ would have silently
    dropped the contributing link on the issue and pull-request forms.

Fixed

Wrong answers from the task model and the heuristics. Each of these returned a
plan, a cost or a value without complaint, and validate_plan accepted the
plans because it replays them through the same model. They are now pinned by
tests/test_semantics.py on tiny tasks whose right answer is obvious.

  • Derived facts were never retracted. An action that deleted the support of
    a derived fact left it true, and (not <derived>) held from the initial state
    on. Axioms are now recomputed from scratch after every step, and a negated
    derived fact is maintained with them. Negating a derived predicate inside
    another rule
    needs stratification and is now refused by name.
  • An atom both added and deleted left its complement true as well, so
    (not (at a)) and (at a) could hold together, and a when that re-added a
    deleted atom did the same. For complement facts the delete now wins.
  • Action costs. Under a (total-cost) metric an action with no cost effect
    now costs 0, as in IPC planners, rather than 1 — on pegsol and sokoban the
    "optimal" planners were optimising the wrong objective. A cost inside when
    was charged whether or not the condition held; it is now refused, as is a
    negative cost.
  • A numeric fluent that is never defined read as 0, so (distance a c) for
    a road that does not exist cost nothing. Conditions and effects reading one
    now fail, as PDDL 2.1 specifies.
  • blind was not admissible when any action is free, which every PDDL 3
    compilation introduces, so astar+blind could return a costlier plan.
  • h1/h2/hm crashed on every numeric or timed task, and LM-cut
    crashed on an empty goal
    , which made the default solve() crash too.
  • lmcut and h2 claimed admissibility on tasks with conditional effects,
    where they can overestimate. The instance flag now says so.
  • solve_task(task, "astar") used hff, which is not admissible, so the
    default A* was not optimal. Optimal planners now default to lmcut. -H none
    also fell through to hff; it now means blind.
  • make_heuristic(LMCutHeuristic, task) returned the class unbuilt, and the
    planner then crashed calling it on a state. Classes and partials are now built.
  • Results depended on PYTHONHASHSEED. Fact ids followed string hashing,
    so LM-cut broke ties differently in every process: gripper with astar/lmcut
    expanded 1725, 1758 or 1760 nodes and returned different plans. Ids are now
    assigned in sorted order, so a benchmark reproduces.
  • iddfs, idastar and ehc ignored their budget, so --time-limit 0.5
    on blocksworld12 ran for minutes. beam polled once per layer and bnb kept
    evaluating LM-cut on every sibling after the budget fired; both now stop at
    once. A new contract test runs every planner where the budget is the only
    thing that stops it.
  • A depth cap was reported as "no plan exists" (iddfs, bnb), and a
    bnb plan found under one as optimal. Hitting the cap now sets truncated,
    as does a search deeper than Python's recursion limit.
  • bfs and iddfs were listed as optimal. They minimise plan length;
    on errands they return cost 16 where 10 is optimal. They are no longer in
    OPTIMAL_PLANNERS, and the workbench no longer badges them.
  • The live dashboard said "no plan found" when the budget stopped the
    search, smeared every repaint on a narrow terminal (lines were never clipped
    to its width), and logged ten times too often when not on a terminal.
  • idastar, ehc, hc and beam without a heuristic raise a clear
    ValueError instead of a TypeError from deep inside the search;
    MultiObserver accepts positional arguments like the base class; the
    SearchObserver docstring no longer claims hooks are called defensively.
  • The command line's exit codes say what happened: 0 solved, 1 no plan, 2
    bad input, 3 stopped by a budget, 4 a plan that failed validation. Before,
    unsolvable, out-of-budget and a crash all exited 1. Bad input — a missing
    file, a parse error, an unknown planner — is one line on stderr instead of a
    traceback (JUPYDDL_DEBUG=1 brings the traceback back). --version exists.
  • jupyddl demo and jupyddl benchmark demos never finished: neither took
    a budget, and demo's blind runs on blocksworld12 do not end. Both now stop
    each search after 10 s by default; animate and demo accept
    --max-expansions and --time-limit like solve.
  • benchmark checks --planners, --heuristic and --metric before running
    rather than reporting nosuch 0/13, and every chart option checks for the
    viz extra before searching instead of failing (or silently writing
    nothing) afterwards.
  • A dead end crashed the charts (Axis limits cannot be NaN or Inf) and
    coloured the wavefront NaN; in the workbench, an infinite h or f made the
    progress message invalid JSON and aborted the run.
  • A trace's plan showed compiler bookkeeping (__observe-1#1) and
    disjunct tags; it now records the plan the user reads.
  • The sdist's own test suite failed: it dropped .github/ entirely while a
    test checks CONTRIBUTING.md is there. Only .github/workflows/ is left
    out now. build runs twine check --strict, like release does.
  • black is pinned to one major version in both the dev extra and the
    format workflow, which installed whatever was newest; Renovate now pins
    third-party actions to commit digests.
  • Learned-heuristic top-1 was neither held out nor tie-safe. A sibling
    scoring level with the successor the plan took counted as a correct ranking,
    so a model that outputs a constant scored 1.000 — and checkpoint selection,
    which reads top-1, could prefer a collapsed epoch. Corpus.split also gave
    the held-out side no ranking groups, so the "held out" top-1 jupyddl learn
    printed was measured over training instances. A tie with k siblings now
    earns 1/(k+1), a sibling identical to the chosen successor in features and
    step cost is not recorded at all, and selection and the reported top-1 use
    the held-out groups. The published figures came from the old rule; see the
    dated corrections in .docs/learned-heuristics.md and
    .docs/rl-for-search.md.
  • A DAgger or bootstrap state could validate against its own instance.
    split treated X#dagger1 as an instance apart from X; it now groups on
    the name before the #.
  • **...
Read more

jupyddl 2.4.0

Choose a tag to compare

@github-actions github-actions released this 21 Aug 10:33

Added

  • A Research view in the workbench. jupyddl.learn shipped in 2.3.0 with
    its results only in .docs/ and a video, which meant the published site said
    nothing about the biggest addition in the release. The view carries the
    measured run: imitation against hff and goalcount, the per-instance
    spread behind the mean, the logistics loss and why the feature space causes
    it, and the three claims that turned out to be wrong. Its numbers are built
    from promo/rl-data.json — the same cache the RL video renders from — so the
    page and the video cannot drift apart, and a test pins them together.

Fixed

  • Reading the workbench no longer costs a 10 MB download. <main> was
    hidden until Pyodide reported ready, so every page of prose, the requirement
    matrix and the new Research view sat behind a full-screen spinner waiting for
    a runtime none of them use. The shell now renders immediately from the
    committed bundle, the boot notice is a status bar rather than a splash
    screen, and only the controls that actually run a planner stay disabled until
    the interpreter arrives.

Changed

  • Python 3.10 is the new floor, and the matrix runs 3.10 through 3.14.
    3.9 reached end of life in October 2025; requires-python moved to match
    what is actually tested.
  • The pddl-examples submodule advances to a corpus that now grows on its own:
    it imports fresh domains from planning.domains daily.
  • All URLs follow the organisation's rename to openplan-labs.

Removed

  • Mergify. Its auto-merge rule waited on an approving review that a
    single-maintainer project does not produce, and its reviewer-assign rule
    pinged an inactive account; every recent pull request was merged by hand.

jupyddl 2.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Aug 08:52
0ca272e

Added

  • jupyddl.learn: heuristics trained from your own solved plans. Every
    solved instance is a labelled trajectory — the cost of a plan's suffix from a
    state on it is that state's cost-to-go — so a corpus of plans is supervision
    that already exists. Stdlib-only like the rest of the core; pip install jupyddl[learn] adds NumPy purely for speed, and the two code paths are pinned
    together by a test.
  • A ranking objective, by default. Greedy best-first search never reads a
    heuristic value, only the order it imposes, so the loss optimises the order:
    at each state on a plan, the successor the plan took should sort ahead of the
    siblings it passed over. A small regression term is kept to anchor a scale,
    which pure ranking leaves undefined and wastar needs. Checkpoints are
    selected on top-1 ranking accuracy rather than validation error.
  • A reinforcement stage that optimises search cost directly, since "nodes
    expanded" is not a differentiable function of the weights: DAgger for the
    distribution shift, bootstrapping for the instances too hard to label, and
    the cross-entropy method over the weight vector with the planner as a black
    box. On blocksworld this took a held-out set from 366 expansions and 0.90
    coverage to 137 and 1.00 — though see .docs/rl-for-search.md: that mean is
    dominated by one hard instance, and the durable claim is the coverage one.
  • jupyddl learn, and learned:<model.json> accepted anywhere a heuristic
    name is — solve, benchmark, the API. make_heuristic also passes through
    an already-built heuristic, so callers holding a trained model need not
    round-trip it to disk.
  • .docs/ — research notes: the prior work, the measured results including the
    domain where this loses badly and exactly why, the MDP the RL stage
    corresponds to, and a roadmap.

Fixed

  • always was not enforced across the actions timed initial literals compile
    to.
    The invariant went onto the domain's own actions and the goal, on the
    argument that every state is either taken from by an action or is the final
    one — but the firing and waiting actions a timed literal compiles to also
    change facts, and they were exempt. A literal clearing (safe) at t=3 and one
    restoring it at t=4 fire back-to-back, so the unsafe state in between was
    never checked and the plan was reported valid. Invariants now go onto every
    action.
  • The browser bundle is byte-reproducible again. tools/build_web.py
    sorted the files inside each directory but let os.walk visit the
    subdirectories in filesystem order, so jupyddl-sources.json came out
    byte-different on a CI runner and the staleness check failed on a bundle that
    was not stale.
  • format no longer strands pages. It reformats jupyddl/ and commits to
    main; web/dist embeds those sources verbatim and pages refuses to deploy a
    bundle that has drifted, so the reformat could leave main undeployable. The
    rebuild now rides along in the same commit.
  • The sdist shipped 6.6 MB of marketing. Hatchling's defaults packed the
    promo video, every screenshot and every documentation chart alongside a 105 KB
    wheel. Now 235 KB, and it still builds, installs and passes its own suite —
    which two parser tests previously broke, hard-failing without the
    pddl-examples submodule instead of skipping like the other 156.
  • Mergify's auto-merge rule matched no check. It required
    check-success=tests, which is the workflow name — the checks are the
    matrix jobs (test (ubuntu-latest, 3.12, dev)), so the rule never fired.

Changed

  • CI runs the suite on Python 3.13 and 3.14 as well as 3.9–3.12, and lints
    tools/ alongside jupyddl and tests.
  • One matrix entry installs the viz extra. tests/test_viz.py and
    tests/test_cli_viz.py importorskip matplotlib, so 26 of their 30 tests —
    the entire charting surface — were silently skipped in CI.
  • build no longer re-runs the lint the tests matrix already ran. It builds
    the sdist and wheel, twine checks them, installs the wheel into a clean
    environment and plans with it from outside the repository — packaging
    breakage an editable install cannot show.
  • actions/checkout v4 → v7, actions/setup-python v5 → v7,
    codecov/codecov-action v4 → v7 (#146, #150, #145); the format job runs on
    Python 3.14 (#149); the Mergify config drops the deprecated
    delete_head_branch block (#143).

v0.4.1

Choose a tag to compare

@guilyx guilyx released this 21 Jan 11:44
1619cc3
  • Added Critical Path
  • Added Metrics
  • Added Path class

v0.4.0

Choose a tag to compare

@guilyx guilyx released this 05 Jan 11:37
52f5fe5
  • Add DataAnalyst documentation
  • Add DataAnalyst heuristics performance comparer
  • Improve DataAnalyst plots
  • Add Delete Relaxation Heuristics
  • Add a git submodule for PDDL domains and problems
  • Overload of str for cleaner string formatting
  • Improve coverage

v0.3.0

Choose a tag to compare

@guilyx guilyx released this 23 Dec 23:17
61997ca

Changelogs

  • Add the DataAnalyst tool
  • Pair of problem/domain subfolders in data/ are now retrievable in a private method
  • Run searches on all problem/domain in those subfolders and plot their complexity metrics
  • Run searches on a specific problem/domain and plot its complexity metrics
  • Exclude some planners when computing the data for complexity metrics

v0.2.5

Choose a tag to compare

@guilyx guilyx released this 23 Dec 00:58
5f448a1
Merge pull request #56 from APLA-Toolbox/package-pypi

[Critical Fix] Broken package

v0.2.4

Choose a tag to compare

@guilyx guilyx released this 23 Dec 00:39
783a3c3

Changelogs

  • Packaged with Pypi
  • Improve coverage

v0.2.0

Choose a tag to compare

@guilyx guilyx released this 22 Dec 17:42
35b1d3b

Changelogs

  • Added A*
  • Added heuristics registration
  • Improved coverage
  • Improved DevOps

Next up

  • Time optimization
  • More heuristics
  • More planners
  • Better coverage
  • More tests
  • Package with Pypi

v0.1.0

Choose a tag to compare

@guilyx guilyx released this 21 Dec 11:17
40b3802

Parse PDDL files and Plan with respects to the Problem.PDDL constraints using DFS, BFS or Dijkstra search algorithms.