TIDE: code and data for a coverage-aware risk indicator for Bitcoin transactions
Abstract
This record contains the code and the data used in the article "TIDE: A Coverage-Aware Risk Indicator for Bitcoin Transactions, from Evidence Fusion to a Working Platform". TIDE scores one Bitcoin transaction from the evidence available before it. It places the transaction in a coverage stratum (S1, S2, S3) that sets its prior, scores it with a history facet and a behavior facet, fuses them on the log-odds scale, and returns a level defined by a review budget, a confidence and an explanation per facet. Contents- tide_code.zip: the scoring core (tide_core.py), the fitting and evaluation scripts (steps 0 to 4 and the export script), the command-line scoring scripts, and the interface (app_tide.py).- dataset_v21_full.csv: the BitFraud transactions (six chronological snapshots of 100 blocks each, 1,687,072 transactions) with their features and labels.- scam_addresses_v21_frozen.csv: the reported Bitcoin addresses used to label the transactions, with the creation time of each report.- step1_facets.csv.gz, step1_priors.csv, step2_beta.csv: intermediate outputs (facet scores, stratum priors, fitted fusion parameters).- tide_bundle.joblib: the fitted system loaded by the interface.- README.md: run order, software versions and the list of columns used by the behavior facet. ReproductionThe scripts run in Google Colab with the Drive mounted. The order is: step 0 (strata check), step 1 (facets), step 2 (fusion and tests T1 to T4 and T6), step 3b (levels, T5), step 4 (explanations), step 6 (export), then "streamlit run app_tide.py". Software versions: scikit-learn 1.6.1, LightGBM 4.6.0. Bootstrap resamples: 200 in step 2 and 300 in steps 3b and 4. AccessThe files are under restricted access during the review. A private link is provided to the editor and the reviewers, and the record will be made open on publication of the article.