This code and related data is related to research work on quantified benchmarking of Reconfigurable Intelligent Surface (RIS). Related research article has been submitted to VTM titled "Reconfigurable Intelligent Surfaces: Tradeoff between Unit-Cell- and Surface-Level Design under Quantifiable Benchmarks". 'ReadMe.text' file in 'RIS_restricted_02.zip' explains how to use the code to generate RIS configurations for RIS of arbitrary size and unit cell design, which can accomodate restricting to certain size grouped control.