<commit_before>KodingFluxStore      = require 'app/flux/base/store'
actions              = require '../actiontypes'

module.exports = class ActiveLeavingSharedMachineIdStore extends KodingFluxStore

  @getterPath = 'ActiveLeavingSharedMachineIdStore'

  getInitialState: -> null

  initialize: ->

    @on actions.SET_ACTIVE_LEAVING_SHARED_MACHINE_ID, @setMachineId


  setMachineId: (activeWidgetId, { id }) ->

    return null  if activeWidgetId is id
    return id<commit_msg>activeleavingsharedmachine: set given machine id as an active machine<commit_after>KodingFluxStore      = require 'app/flux/base/store'
actions              = require '../actiontypes'

module.exports = class ActiveLeavingSharedMachineIdStore extends KodingFluxStore

  @getterPath = 'ActiveLeavingSharedMachineIdStore'

  getInitialState: -> null

  initialize: ->

    @on actions.SET_ACTIVE_LEAVING_SHARED_MACHINE_ID, @setMachineId


  setMachineId: (activeWidgetId, { id }) -> return id
{'fraction_non_alphanumeric': 0.08161157024793389, 'fraction_numerical': 0.0, 'mean_word_length': 4.237837837837838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '536677', 'n_tokens_mistral': 300, 'n_tokens_neox': 286, 'n_words': 61}