nafur / pydelta Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hi, to support differential testing,
it would be useful to enable the comparison of two solvers.
In ddSMT, the command is as follows
python ddsmt.py -c solver1 input.smt2 output.smt2 solver2
Some notices:
sat/unsat
solver
could be a solver combined with one or more options.pydelta -c "solver1 optA optB" input.smt2 output.smt2 "solver2 optC opt D"
However, it seems that by default, pydelta does not support options for differential testing.
Hi,
I found the following tool quite useful for reducing the size of some formulas.
https://github.com/sambayless/linedd
It uses a simple, line-based mutation (just deleting some lines one time).
Perhaps pydelta can consider integrating similar strategies?
When Z3 throws an assertion error,
the process will get stuck.
As a result, some delta debuggers like ddSMT and pydelta can get stuck in the first run.
An example
z3stuck.txt
Previously, I modified ddSMT to support this.
proc = subprocess.Popen(g_args.cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
timer = Timer(g_time_limit, terminate, args=[proc])
timer.start()
try:
for line in iter(proc.stdout.readline, ''):
...
proc.stdout.close()
procstat = proc.wait()
timer.cancel()
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.