Skip to content
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 better way to identify sgfs #5

Closed
climu opened this issue Mar 3, 2017 · 2 comments
Closed

add better way to identify sgfs #5

climu opened this issue Mar 3, 2017 · 2 comments

Comments

@climu
Copy link
Owner

climu commented Mar 3, 2017

Hi,
At the moment we are using the urlto field to check if a sgf is not already in the db.

While this work for automatic kgs games added by check_player, there could be conflict when we upload games manually.

Indeed manual upload sgf urlto field is set to the default 'http://'.

I was thinking using the BL[time] WL[time] that record the exact time (milliseconds) left for a player at a move inside a sgf.

I guess we can assume that if in 2 sgf, both 5 first move have been played at the exact same time, those are same sgf;

So creating a new field 'check_code' that would be a list (or the sum?) of those could work better I think.

@climu
Copy link
Owner Author

climu commented Mar 7, 2017

It's done, but we need to populate db now

@climu climu closed this as completed Mar 7, 2017
@climu
Copy link
Owner Author

climu commented Sep 10, 2017

Hum... apparently there might be a conventional way to deal with that. See here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant