bitsabhi/phi-coherence
φ-Coherence v3 — Credibility Scoring
Detect fabrication patterns in ANY text — human or AI. 88% accuracy. No knowledge base. Pure math.
The Insight
Truth and fabrication have different structural fingerprints. You don't need to know the facts to detect the fingerprints.
LLMs generate text that sounds like truth. Humans inflate resumes, pad essays, write fake reviews. Both exhibit the same patterns:
- Vague attribution ("Studies show...")
- Overclaiming ("Every scientist agrees")
- Absolutist language ("Exactly 25,000", "Always", "Never")
This tool detects the structural signature of fabrication — regardless of whether a human or AI wrote it.
Use Cases
What It Detects
Why It Works
LLMs are next-token predictors. They generate sequences with high probability — "sounds right." But "sounds right" ≠ "is right."
Your tool detects when "sounds like truth" and "structured like truth" diverge.
The LLM is good at mimicking content. This tool checks the structural signature.
Benchmark
API
from gradio_client import Client
client = Client("bitsabhi/phi-coherence")
result = client.predict(text="Your text here...", api_name="/analyze_text")Limitations
- Cannot distinguish swapped numbers ("299,792" vs "150,000") without knowledge
- Well-crafted lies with proper hedging will score high
- Best on paragraphs (2+ sentences), not single claims
Built by [Space (Abhishek Srivastava)](https://github.com/0x-auth/bazinga-indeed)
"Truth and fabrication have different structural fingerprints."
