Sign In

truthroute-cli

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

truthroute-cli - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+2
-2
dist/pipeline/refusal.js
// Heuristic refusal/hedge detector — deliberately not an LLM-judge call, so it adds
// zero extra vendor dependency and keeps latency/cost predictable. Locked at CEO
// review: refused responses must be EXCLUDED from the divergence-score input set
// zero extra vendor dependency and keeps latency/cost predictable. By design,
// refused responses must be EXCLUDED from the divergence-score input set
// entirely, not merely flagged, since "refusal boilerplate vs. real answer" text

@@ -5,0 +5,0 @@ // distance is not factual disagreement and would otherwise dominate the score.

{
"name": "truthroute-cli",
"version": "0.1.0",
"version": "0.1.1",
"description": "Cross-model divergence scoring for LLMs. Compare responses from OpenAI, Anthropic, and Gemini side by side and get a citable, reproducible disagreement score. Built for AI-safety and eval researchers.",

@@ -48,2 +48,6 @@ "keywords": [

"license": "MIT",
"author": "Rudrendu Paul",
"contributors": [
"Sourav Nandy"
],
"dependencies": {

@@ -50,0 +54,0 @@ "commander": "^15.0.0",

@@ -9,2 +9,4 @@ # TruthRoute

![TruthRoute CLI demo: --help output, then a compare --dry-run call showing the cost estimate before any real API request is made](docs/demo.gif)
## Why this exists

@@ -11,0 +13,0 @@