Bicycle routers do a funny thing here where they tell people to jump off the kerb instead of following the cycleway. (https://www.openstreetmap.org/directions?engine=fossgis_valhalla_bicycle&route=55.96376%2C-3.17636%3B55.96425%2C-3.17880#map=19/55.96395/-3.17745&layers=N) We either need to add a barrier=kerb here or just delete the short section highway=pedestrian between the pavement and the roadway. Leaving this note as this should be done everywhere along Leith Walk where this issue occurs.