(bounty offered) error when taking gradient of numerical integration results

I am having problems when taking the gradient of numerical integration results. I’d like to hire someone familiar with the TensorFlow Probability codebase to help me troubleshoot the issue.

(Edit: It looks like some user(s) flagged this post as violating the community guidelines, but I don’t see anything that prohibits posting want ads? If this is a bug with TensorFlow and not user error, paying someone to fix it and submit a pull request is one way of contributing to the open source project.)

See posted job on Upwork here:

See question on Stack Overflow here:

Hi Jack! I think we generally want to avoid commercial activity on the forum, but this is a bit of a gray area – I’d put “Help Needed” in your topic title here.