Function updates for read only fields

Function updates for read only fields

Hello,

I wrote a deluge function for the Deals module to take 4 other fields, translate their picklist values into numerical inputs, then multiply them all together to get a rating. It is tied to a workflow automation on record creation or edit. The function works when the output field is editable. However, since this field is only based on calculated values, I'd like to make it read only. However, the function does not work when I make the field read only.

Job Rating is the field I'd like to make read-only but not have the read-only stop the function from working
If this is currently not possible, my suggestion is maybe functions are allowed to edit read-only fields, since the intent of that setting is to stop someone from just typing into the field, but you'd still want underlying calculations to work.

Any help would be appreciated, thanks!