runtimeverification / runtimeverification/kontrol

Add `--allow-failure` option to `kontrol prove`

Open
#147 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cli enhancement
Dominant language
Python
Stars
122
Forks
16
PR merge metrics
No merged PRs in 30d

Description

As part of aligning kontrol prove with forge test behavior (https://github.com/runtimeverification/kontrol/issues/124), we should add a way to let kontrol terminate with the 0 exit code even when a proof fails, similar to the following Foundry's flag:

--allow-failure
    Exit with code 0 even if a test fails.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the kontrol prove command entry point and review issue #124 for the intended alignment with forge test. The work is complete when --allow-failure is accepted and a failed proof still causes kontrol prove to exit with code 0.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.