{'fraction_non_alphanumeric': 0.025936599423631124, 'fraction_numerical': 0.0, 'mean_word_length': 5.435185185185185, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
CPTEST: A Framework for the Automatic Fault Detection, Localization and Correction of Constraint Programs

Constraint programs, such as those written in high level constraint modeling languages, e.g., OPL (Optimization Programming Language), are more and more used in business critical programs. As any other critical programs, they require to be thoroughly tested and corrected to prevent catastrophic loss of money. This paper is a demonstrations tool of CPTEST, a first testing tool for constraint programs. In particular, the paper presents the design of CPTEST and the implementation of our approaches enabling so automatic detection, localization and correction of faults in OPL programs.