Generator script for fake data of relays and circuits generator.

Generating fake data of Relays and Circuits:

This script generates fake data for relays and circuit connections, simulating circuit failures and successes. The generated data is stored in CSV files, which can be used for database imports.

Configuration:

The config.mjs file allows users to define parameters for generating fake data. Ensure that the configurations in config.mjs match the data you want to generate.

Running the script:

Run the following command in the fakedatagen/ folder.

node index.mjs

A new folder, export_fake/, will be created inside erpc/script/csvtransformer/, making it easier to import the data into the database.

This solves #57 (closed)

Edited by freaktopus

Merge request reports

Loading