ChangeLogs #28
Replies: 7 comments 1 reply
-
2023-08-13 (Sun) 01:30 JST: Refactoring & High-level API
I realize that debugging is difficult from the limited information available, so I may add a feature for debugging. 2023-08-11 (Fri) 14:40 JST: Refactoring & High-level API
The import sys
from mjai.bot import Bot
class RiichiBot(Bot):
def think(self) -> str:
if self.can_tsumo_agari:
return self.action_tsumo_agari()
elif self.can_ron_agari:
return self.action_ron_agari()
elif self.can_riichi:
return self.action_riichi()
elif self.can_discard:
candidates = self.find_improving_tiles()
for candidate in candidates:
return self.action_discard(candidate["discard_tile"])
return self.action_discard(
self.last_self_tsumo or self.tehai_mjai[0]
)
else:
# Response toward start_game, ryukyoku, etc
return self.action_nothing()
if __name__ == "__main__":
RiichiBot(player_id=int(sys.argv[1])).start() |
Beta Was this translation helpful? Give feedback.
-
2023-08-14 (Mon) 05:00 - 21:00 JST: Bug fixes & High-level API
|
Beta Was this translation helpful? Give feedback.
-
2023-08-16 (Tue) 07:00 JST: Many updates on high-level API & web UI
|
Beta Was this translation helpful? Give feedback.
-
2023-09-04 (Mon): Enhancement in Game ViewerNew features
2023-09-04.10.34.46.movWeekly batch processing on Google CloudOngoing. batch6 was originally run on GCE e2-standard-8. However, there was an issue that caused an extreme drop in ML bot ratings during the batch. The cause is under investigation. It is likely that the CPU was not powerful enough to handle the ML bot, resulting in many timeouts. I will continue to work on debugging this issue. Stability of ELO-ratingFor better ELO-rating stability, I plan to improve the matching method to increase the number of matches between bots in the same ELO-rating range. I also plan to increase the number of matches in the higher ELO ranges. |
Beta Was this translation helpful? Give feedback.
-
2023-09-16 (Sat): Updated the matching algorithmChange of matching algorithmSeparated bots into two groups based on ELO score of weakml. Opponents will be selected from the same group. As the result, more matches were made for strong bots. On the other hand, strong bots have relatively long execution time. Each match can take 20 minutes or more. The batch process is expected to take more than 50 hours to complete, so the results may not be output by Monday. WIP: Results during the batchThe results of batch processing can now be checked during the process. Since it is still under development, there is no link from the top page yet. Link: https://mjai.app/games/8/leaderboard Game view for smartphonesAdded game view for smartphones. |
Beta Was this translation helpful? Give feedback.
-
2024-04-08 (Mon): Debugging
|
Beta Was this translation helpful? Give feedback.
-
2024-04-19 (Fri): Moved batch processing from home to a cloudIn the future, the use of many machines on the cloud platform may reduce the computation time for our weekly batch processing. |
Beta Was this translation helpful? Give feedback.
-
This thread is for reporting minor changes.
2023-08-06 (Sun) 22:00 JST
2023-08-06 (Sun) 14:00 JST
Many features are still under development, so ideas and bug reports are very welcome. Feel free to create a new thread.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions