The authors of On the Optimality of Randomization in Experimental Design: How to Randomize for Minimax Variance and Design-Based Inference have not publicly listed the code yet.
Request code directly from the authors:
Get an expert to implement this paper:
(OR if you have code to share with the community, please add it here 😊🙏 )