These exercises are from the Studio/Jazz Drumming Cookbook by John Pickering.
Get the book here: https://amzn.to/3yj1gIh
This example is from the 3rd lesson in the book where you play kick and snare comping patterns under the jazz ride pattern. I am playing one bar of time, one bar of the comping exercise and repeat that. These are great exercises to help develop better jazz drumming coordination!