Skip to content
Limiar Research enpt

Install

Everything you need to run Sismo and to reproduce the benchmark.

Command

git clone https://github.com/LimiarResearch/sismo cd sismo pip install numpy scipy

Sismo is the detector/ folder of the repository and depends only on numpy and scipy.

First use

import numpy as np
from detector import Monitor

rng = np.random.default_rng(0)
m = Monitor("orders", D=3, names=["latency", "errors", "basket"])
for t in range(6000):
    x = rng.normal([100, 2, 50], [10, 1, 5])
    if t >= 4000:
        x[0] += 25                      # latency moves up at item 4000
    for r in m.item(x):
        print(t, r)

Run it from the repository folder.

The real output begins like this: at item 4013, a log warning on the field latency, starting at 4000. At item 4213 comes the update with direction "up", from 99.8 to 125.1, or 2.49 deviations. The first 2,000 items are the warm-up.

Reproduce the benchmark

One command reproduces the rows.

./reproduce.sh

It needs Linux, Python 3.11, uv, git, cmake, g++, curl and unzip. It takes about 14 and a half hours on a 4-core machine with 15 GB of memory.

Benchmark runs
huggingface.co/datasets/LimiarResearch/sismo-benchmark-runs

The outputs of each of the 2,047 series from both runs of the benchmark: the original approval run and the publication run with the same seeds, identical series by series. It includes the lives of the simulated company, the rows, the NAB score and the logs.

License
AGPL-3.0 for Sismo (the detector/ folder) · Apache-2.0 for the rest of the benchmark · third-party code: WATCH under BSD-3-Clause and the HTM port under AGPL-3.0 (details in the repository NOTICE)

Questions about installing? Write to gabriel@limiarresearch.com.br