# From Stories to Bugs: Story-Based Semantic Fuzzing of Interactive Systems

DevFeed: [From Stories to Bugs: Story-Based Semantic Fuzzing of Interactive Systems](<https://devfeed.tech/articles/from-stories-to-bugs-story-based-semantic-fuzzing-of-interactive-systems-113499.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01173>)

Author: Yeshayahu Weiss, Achiya Elyasaf, Gera Weiss

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [business logic](<https://devfeed.tech/topics/business-logic.md>), [race-condition](<https://devfeed.tech/topics/race-condition.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [ablation](<https://devfeed.tech/tags/ablation.md>), [apis](<https://devfeed.tech/tags/apis.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [business-logic](<https://devfeed.tech/tags/business-logic.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [deep](<https://devfeed.tech/tags/deep.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [fuzzing](<https://devfeed.tech/tags/fuzzing.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [interface](<https://devfeed.tech/tags/interface.md>), [magento](<https://devfeed.tech/tags/magento.md>), [model](<https://devfeed.tech/tags/model.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [ranking](<https://devfeed.tech/tags/ranking.md>), [reproduction](<https://devfeed.tech/tags/reproduction.md>), [rest-apis](<https://devfeed.tech/tags/rest-apis.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [stories](<https://devfeed.tech/tags/stories.md>), [systems](<https://devfeed.tech/tags/systems.md>)

## AI overview

Story-based semantic fuzzing searches constrained compositions of behavioral stories to reach deep valid states and expose concurrency-sensitive failures. In Behavioral Programming, semantic bindings and state constraints preserve legal prefixes, while event eligibility, schedule selection, and replay explore relevant interleavings. On Magento, overlap-aware ranking raised reproduction of a sporadic Shipping Fee race from 3.6% to 41.2%; a controlled ordering intervention reduced another failure signature from 100/100 initial executions to 0/200 constrained executions. In a REST API study, a pipeline generated stories, dependencies, and bindings from frozen public OpenAPI contracts. Under a shared black-box evaluation, Basic and Complex confirmed 0/11 and 11/11 semantic fault classes, compared with RESTler's 2/11 and EvoMaster's 0/11. Binding yielded 250/250 valid dependent operations versus 0/250 without it; prefix controls attributed the difference to preserving legal relational state.

## Source excerpt

arXiv:2611.01173v1 Announce Type: new Abstract: Complex interactive systems hide business-logic failures along two complementary axes: deep state-dependent behaviors that require long valid prefixes and concurrency-sensitive failures that depend on the ordering of otherwise legal operations. We present story-based semantic fuzzing, a methodology that treats semantically constrained compositions of behavioral stories as primary search objects. Implemented through Behavioral Programming, semantic binding and state constraints preserve legal prefixes, while event eligibility, schedule selection, and replay expose failure-relevant interleavings. We evaluate the methodology on Magento and four stateful REST APIs. On Magento, overlap-aware ranking increased reproduction of a sporadic Shipping Fee race from 3.6% to 41.2%; a controlled ordering intervention reduced a second failure signature from 100/100 initial executions to 0/200 constrained executions. For the REST study, a versioned end-to-end pipeline took each frozen public OpenAPI contract as its sole benchmark-specific model-generation input and automatically generated the Basic and Complex stories, dependency structure, and interface bindings. Under a shared black-box task and sequence-local evaluation contract, Basic and Complex confirmed 0/11 and 11/11 semantic fault classes, while RESTler and EvoMaster confirmed 2/11 and 0/11. A paired binding ablation produced 250/250 valid dependent operations with binding and 0/250 without it, while supplementary prefix controls localized the difference to preservation of legal relational state. Together, the studies show that searching admissible semantic compositions provides a unified and effective representation for reaching deep states and exposing concurrency-sensitive business-logic failures.