lichess.org
Donate

How'd I lose on time in this position?

I was in [insert position here] and my time ran out and there's no possible way I could have lost it!

There's been an epidemic of these types of posts for as long as I've been here. My suggestion is to, if possible, add a "helpmate finder" button/mode/otherwise so people can figure out why their unjustified loss in their position of choice was indeed justified.

Implementing such a feature might actually be much more difficult than I expect though, so maybe somewhere in the analysis board add some small textbox which contains the set of conditions that led the computer to say "alright this is drawn on time" or "alright this is lost on time."

The latter might be easier, but if neither is viable then maybe just a generally seen message buried somewhere which says that the rules for lost/drawn on time have been extensively studied and tested.

Make Lichess Feedback great again!
I think @toadofsky already mentioned he tried to build a help mate finder but was unsuccessful. It's probably a difficult problem, I can't think of an efficient way to do it.

If you do anything minimax based (which you probably need to do if you want to ever be able to prove a non-win) you basically can't do any pruning, not even alpha-beta pruning.

You could try to do something heuristic based and/or Monte Carlo based which might be better when there actually is a checkmating line however like that you can never find an actual draw. Maybe an algorithm should try to create checkmate positions with the given material or less material and then try to reach them (kind of like a human would approach the problem) and if nothing is found, give a draw but that might also lead to many incorrect drawn calls if the algorithm just isn't able to find some winning plans. (or maybe in those seemingly drawn cases which probably are rather rare, ask the player winning on time to demonstrate a winning line and if he can he is awarded the win)
Wow, when I saw the title of this post, I actually thought this was another one. I'm all for your solution but I don't know how difficult it is to program an engine to play badly, nor how the site would implement such a feature. Maybe flag a game if it ends with one side having a K+N or K+B when the other has a King + any combination of other pieces? Then have a "find helpmate" button along with the "request computer analysis" button, which analyses from the end position until mate?
I remember some old Fritz program had a helpmate finder. (as do probably newer ones) But IIRC that one was pure brute force, i.e. super slow. (you'd barely reach depth 6 or 7)
@Toadofsky is Stockfish really that suited for it? I would think it to be a better idea to just start out fresh (and maybe at most take the move generation code or so from Stockfish)

@mCoombes314 Well, the problem is, how do you find that helpmate? Someone needs to program something to find helpmate.

While my normal chess engine isn't very strong, if there is a lot of demand for it I can also give a helpmate finder a try.
#5 @MoistvonLipwig Honestly, Stockfish is a poor choice for the basis of a helpmate solver, just people keep asking me to make one and I lack the energy to do a completely fresh implementation.
@MoistvonLipwig This is the problem, I don't know how difficult it would be to program an engine to find helpmates, i.e. play very badly

This topic has been archived and can no longer be replied to.