Chromatic orb worked perfectly for me at lvl 1 and 2, but once I hit lvl 3 and was prompted to pick a lvl1 or lvl2 spell slot. Then damage was reduced to 2d8 and 3d8 respectively. I checked the combat log and it was not just the tool tips that were wrong the damage was rolled with a dice too few.

I suppose the easiest way to program this is 2d8 + 1d8 * slot lvl

in the rules it is stated as 3d8 + 1d8 pr spell slot lvl above 1, but that just seems more complicated to me.