Skip to content
Fourohtwo

www.brainiac.software/api/v1/experimentation/novelty-effect-detect

OLS trend test on daily lift with early-versus-late means, classifying the pattern as novelty, primacy or stable. Docs: https://www.brainiac.software/api/experimentation/novelty-effect-detect

BaseUnchecked
POSThttps://www.brainiac.software/api/v1/experimentation/novelty-effect-detect

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.brainiac.software/api/v1/experimentation/novelty-effect-detect", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"alpha":0.05,"daily":[{"day":1,"lift":0.12},{"day":2,"lift":0.1},{"day":3,"lift":0.09},{"day":4,"lift":0.07},{"day":5,"lift":0.06},{"day":6,"lift":0.05},{"day":7,"lift":0.05},{"day":8,"lift":0.04},{"day":9,"lift":0.04},{"day":10,"lift":0.04},{"day":11,"lift":0.03},{"day":12,"lift":0.04},{"day":13,"lift":0.03},{"day":14,"lift":0.03}],"earlyDays":7,"liftType":"relative"}),
});
console.log(await res.json());

Example input

{
  "alpha": 0.05,
  "daily": [
    {
      "day": 1,
      "lift": 0.12
    },
    {
      "day": 2,
      "lift": 0.1
    },
    {
      "day": 3,
      "lift": 0.09
    },
    {
      "day": 4,
      "lift": 0.07
    },
    {
      "day": 5,
      "lift": 0.06
    },
    {
      "day": 6,
      "lift": 0.05
    },
    {
      "day": 7,
      "lift": 0.05
    },
    {
      "day": 8,
      "lift": 0.04
    },
    {
      "day": 9,
      "lift": 0.04
    },
    {
      "day": 10,
      "lift": 0.04
    },
    {
      "day": 11,
      "lift": 0.03
    },
    {
      "day": 12,
      "lift": 0.04
    },
    {
      "day": 13,
      "lift": 0.03
    },
    {
      "day": 14,
      "lift": 0.03
    }
  ],
  "earlyDays": 7,
  "liftType": "relative"
}