<commit_before>const { VM } = require('./lib/vm');

const vm = new VM();

vm.inventory.addItem({
  id: '1',
  name: '<NAME>',
  cost: 1.00,
  quantity: 2
});
console.log(`Current state ${vm.state}`)

vm.selectById('1');

console.log(`Current state ${vm.state}`)

vm.setPaymentMethod('cash');

vm.pay(0.50);
console.log(`paying ${vm.payment.value}`);

console.log(`Current state ${vm.state}`)

vm.selectById('1');

console.log(`Current state ${vm.state}`)

vm.pay(0.50);
console.log(`paying ${vm.payment.value}`);

vm.selectById('1');

console.log(`Current state ${vm.state}`)<commit_msg>Update :wrench:<commit_after>const { VM } = require('./lib/vm');

const vm = new VM();

vm.inventory.addItem({
  id: '1',
  name: '<NAME>',
  cost: 1.00,
  quantity: 2
});
console.log(`Current state: ${vm.state}`)

vm.selectById('1');

console.log(`Current state: ${vm.state}`)

vm.setPaymentMethod('cash');

vm.pay(0.50);
console.log(`Paid (total): ${vm.payment.value}`);

console.log(`Current state: ${vm.state}`)

vm.selectById('1');

console.log(`Current state: ${vm.state}`)

vm.pay(0.50);
console.log(`Paid (total): ${vm.payment.value}`);

vm.selectById('1');

console.log(`Current state: ${vm.state}`)
{'fraction_non_alphanumeric': 0.24518828451882846, 'fraction_numerical': 0.023430962343096235, 'mean_word_length': 5.164948453608248, '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': '5333385', 'n_tokens_mistral': 472, 'n_tokens_neox': 465, 'n_words': 84}