which means they are picking the closest node X in a global nextstrain tree (auspiceData). This closest node stuff is what you will see when clicking on ‘show tree’.
Then the score is computed in rulePrivateMutations.ts
@babarlelephant, Nextclade is shipped in production mode, but we also enabled source maps , in case someone wanted to browse or debug the code. Looks like it is useful
It is probably better to clone the code from Github, to setup the local copy of the application using developer’s guide and to study and modify the code in convenience of your favorite text editor.