Improve code stringification
This makes DAGCode stringification deterministic, makes the initial phase clear in the stringified code, and renames STAGE in the output to PHASE.
Edited by Matt Wala
This makes DAGCode stringification deterministic, makes the initial phase clear in the stringified code, and renames STAGE in the output to PHASE.