<commit_before>/*jslint node: true */
/* Copyright (c) 2012 <NAME> */
/*
 * TODO
 * - list$, load$ - implement basic sort
 * - refactor - extract GetItem and Scan, used by list$ and load$
 * - list$, load$ - handle multiple sort parameters
 * - Handle API paging e.g. LastEvaluatedKey where number of scanned items exceeds 1MB
 * - list$ - handle query string as input
 * - Serialization of unsupported types: the basis for makeentp() has been moved to seneca RelationalStore but Boolean is not handled
 */

"use strict";
var assert = require("assert");
var Store = require('seneca').Store;
var dynamodb = require('dynamodb');
var async = require('async');
var _ = require('underscore');
var uuid = require('node-uuid');

var NAME = "dynamodb-store";
var ARRAY_TYPE = 'a';
var BOOL_TYPE = 'b';
var DATE_TYPE = 'd';
var OBJECT_TYPE = 'o';
var SENECA_TYPE_COLUMN = 'seneca';


module.exports = function(opts) {<commit_msg>Updated dependencies in store file<commit_after>/*jslint node: true */
/* Copyright (c) 2012 <NAME> */
/*
 * TODO
 * - list$, load$ - implement basic sort
 * - refactor - extract GetItem and Scan, used by list$ and load$
 * - list$, load$ - handle multiple sort parameters
 * - Handle API paging e.g. LastEvaluatedKey where number of scanned items exceeds 1MB
 * - list$ - handle query string as input
 * - Serialization of unsupported types: the basis for makeentp() has been moved to seneca RelationalStore but Boolean is not handled
 */

"use strict";
var aws = require('aws-sdk');
var assert = require("assert");
var Store = require('seneca').Store;
var async = require('async');
var _ = require('lodash');
var uuid = require('node-uuid');

var NAME = "dynamodb-store";
var ARRAY_TYPE = 'a';
var BOOL_TYPE = 'b';
var DATE_TYPE = 'd';
var OBJECT_TYPE = 'o';
var SENECA_TYPE_COLUMN = 'seneca';


module.exports = function(opts) {
{'fraction_non_alphanumeric': 0.13344138303619665, 'fraction_numerical': 0.005402485143165856, 'mean_word_length': 4.202247191011236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2319356', 'n_tokens_mistral': 596, 'n_tokens_neox': 566, 'n_words': 214}