Incidencia #44438

Testmatic: log_debug() "Did not find a cm solution"

Abrir Fecha: 2022-04-22 13:44 Última actualización: 2022-05-12 00:44

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
3

Details

On my "testmatic" setup I have to keep just one local patch any more. Would want to make also that one part of freeciv repository to ease things (no forgetting applying the local patch, no conflicts in applying it after repo changes, not getting it accidentally included in diffs...)

It's about turning the message "Did not find a cm solution..." to log_debug() one. It's a message I don't want to fill the error logs. It's not *that* serious, it happens a lot, and I've got otherwise clean logs (i.e. I can treat any appearance of log as a more or less critical situation to check)

Ticket History (3/10 Histories)

2022-04-22 13:44 Updated by: cazfi
  • New Ticket "Testmatic: log_debug() "Did not find a cm solution"" created
2022-04-23 19:58 Updated by: alain_bkr
Comentario

Agreed, this message is merely an information, maybe it could be suppressed.

I did trace and count the occurrences during one game, and 99% of times it needs less than 1800 iteration, the distribution is decreasing very quickly ( something like : probability ( N ) = O (1 / sqrt N ) )

  • 33% in less than 24 iteration
  • 66% in less than 100 iteration
  • 99% in less than 1800

And when the situation in one city starts to fail in a reasonable number of iteration, it will continue to fail (city is too big , or has too many costs ...)

2022-04-23 20:00 Updated by: alain_bkr
  • File cm.sorted (File ID: 9082) is attached
2022-04-23 20:00 Updated by: alain_bkr
  • File cm.sorted (File ID: 9082) is deleted
2022-04-23 20:06 Updated by: alain_bkr
Comentario

Agreed , this message is just an information, it is normal to get this message from times to times

I counted during one game, and the distribution decreases very quickly, something like prob (N_iteration) = 1/ sqrt (N_iteration)

  • 33% in less than 24 iterations
  • 66% in less than 100
  • 99% in less than 1800

And when it starts to need a lot of iterations, this is due to the city (too big, or too many units or costs ...), so no need to increase the limit (i would even advocate to lower it to 5000).

2022-05-05 10:24 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-05-12 00:44 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Entrar