Two weight problems and Bellman functions on filtered probability spaces