<commit_before>ETahi.FlowManagerRoute = Ember.Route.extend
  model: ->
    @store.find("flow")

  actions:
    chooseNewFlowMangerColumn: ->
      @render('chooseNewFlowManagerColumnOverlay',
        into: 'application'
        outlet: 'overlay'
        controller: 'chooseNewFlowManagerColumnOverlay')

    viewCard: (paper, task) ->
      currentType = task.get('type')
      currentType = 'AdHocTask' if currentType == 'Task'
      baseObjectName = (currentType || 'AdHocTask').replace('Task', 'Overlay')
      controller = @controllerFor(baseObjectName)
      controller.set('model', task)
      controller.set('paper', paper)

      @render(baseObjectName,
        into: 'application'
        outlet: 'overlay'
        controller: baseObjectName)<commit_msg>set controller correctly for flow manager overlay<commit_after>ETahi.FlowManagerRoute = Ember.Route.extend
  model: ->
    @store.find("flow")

  actions:
    chooseNewFlowMangerColumn: ->
      @render('chooseNewFlowManagerColumnOverlay',
        into: 'application'
        outlet: 'overlay'
        controller: 'chooseNewFlowManagerColumnOverlay')

    viewCard: (paper, task) ->
      currentType = task.get('type')
      currentType = 'AdHocTask' if currentType == 'Task'
      baseObjectName = (currentType || 'AdHocTask').replace('Task', 'Overlay')
      controller = @controllerFor(baseObjectName)
      controller.set('model', task)
      controller.set('paper', paper)

      @render(baseObjectName,
        into: 'application'
        outlet: 'overlay'
        controller: controller)
{'fraction_non_alphanumeric': 0.12323491655969192, 'fraction_numerical': 0.0, 'mean_word_length': 3.3669467787114846, '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': '3432940', 'n_tokens_mistral': 448, 'n_tokens_neox': 439, 'n_words': 85}