This disclosure provides an automatic construction and evaluation method and
system for image-based
visual analytics interfaces, relating to the field of
data visualization and analysis technology. The method involves acquiring and
parsing a
visual analytics workbook file; constructing a first intermediate representation representing the author's
semantics in the workbook based on the
parsing results; generating a second intermediate representation based on the first intermediate representation; generating candidate reference code and iteratively repairing it by incorporating feedback information during the candidate reference
code generation process; verifying the iteratively repaired candidate reference code to form a basic benchmark sample; amplifying the basic benchmark sample through interactive recombination to obtain an amplified benchmark sample; generating a
visual analytics interface based on the basic benchmark sample and the amplified benchmark sample; comparing the visual analytics interface with a reference
executable interface; and outputting the evaluation results. This disclosure addresses the problems of existing visual analytics interfaces lacking
executable, verifiable benchmark samples with
data semantics and interactive annotations, as well as the lack of a unified evaluation method.