Skip to content

Releases

seedmatch 0.1.2

Choose a tag to compare

@radutanasa radutanasa released this 29 Nov 19:07

This release brings seedmatch into full Part 1 conformance with the Agent-Ready Package Standard 1.0 and adds a cross-platform publication benchmark suite.

uv pip install seedmatch==0.1.2

The changes

  • Added AGENT-READY.md, the conformance validator (tests/test_agent_ready.py), and executable proofs for all Part 1 rules (tests/test_agent_ready_proofs.py).
  • Added version and license fields to every Resource in seedmatch.resources.REGISTRY and updated seedmatch-fetch list to print all 9 tab-separated fields (group, key, name, version, size, sha256, url, license, description).
  • Updated pool_width(None) to obey the minimum of os.cpu_count() and process CPU affinity (os.process_cpu_count() or os.sched_getaffinity(0)).
  • Committed upfront allocations in e_value_null and match_distances with np.full so out-of-memory failures occur before long work begins.
  • Capped list-bearing error messages at 20 items with the remaining count across genome, reference, and miRDB readers.
  • Wrapped matplotlib cache OSError in SeedMatchError naming MPLCONFIGDIR and banned subprocess and pip in core modules.
  • Added installation, environment/threads, search/curve rules, and per-function requirements/cost tables to installed src/seedmatch/guide.md, removing references to repository-only files.
  • Added tools/perf/benchmark.py, tools/perf/benchmark.R, and the manual cross-platform workflow .github/workflows/benchmark.yml.
  • Pinned Pillow==13.0.0 in development constraints.

seedmatch 0.1.1

Choose a tag to compare

@radutanasa radutanasa released this 28 Nov 19:51

This release adds a link to https://inflexa.ai on the PyPI page. The code of seedmatch is the same as in 0.1.0.

uv pip install seedmatch==0.1.1

The changes

  • The project links on PyPI have the link Inflexa to https://inflexa.ai.
  • The README links the name of Inflexa, Inc. to the site.

seedmatch 0.1.0

Choose a tag to compare

@radutanasa radutanasa released this 28 Nov 16:35

The first release of seedmatch, a Python port of the R package SeedMatchR for AI agent sandboxes.

uv pip install seedmatch

PyPI has a wheel for Linux x86_64 and Linux aarch64 (glibc 2.28 or later), and for macOS arm64. Python 3.12 or later is necessary.

The contents

  • A port of each exported function of SeedMatchR. r-map.md gives the Python name of each R function.
  • The core analyses: the seed search, the seed counts, seed_match_report, the ECDF tests, and the sequences of an annotation.
  • The other analyses of SeedMatchR, for example the e-values, the wobble and bulge search, and the TRRUST and STRING scores.
  • The plots of seedmatch.plot with the extra plot, and the report table as HTML.
  • The command seedmatch-fetch. It downloads the reference files and the data tables on a machine with network access. A registry pins the SHA-256 digest of each file.
  • Search kernels in a Rust extension. On the 3' UTRs of rnor7, seed_match_report is 47 to 54 times faster than SeedMatchR (docs/performance.md).

The behavior

On the core paths, the output is the same as the output of SeedMatchR. R golden files in the tests keep this true. Each change of behavior from R has an entry in divergences.md: a fix of a defect of R, or an improvement.

The core never uses the network. Each InputError gives the bad value and the expected value, thus an agent can correct its call. The installed package holds guide.md, r-map.md, and divergences.md. Thus an agent in a sandbox can read them without network.