code version with sample-run as dataframe index ; 2024-06-11