Skip to content

ModelJars 0.1.54

Latest

Choose a tag to compare

@bsbodden bsbodden released this 25 Sep 16:52
· 19 commits to main since this release

API-compatible System One calls

systemOne(questions, state) takes named questions and returns answers under the same names — the shape a System One call already has, so code written against a hosted System One carries over without restructuring.

try (ModelJarDecisionRuntime runtime = Harriet.open()) {
  Map<String, Verdict> answers = Harriet.systemOne(runtime, Map.of(
      "urgency",    new Noul("Is this urgent?"),
      "department", new Choice("Which team handles this?", List.of("billing", "technical"))),
      "my invoice was charged twice and nobody answers the phone");

  double urgent = answers.get("urgency").probabilityOfTrue();
}

The previous batch call, decideAll(List<AnswerSpace>, String), was positional — porting a System One caller meant flattening a map, tracking the order and zipping results back, which fails silently when the two lists drift. systemOne delegates to it, so the evidence is still prefilled once and resumed per question.

Catalogue

  • system-1 is a category. Both System One compositions carry it, and featured domains are pinned into the visible filters — the domain facet sorts by count and cuts to nine, so a two-member category would never have rendered.
  • Composition descriptions now lead with the task rather than the internals.
  • granite-answerability was pinned at 0.1.48 while Central had 0.1.53; both compositions are now pinned to this release.

Fixed

Harriet's detail page threw downloadBytes is not defined and showed "Catalog unavailable". renderModel read a binding declared in another function. The second failure of this kind on this page, so the test now calls renderModel for every joined catalog entry and fails on a ReferenceError or TypeError — the previous test only exercised a summary helper, so 291 tests passed while the page was broken.

Coordinates

org.modeljars.composite:harriet:0.1.54
org.modeljars:modeljars:0.1.54
org.modeljars:modeljars-core:0.1.54
org.modeljars:modeljars-catalog:0.1.54
org.modeljars:modeljars-cli:0.1.54

Built on com.integrallis:models:0.3.46. Base weights Qwen3.5-4B Q4_K_M, frozen and unmodified, Apache-2.0, sha256 00fe7986ff5f6b463e62455821146049db6f9313603938a70800d1fb69ef11a4.