<commit_before>const {Dispatcher} = require("flux");

const StreamingClient = require("@anyware/streaming-client");
const {SculptureStore, SculptureActionCreator} = require("@anyware/game-logic");

const PanelView = require('./views/panel-view');
const DiskView = require('./views/disk-view');

const SerialManager = require('./serial/serial-manager');

export default class SculptureApp {
  constructor(config) {
    this.config = config;

    this.dispatcher = new Dispatcher();
    this.dispatcher.register((payload) => {
      this._log(`Sent action: ${JSON.stringify(payload)}`);
    });

    this.client = null;

    this.panelView = null;
    this.diskView = null;

    const serialIdentity = this.config.HARDWARE_USERNAME_MAPPINGS[config.username];
    this.serialManager = new SerialManager(serialIdentity);
    this.serialManager.on(SerialManager.EVENT_COMMAND, (commandName, commandArgs) => {
      console.log(`COMMAND '${commandName}': ${JSON.stringify(commandArgs)}`);
    });
<commit_msg>Fixed one reference to config instead of this.config<commit_after>const {Dispatcher} = require("flux");

const StreamingClient = require("@anyware/streaming-client");
const {SculptureStore, SculptureActionCreator} = require("@anyware/game-logic");

const PanelView = require('./views/panel-view');
const DiskView = require('./views/disk-view');

const SerialManager = require('./serial/serial-manager');

export default class SculptureApp {
  constructor(config) {
    this.config = config;

    this.dispatcher = new Dispatcher();
    this.dispatcher.register((payload) => {
      this._log(`Sent action: ${JSON.stringify(payload)}`);
    });

    this.client = null;

    this.panelView = null;
    this.diskView = null;

    const serialIdentity = this.config.HARDWARE_USERNAME_MAPPINGS[this.config.username];
    this.serialManager = new SerialManager(serialIdentity);
    this.serialManager.on(SerialManager.EVENT_COMMAND, (commandName, commandArgs) => {
      console.log(`COMMAND '${commandName}': ${JSON.stringify(commandArgs)}`);
    });

{'fraction_non_alphanumeric': 0.14829268292682926, 'fraction_numerical': 0.0, 'mean_word_length': 4.793785310734464, 'pattern_counts': {'":': 0, '<': 3, '<?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': '590473', 'n_tokens_mistral': 610, 'n_tokens_neox': 595, 'n_words': 109}