lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.07k stars 2.23k forks source link

exercise goes for 1 move too long #15320

Open danispringer opened 4 months ago

danispringer commented 4 months ago

Exact URL of where the bug happened

https://lichess.org/practice/basic-tactics/overloaded-pieces/o734CNqp/bqmdo5fb

Steps to reproduce the bug

the overload motif is complete after Rx Kx Qx. having to find Qxg7 makes no sense. and if that happens to be the only move that keeps the advantage, then the exercise is not a overload motif and should be replaced/removed.

What did you expect to happen?

n/a

What happened instead?

n/a

Operating system

macos

Browser and version (or alternate access method)

brave

Additional information

No response

BSmick6 commented 4 months ago

Before I dig too much further, would this not be an issue in the database? I presume if it's an issue in Lila that it would apply to every other lesson but it only applies to this one, correct?

Edit: the chapter ID is bqmdo5fb

BSmick6 commented 4 months ago

@danispringer do you know where the practice puzzle data is loaded from? I checked the database and couldn't find it there.

danispringer commented 3 months ago

@BSmick6 sorry! No clue…

daustria commented 3 months ago

isnt it fine for a lesson to feature another theme besides overloading? after trading a rook for a rook and a pawn, material is more or less equal, and a beginner might look at the aftermath and wonder if the exchange was worth it. but the idea isnt that white hasnt just won a pawn, white also won the safety of the black king, as it is now vulnerable to Qxg7. so the puzzle shows overloading and winning a favourable position, not necessarily material. moreover this is the 5th lesson on overloading, so i also think its appropriate at this point to feature puzzles where the overloading theme shares the spotlight with other important concepts.