AI Slop Code RIsk Monitor

bitcoin/bips

Bitcoin Improvement Proposals

17.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for bitcoin/bips, a Wikitext project with 10,962 GitHub stars. SynthScan examined 61,688 lines of code across 169 source files, recording 298 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 17.1 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

17.1
Adjusted Signal
17.1
Raw Pattern Score
100%
Time Factor
2026-10-02
Last Push
11.0K
Stars
Wikitext
Language
61.7K
Lines of Code
169
Files
298
Pattern Hits
2026-10-12
Scan Date
1.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 11.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 99 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

Are imports declared and package/API names verified? 11 finding(s).

Agent Over-Engineering Ratio 53.6/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 242 finding(s).

PR Review Velocity Impact 63.0/100 · HIGH

Which changes need focused human review? 298 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 174MEDIUM 30LOW 94

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 298 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

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.py344def get_session_key_agg_coeff(session_ctx: SessionContext, P: Point) -> int:CODE
LOWbip-0327/reference.py432def partial_sig_verify_internal(psig: bytes, pubnonce: bytes, pk: bytes, session_ctx: SessionContext) -> bool:CODE
LOWbip-0327/reference.py812def test_sign_and_verify_random(iters: int) -> None:CODE
LOWbip-0375/validator/validate_psbt.py272def 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
LOW⚡bip-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.py344def get_session_key_agg_coeff(session_ctx: SessionContext, P: Point) -> int:CODE
LOWbip-0328/_bip327.py432def partial_sig_verify_internal(psig: bytes, pubnonce: bytes, pk: bytes, session_ctx: SessionContext) -> bool:CODE
LOWbip-0328/_bip327.py812def 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
LOW⚡bip-0352/reference.py101def encode_silent_payment_address(B_scan: GE, B_m: GE, hrp: str = "tsp", version: int = 0) -> str:CODE
LOW⚡bip-0352/reference.py110def create_labeled_silent_payment_address(b_scan: Scalar, B_spend: GE, m: int, hrp: str = "tsp", version: int = 0) -> stCODE
LOW⚡bip-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.py460# 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.py460# 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
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHbip-0360/ref-impl/python/p2mr.py446except ValueError:CODE
HIGHbip-0360/ref-impl/python/p2mr.py462except ValueError:CODE
HIGHbip-0352/reference.py69except (ValueError, AssertionError):CODE
HIGHbip-0352/reference.py64except (ValueError, AssertionError):CODE
HIGHbip-0352/reference.py89except ValueError:CODE
HIGHbip-0352/reference.py57except ValueError:CODE
Decorative Section Separators8 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM⚡bip-0375/validator/inputs.py93# ============================================================================COMMENT
MEDIUM⚡bip-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.py417 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.py417 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.py355 print(f"Error: {v['error']}")CODE
MEDIUMbip-0360/ref-impl/python/p2mr.py369 print(f"Error: {v['error']}")CODE
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHbip-0327/reference.py820 # In this example, the message and aggregate pubkey are knownCOMMENT
HIGHbip-0328/_bip327.py820 # 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 Nesting12 hits · 12 pts
SeverityFileLineSnippetContext
LOWbip-0375/validator/validate_psbt.py42CODE
LOWbip-0375/validator/validate_psbt.py143CODE
LOWbip-0375/validator/validate_psbt.py272CODE
LOWbip-0375/validator/validate_psbt.py307CODE
LOWbip-0375/validator/inputs.py98CODE
LOWbip-0388/wallet_policies.py76CODE
LOWbip-0360/ref-impl/python/p2mr.py345CODE
LOWbip-0340/reference.py146CODE
LOWbip-0352/reference.py37CODE
LOWbip-0352/reference.py128CODE
LOWbip-0352/reference.py182CODE
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.py44CODE
LOWbip-0110/test-vectors.py71CODE
LOWbip-0340/test-vectors.py2CODE
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWbip-0327/reference.py1# BIP327 reference implementationCOMMENT
LOWbip-0327/reference.py101COMMENT
LOWbip-0327/reference.py821 # before nonce generation, so they can be passed into the nonceCOMMENT
LOWbip-0328/_bip327.py1# BIP327 reference implementationCOMMENT
LOWbip-0328/_bip327.py101COMMENT
LOWbip-0328/_bip327.py821 # before nonce generation, so they can be passed into the nonceCOMMENT
LOWbip-0352/bech32m.py1# Copyright (c) 2017, 2020 Pieter WuilleCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWbip-0327/reference.py470# Check if calling `try_fn` raises an exception. If yes, examine it with `except_fn`.COMMENT
LOWbip-0375/validator/validate_psbt.py280 # Check if SP outputs existCOMMENT
LOWbip-0328/_bip327.py470# 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
Cross-Language Confusion2 hits · 5 pts
SeverityFileLineSnippetContext
HIGHbip-0360/ref-impl/python/p2mr.py76 """Serialize variably-sized data as: compact-size byte || data bytes."""STRING
HIGHbip-0110/test-vectors.py34 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