<commit_before>var sacloud = require('sacloud');
var fs = require('fs');
var csv = require('comma-separated-values');
var Server = require('../lib/Server');

var defaultTag = 'dojopaas'

var config = {
  defaultTag: 'dojopaas',
  zone: "29001", // サンドボックス
  api: "https://secure.sakura.ad.jp/cloud/zone/tk1v/api/cloud/1.1/",
  plan: 1001,
  packetfilterid: '112900927419',
  disk: {
    Plan: { ID: 4 },
    SizeMB: 20480,
    SourceArchive: { ID: "112900758037" }
  }
}

sacloud.API_ROOT = config.api;
var client = sacloud.createClient({
  accessToken        : process.env.SACLOUD_ACCESS_TOKEN,
  accessTokenSecret  : process.env.SACLOUD_ACCESS_TOKEN_SECRET,
  disableLocalizeKeys: false, // (optional;default:false) false: lower-camelize the property names in response Object
  debug              : false // (optional;default:false) output debug requests to console.
});

Promise.resolve()
.then(() => {
  return new Promise((resolve, reject) => {
    client.createRequest({
      method: 'GET',
      path  : 'server',<commit_msg>add debug to the test<commit_after>var sacloud = require('sacloud');
var fs = require('fs');
var csv = require('comma-separated-values');
var Server = require('../lib/Server');

var defaultTag = 'dojopaas'

var config = {
  defaultTag: 'dojopaas',
  zone: "29001", // サンドボックス
  api: "https://secure.sakura.ad.jp/cloud/zone/tk1v/api/cloud/1.1/",
  plan: 1001,
  packetfilterid: '112900927419',
  disk: {
    Plan: { ID: 4 },
    SizeMB: 20480,
    SourceArchive: { ID: "112900758037" }
  }
}

sacloud.API_ROOT = config.api;
var client = sacloud.createClient({
  accessToken        : process.env.SACLOUD_ACCESS_TOKEN,
  accessTokenSecret  : process.env.SACLOUD_ACCESS_TOKEN_SECRET,
  disableLocalizeKeys: false, // (optional;default:false) false: lower-camelize the property names in response Object
  debug              : true // (optional;default:false) output debug requests to console.
});

Promise.resolve()
.then(() => {
  return new Promise((resolve, reject) => {
    client.createRequest({
      method: 'GET',
      path  : 'server',
{'fraction_non_alphanumeric': 0.1485769416304872, 'fraction_numerical': 0.04052098408104197, 'mean_word_length': 3.7029478458049887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '7408764', 'n_tokens_mistral': 787, 'n_tokens_neox': 732, 'n_words': 155}