I have unique computations that are commercially valuable but I cannot code websites at a pro level, so I want to engage a pro (team) to do it.
How can I protect certain computational code lines so that they can be used in the site, but not decompiled into a readable form by anyone, including the coding team?
I have no preference for the website framework or language, so you choose - please let me know whatever works.
As mentioned in comments, the best way to protect your code is to manage access to it.
Set up an API service that allows your website developer to make requests and receive responses - but not actually have direct access to the logic.