Econstellar replication artefact: engine source, G20 equity return panel and regeneration script
Description
Replication artefact for the Econstellar systems paper, accepted in Finance Research Open (manuscript FINR-D-26-00425; article reference FINR 100187). It regenerates every value reported in the paper's Table 3 without the publicly served engine. Contents: the engine source at commit c1fd189 (the revision that produced the reported values), exported without version-control history; the panel vintage, daily log-returns of 18 G20 equity indices from 12 January 2006 to 18 March 2026 (SHA-256 61d09f7ca909d81d2df5443d133f2b63c47ced7370b01f40c2c14c0924aa3929); a container recipe pinning R 4.6.1 to a dated CRAN snapshot; the source tarballs of the four R packages the container installs; and a script that issues the seventeen reported calls and compares each response with its tabulated value. Records of the full evaluation suite and of the cross-check against both the public engine and a container built from this deposit are included.
Files
Steps to reproduce
Requirements: a computer with Docker and Python 3 (standard library only, no extra Python packages), and about 2 GB of free disk space. 1. Unzip the archive and enter the folder: unzip econstellar-replication-c1fd189.zip cd econstellar-replication-c1fd189 2. Check that every file is intact. Every line should end in OK. sha256sum -c MANIFEST.sha256 (on macOS: shasum -a 256 -c MANIFEST.sha256) 3. Build the container image, named econstellar-engine:c1fd189. The script copies the engine source, the four bundled R package tarballs and the data panel into a temporary build folder and runs docker build with container/Dockerfile. It prints the panel checksum, which should read 61d09f7ca909d81d2df5443d133f2b63c47ced7370b01f40c2c14c0924aa3929. The first build downloads and installs the R packages and can take a while. bash build-image.sh 4. Start the engine: docker run --rm -d --name econstellar -p 8080:8080 -e K_REVISION=c1fd189 -e BUILD_SHA=c1fd189 econstellar-engine:c1fd189 5. Wait a few seconds, then check that it answers. The reply begins with {"ok":true curl -s http://127.0.0.1:8080/health 6. Run the regeneration script. It sends the seventeen method calls reported in Table 3 of the article to the local engine and compares each returned value with the tabulated value. There are eighteen anchors, because the unit-root test is reported for two markets (India and the UK). Allow several minutes. python3 compute-engine/eval-analyst/crosscheck17.py http://127.0.0.1:8080 ./crosscheck17_local.json Keep the ./ before the output file name: the script creates the output folder first and stops with an error on a bare file name. 7. Expected result: one line per anchor, each ending in MATCH (unit_root, unit_root#UK, live_unit_root, panel_unit_root, var_irf, vecm, garch, rolling_dcc, dfa_hurst, wavelet, wavelet_coherence, wqte, soch_profile, quantile_var, granger, connectedness, spillover_rolling, network), then the final line 18/18 anchors matched -> ./crosscheck17_local.json A line showing an arrow and a value instead of MATCH is a mismatch, and the value shown is what the engine returned. The output file lists, for each anchor, the method, the parameters sent, the tabulated value and the returned value. It can be compared with the two runs recorded in the records folder: crosscheck17_container_from_deposit_2026_10_09.json (a container built from this deposit alone) and crosscheck17_live_endpoint_2026_10_09.json (the public engine). The two agree value for value. 8. Stop the engine (the container is removed on stop): docker stop econstellar If a firewall blocks the published port, run the script inside the container, which carries Python 3, and copy the result out: docker cp compute-engine/eval-analyst/crosscheck17.py econstellar:/tmp/ docker exec econstellar python3 /tmp/crosscheck17.py http://127.0.0.1:8080 /tmp/out.json docker cp econstellar:/tmp/out.json ./crosscheck17_local.json
Institutions
- Indian Institute of Technology BhubaneswarOdisha, Bhubaneswar
Categories
Funders
- Institute Seed Grant, IIT BhubaneswarGrant ID: SP128