renkin 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -171,7 +171,7 @@ Use `--format mermaid` for GitHub/Notion-compatible flowcharts.
171
171
 
172
172
  ## Current Limitations
173
173
 
174
- Current release: **v1.0.2**.
174
+ Current release: **v1.0.4**.
175
175
 
176
176
  ⚠️ The corrected 4,903-target v1.0.1 shared-stock comparison is complete. RENKIN
177
177
  recorded 591/4,903 primary successes (12.05%) versus AiZynthFinder 4.4.1's
@@ -411,7 +411,7 @@ for the full acceptance criteria and licensing split.
411
411
  |---|---|
412
412
  | **Pure Safe Rust** | `#![forbid(unsafe_code)]` on all crates — compiler-enforced, zero C/C++ dependencies |
413
413
  | **Search engine** | A\*/AND-OR tree search (Retro\*-equivalent, pluggable `MoleculeValueEstimator`/`ReactionPrior`) with `--beam-width N` for memory-bounded exploration and `rayon` parallel rule application (sequential fallback on wasm32) |
414
- | **Up to 50k reaction templates** | Auto-extracted from USPTO-50k/MIT via rdchiral; frequency-weighted priority (optional pure-Rust `tract-onnx` NN scorer via `--scorer`); `--templates` for custom sets |
414
+ | **Up to 50k reaction templates** | Auto-extracted from USPTO-50k/MIT via rdchiral; frequency-weighted priority (optional pure-Rust `tract-onnx` NN scorer via `--scorer`, with ordering-only frequency blending via `--scorer-ordering-blend`); `--templates` for custom sets |
415
415
  | **Template quality tools** | `renkin template stats\|validate\|dedup\|explain\|coverage\|ids` — frequency distribution, validity, duplicates, per-template lookup, coverage rate, stable IDs |
416
416
  | **Stable template IDs + evidence sidecar** | Every template gets a stable `template_id` (`rule:<name>` / `smirks-sha256:<hex>`, independent of file order). Attach curated DOIs/patents, conditions, yields, and side-reaction warnings via a `--template-metadata sidecar.json`; matching steps get an `evidence` field — see [Template evidence metadata](#template-evidence-metadata) below. `schema_version: 2` sidecars can also attach `examples` (curated exact-substrate records, surfaced first in `--format explain`). Automatic yield/success prediction and literature search remain out of scope ([#41](https://github.com/kent-tokyo/renkin/issues/41)) |
417
417
  | **Ring-context safety guard** | `--ring-context-policy conservative --ring-context-sidecar <path>` — opt-in match-level filter that rejects an extracted template's ring-opening/closing disconnection when its historical training data never observed that bond as ring-forming/-breaking; default `disabled` (unchanged legacy behavior) — see [Issue #72](https://github.com/kent-tokyo/renkin/issues/72) |
@@ -477,6 +477,15 @@ USPTO-50k test set (4,907 molecules, full evaluation):
477
477
 
478
478
  > **Evaluation definition**: A molecule is *solved* if `find_routes` returns at least one route whose leaf precursors are all in the building block set, within depth=5 and beam=100. Ground-truth reactants from USPTO-50k are **not** checked — any commercially accessible route counts.
479
479
 
480
+ ### Current formal 200-target comparison (2026-09-08)
481
+
482
+ The frozen VAL-200 shared-stock rerun found native routes for **134/200
483
+ (67.0%)** targets for both RENKIN and AiZynthFinder 4.4.1. Under the paired
484
+ strict validator-plus-stock metric, RENKIN found **134/200 (67.0%)** and
485
+ AiZynthFinder **123/200 (61.5%)**, a +5.5pp point estimate. This is a fixed
486
+ cohort result, not a universal superiority or experimental-yield claim.
487
+ [Full report](data/comparison/formal_v1.0.3_candidate_20260908/formal_200_native_rstock_combined_v2_20260908/FORMAL_BENCHMARK_REPORT.md)
488
+
480
489
  ### Formal v1.0.1 shared-stock comparison (4,903 paired targets)
481
490
 
482
491
  | Arm | Primary route-to-shared-stock successes | Rate |
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "kent-tokyo <kent-tokyo@users.noreply.github.com>"
6
6
  ],
7
7
  "description": "Ultra-fast retrosynthesis engine for computer-aided synthesis planning (CASP) — pure Rust, WASM-ready, Python bindings via PyO3",
8
- "version": "1.0.2",
8
+ "version": "1.0.4",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/renkin_bg.wasm CHANGED
Binary file