July 22, 2021 | 2: 13am

There was reason for the Yankees to be optimistic with Gleyber Torres — and reason to be furious, too. In this frustrating season, it was on brand for the young shortstop.

On one hand, he continued his recent uptick in power. But on the other hand, his defensive shortcomings yet again were impossible to ignore.

Both played a significant role Wednesday night in the Yankees’ wild 6-5, 10-inning win over the Phillies in The Bronx. Torres went deep for the third time in four games and had a key sacrifice bunt in the extra frame that led the Yankees to the win.

But he also made a crucial error to start the top of the eighth inning, as the Phillies rallied from three runs down against Zack Britton and Nick Nelson to pull even.

Gleyber Torres belts a solo home run in the fourth inning of the Yankees’ 6-5, 10-inning win over the Phillies.
Robert Sabo

Torres, a shell of himself at the plate most of the season, has now hit safely in seven of his last eight games and is starting to perform like the player the Yankees expected to see. His defense, however, remains a problem. He has limited range at shortstop and 13 errors. According to the Fielding Bible, Torres is minus-5 in defensive runs saved. Only eight shortstops are worse.