chipmunk-project / chipmunk

A code generator for packet-processing pipelines based on end-to-end program synthesis
12 stars 5 forks source link

Use truth table into spec #191

Open XiangyuG opened 4 years ago

XiangyuG commented 4 years ago

When running the experiment, we found the synthesis time is unstable across different mutations even if we have already set the slv-seed. One initial idea to solve this issue is to create a truth table to replace the spec file.

To be specific, we will replace y = x + 1 by if (x == 0) {y = 1} elif (x == 1) {y =2 }... so that all mutations will have one same spec format.