Silly me, thinking this was a Space: 1999 discussion.
I just watched 5 Star Trek episodes in Space: 1999 that have mid ratings, above the one bad episode that will become a TNG episode.
Beyond these two are "Another Time, Another Place" and "Dragon's Domain." I'll get to "Another Time, Another Place" later.
1-07 Mission of the Darians
IMDB Rating: 7.3
Star Trek connection: TNG's Up the Long Ladder, but especially the TOS novel The Galactic Whirlpool and its origins in the undeveloped TOS script Tomorrow Was Yesterday
Note: This Space: 1999 episode should be copied and remade as a Star Trek episode.
1-13 Death's Other Dominion
IMDB Rating: 7.3
Star Trek connection: TOS's Who Mourns For Adonais (very similar plot)
Note: This Space: 1999 episode should be copied and remade as a Star Trek episode.
1-11 End of Eternity
IMDB Rating: 7.3
Star Trek connection: TNG's Skin of Evil (very similar plot)
Note: This Space: 1999 episode should be copied and remade as a horror episode of Star Trek.
1-19 Guardian of Piri
IMDB Rating: 7.1
Star Trek connection: TOS's This Side of Paradise (very similar plot)
Note: This Space: 1999 episode should be copied and remade as a Star Trek episode.
1-10 War Games
IMDB Rating: 7.0
Star Trek connection: TOS's Spectre of the Gun (very similar plot)
Note: This Space: 1999 episode, with the show's second highest TV budget, should be copied and remade as a Star Trek episode.
There are ways to copy episodes while avoiding plagiarism. One of them is translating them from the TOS writing style to the TNG writing style, which would mean introducing B plots.