TypeScript / Execução registrada

Offshore SCADA

A local server with WebSocket, Modbus TCP, signal normalization, acknowledged alarms, and history aggregated by time interval.

O que foi verificado

Os comandos abaixo executam o código do repositório e conferem os cenários registrados. A evidência cobre esses cenários na versão indicada; não comprova todas as entradas possíveis nem uso em produção. As entradas de laboratório e os testes do software não comprovam conexão ou operação em equipamentos físicos.

Versão executada
d99535620fd2b2d562f94f5d04a7b20387611be8
Registro
2026-10-10T05:28:14.899707+00:00
Repositório
brunnojob/offshore-scada-simulator
Licença
MIT

A evidência abaixo pertence à versão registrada. A consulta usa a API pública do GitHub e pode atingir o limite de requisições.

Comandos e resultados reais

Resultados extraídos dos logs do Actions. Saídas extensas podem estar resumidas; a execução original e o artefato contêm o registro completo.

Baixar relatório JSON
PASS npm ci

Saída: 0 · esperada: 0 · 2.405 s

$ bash -e -o pipefail -c npm ci


added 5 packages, and audited 6 packages in 2s

1 high severity vulnerability

To address all issues, run:
  npm audit fix --force

Run `npm audit` for details.
PASS npm test

Saída: 0 · esperada: 0 · 0.704 s

$ bash -e -o pipefail -c npm test


> offshore-scada-simulator@1.0.0 test
> node --experimental-transform-types --test test/*.test.ts

(node:2357) ExperimentalWarning: Transform Types is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✔ historian bounds retention and aggregates only good measurements (1.74987ms)
(node:2358) ExperimentalWarning: Transform Types is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✔ normalizes engineering units and rejects replayed sequence (1.66033ms)
✔ motor start requires interlocks and trips immediately (0.54219ms)
✔ Modbus TCP function 3 returns mapped holding registers (0.646932ms)
✔ Modbus writes only the command register (0.326406ms)
(node:2364) ExperimentalWarning: Transform Types is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
✔ invalid timing cannot silently keep a starter energized (1.783023ms)
ℹ tests 6
ℹ suites 0
ℹ pass 6
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 477.016706
PASS Bound historian retention and exclude bad-quality measurements

Saída: 0 · esperada: 0 · 0.101 s

$ node --experimental-transform-types .proof/demo.ts

(node:2378) ExperimentalWarning: Transform Types is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
{"buckets":[{"start":0,"count":2,"min":3,"max":4,"mean":3.5,"last":4}],"bad_quality_excluded":true,"regressed_timestamp_rejected":true}
Baixar transcrição

Reproduzir a execução

Os pré-requisitos e as entradas são públicos no repositório. Faça checkout da versão exata antes de executar os cenários.

git clone https://github.com/brunnojob/offshore-scada-simulator.git
cd offshore-scada-simulator
git checkout d99535620fd2b2d562f94f5d04a7b20387611be8
python .proof/record.py