For example, in the Alabama election, Democrat Doug Jones got about 160,000 more votes than the Democrat did in the most recent (2010) contested mid-term election (Jeff Sessions ran unopposed in 2014). But Roy Moore got over 300,000 fewer votes than did Richard Shelby in the most recent contested mid-term election, and that was a much bigger factor.
First thought: Candidate quality always matters and skews the results. You see that in both the Jones/Moore matchup and the Conor Lamb results.
Second thought: The primary in Texas, matching Cruz and O’Rourke, did NOT show sufficient enthusiasm gap to alter results.
But more to the point, this is why we actually HAVE elections, eh? :-)