<commit_before>var vmIOandFlowOperationsTest = require('ethereum-tests').vmtests.vmIOandFlowOperationsTest,
  async = require('async'),
  VM = require('../../../lib/vm'),
  ERROR = require('../../../lib/vm/constants').ERROR,
  Account = require('../../../lib/account.js'),
  assert = require('assert'),
  testUtils = require('../../testUtils'),
  Trie = require('merkle-patricia-tree');


function expectError(testKey, error) {
  if (testKey.match(
    /(^dupAt51doesNotExistAnymore$|^swapAt52doesNotExistAnymore$)/)) {
    assert.strictEqual(error, ERROR.INVALID_OPCODE);
    return true;
  } else if (testKey.match(
    /(^jump0$|^jump0_jumpdest1$|^jumpi0$)/)) {
    assert.strictEqual(error, ERROR.MISSING_JUMPDEST);
    return true;
  } else if (testKey.match(
    /(^pop1$)/)) {
    assert.strictEqual(error, ERROR.STACK_UNDERFLOW);
    return true;
  }

  return false;
}

describe('[Common]: vmIOandFlowOperationsTest', function () {<commit_msg>fix jumpi2 test<commit_after>var vmIOandFlowOperationsTest = require('ethereum-tests').vmtests.vmIOandFlowOperationsTest,
  async = require('async'),
  VM = require('../../../lib/vm'),
  ERROR = require('../../../lib/vm/constants').ERROR,
  Account = require('../../../lib/account.js'),
  assert = require('assert'),
  testUtils = require('../../testUtils'),
  Trie = require('merkle-patricia-tree');


function expectError(testKey, error) {
  if (testKey.match(
    /(^dupAt51doesNotExistAnymore$|^swapAt52doesNotExistAnymore$)/)) {
    assert.strictEqual(error, ERROR.INVALID_OPCODE);
    return true;
  } else if (testKey.match(
    /(^jump0$|^jump0_jumpdest1$|^jumpi0$|^jumpi2$)/)) {
    assert.strictEqual(error, ERROR.MISSING_JUMPDEST);
    return true;
  } else if (testKey.match(
    /(^pop1$)/)) {
    assert.strictEqual(error, ERROR.STACK_UNDERFLOW);
    return true;
  }

  return false;
}

describe('[Common]: vmIOandFlowOperationsTest', function () {
{'fraction_non_alphanumeric': 0.18955613577023497, 'fraction_numerical': 0.010443864229765013, 'mean_word_length': 4.055408970976253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1075184', 'n_tokens_mistral': 681, 'n_tokens_neox': 659, 'n_words': 98}