<commit_before>
github.com/conformal/btcchain/chain.go		 BlockChain.removeOrphanBlock		 100.00% (12/12)
github.com/conformal/btcchain/chain.go		 BlockChain.getOrphanRoot		 100.00% (7/7)
github.com/conformal/btcchain/checkpoints.go	 init					 100.00% (6/6)
github.com/conformal/btcchain/merkle.go		 hashMerkleBranches			 100.00% (5/5)
github.com/conformal/btcchain/difficulty.go	 ShaHashToBig				 100.00% (5/5)
github.com/conformal/btcchain/merkle.go		 nextPowerOfTwo				 100.00% (4/4)
github.com/conformal/btcchain/chain.go		 newBlockNode				 100.00% (4/4)
github.com/conformal/btcchain/difficulty.go	 calcWork				 100.00% (3/3)
github.com/conformal/btcchain/process.go	 BlockChain.blockExists			 100.00% (3/3)
github.com/conformal/btcchain/chain.go		 New					 100.00% (2/2)
github.com/conformal/btcchain/checkpoints.go	 newShaHashFromStr			 100.00% (2/2)
github.com/conformal/btcchain/log.go		 DisableLog				 100.00% (1/1)
github.com/conformal/btcchain/validate.go	 calcBlockSubsidy			 100.00% (1/1)
github.com/conformal/btcchain/timesorter.go	 timeSorter.Less			 100.00% (1/1)
github.com/conformal/btcchain/log.go		 init					 100.00% (1/1)
github.com/conformal/btcchain/timesorter.go	 timeSorter.Swap			 100.00% (1/1)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.DisableCheckpoints		 100.00% (1/1)
github.com/conformal/btcchain/timesorter.go	 timeSorter.Len				 100.00% (1/1)
github.com/conformal/btcchain/merkle.go		 BuildMerkleTreeStore			 94.12% (16/17)
github.com/conformal/btcchain/chain.go		 BlockChain.getReorganizeNodes		 92.86% (13/14)
github.com/conformal/btcchain/process.go	 BlockChain.processOrphans		 91.67% (11/12)
github.com/conformal/btcchain/txlookup.go	 disconnectTransactions			 90.91% (10/11)
github.com/conformal/btcchain/txlookup.go	 BlockChain.fetchTxList			 88.57% (31/35)
github.com/conformal/btcchain/scriptval.go	 validateAllTxIn			 87.88% (29/33)
github.com/conformal/btcchain/chain.go		 BlockChain.calcPastMedianTime		 87.50% (14/16)
github.com/conformal/btcchain/scriptval.go	 checkBlockScripts			 87.50% (7/8)
github.com/conformal/btcchain/chain.go		 BlockChain.connectBestChain		 86.96% (20/23)
github.com/conformal/btcchain/validate.go	 countSigOps				 86.67% (13/15)
github.com/conformal/btcchain/chain.go		 BlockChain.connectBlock		 83.33% (10/12)
github.com/conformal/btcchain/validate.go	 isCoinBase				 83.33% (5/6)
github.com/conformal/btcchain/chain.go		 BlockChain.reorganizeChain		 80.77% (21/26)
github.com/conformal/btcchain/chain.go		 BlockChain.isMajorityVersion		 80.00% (8/10)
github.com/conformal/btcchain/txlookup.go	 BlockChain.fetchInputTransactions	 78.26% (18/23)
github.com/conformal/btcchain/chain.go		 BlockChain.getPrevNodeFromBlock	 77.78% (7/9)
github.com/conformal/btcchain/chain.go		 BlockChain.disconnectBlock		 76.92% (10/13)
github.com/conformal/btcchain/chain.go		 BlockChain.addOrphanBlock		 75.00% (12/16)
github.com/conformal/btcchain/difficulty.go	 CompactToBig				 75.00% (9/12)
github.com/conformal/btcchain/validate.go	 BlockChain.checkConnectBlock		 68.52% (37/54)
github.com/conformal/btcchain/validate.go	 checkBlockSanity			 66.67% (30/45)
github.com/conformal/btcchain/validate.go	 isNullOutpoint				 66.67% (2/3)
github.com/conformal/btcchain/scriptval.go	 validateTxIn				 64.71% (11/17)
github.com/conformal/btcchain/validate.go	 checkTransactionInputs			 63.64% (28/44)
github.com/conformal/btcchain/validate.go	 checkTransactionSanity			 62.16% (23/37)
github.com/conformal/btcchain/txlookup.go	 connectTransactions			 60.00% (9/15)
github.com/conformal/btcchain/validate.go	 isBIP0030Node				 60.00% (3/5)
github.com/conformal/btcchain/validate.go	 BlockChain.checkBIP0030		 57.14% (8/14)
github.com/conformal/btcchain/validate.go	 checkProofOfWork			 56.25% (9/16)
github.com/conformal/btcchain/process.go	 BlockChain.ProcessBlock		 54.55% (24/44)
github.com/conformal/btcchain/chain.go		 BlockChain.loadBlockNode		 50.00% (11/22)
github.com/conformal/btcchain/notifications.go	 BlockChain.sendNotification		 50.00% (2/4)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.LatestCheckpoint		 50.00% (2/4)
github.com/conformal/btcchain/accept.go		 BlockChain.maybeAcceptBlock		 49.23% (32/65)
github.com/conformal/btcchain/chain.go		 BlockChain.getPrevNodeFromNode		 33.33% (4/12)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.verifyCheckpoint		 33.33% (2/6)
github.com/conformal/btcchain/validate.go	 isFinalizedTransaction			 23.08% (3/13)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.findLatestKnownCheckpoint	 18.18% (2/11)
github.com/conformal/btcchain/difficulty.go	 BlockChain.calcNextRequiredDifficulty	 10.71% (3/28)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.IsCheckpointCandidate	 0.00% (0/32)
github.com/conformal/btcchain/validate.go	 countP2SHSigOps			 0.00% (0/26)
github.com/conformal/btcchain/difficulty.go	 BigToCompact				 0.00% (0/16)
github.com/conformal/btcchain/validate.go	 checkSerializedHeight			 0.00% (0/12)
github.com/conformal/btcchain/difficulty.go	 calcEasiestDifficulty			 0.00% (0/9)
github.com/conformal/btcchain/chain.go		 removeChildNode			 0.00% (0/8)
github.com/conformal/btcchain/log.go		 SetLogWriter				 0.00% (0/7)
github.com/conformal/btcchain/checkpoints.go	 isNonstandardTransaction		 0.00% (0/5)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.checkpointData		 0.00% (0/4)
github.com/conformal/btcchain/validate.go	 isTransactionSpent			 0.00% (0/4)
github.com/conformal/btcchain/notifications.go	 NotificationType.String		 0.00% (0/3)
github.com/conformal/btcchain/chain.go		 addChildrenWork			 0.00% (0/3)
github.com/conformal/btcchain/log.go		 UseLogger				 0.00% (0/1)
github.com/conformal/btcchain/chain.go		 BlockChain.DisableVerify		 0.00% (0/1)
github.com/conformal/btcchain/log.go		 logClosure.String			 0.00% (0/1)
github.com/conformal/btcchain/process.go	 RuleError.Error			 0.00% (0/1)
github.com/conformal/btcchain/log.go		 newLogClosure				 0.00% (0/1)
github.com/conformal/btcchain			 -------------------------------------	 59.02% (569/964)
<commit_msg>Add negative test for duplicate block.<commit_after>
github.com/conformal/btcchain/chain.go		 BlockChain.removeOrphanBlock		 100.00% (12/12)
github.com/conformal/btcchain/chain.go		 BlockChain.getOrphanRoot		 100.00% (7/7)
github.com/conformal/btcchain/checkpoints.go	 init					 100.00% (6/6)
github.com/conformal/btcchain/merkle.go		 hashMerkleBranches			 100.00% (5/5)
github.com/conformal/btcchain/difficulty.go	 ShaHashToBig				 100.00% (5/5)
github.com/conformal/btcchain/merkle.go		 nextPowerOfTwo				 100.00% (4/4)
github.com/conformal/btcchain/chain.go		 newBlockNode				 100.00% (4/4)
github.com/conformal/btcchain/difficulty.go	 calcWork				 100.00% (3/3)
github.com/conformal/btcchain/process.go	 BlockChain.blockExists			 100.00% (3/3)
github.com/conformal/btcchain/chain.go		 New					 100.00% (2/2)
github.com/conformal/btcchain/checkpoints.go	 newShaHashFromStr			 100.00% (2/2)
github.com/conformal/btcchain/log.go		 DisableLog				 100.00% (1/1)
github.com/conformal/btcchain/validate.go	 calcBlockSubsidy			 100.00% (1/1)
github.com/conformal/btcchain/timesorter.go	 timeSorter.Less			 100.00% (1/1)
github.com/conformal/btcchain/log.go		 init					 100.00% (1/1)
github.com/conformal/btcchain/timesorter.go	 timeSorter.Swap			 100.00% (1/1)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.DisableCheckpoints		 100.00% (1/1)
github.com/conformal/btcchain/timesorter.go	 timeSorter.Len				 100.00% (1/1)
github.com/conformal/btcchain/merkle.go		 BuildMerkleTreeStore			 94.12% (16/17)
github.com/conformal/btcchain/chain.go		 BlockChain.getReorganizeNodes		 92.86% (13/14)
github.com/conformal/btcchain/process.go	 BlockChain.processOrphans		 91.67% (11/12)
github.com/conformal/btcchain/txlookup.go	 disconnectTransactions			 90.91% (10/11)
github.com/conformal/btcchain/txlookup.go	 BlockChain.fetchTxList			 88.57% (31/35)
github.com/conformal/btcchain/scriptval.go	 validateAllTxIn			 87.88% (29/33)
github.com/conformal/btcchain/chain.go		 BlockChain.calcPastMedianTime		 87.50% (14/16)
github.com/conformal/btcchain/scriptval.go	 checkBlockScripts			 87.50% (7/8)
github.com/conformal/btcchain/chain.go		 BlockChain.connectBestChain		 86.96% (20/23)
github.com/conformal/btcchain/validate.go	 countSigOps				 86.67% (13/15)
github.com/conformal/btcchain/chain.go		 BlockChain.connectBlock		 83.33% (10/12)
github.com/conformal/btcchain/validate.go	 isCoinBase				 83.33% (5/6)
github.com/conformal/btcchain/chain.go		 BlockChain.reorganizeChain		 80.77% (21/26)
github.com/conformal/btcchain/chain.go		 BlockChain.isMajorityVersion		 80.00% (8/10)
github.com/conformal/btcchain/txlookup.go	 BlockChain.fetchInputTransactions	 78.26% (18/23)
github.com/conformal/btcchain/chain.go		 BlockChain.getPrevNodeFromBlock	 77.78% (7/9)
github.com/conformal/btcchain/chain.go		 BlockChain.disconnectBlock		 76.92% (10/13)
github.com/conformal/btcchain/chain.go		 BlockChain.addOrphanBlock		 75.00% (12/16)
github.com/conformal/btcchain/difficulty.go	 CompactToBig				 75.00% (9/12)
github.com/conformal/btcchain/validate.go	 BlockChain.checkConnectBlock		 68.52% (37/54)
github.com/conformal/btcchain/validate.go	 checkBlockSanity			 66.67% (30/45)
github.com/conformal/btcchain/validate.go	 isNullOutpoint				 66.67% (2/3)
github.com/conformal/btcchain/scriptval.go	 validateTxIn				 64.71% (11/17)
github.com/conformal/btcchain/validate.go	 checkTransactionInputs			 63.64% (28/44)
github.com/conformal/btcchain/validate.go	 checkTransactionSanity			 62.16% (23/37)
github.com/conformal/btcchain/txlookup.go	 connectTransactions			 60.00% (9/15)
github.com/conformal/btcchain/validate.go	 isBIP0030Node				 60.00% (3/5)
github.com/conformal/btcchain/process.go	 BlockChain.ProcessBlock		 59.09% (26/44)
github.com/conformal/btcchain/validate.go	 BlockChain.checkBIP0030		 57.14% (8/14)
github.com/conformal/btcchain/validate.go	 checkProofOfWork			 56.25% (9/16)
github.com/conformal/btcchain/chain.go		 BlockChain.loadBlockNode		 50.00% (11/22)
github.com/conformal/btcchain/notifications.go	 BlockChain.sendNotification		 50.00% (2/4)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.LatestCheckpoint		 50.00% (2/4)
github.com/conformal/btcchain/accept.go		 BlockChain.maybeAcceptBlock		 49.23% (32/65)
github.com/conformal/btcchain/chain.go		 BlockChain.getPrevNodeFromNode		 33.33% (4/12)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.verifyCheckpoint		 33.33% (2/6)
github.com/conformal/btcchain/validate.go	 isFinalizedTransaction			 23.08% (3/13)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.findLatestKnownCheckpoint	 18.18% (2/11)
github.com/conformal/btcchain/difficulty.go	 BlockChain.calcNextRequiredDifficulty	 10.71% (3/28)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.IsCheckpointCandidate	 0.00% (0/32)
github.com/conformal/btcchain/validate.go	 countP2SHSigOps			 0.00% (0/26)
github.com/conformal/btcchain/difficulty.go	 BigToCompact				 0.00% (0/16)
github.com/conformal/btcchain/validate.go	 checkSerializedHeight			 0.00% (0/12)
github.com/conformal/btcchain/difficulty.go	 calcEasiestDifficulty			 0.00% (0/9)
github.com/conformal/btcchain/chain.go		 removeChildNode			 0.00% (0/8)
github.com/conformal/btcchain/log.go		 SetLogWriter				 0.00% (0/7)
github.com/conformal/btcchain/checkpoints.go	 isNonstandardTransaction		 0.00% (0/5)
github.com/conformal/btcchain/checkpoints.go	 BlockChain.checkpointData		 0.00% (0/4)
github.com/conformal/btcchain/validate.go	 isTransactionSpent			 0.00% (0/4)
github.com/conformal/btcchain/notifications.go	 NotificationType.String		 0.00% (0/3)
github.com/conformal/btcchain/chain.go		 addChildrenWork			 0.00% (0/3)
github.com/conformal/btcchain/log.go		 UseLogger				 0.00% (0/1)
github.com/conformal/btcchain/chain.go		 BlockChain.DisableVerify		 0.00% (0/1)
github.com/conformal/btcchain/log.go		 logClosure.String			 0.00% (0/1)
github.com/conformal/btcchain/process.go	 RuleError.Error			 0.00% (0/1)
github.com/conformal/btcchain/log.go		 newLogClosure				 0.00% (0/1)
github.com/conformal/btcchain			 -------------------------------------	 59.23% (571/964)

{'fraction_non_alphanumeric': 0.13564201694496997, 'fraction_numerical': 0.08604096405363165, 'mean_word_length': 4.001234060057589, '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': '2594847', 'n_tokens_mistral': 5816, 'n_tokens_neox': 4732, 'n_words': 605}