- Blind mode tutorial
lichess.org
Donate

Converting ChessDb metrics to centipawns

Hi!

I have a question about displaying position evaluation metrics from ChessDb.cn in the Explorer.

ChessDb uses the following metrics ( https://www.chessdb.cn/cloudbookc_info_en.html ):

  • Normal: Mode Rank Score Notes (Known replies - Good replies)
  • EGTB: Move Rank Score Notes (Outcome - Step)
  • Notes: ! Best (2), * Good (1), ? Bad (0), movies that have a score of ?? is unknown.
  • Outcome: W Winx, Draw, L Loss.

How do you convert metrics from ChessDb into centipawns we are used to display them in Explorer?

P.S. Thank you so much for your work - LiChess Tools turns LiChess into the same powerful analytical tool that ChessBase is!
But LiChess is more convenient, faster and dynamically developing!

Hi! I have a question about displaying position evaluation metrics from ChessDb.cn in the Explorer. ChessDb uses the following metrics ( https://www.chessdb.cn/cloudbookc_info_en.html ): * Normal: Mode Rank Score Notes (Known replies - Good replies) * EGTB: Move Rank Score Notes (Outcome - Step) * Notes: ! Best (2), * Good (1), ? Bad (0), movies that have a score of ?? is unknown. * Outcome: W Winx, Draw, L Loss. How do you convert metrics from ChessDb into centipawns we are used to display them in Explorer? P.S. Thank you so much for your work - LiChess Tools turns LiChess into the same powerful analytical tool that ChessBase is! But LiChess is more convenient, faster and dynamically developing!

So I use this endpoint: https://www.chessdb.cn/cdb.php?action=queryall&board={fen}&json=1
They return data that contains moves in this format:
{
"uci": "f1d3",
"san": "Bd3",
"score": -121,
"rank": 0,
"note": "? (06-01)",
"winrate": "40.93"
},
and I use the score.

I am glad you like what I've done with LiChess Tools and more stuff will be coming, but at the moment my life is in flux :) Stay tuned and spread the word!

So I use this endpoint: https://www.chessdb.cn/cdb.php?action=queryall&board={fen}&json=1 They return data that contains moves in this format: { "uci": "f1d3", "san": "Bd3", "score": -121, "rank": 0, "note": "? (06-01)", "winrate": "40.93" }, and I use the score. I am glad you like what I've done with LiChess Tools and more stuff will be coming, but at the moment my life is in flux :) Stay tuned and spread the word!

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