Local Decision Store: catalog packs
This repository is the default registry of Local Decision Store
(hf://local-decision-store). It holds small, calibrated decision packs that run on CPU, in your own
process, and answer with the Decisions API response shape. catalog.json is the lds.registry/v1 index.
Use
uvx local-decision-store run "Call me at 090-1234-5678" # default pack: pii-detect
uvx local-decision-store run support-urgency "The site is down, fix it now"
import lds
pii = lds.load("pii-detect") # first run: downloads into ~/.lds; afterwards: cache only, offline
print(pii("Call me at 090-1234-5678"))
The first run downloads the pack (and, for embed packs, the int8 multilingual-E5-small embedder from its
upstream repository) into ~/.lds. Later runs load it from there without network access. LDS_OFFLINE=1 turns
downloads off. lds.load, lds run and the local-decision-store command need a release after 0.1.7.
Embed packs need the embed extra: uvx --from "local-decision-store[embed]" local-decision-store ....
Status: preview, dev quality
Every pack here is status: preview, quality: dev (release packs-2026-11-23.1, built with lds 0.1.5).
- Gold is model-labeled. The gold labels come from a model (
qwen3-32b), not from human review. A passing quality gate means the pack reproduces that model's labels on the gold inputs, not human-verified accuracy. Spot-check a human-reviewed sample before relying on a pack. - Only release candidates are published here: packs whose quality and parity gates pass and whose tier the catalog lists. Robustness on out-of-distribution and adversarial inputs varies by pack.
- Latency was measured on a shared aarch64 machine, not on the reference machine.
Packs
The gold metric is AUROC for predicates, macro-F1 for choices and QWK for scores, measured on the model-labeled gold set.
| pack | tier | category | questions | gold metric |
|---|---|---|---|---|
churn-risk |
lite | customer-support | support.churn_risk |
qwk 0.964 |
complaint |
lite | customer-support | support.is_complaint |
auroc 0.996 |
contract-risk |
embed | business-docs | contract.clause_risk |
qwk 0.850 |
doc-type |
lite | business-docs | doc.type |
macro_f1 0.969 |
emotion |
lite | text-quality | emotion.primary |
macro_f1 0.954 |
formality |
lite | text-quality | formality.register |
macro_f1 0.964 |
harassment |
lite | moderation | harassment.kind |
macro_f1 0.896 |
job-seniority |
lite | business-docs | job.seniority |
macro_f1 0.967 |
marketing-claims |
lite | business-docs | marketing.unsubstantiated_claim |
auroc 0.997 |
needs-human |
lite | customer-support | support.needs_human |
auroc 0.962 |
phi-detect |
lite | privacy-security | phi.contains_health_info |
auroc 0.997 |
phishing |
lite | privacy-security | phishing.is_phishing |
auroc 0.997 |
pii-detect |
lite | privacy-security | pii.contains_pii, pii.has_email, pii.has_phone, pii.has_address, pii.has_gov_id, pii.has_payment_card, pii.has_person_name |
auroc 0.999 |
product-category |
embed | business-docs | product.category |
macro_f1 0.947 |
product-category |
lite | business-docs | product.category |
macro_f1 0.883 |
prompt-injection |
lite | privacy-security | injection.is_injection |
auroc 0.997 |
query-routing |
lite | agents-rag | routing.destination |
macro_f1 0.905 |
refund-intent |
lite | customer-support | support.refund_intent |
auroc 0.999 |
review-helpfulness |
lite | business-docs | review.helpfulness |
qwk 0.957 |
secret-leak |
lite | privacy-security | secrets.contains_secret |
auroc 0.999 |
self-harm |
embed | moderation | self_harm.risk |
qwk 0.895 |
sentiment |
embed | text-quality | sentiment.polarity |
qwk 0.882 |
sentiment |
lite | text-quality | sentiment.polarity |
qwk 0.838 |
sexual-content |
lite | moderation | sexual.level |
qwk 0.828 |
spam |
lite | privacy-security | spam.is_spam |
auroc 0.999 |
support-department |
lite | customer-support | support.department |
macro_f1 0.905 |
support-urgency |
lite | customer-support | support.urgency |
qwk 0.920 |
tool-call-risk |
lite | agents-rag | agent.action_risk |
qwk 0.932 |
toxicity |
lite | moderation | toxicity.level |
qwk 0.919 |
violence |
lite | moderation | violence.level |
qwk 0.885 |
writing-quality |
lite | text-quality | writing.quality |
qwk 0.812 |
License
The packs are Apache-2.0. Embedders keep their upstream licenses (multilingual-E5-small: MIT).