runtimeverification / runtimeverification/haskell-backend
Flaky behavior on `simplify` endpoint
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 224
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
Related:
- #3730
- #3731
- runtimeverification/pyk#1070
runtimeverification/k#4146 removed some symbol attributes from definition.kore (format, color, ...). As a result, TestMiniKEVM started failing in runtimeverification/pyk#1070 (only for the old backend).
The same test failed earlier after adding the symbol attribute to some productions in runtimeverification/k#4024. Then, the fix was to pin hashable to a given version in #3732.
Based on this, I think there might be a hash set or similar somewhere in the code base whose iteration order somehow influences simplify responses.
Bug reports:
- Old behavior (
K v6.3.75): old.tar.zip - New behavior (
K v6.3.76): new.tar.zip
First divergent reponse:
- Request: 002_request.json
- Old response: 002_response.json
- New response: 002_response.json
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TestMiniKEVM failure in runtimeverification/pyk#1070 and compare the attached old and new simplify request/response archives, beginning at the first divergent response. Trace the simplify endpoint's handling of iteration order and the related definition.kore symbol attributes, then reproduce the failure and confirm that responses are stable across the reported versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100