I checked this against the examples in the appendix to the book by Duckworth and Lewis, and got correct results only for the cases in which the only interruption was in the first innings. This is better than one of the competing apps that was literally never right, but that's not saying a lot.