Skip to content

This repository contains a PyTest plugin, ProbTest, to test probabilistic programs and the benchmarks included in the accompaying paper.

License

itu-square/probtest-pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProbTest - Effective testing of probabilistic programs with statistical guarantees

ProbTest is a Pytest plugin to test probabilistic programs. This testing plugin runs repeatedly the probabilistic program under test and ensures that bugs are found with high probability. The folder probtest-main contains installation and usage instructions for the plugin.

This repository accompanies the research article ProbTest: Unit Testing for Probabilistic Programs; to appear at SEFM'25. The article describes the theoretical underpinnings of ProbTest and an evaluation on realistic case studies.

This repository contains the source code and results of the experiments for the evaluation of ProbTest presented in the paper. The evaluation targets several case studies including a randomized data structure and several reinforcement learning (RL) systems. The folder case_studies contains the source code and results of all experiments. The extended version of the article (available in arXiv) includes the details about the test suit and injected bugs for the skip list case study and the results of all RL experiments.

About

This repository contains a PyTest plugin, ProbTest, to test probabilistic programs and the benchmarks included in the accompaying paper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages