polywit

🌍 A poly-language execution-based violation-witness validator

https://github.com/polywit/polywit

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

python software-verification validator violation-witness witness-validation
Last synced: 6 months ago · JSON representation ·

Repository

🌍 A poly-language execution-based violation-witness validator

Basic Info
  • Host: GitHub
  • Owner: polywit
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 1.15 MB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • Open Issues: 8
  • Releases: 4
Topics
python software-verification validator violation-witness witness-validation
Created over 3 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

Polywit Logo

Codacy Badge PyPI version PyPI download month Python

Description

Modern verification tools report a violation witness amidst verification if a bug is encountered. Polywit employs execution-based validation to check the validity of the counterexample. This process involves extracting information on the assumptions of the verifier from the standardized exchange format for violation witnesses and building a test harness to provide a concrete execution of the program. The tool then executes the test harness on the code under verification and can either confirm or reject the violation witness if the relevant assertion is reached.

Whilst most modern execution-based validators such as wit4java and CPA-wit2test focus on specific language, polywit aims to provide an extensible, feature rich framework to allow for easy language integration and validator quality.

Framework

For a general language, the polywit implementation has the following architecture:

Polywit Architecture

  • The File Processor deals with processing of the compilation units.
  • The Witness Processor deals with processing of the witness.
  • The Test Harness deals with construction and execution of a test to check the validity of the reported violation.

Literature

Validate a given program with a witness conforming to the appropriate SV-COMP exchange format.

positional arguments: frontend Frontend language java Use the java validator

options: -h, --help show this help message and exit ```

Authors

Joss Moffatt (University of Manchester, United Kingdom) josshmoffatt@gmail.com

Tong Wu (University of Manchester, United Kingdom) wutonguom@gmail.com

Lucas Cordeiro (University of Manchester, United Kingdom) lucas.cordeiro@manchester.ac.uk

Peter Schrammel (University of Sussex, United Kingdom) P.Schrammel@sussex.ac.uk

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Moffatt
    given-names: Joss
  - family-names: Wu
    given-names: Tong
    orcid: https://orcid.org/0000-0002-0986-4150
  - family-names: Cordeiro
    given-names: Lucas
    orcid: https://orcid.org/0000-0002-6235-4272
  - family-names: Schrammel
    given-names: Peter
    orcid: https://orcid.org/0000-0002-5713-1381
title: "Polywit: The poly-language execution-based violation-witness validator"
license: MIT
license-url: "https://github.com/polywit/polywit/blob/main/LICENSE"
repository-code: "https://github.com/polywit/polywit"
type: software
version: 1.0.0
date-released: 2022

GitHub Events

Total
Last Year

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 61
  • Total Committers: 2
  • Avg Commits per committer: 30.5
  • Development Distribution Score (DDS): 0.016
Top Committers
Name Email Commits
Joss Moffatt j****t@g****m 60
Merajul Arefin m****n@g****m 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 22
  • Total pull requests: 12
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 0.23
  • Average comments per pull request: 0.0
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jossmoff (22)
Pull Request Authors
  • jossmoff (11)
  • j0ker70 (1)
Top Labels
Issue Labels
enhancement (14) common (7) documentation (7) bug (3) java (2) help wanted (2) good first issue (2) kotlin (1) python (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 11 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
pypi.org: polywit

A poly-language execution-based violation-witness validator.

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 11 Last month
Rankings
Dependent packages count: 6.6%
Stargazers count: 21.8%
Average: 22.9%
Downloads: 25.0%
Forks count: 30.5%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/pull-request.yml actions
  • kentaro-m/auto-assign-action v1.2.4 composite
.github/workflows/python-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • pypa/gh-action-pypi-publish 27b31702a0e7fc50959f5ad993c78deac1bdfc29 composite
requirements-dev.txt pypi
  • halo * development
  • javalang * development
  • kopyt * development
  • networkx * development
  • setuptools ==65.6.3 development
  • tabulate * development
setup.py pypi