Skip to content
#small language model Open access

HSHAP Reproducibility Package

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)

Abstract

# H-SHAP reproducibility package (v1.0.0) Code, locked results, and replay files for the paper *The hierarchical Owen value (H-SHAP) as an explanation-auditing mechanism for gradient-boosted models on hierarchical categorical representations in property insurance ratemaking* (manuscript, v1.2). H-SHAP is the two-tier Owen value applied to the explanation game of an EAGB model (LightGBM, Tweedie) on public NFIP flood-insurance data. This package accompanies, and depends on the model specification of, the HCE/EAGB reproducibility package (https://github.com/hvanhtuan/HCE-EAGB-Reproducibility). ## Contents | Path | Content | |---|---| | `code/hshap.py` | Shapley and Owen values from a coalition table; sampled Owen estimator (Algorithm 2) | | `code/kb45_hshap.py` | Paper Tables 2–3: efficiency, fidelity, cost, frequency–severity decomposition, H2a stability | | `code/kb4c_proxy.py` | Paper Table 4: H2b proxy screening (10 repetitions) | | `code/make_synthetic_owen.py` | Paper Table 6 and Proposition 3 checks (synthetic games; runs in seconds) | | `code/nfip_lib.py`, `hce.py`, `metrics.py`, `prep_nfip.py`, `dl_*` | Shared library, encoder, metrics, data download and risk-cell construction | | `code/kb2_h1.py` | Regenerates `results/kb2_test_enc.pkl` and `results/models/` from the locked pre-registration | | `results/prereg_H1.json` | Locked pre-registration, English translation used by the code (local timestamp 2026-09-18; no independent timestamp) | | `results/prereg_H1.original-vi.json` | The original Vietnamese file that carried the lock (kept unchanged for audit; content identical apart from language and model labels) | | `results/kb2_test_enc.pkl`, `results/models/` | Hierarchical-credibility encodings and the eight locked LightGBM models used by the H-SHAP scripts | | `results/kb45_hshap.json`, `kb4c_proxy.json`, `synthetic_owen_results.json` | Reference outputs behind the paper's tables | | `data/raw_manifest.json` | Names, sizes and SHA-256 of the OpenFEMA raw files (raw data NOT included) | | `SHA256SUMS.txt` | Checksums of every file in this package | ## Quick check (seconds, no data needed) ```bash pip install numpy==2.4.4 cd code && python make_synthetic_owen.py ``` The printed table must match paper Table 6 (e.g. kappa = 2: D = 0.0318, max|Delta_g|/max Phi_g = 0.0392; Algorithm 2 mean max error 0.102 / 0.035 / 0.015 at R = 100 / 1000 / 5000). ## Full replay of the NFIP results 1. `pip install -r code/requirements.txt` (Python 3.11). 2. Download the OpenFEMA files named in `data/raw_manifest.json` into `data/raw/` (`code/dl_all.sh`), then `cd code && python prep_nfip.py` to build `data/nfip_cells.parquet` (2,453,910 risk cells). A fresh download may not be byte-identical to the September 2026 snapshot. 3. `cd code && python kb45_hshap.py` (about 70 min; writes `results/kb45_hshap.json`) and `python kb4c_proxy.py` (writes `results/kb4c_proxy.json`). The included `results/kb2_test_enc.pkl` and `results/models/` let steps 3 run without retraining; `kb2_h1.py test` regenerates them. Scripts use relative paths and must be run from `code/`. ## Notes and limitations - The pre-registration file carries a local lock time only; the order "locked before results" rests on the authors' statement. - Raw and claim-/policy-level NFIP files are not distributed; data keep their original terms. - The audited EAGB model does not outperform the GLM baseline on the 2021–2023 test window (see the EAGB paper); H-SHAP is evaluated as an explanation mechanism, not as evidence of predictive value. - Reference outputs were produced on the authors' machine; small numerical differences are expected on other hardware, except for the synthetic experiment, which is deterministic.

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.