<commit_before>{
  "valid": [
    {
      "description": "output from address",
      "arguments": {
        "address": "bc1qafk4yhqvj4wep57m62dgrmutldusqde8adh20d"
      },
      "options": {},
      "expected": {
        "name": "p2wpkh",
        "hash": "ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "output": "OP_0 ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "output from hash",
      "arguments": {
        "hash": "ea6d525c0c955d90d3dbd29a81ef8bfb79003727"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qafk4yhqvj4wep57m62dgrmutldusqde8adh20d",
        "output": "OP_0 ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "output from output",
      "arguments": {
        "output": "OP_0 ea6d525c0c955d90d3dbd29a81ef8bfb79003727"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qafk4yhqvj4wep57m62dgrmutldusqde8adh20d",
        "hash": "ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "output from pubkey",
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "witness/output from pubkey/signature",
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "signature": "300602010002010001"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "input": "",
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000001"
        ]
      }
    },
    {
      "description": "witness/output from witness",
      "arguments": {
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000001"
        ]
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "signature": "300602010002010001",
        "input": ""
      }
    }
  ],
  "invalid": [
    {
      "exception": "Not enough data",
      "arguments": {}
    },
    {
      "exception": "Not enough data",
      "arguments": {
        "signature": "300602010002010001"
      }
    },
    {
      "exception": "Output is invalid",
      "description": "Unexpected OP",
      "arguments": {
        "output": "OP_RESERVED ea6d525c0c955d90d3dbd29a81ef8bfb79003727"
      }
    },
    {
      "exception": "Invalid pubkey for p2wpkh",
      "description": "Uncompressed pubkey in pubkey",
      "arguments": {
        "pubkey": "049fa211b0fca342589ca381cc96520c3d0e3924832158d9f29891936cac091e80687acdca51868ee1f89a3bb36bb16f186262938e1f94c1e7692924935b9b1457"
      }
    },
    {
      "exception": "Witness has invalid pubkey",
      "description": "Uncompressed pubkey in witness",
      "arguments": {
        "witness": [
          "300602010002010001",
          "049fa211b0fca342589ca381cc96520c3d0e3924832158d9f29891936cac091e80687acdca51868ee1f89a3bb36bb16f186262938e1f94c1e7692924935b9b1457"
        ]
      }
    },
    {
      "exception": "Pubkey mismatch",
      "options": {},
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000002"<commit_msg>add test for "Signature mismatch"<commit_after>{
  "valid": [
    {
      "description": "output from address",
      "arguments": {
        "address": "bc1qafk4yhqvj4wep57m62dgrmutldusqde8adh20d"
      },
      "options": {},
      "expected": {
        "name": "p2wpkh",
        "hash": "ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "output": "OP_0 ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "output from hash",
      "arguments": {
        "hash": "ea6d525c0c955d90d3dbd29a81ef8bfb79003727"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qafk4yhqvj4wep57m62dgrmutldusqde8adh20d",
        "output": "OP_0 ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "output from output",
      "arguments": {
        "output": "OP_0 ea6d525c0c955d90d3dbd29a81ef8bfb79003727"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qafk4yhqvj4wep57m62dgrmutldusqde8adh20d",
        "hash": "ea6d525c0c955d90d3dbd29a81ef8bfb79003727",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "output from pubkey",
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "signature": null,
        "input": null,
        "witness": null
      }
    },
    {
      "description": "witness/output from pubkey/signature",
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "signature": "300602010002010001"
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "input": "",
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000001"
        ]
      }
    },
    {
      "description": "witness/output from witness",
      "arguments": {
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000001"
        ]
      },
      "expected": {
        "name": "p2wpkh",
        "address": "bc1qz69ej270c3q9qvgt822t6pm3zdksk2x35j2jlm",
        "hash": "168b992bcfc44050310b3a94bd0771136d0b28d1",
        "output": "OP_0 168b992bcfc44050310b3a94bd0771136d0b28d1",
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "signature": "300602010002010001",
        "input": ""
      }
    }
  ],
  "invalid": [
    {
      "exception": "Not enough data",
      "arguments": {}
    },
    {
      "exception": "Not enough data",
      "arguments": {
        "signature": "300602010002010001"
      }
    },
    {
      "exception": "Output is invalid",
      "description": "Unexpected OP",
      "arguments": {
        "output": "OP_RESERVED ea6d525c0c955d90d3dbd29a81ef8bfb79003727"
      }
    },
    {
      "exception": "Invalid pubkey for p2wpkh",
      "description": "Uncompressed pubkey in pubkey",
      "arguments": {
        "pubkey": "049fa211b0fca342589ca381cc96520c3d0e3924832158d9f29891936cac091e80687acdca51868ee1f89a3bb36bb16f186262938e1f94c1e7692924935b9b1457"
      }
    },
    {
      "exception": "Witness has invalid pubkey",
      "description": "Uncompressed pubkey in witness",
      "arguments": {
        "witness": [
          "300602010002010001",
          "049fa211b0fca342589ca381cc96520c3d0e3924832158d9f29891936cac091e80687acdca51868ee1f89a3bb36bb16f186262938e1f94c1e7692924935b9b1457"
        ]
      }
    },
    {
      "exception": "Pubkey mismatch",
      "options": {},
      "arguments": {
        "pubkey": "030000000000000000000000000000000000000000000000000000000000000001",
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000002"
        ]
      }
    },
    {
      "exception": "Signature mismatch",
      "arguments": {
        "signature": "300602010002010002",
        "witness": [
          "300602010002010001",
          "030000000000000000000000000000000000000000000000000000000000000001"
{'fraction_non_alphanumeric': 0.12021978021978022, 'fraction_numerical': 0.27494505494505495, 'mean_word_length': 2.6995934959349595, 'pattern_counts': {'":': 180, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 15, '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': '1328858', 'n_tokens_mistral': 4950, 'n_tokens_neox': 3239, 'n_words': 404}