It is, for the most part, ambiguous how much Sidious was able to foresee.
I would make the case that he didn't predict the Jedi coming to Naboo at all, much less what they would do once they arrived.
He at least claims that the Jedi are putting a wrinkle in his plot that requires the plan to change, suggesting that he didn't know with certainty that they would get involved.
This turn of events is unfortunate. We must accelerate our plans.
Of course, he could be pretending to have not known but I would argue this is not the case. He tells the Trade Federation to
Kill them immediately.
Notably, the Trade Federation initially underestimate the Jedi and use an ineffective gas attack on them. Since Sidious ends up wanting the Jedi killed, he likely would have warned and prepared the Trade Federation far in advance, if he predicted the Jedi presence long before.
Of course, it could be argued that he knew the Jedi would come, and knew that the Trade Federation would fail to kill them, but told the Trade Federation to try anyway, as part of his scheme. However, this would require a level of extreme clarity in telling the future and the Force is generally more murky for something this complicated.
Additionally, his plot requires Naboo to be as threatened as possible, both to make Valorum look bad and to gain sympathy for himself. The Jedi are the most likely party in the galaxy to resolve things, so he would probably want them dead if they tried to intervene. Therefore, he would likely better prepare the Trade Federation if he predicted the Jedi getting involved in advance.