75trust / 100

Stats Probability

by HubVibe in Productivity & SaaS

x402 APIPassing, checked 3 h ago

Predictive probability and regression engine: least-squares linear regression with standard errors, confidence and prediction intervals, a fitted normal distribution with quantiles and probability queries (P(y > t)), exact Student t and Jarque-Bera p-values. Points inline or from a BigQuery table. Deterministic arithmetic, no LLM: the same input always returns the same numbers. Input: points or table with x_column, y_column; optional metrics, predict_x, probability_queries.

POST https://hubvibe-io.com/work/stats/probability

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
389 ms typical, 465 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://hubvibe-io.com/work/stats/probability" \
  -H "content-type: application/json" \
  -d '{"points":[[1,2.1],[2,3.9],[3,6.2],[4,7.8],[5,10.1]],"predict_x":[6],"probability_queries":[{"below":8}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhubvibe-io.com%2Fwork%2Fstats%2Fprobability
const res = await pay("https://hubvibe-io.com/work/stats/probability", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"points":[[1,2.1],[2,3.9],[3,6.2],[4,7.8],[5,10.1]],"predict_x":[6],"probability_queries":[{"below":8}]}),
});
console.log(await res.json());

Example input

{
  "points": [
    [
      1,
      2.1
    ],
    [
      2,
      3.9
    ],
    [
      3,
      6.2
    ],
    [
      4,
      7.8
    ],
    [
      5,
      10.1
    ]
  ],
  "predict_x": [
    6
  ],
  "probability_queries": [
    {
      "below": 8
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402123 ms$0.5
6 h agoPassed402465 ms$0.5
10 h agoPassed402406 ms$0.5
13 h agoPassed402440 ms$0.5
17 h agoPassed402506 ms$0.5
21 h agoPassed402122 ms$0.5
24 h agoPassed402389 ms$0.5
29 h agoPassed402126 ms$0.5