When I implement the formulas for color-dodge and burn respectively defined here: https://drafts.fxtf.org/compositing/#valdef-blend-mode-color-dodge
I get the results swapped from existing implementations. The defined formula for color-dodge seems to darken (when it should lighten), and color-burn seems to lighten instead of darkening.