Repository Analysis

bitcoin/bips

Bitcoin Improvement Proposals

17.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of bitcoin/bips, a Wikitext project with 10,897 GitHub stars. SynthScan v2.0 examined 58,370 lines of code across 155 source files, recording 289 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 17.6 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

17.6
Adjusted Score
17.6
Raw Score
100%
Time Factor
2026-08-06
Last Push
10.9K
Stars
Wikitext
Language
58.4K
Lines of Code
155
Files
289
Pattern Hits
2026-08-09
Scan Date
1.08
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 168MEDIUM 30LOW 91

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 289 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Cross-File Repetition164 hits · 820 pts
SeverityFileLineSnippetContext
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0test-only implementation of low-level secp256k1 field and group arithmetic it is designed for ease of understanding, notSTRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0test-only implementation of low-level secp256k1 field and group arithmetic it is designed for ease of understanding, notSTRING
HIGHbip-0089/secp256k1lab/secp256k1.py0test-only implementation of low-level secp256k1 field and group arithmetic it is designed for ease of understanding, notSTRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0test-only implementation of low-level secp256k1 field and group arithmetic it is designed for ease of understanding, notSTRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0objects of this class represent elements of a prime field. they are represented internally in numerator / denominator foSTRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0objects of this class represent elements of a prime field. they are represented internally in numerator / denominator foSTRING
HIGHbip-0089/secp256k1lab/secp256k1.py0objects of this class represent elements of a prime field. they are represented internally in numerator / denominator foSTRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0objects of this class represent elements of a prime field. they are represented internally in numerator / denominator foSTRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0initialize a field element a/b; both a and b can be ints or field elements.STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0initialize a field element a/b; both a and b can be ints or field elements.STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0initialize a field element a/b; both a and b can be ints or field elements.STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0initialize a field element a/b; both a and b can be ints or field elements.STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the sum of two field elements (second may be int).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the sum of two field elements (second may be int).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the sum of two field elements (second may be int).STRING
HIGHbip-0324/reference.py0compute the sum of two field elements (second may be int).STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the sum of two field elements (second may be int).STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the sum of field elements. sum(a, b, c, ...) is identical to (0 + a + b + c + ...).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the sum of field elements. sum(a, b, c, ...) is identical to (0 + a + b + c + ...).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the sum of field elements. sum(a, b, c, ...) is identical to (0 + a + b + c + ...).STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the sum of field elements. sum(a, b, c, ...) is identical to (0 + a + b + c + ...).STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the difference of two field elements (second may be int).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the difference of two field elements (second may be int).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the difference of two field elements (second may be int).STRING
HIGHbip-0324/reference.py0compute the difference of two field elements (second may be int).STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the difference of two field elements (second may be int).STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the difference of an integer and a field element.STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the difference of an integer and a field element.STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the difference of an integer and a field element.STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the difference of an integer and a field element.STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the product of two field elements (second may be int).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the product of two field elements (second may be int).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the product of two field elements (second may be int).STRING
HIGHbip-0324/reference.py0compute the product of two field elements (second may be int).STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the product of two field elements (second may be int).STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the product of an integer with a field element.STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the product of an integer with a field element.STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the product of an integer with a field element.STRING
HIGHbip-0324/reference.py0compute the product of an integer with a field element.STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the product of an integer with a field element.STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the ratio of two field elements (second may be int).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the ratio of two field elements (second may be int).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the ratio of two field elements (second may be int).STRING
HIGHbip-0324/reference.py0compute the ratio of two field elements (second may be int).STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the ratio of two field elements (second may be int).STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0convert a field element to an integer in range 0..size-1. the result is cached.STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0convert a field element to an integer in range 0..size-1. the result is cached.STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0convert a field element to an integer in range 0..size-1. the result is cached.STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0convert a field element to an integer in range 0..size-1. the result is cached.STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the square root of a field element if it exists (none otherwise).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the square root of a field element if it exists (none otherwise).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0compute the square root of a field element if it exists (none otherwise).STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0compute the square root of a field element if it exists (none otherwise).STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0determine whether this field element, represented as integer in 0..size-1, is even.STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0determine whether this field element, represented as integer in 0..size-1, is even.STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0determine whether this field element, represented as integer in 0..size-1, is even.STRING
HIGHbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py0determine whether this field element, represented as integer in 0..size-1, is even.STRING
HIGHbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py0check whether two field elements are equal (second may be an int).STRING
HIGH…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py0check whether two field elements are equal (second may be an int).STRING
HIGHbip-0089/secp256k1lab/secp256k1.py0check whether two field elements are equal (second may be an int).STRING
104 more matches not shown…
Hyper-Verbose Identifiers54 hits · 56 pts
SeverityFileLineSnippetContext
LOWbip-0374/gen_test_vectors.py49def gen_all_generate_proof_vectors(f):CODE
LOWbip-0374/gen_test_vectors.py80def gen_all_verify_proof_vectors(f):CODE
LOWbip-0374/secp256k1lab/src/secp256k1lab/ecdh.py6def ecdh_compressed_in_raw_out(seckey: bytes, pubkey: bytes) -> GE:CODE
LOWbip-0374/secp256k1lab/src/secp256k1lab/secp256k1.py332 def to_bytes_compressed_with_infinity(self):CODE
LOWbip-0327/gen_vectors_helper.py18def check_sign_verify_vectors():CODE
LOWbip-0327/reference.py345def get_session_key_agg_coeff(session_ctx: SessionContext, P: Point) -> int:CODE
LOWbip-0327/reference.py433def partial_sig_verify_internal(psig: bytes, pubnonce: bytes, pk: bytes, session_ctx: SessionContext) -> bool:CODE
LOWbip-0327/reference.py813def test_sign_and_verify_random(iters: int) -> None:CODE
LOWbip-0375/validator/validate_psbt.py253def validate_input_eligibility(psbt: PSBT) -> Tuple[bool, str]:CODE
LOWbip-0375/validator/bip352_crypto.py13def compute_silent_payment_output_script(CODE
LOWbip-0375/validator/inputs.py24def collect_input_ecdh_and_pubkey(CODE
LOWbip-0375/validator/inputs.py70def pubkey_from_eligible_input(input_map: BIP375PSBTMap) -> Optional[GE]:CODE
LOWbip-0375/validator/inputs.py98def _script_pubkey_from_psbt_input(input_map: BIP375PSBTMap) -> Optional[bytes]:CODE
LOWbip-0375/validator/inputs.py164def _has_eligible_script_type(script_pubkey: bytes) -> bool:CODE
LOWbip-0375/deps/bitcoin_test/messages.py375 def serialize_without_witness(self):CODE
LOWbip-0375/deps/secp256k1lab/src/secp256k1lab/ecdh.py6def ecdh_compressed_in_raw_out(seckey: bytes, pubkey: bytes) -> GE:CODE
LOW…p-0375/deps/secp256k1lab/src/secp256k1lab/secp256k1.py332 def to_bytes_compressed_with_infinity(self):CODE
LOWbip-0328/_bip327.py345def get_session_key_agg_coeff(session_ctx: SessionContext, P: Point) -> int:CODE
LOWbip-0328/_bip327.py433def partial_sig_verify_internal(psig: bytes, pubnonce: bytes, pk: bytes, session_ctx: SessionContext) -> bool:CODE
LOWbip-0328/_bip327.py813def test_sign_and_verify_random(iters: int) -> None:CODE
LOWbip-0089/bip32.py122def parse_extended_public_key(data: Mapping[str, object]) -> ExtendedPublicKey:CODE
LOWbip-0089/bip32.py153def build_extended_public_key(CODE
LOWbip-0089/reference.py141def blind_challenge_gen_internal(rand: bytes, msg: bytes, blindpubnonce: bytes, pk: PlainPk, tweaks: List[bytes], is_xonCODE
LOWbip-0089/reference.py282def test_blind_nonce_gen_vectors():CODE
LOWbip-0089/reference.py313def test_blind_challenge_gen_vectors():CODE
LOWbip-0089/reference.py390def test_blind_sign_and_verify_vectors():CODE
LOWbip-0089/reference.py481def test_unblind_signature_vectors():CODE
LOWbip-0089/reference.py520def test_sign_and_verify_random(iters: int) -> None:CODE
LOWbip-0089/reference.py571def change_output_verification(CODE
LOWbip-0089/reference.py585def _verify_tweaked_descriptor(CODE
LOWbip-0089/reference.py621def test_compute_tweak_vectors() -> None:CODE
LOWbip-0089/reference.py677def test_delegator_sign_vectors() -> None:CODE
LOWbip-0089/reference.py708def test_input_verification_vectors() -> None:CODE
LOWbip-0089/reference.py731def test_change_output_verification_vectors() -> None:CODE
LOWbip-0089/secp256k1lab/ecdh.py6def ecdh_compressed_in_raw_out(seckey: bytes, pubkey: bytes) -> GE:CODE
LOWbip-0089/secp256k1lab/secp256k1.py207 def from_bytes_nonzero_checked(cls, b: bytes) -> Self:CODE
LOWbip-0089/secp256k1lab/secp256k1.py353 def to_bytes_compressed_with_infinity(self) -> bytes:CODE
LOWbip-0089/secp256k1lab/secp256k1.py392 def from_bytes_compressed_with_infinity(b: bytes) -> GE:CODE
LOWbip-0324/secp256k1_test_vectors.py23def output_xswiftec_inv_cases():CODE
LOWbip-0324/secp256k1_test_vectors.py38def output_ellswift_decode_cases():CODE
LOWbip-0324/gen_test_vectors.py58def ellswift_create_deterministic(seed, features):CODE
LOWbip-0324/gen_test_vectors.py175def gen_ellswift_decode_cases(seed, simplified=False):CODE
LOWbip-0324/gen_test_vectors.py214def gen_all_ellswift_decode_vectors(fil):CODE
LOWbip-0324/gen_test_vectors.py272def xswiftec_inv_combo_flagged(x, u):CODE
LOWbip-0324/gen_test_vectors.py284def gen_all_xswiftec_inv_vectors(fil):CODE
LOWbip-0324/gen_test_vectors.py330def gen_packet_encoding_vector(case):CODE
LOWbip-0324/gen_test_vectors.py375def gen_all_packet_encoding_vectors(fil):CODE
LOWbip-0119/simulation.py79def make_patch_spines_invisible(ax):CODE
LOWbip-0340/test-vectors.py90def insecure_schnorr_sign_fixed_nonce(msg, seckey0, k):CODE
LOWbip-0352/reference.py101def encode_silent_payment_address(B_scan: GE, B_m: GE, hrp: str = "tsp", version: int = 0) -> str:CODE
LOWbip-0352/reference.py110def create_labeled_silent_payment_address(b_scan: Scalar, B_spend: GE, m: int, hrp: str = "tsp", version: int = 0) -> stCODE
LOWbip-0352/reference.py118def decode_silent_payment_address(address: str, hrp: str = "tsp") -> Tuple[GE, GE]:CODE
LOWbip-0352/secp256k1lab/src/secp256k1lab/ecdh.py6def ecdh_compressed_in_raw_out(seckey: bytes, pubkey: bytes) -> GE:CODE
LOWbip-0352/secp256k1lab/src/secp256k1lab/secp256k1.py332 def to_bytes_compressed_with_infinity(self):CODE
Self-Referential Comments13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMbip-0374/secp256k1lab/src/secp256k1lab/bip340.py1# The following functions are based on the BIP 340 reference implementation:COMMENT
MEDIUMbip-0374/secp256k1lab/src/secp256k1lab/keys.py4# The following function is based on the BIP 327 reference implementationCOMMENT
MEDIUMbip-0327/reference.py461# The following code is only used for testing.COMMENT
MEDIUMbip-0375/deps/secp256k1lab/src/secp256k1lab/bip340.py1# The following functions are based on the BIP 340 reference implementation:COMMENT
MEDIUMbip-0375/deps/secp256k1lab/src/secp256k1lab/keys.py4# The following function is based on the BIP 327 reference implementationCOMMENT
MEDIUMbip-0328/_bip327.py461# The following code is only used for testing.COMMENT
MEDIUMbip-0089/reference.py244# The following code is only used for testing.COMMENT
MEDIUMbip-0089/secp256k1lab/bip340.py1# The following functions are based on the BIP 340 reference implementation:COMMENT
MEDIUMbip-0089/secp256k1lab/keys.py4# The following function is based on the BIP 327 reference implementationCOMMENT
MEDIUMbip-0340/reference.py140# The following code is only used to verify the test vectors.COMMENT
MEDIUMbip-0340/reference.py197# The following code is only used for debuggingCOMMENT
MEDIUMbip-0352/secp256k1lab/src/secp256k1lab/bip340.py1# The following functions are based on the BIP 340 reference implementation:COMMENT
MEDIUMbip-0352/secp256k1lab/src/secp256k1lab/keys.py4# The following function is based on the BIP 327 reference implementationCOMMENT
Decorative Section Separators8 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMbip-0375/validator/inputs.py93# ============================================================================COMMENT
MEDIUMbip-0375/validator/inputs.py95# ============================================================================COMMENT
MEDIUMbip-0375/validator/inputs.py131# ============================================================================COMMENT
MEDIUMbip-0375/validator/inputs.py133# ============================================================================COMMENT
MEDIUMbip-0375/deps/bitcoin_test/messages.py35# ============================================================================COMMENT
MEDIUMbip-0375/deps/bitcoin_test/messages.py37# ============================================================================COMMENT
MEDIUMbip-0375/deps/bitcoin_test/messages.py195# ============================================================================COMMENT
MEDIUMbip-0375/deps/bitcoin_test/messages.py197# ============================================================================COMMENT
Excessive Try-Catch Wrapping10 hits · 15 pts
SeverityFileLineSnippetContext
LOWbip-0327/reference.py418 except Exception:CODE
MEDIUMbip-0375/test_runner.py69 print(f"Error: Test vector file '{filename}' not found")CODE
MEDIUMbip-0375/test_runner.py72 print(f"Error: Invalid JSON in test vector file: {e}")CODE
LOWbip-0328/_bip327.py418 except Exception:CODE
LOWbip-0089/reference.py267 except Exception as e:CODE
LOWbip-0089/reference.py381 except Exception as e:CODE
LOWbip-0089/reference.py513 except Exception as e:CODE
MEDIUMbip-0089/reference.py264def assert_raises(exc_cls, fn, pred):CODE
MEDIUMbip-0360/ref-impl/python/p2mr.py335 print(f"Error: {v['error']}")CODE
MEDIUMbip-0360/ref-impl/python/p2mr.py349 print(f"Error: {v['error']}")CODE
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHbip-0327/reference.py821 # In this example, the message and aggregate pubkey are knownCOMMENT
HIGHbip-0328/_bip327.py821 # In this example, the message and aggregate pubkey are knownCOMMENT
Slop Phrases4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMbip-0327/reference.py3# WARNING: This implementation is for demonstration purposes only and _not_ toCOMMENT
MEDIUMbip-0328/_bip327.py3# WARNING: This implementation is for demonstration purposes only and _not_ toCOMMENT
MEDIUMbip-0089/reference.py3# WARNING: This implementation is for demonstration purposes only and _not_ toCOMMENT
MEDIUMbip-0352/reference.py51 # note: this is an incredibly inefficient implementation, for demonstration purposes only.COMMENT
Deep Nesting11 hits · 11 pts
SeverityFileLineSnippetContext
LOWbip-0375/validator/validate_psbt.py42CODE
LOWbip-0375/validator/validate_psbt.py133CODE
LOWbip-0375/validator/validate_psbt.py253CODE
LOWbip-0375/validator/validate_psbt.py288CODE
LOWbip-0375/validator/inputs.py98CODE
LOWbip-0388/wallet_policies.py76CODE
LOWbip-0360/ref-impl/python/p2mr.py325CODE
LOWbip-0340/reference.py146CODE
LOWbip-0352/reference.py37CODE
LOWbip-0352/reference.py180CODE
LOWbip-0352/ripemd160.py51CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWbip-0327/gen_vectors_helper.py1CODE
LOWbip-0328/reference.py7CODE
LOWbip-0089/descriptor.py3CODE
LOWbip-0089/bip32.py3CODE
LOWbip-0089/secp256k1lab/secp256k1.py18CODE
LOWbip-0324/test_sage_decoding.py26CODE
LOWbip-0110/test-vectors.py43CODE
LOWbip-0110/test-vectors.py70CODE
LOWbip-0340/test-vectors.py2CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWbip-0327/reference.py471# Check if calling `try_fn` raises an exception. If yes, examine it with `except_fn`.COMMENT
LOWbip-0375/validator/validate_psbt.py261 # Check if SP outputs existCOMMENT
LOWbip-0328/_bip327.py471# Check if calling `try_fn` raises an exception. If yes, examine it with `except_fn`.COMMENT
LOWbip-0340/reference.py4# Set DEBUG to True to get a detailed debug output includingCOMMENT
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOWbip-0327/reference.py101 return TrueCOMMENT
LOWbip-0327/reference.py821 # In this example, the message and aggregate pubkey are knownCOMMENT
LOWbip-0328/_bip327.py101 return TrueCOMMENT
LOWbip-0328/_bip327.py821 # In this example, the message and aggregate pubkey are knownCOMMENT
LOWbip-0352/bech32m.py1# Copyright (c) 2017, 2020 Pieter WuilleCOMMENT
Cross-Language Confusion2 hits · 5 pts
SeverityFileLineSnippetContext
HIGHbip-0360/ref-impl/python/p2mr.py71 """Serialize variably-sized data as: compact-size byte || data bytes."""STRING
HIGHbip-0110/test-vectors.py33 cmake -B build && cmake --build build -j"$(nproc)"STRING
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWbip-0327/reference.py3# WARNING: This implementation is for demonstration purposes only and _not_ toCOMMENT
LOWbip-0328/_bip327.py3# WARNING: This implementation is for demonstration purposes only and _not_ toCOMMENT
LOWbip-0089/reference.py3# WARNING: This implementation is for demonstration purposes only and _not_ toCOMMENT