Why it works: Shallot and pasta share more aroma than cooks usually use. They rank in the top 3% of all ingredient pairs, and 67 recipes mention both. Both carry nonanal, which smells fat, citrus. The science ↓
The recipe
Serves 4Ingredients
Contains: milk, wheat, tree nuts (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Method written by CompKitchen from the ingredient list. Not the original author's method, not kitchen-tested.
Bring a large pan of water to the boil, add the pasta shapes and cook until just tender, about 10 minutes. Drain, reserving a splash of the cooking water.
Meanwhile, toast the pine nuts in a dry frying pan over medium heat for 2 minutes, shaking often, until golden. Tip them onto a plate.
Heat the olive oil in the same pan over medium heat. Add the shallot and cook for 3 minutes until soft.
Add the sliced courgettes and cook for 4 minutes until just tender. Stir in the garlic and cook for 1 minute more.
Stir in the lemon zest and the chopped basil, reserving a little basil for serving.
Add the drained pasta and the splash of reserved water to the pan and toss everything together over low heat for 1 minute.
Take the pan off the heat and stir in the ricotta and grated Parmesan until creamy and coating the pasta.
Serve topped with the toasted pine nuts, the reserved basil and extra Parmesan if you like (optional).
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Shallot + pastatop 3% of all pairsAroma overlapstrongMentioned together67 recipes
Shared aroma: nonanal (fat, citrus).
-
Basil + lemontop 2% of all pairsAroma overlapstrongMentioned together1,820 recipes
Shared aroma: 3-hexenal (apple, fruity).
-
Olive + garlictop 3% of all pairsAroma overlapmoderateMentioned together23,449 recipes
Shared aroma: linalool (floral, citrus).
-
Basil + pinetop 3% of all pairsAroma overlapstrongMentioned together332 recipes
Shared aroma: 4-methoxybenzaldehyde (sweet, anise).
-
Olive + basiltop 3% of all pairsAroma overlapstrongMentioned together4,868 recipes
Shared aroma: 3-hexenal (apple, fruity).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the nuts
How well each one fits the dish's main ingredients (olive, shallot, garlic, pasta, basil, lemon, pine):
- Chickpeabetter flavor fit
- Lentilsbetter flavor fit
- Cashew nutbetter flavor fit
- Nutsthe original
Fit is the average pairing score against olive, shallot, garlic, pasta, basil, lemon, pine. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.