<commit_before>#
#  Copyright (c) 2014, Facebook, Inc.
#  All rights reserved.
#
#  This source code is licensed under the BSD-style license found in the
#  LICENSE file in the root directory of this source tree. An additional grant
#  of patent rights can be found in the PATENTS file in the same directory.
#

require "rake/clean"

namespace :assets do
  # TODO: update to use public repository URL once we open-source it
  git_url     = "<EMAIL>:LyricaMcT/dashboard-ui.git"
  module_root = File.join("assets", "dashboard-ui")
  source_root = File.join(module_root, "build")
  assets_root = File.join("public", "assets")
  filenames   = %w(dashboard.min.css dashboard.min.js sprite.png)

  source_files = filenames.collect { |filename|
    File.join(source_root, filename)
  }<commit_msg>Use public repository to pull UI code<commit_after>#
#  Copyright (c) 2014, Facebook, Inc.
#  All rights reserved.
#
#  This source code is licensed under the BSD-style license found in the
#  LICENSE file in the root directory of this source tree. An additional grant
#  of patent rights can be found in the PATENTS file in the same directory.
#

require "rake/clean"

namespace :assets do
  # TODO: update to use public repository URL once we open-source it
  git_url     = "https://github.com/facebook/puewue-frontend.git"
  module_root = File.join("assets", "dashboard-ui")
  source_root = File.join(module_root, "build")
  assets_root = File.join("public", "assets")
  filenames   = %w(dashboard.min.css dashboard.min.js sprite.png)

  source_files = filenames.collect { |filename|
    File.join(source_root, filename)
  }
{'fraction_non_alphanumeric': 0.10142238713667286, 'fraction_numerical': 0.004947433518862091, 'mean_word_length': 4.072100313479623, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2455643', 'n_tokens_mistral': 514, 'n_tokens_neox': 498, 'n_words': 174}