The disclosure provides an image-based visual analysis interface automatic construction evaluation method and
system, relating to the technical field of
data visualization analysis, obtaining a visual analysis workbook file and
parsing; constructing a first intermediate representation representing the
semantics of the author in the workbook based on the
parsing result, generating a second intermediate representation based on the first intermediate representation; generating a candidate reference code, and iteratively repairing in combination with feedback information during the candidate reference
code generation process; performing
verification on the candidate reference code after iterative repair to form a basic benchmark sample, and obtaining an amplified benchmark sample through interactive maintenance and recombination of the basic benchmark sample; generating a visual analysis interface based on the basic benchmark sample and the amplified benchmark sample, comparing the visual analysis interface with a reference
executable interface, and outputting an
evaluation result. The disclosure solves the problems of the lack of
executable, verifiable, and
data semantics and interactive
annotation benchmark samples in the existing visual analysis interface, and the lack of a unified evaluation method.