mlsanityData to 7 Oct 2026

ValAsp: a tool for data validation in Answer Set Programming

arXiv 2202.09626 ↗First posted 19 Feb 2022cs.LO cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The development of complex software requires tools promoting fail-fast approaches, so that bugs and unexpected behavior can be quickly identified and fixed. Tools for data validation may save the day of computer programmers. In fact, processing invalid data is a waste of resources at best, and a drama at worst if the problem remains unnoticed and wrong results are used for business. Answer Set Programming (ASP) is not an exception, but the quest for better and better performance resulted in systems that essentially do not validate data. Even under the simplistic assumption that input/output data are eventually validated by external tools, invalid data may appear in other portions of the program, and go undetected until some other module of the designed software suddenly breaks. This paper formalizes the problem of data validation for ASP programs, introduces a language to specify data validation, and presents textscvalasp, a tool to inject data validation in ordinary programs. The proposed approach promotes fail-fast techniques at coding time without imposing any lag on the deployed system if data are pretended to be valid. Validation can be specified in terms of statements using YAML, ASP and Python. Additionally, the proposed approach opens the possibility to use ASP for validating data of imperative programming languages. Under consideration for acceptance in TPLP.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 40 references that are in the map. First posted on arXiv 19 Feb 2022.

Builds on

5 of 40 references.

References · 5

  1. 2019ASP-Core-2 Input Language Formatcited by 77
  2. 2018Answering the "why" in Answer Set Programming - A Survey of Explanation Approachescited by 11
  3. 2019The Seventh Answer Set Programming Competition: Design and Resultscited by 11
  4. 2018Debugging Non-Ground ASP Programs: Technique and Graphical Toolscited by 8
  5. 2018onlineSPARC: a Programming Environment for Answer Set Programmingcited by 1

Built on by

Not cited yet.