evaluation code to spec