<commit_before>#!/bin/bash

# FogLAMP server references
export FOGLAMP_SERVER=localhost
export FOGLAMP_PORT=8081

# Configurations related to FogLAMP
export SCHEDULE_ID_OMF_PLUGIN=`curl -s -X GET http://${FOGLAMP_SERVER}:${FOGLAMP_PORT}/foglamp/schedule | jq --raw-output '.schedules | .[] | select(.name=="OMF to PI north") | .id'`
export SENDING_PROCESS_DATA=SEND_PR_1
export SENDING_PROCESS_STAT=SEND_PR_2

# PI server references
export PI_SERVER=pi-server
export PI_SERVER_PORT=5460
export PI_SERVER_UID=pi-server-uid
export PI_SERVER_PWD=<PASSWORD>
export PI_SERVER_DATABASE=pi-server-db
export CONNECTOR_RELAY_VERSION=x.x

# Identifies sensors and measurements types
export OMF_TYPE_ID=0002

if [[ ${CONNECTOR_RELAY_VERSION} == "1.x" ]]; then

    export OMF_PRODUCER_TOKEN=<PASSWORD>_${OMF_TYPE_ID}

elif [[ ${CONNECTOR_RELAY_VERSION} == "2.x" ]]; then

    export OMF_PRODUCER_TOKEN=xxx
fi


# Define the asset information
export ASSET_CODE="fogbench/smoke_test"

# Maximum numbers of retries to attempt an operation (usually corresponds to 600 seconds)<commit_msg>FOGL-1259: Working stage<commit_after>#!/bin/bash

# FogLAMP server references
export FOGLAMP_SERVER=localhost
export FOGLAMP_PORT=8081

# Configurations related to FogLAMP
export SCHEDULE_ID_OMF_PLUGIN=`curl -s -X GET http://${FOGLAMP_SERVER}:${FOGLAMP_PORT}/foglamp/schedule | jq --raw-output '.schedules | .[] | select(.name=="OMF to PI north") | .id'`
export SENDING_PROCESS_DATA=SEND_PR_1
export SENDING_PROCESS_STAT=SEND_PR_2

# PI server references
export PI_SERVER=pi-server
export PI_SERVER_PORT=5460
export PI_SERVER_UID=pi-server-uid
export PI_SERVER_PWD=<PASSWORD>
export PI_SERVER_DATABASE=pi-server-db
export CONNECTOR_RELAY_VERSION=x.x

# Identifies sensors and measurements types
export OMF_TYPE_ID=0001

if [[ ${CONNECTOR_RELAY_VERSION} == "1.x" ]]; then

    export OMF_PRODUCER_TOKEN=<PASSWORD>_${OMF_TYPE_ID}

elif [[ ${CONNECTOR_RELAY_VERSION} == "2.x" ]]; then

    export OMF_PRODUCER_TOKEN=xxx
fi


# Define the asset information
export ASSET_CODE="fogbench/smoke_test"

# Maximum numbers of retries to attempt an operation (usually corresponds to 600 seconds)
{'fraction_non_alphanumeric': 0.10199350950394066, 'fraction_numerical': 0.019471488178025034, 'mean_word_length': 6.441379310344828, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4906000', 'n_tokens_mistral': 822, 'n_tokens_neox': 780, 'n_words': 169}