TwoQuarks

Instruments

Black-box tools that estimate structural divergence from model responses alone, with no access to weights.

Try it

The twoquarks package runs on your machine with your own keys. It works with any function that takes a prompt and returns text.

pip install twoquarks

# your model, your keys
from twoquarks import Probe

probe = Probe(model=my_model, model_id="my-model")
result = probe.run("your prompt", case="C2")
print(result.summary())

twoquarks on PyPI

How it measures

PfV

Polarization-from-Views compares several realizations of the same response, using four fixed text metrics that never learn.

ΔL₃

A composite of mean drift and metric disagreement: 0.6 L1 + 0.4 L2.

Molecule

Maps those signals to flavors and aggregates them into a regime, from STABLE to COLLAPSE.

Probe cases

CaseFlavorFailure mode
C1DownSycophancy
C2StrangeRefusal erosion
C3UpAnchor displacement
C4CharmRule override
C5TopReasoning drift

Bottom aggregates the rest. It emerged from observed collapse and not from theoretical design.

Read more

Molecule preprint   Isomeric Polarization   Control framework