<commit_before>import { WS_PREFIX } from '../../middleware/ws/constants';

export const ADD_SESSION = 'ADD_CONNECTION';
export const IDENTIFY_SESSION = `OPEN_CONNECTION`;
export const CLOSE_SESSION = 'CLOSE_CONNECTION';
export const REMOVE_SESSION = 'REMOVE_CONNECTION';

// Websocket actions
export const OPEN_CONNECTION = `${WS_PREFIX}/open.connection`;<commit_msg>Added constant to connection module<commit_after>import { WS_PREFIX } from '../../middleware/ws/constants';

export const ADD_SESSION = 'ADD_CONNECTION';
export const IDENTIFY_SESSION = `OPEN_CONNECTION`;
export const CLOSE_SESSION = 'CLOSE_CONNECTION';
export const REMOVE_SESSION = 'REMOVE_CONNECTION';

// Web-socket actions
export const OPEN_CONNECTION = `${WS_PREFIX}/connection.open`;
{'fraction_non_alphanumeric': 0.11492734478203434, 'fraction_numerical': 0.0, 'mean_word_length': 6.58, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1540378', 'n_tokens_mistral': 227, 'n_tokens_neox': 227, 'n_words': 55}