<commit_before>#
# Cookbook Name:: quickservice
# Recipe:: default
#
# Copyright (c) 2015 The Authors, All Rights Reserved.

services = [node[:quickservice][:service]] unless node[:quickservice][:service].kind_of(Array)
actions = [node[:quickservice][:action]] unless node[:quickservice][:action].kind_of(Array)

actions.fill(actions.last, actions.length..services.length-1)

services.each_index do |i|
  service services[i] do
    action actions[i]
  end<commit_msg>Fixed incorrect method syntax.<commit_after>#
# Cookbook Name:: quickservice
# Recipe:: default
#
# Copyright (c) 2015 The Authors, All Rights Reserved.

services = [node[:quickservice][:service]] unless node[:quickservice][:service].kind_of?(Array)
actions = [node[:quickservice][:action]] unless node[:quickservice][:action].kind_of?(Array)

actions.fill(actions.last, actions.length..services.length-1)

services.each_index do |i|
  service services[i] do
    action actions[i]
  end
{'fraction_non_alphanumeric': 0.14795383001049317, 'fraction_numerical': 0.01049317943336831, 'mean_word_length': 6.632, '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': '3579784', 'n_tokens_mistral': 298, 'n_tokens_neox': 301, 'n_words': 68}