I've seen two formats of
[%eval] syntax in PGN:
[%eval 250,5]meaning white is +2.5 pawn up at depth 5
[%eval +0.25]means white is 0.25 pawn up
Is any of those mentioned by some PGN standard? Which one is more popular?
The PGN standard is found here; it does not mention the
[%eval] syntax at all. It specifies comments starting with
[ and ending with
] but no format for what's inside; that means that program are free to export and import these comments the way they want, without necessarily being compatible.
The only other places where evaluation is mentioned in standard, §13.8 and especially §126.96.36.199, centipawns are used (which would favor the first option):
188.8.131.52: Opcode "ce": centipawn evaluation
The opcode "ce" indicates the evaluation of the indicated position in centipawn units. It takes a single operand, an optionally signed integer that gives an evaluation of the position from the viewpoint of the active player; i.e., the player with the move.
It does not mention the ply depth at all.