Review: «Analyse again» for a stale analysis; PGN evaluations never pass for the engine's
The tester's findings: the stale analysis offered «Дополнить» (fill in) though it recomputes everything - it now says «Обновить» in 9 languages; and an engine run over evaluations read from the PGN no longer keeps them under the fixed search's name - it analyses the whole game. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a328f429c5
commit
5c54975d6b
3 changed files with 18 additions and 2 deletions
|
|
@ -7903,6 +7903,17 @@ const ROWS: &[[&str; 9]] = &[
|
|||
"PGNdagi baholar ([%eval])",
|
||||
"PGN-дағы бағалар ([%eval])",
|
||||
],
|
||||
[
|
||||
"Analyse again",
|
||||
"Обновить",
|
||||
"Mettre à jour",
|
||||
"Aktualisieren",
|
||||
"Actualizar",
|
||||
"Aggiorna",
|
||||
"Atualizar",
|
||||
"Yangilash",
|
||||
"Жаңарту",
|
||||
],
|
||||
[
|
||||
"Update",
|
||||
"Дополнить",
|
||||
|
|
|
|||
|
|
@ -540,7 +540,9 @@ impl Review {
|
|||
ui.label(RichText::new(text).color(ui.visuals().warn_fg_color));
|
||||
let can_update = self.analysis.meta.as_ref().is_some_and(|m| m.nodes > 0);
|
||||
if can_update {
|
||||
let mut button = ui.button(tr("Update"));
|
||||
// Stale: everything again («Обновить»); otherwise the gaps («Дополнить»).
|
||||
let mut button =
|
||||
ui.button(if stale { tr("Analyse again") } else { tr("Update") });
|
||||
if stale {
|
||||
button = button.on_hover_text(tr(
|
||||
"Every position is analysed again, the same way on every computer",
|
||||
|
|
|
|||
|
|
@ -231,7 +231,10 @@ impl GameAnalysis {
|
|||
/// so does an analysis of another search ([`Self::stale`]), so that one report never
|
||||
/// mixes two. Returns the positions without an evaluation, for [`run`].
|
||||
pub fn begin(&mut self, game: &Game, full: bool) -> Vec<Target> {
|
||||
if full || self.stale() {
|
||||
// Evaluations read from the PGN are no engine analysis to fill in: the engine
|
||||
// analyses the whole game (else they would pass for the fixed search).
|
||||
let from_pgn = self.meta.as_ref().is_some_and(|m| m.nodes == 0);
|
||||
if full || from_pgn || self.stale() {
|
||||
self.evals.clear();
|
||||
}
|
||||
let engine = self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue