Its mostly a trial and error dosing depending on the situation. When I used to gamble I'd set my insulin at 150% (I'm a pumper) until 30 minutes after I left the table. I found that shooting guns for any duration also drives sugars up but not as much (I raise to 120% at the range). I'd try the standard scientific approach if its a repeatable event that is raising your sugar. Increase your insulin slowly and test more during and after until you find a good match.