チケット #44438

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

登録: 2022-04-22 13:44 最終更新: 2022-05-12 00:44

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
3

詳細

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)

チケットの履歴 (10 件中 3 件表示)

2022-04-22 13:44 更新者: cazfi
  • 新しいチケット "Testmatic: log_debug() "Did not find a cm solution"" が作成されました
2022-04-23 19:58 更新者: alain_bkr
コメント

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 更新者: alain_bkr
  • 添付ファイル cm.sorted (File ID: 9082) が付加されました
2022-04-23 20:00 更新者: alain_bkr
  • 添付ファイル cm.sorted (File ID: 9082) が削除されました
2022-04-23 20:06 更新者: alain_bkr
コメント

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 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
2022-05-12 00:44 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

添付ファイルリスト

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする