There should be a spaghetti cooker that works like a rice cooker. I put in the precise amount of water and then when it's all absorbed it signals me that it is done.
I substitute the can of sauce for a 28oz can of tomatoes, and cook some onion and garlic in with mince instead of adding onion and garlic powder.
If you use a microwave oven for cooking, then for rice, pasta or any other kind of cereal-based ingredient, e.g. maize meal or semolina, you just need to determine once the correct amount of added water (e.g. for rice or maize meal I use water that is 4 times their weight, while cooking in a covered glass vessel), of microwave power and of cooking time in your oven.
Then you can cook forever always using those parameters and the result will be just right every time.