Generating interactive documents for domain-specific validation of formal models

被引:2
|
作者
Vu, Fabian [1 ]
Happe, Christopher [1 ]
Leuschel, Michael [1 ]
机构
[1] Heinrich Heine Univ Dusseldorf, Inst Informat, Math Nat Wissensch Fak, Dusseldorf, Germany
关键词
Code generation; Validation; B method; Domain-specific; Interactive; Visualization; SIMULATION; LANGUAGE;
D O I
10.1007/s10009-024-00739-0
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Especially in industrial applications of formal modeling, validation is as important as verification. Thus, it is important to integrate the stakeholders' and the domain experts' feedback as early as possible. In this work, we propose two approaches to enable this: (1) a static export of an animation trace into a single HTML file, and (2) a dynamic export of a classical B model as an interactive HTML document, both based on domain-specific visualizations. For the second approach, we extend the high-level code generator B2Program by JavaScript and integrate VisB visualizations alongside SimB simulations with timing, probabilistic and interactive elements. An important aspect of this work is to ease communication between modelers and domain experts. This is achieved by implementing features to run simulations, sharing animated traces with descriptions and giving feedback to each other. This work also evaluates the performance of the generated JavaScript code compared with existing approaches with Java and C++ code generation as well as the animator, constraint solver, and model checker ProB.
引用
收藏
页码:147 / 168
页数:22
相关论文
共 50 条
  • [1] Generating interactive documents for domain-specific validation of formal models
    Fabian Vu
    Christopher Happe
    Michael Leuschel
    International Journal on Software Tools for Technology Transfer, 2024, 26 : 147 - 168
  • [2] Validation of Formal Models by Interactive Simulation
    Vu, Fabian
    Leuschel, Michael
    RIGOROUS STATE-BASED METHODS, ABZ 2023, 2023, 14010 : 59 - 69
  • [3] Generating Domain-Specific Programs for Diagram Authoring with Large Language Models
    Jain, Rijul
    Ni, Wode
    Sunshine, Joshua
    COMPANION PROCEEDINGS OF THE 2023 ACM SIGPLAN INTERNATIONAL CONFERENCE ON SYSTEMS, PROGRAMMING, LANGUAGES, AND APPLICATIONS: SOFTWARE FOR HUMANITY, SPLASH COMPANION 2023, 2023, : 70 - 71
  • [4] A formal approach to the engineering of domain-specific distributed systems
    De Nicola, Rocco
    Ferrari, Gianluigi
    Pugliese, Rosario
    Tiezzi, Francesco
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2020, 111
  • [5] Practicing Domain-Specific Languages: From Code to Models
    Gonnord, Laure
    Mosser, Sebastien
    21ST ACM/IEEE INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS: COMPANION PROCEEDINGS (MODELS-COMPANION '18), 2018, : 106 - 113
  • [6] Measuring Grit A German Validation and a Domain-Specific Approach to Grit
    Schmidt, Fabian T. C.
    Fleckenstein, Johanna
    Retelsdorf, Jan
    Eskreis-Winkler, Lauren
    Moeller, Jens
    EUROPEAN JOURNAL OF PSYCHOLOGICAL ASSESSMENT, 2019, 35 (03) : 436 - 447
  • [7] Domain-Specific Greed
    Weiss, Martin
    Schulze, Julian
    Krumm, Stefan
    Goeritz, Anja S. S.
    Hewig, Johannes
    Mussel, Patrick
    PERSONALITY AND SOCIAL PSYCHOLOGY BULLETIN, 2024, 50 (06) : 889 - 905
  • [8] On the Effectiveness of Large Language Models in Domain-Specific Code Generation
    Gu, Xiaodong
    Chen, Meng
    Lin, Yalan
    Hu, Yuhan
    Zhang, Hongyu
    Wan, Chengcheng
    Wei, Zhao
    Xu, Yong
    Wang, Juhong
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2025, 34 (03)
  • [9] ReVeaLD: A user-driven domain-specific interactive search platform for biomedical research
    Kamdar, Maulik R.
    Zeginis, Dimitris
    Hasnain, Ali
    Decker, Stefan
    Deus, Helena F.
    JOURNAL OF BIOMEDICAL INFORMATICS, 2014, 47 : 112 - 130
  • [10] A Comprehensive Web-based Platform For Domain-Specific Biological Models
    Klement, M.
    Safranek, D.
    Ded, T.
    Pejznoch, A.
    Nedbal, L.
    Steuer, R.
    Cerveny, J.
    Mueller, S.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2013, 299 : 61 - 67