Number one is pinning sites that have canonical information (like official documentation), raising sources which are consistently good and blocking sources that are consistently bad. With a day or two of tuning these you get better results than any other search engine.
Genuinely curious. Have tried Kagi and found results to be mediocre at best compared to DDG.