<commit_before>var Web3 = require('web3');

// @see https://gist.github.com/frozeman/fbc7465d0b0e6c1c4c23
if (typeof web3 !== 'undefined') {
  var defaultAccount = web3.eth.defaultAccount;
  web3 = new Web3(web3.currentProvider);
  web3.eth.defaultAccount = defaultAccount;
}
else {
  web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
  web3.eth.defaultAccount = web3.eth.accounts[0];
}

var accountKeyValueAbi = require('./account_key_value.abi.json');
var accountKeyValueContract = web3.eth.contract(accountKeyValueAbi);
var accountKeyValueAddress = '0x5108ff346ccca474fcbcc3a9eed4aae51c239063';
var accountKeyValue = accountKeyValueContract.at(accountKeyValueAddress);

module.exports = {
  valueSet: accountKeyValue.valueSet,
  valueDelete: accountKeyValue.valueDelete,
  valueGet: accountKeyValue.valueGet
};
<commit_msg>Document solc version.<commit_after>var Web3 = require('web3');

// @see https://gist.github.com/frozeman/fbc7465d0b0e6c1c4c23
if (typeof web3 !== 'undefined') {
  var defaultAccount = web3.eth.defaultAccount;
  web3 = new Web3(web3.currentProvider);
  web3.eth.defaultAccount = defaultAccount;
}
else {
  web3 = new Web3(new Web3.providers.HttpProvider("http://localhost:8545"));
  web3.eth.defaultAccount = web3.eth.accounts[0];
}

// Solc version: 0.2.0-0/Release-Linux/g++/int linked to libethereum-1.1.1-0/Release-Linux/g++/int

var accountKeyValueAbi = require('./account_key_value.abi.json');
var accountKeyValueContract = web3.eth.contract(accountKeyValueAbi);
var accountKeyValueAddress = '0x5108ff346ccca474fcbcc3a9eed4aae51c239063';
var accountKeyValue = accountKeyValueContract.at(accountKeyValueAddress);

module.exports = {
  valueSet: accountKeyValue.valueSet,
  valueDelete: accountKeyValue.valueDelete,
  valueGet: accountKeyValue.valueGet
};

{'fraction_non_alphanumeric': 0.12644947542794036, 'fraction_numerical': 0.06184428492545555, 'mean_word_length': 6.105882352941176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1315112', 'n_tokens_mistral': 671, 'n_tokens_neox': 637, 'n_words': 94}