-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add instances file_name to game_registry #3
Comments
That makes sense (making it possible to specify an instance file in a game spec, and giving this game spec a specific name). The predence issue indeed is complicated. My feeling would be that anything that is specified in a call (i.e., through a command line argument) should be taken as taking precedence. But we do want (or at least I think that was the idea?) to make it possible to provide the game spec on the command line as well (just as a model spec can be given on the command line as a json). So that could lead to an inconsistent specification.... Could this be caught when parsing the command line? 1. If How about changing the mechanism in which |
This would solve an issue I ran into with consolidating the wordle variants: The results path is determined by the game_name value in the game registry entry, meaning that all results are stored under In general I'd prefer that any game/variant-specific info is clearly set in the game registry, and does not rely on additional CLI run arguments - meaning I'd rather get rid of the |
Added this to my current working branch: Gnurro/clembench@5a225a8 |
PR covering this is open: AnneBeyer/clembench#4 |
Some game variants differ only in the instances (
matchit
, for example), so different entries for different versions only need to get a differentgame_name
(so that results are not overwritten) and a differentinstance_file
, but can use the samegame_path
.The GameMaster could then first check if
instance_file
is given in the game_spec and only if not revert to the default (instances.json). We should think about whether game_spec can overwrite (or even replace) the command line argument-i
though.The text was updated successfully, but these errors were encountered: