usgo / agagd Goto Github PK
View Code? Open in Web Editor NEWAmerican Go Association Games Database (AGAGD)
Home Page: https://agagd.usgo.org
License: MIT License
American Go Association Games Database (AGAGD)
Home Page: https://agagd.usgo.org
License: MIT License
Chapters without a 4-character code cannot be viewed via agagd.usgo.org/chapter/.
chapters should be looked up via agagd.usgo.org/chapter/. Everywhere we look up or display chapters, we should use the ID (with a lookup for the full chapter name, where relevant) instead of the 4-character chapter code.
Additionally, agagd.usgo.org/member/ should redirect to the chapter page.
Discussed in June 2020 dev meeting.
should we match the usgo.org colors?
Tournament code is used internally for the ratings officer. Showing the tournament name in is more human readable for people browsing.
Komi is not shown for any of the games in the Tournament Display page.
Python 2.7 which is the current version of python used for the AGAGD has a sunset date of January 1st, 2020. The AGAGD was created using Python 2+, and may not fully support Python 3.
https://www.python.org/doc/sunset-python-2/
We are volunteers who make and take care of the Python programming language. We have decided that January 1, 2020, was the day that we sunset Python 2. That means that we will not improve it anymore after that day, even if someone finds a security problem in it. You should upgrade to Python 3 as soon as you can.
On player search:
Add rating to search
Change "Chapters" to "Chapter"
General:
Update copyright to 2020
When listing the player names in the detail list for a player, have a link to the player to look up their information.
eg. If andrew jackson played chris garlock, have a link to chris garlock's player page to find his information.
Player has no graph so far, played in same number of tournaments as other club members.
No graph: http://agagd.usgo.org/player/17440/
Has graph, same time period, same number of games
http://agagd.usgo.org/player/22183/
Makes it easier to see many people's ratings at once without having to click on their player pages individually
Be able to find players by:
First name
Last name
chapter
country
In the opponents table, the sorting by Won, Lost, and Rate give an error 500 and say "guru mediation". Does work for the number of games and player's.
Pending members should be hidden from view and not have a page.
From the server side error logs:
[Sun Aug 31 09:54:19 2014] [error] failing game_id: 924492
[Sun Aug 31 14:52:20 2014] [error] failing game_id: 624632
[Mon Sep 01 11:31:39 2014] [error] failing game_id: 1227121
[Mon Sep 01 11:31:39 2014] [error] failing game_id: 1227144
[Mon Sep 01 11:31:40 2014] [error] failing game_id: 265422
[Mon Sep 01 11:31:42 2014] [error] failing game_id: 1227121
[Mon Sep 01 11:31:42 2014] [error] failing game_id: 1227144
[Mon Sep 01 11:31:43 2014] [error] failing game_id: 265422
[Tue Sep 02 02:03:49 2014] [error] failing game_id: 624632
Tested ID's that work:
81
8026
7918
11419
Tested that do not work:
12011
11734
Enter two player AGA ID's and chart the path between them with the games they have played. Think 7 degrees of Kevin Bacon.
Change "Pin Player 1" column to "White" and remove the "Color 1" column
Change "Pin Player 2" column to "Black" and remove the "Color 2" column
The "Most Rated Games (Past 12 Months)" and "Most Tournaments (Past 12 Months)" tables on https://agagd.usgo.org/
use an inconsistent term for the member ID column heading: "Pin" instead of "Member ID".
I was looking for information on some TDs who ran tournaments. Is that in the database somewhere that can be displayed on tournament pages?
E.g., if a member has a unparseable chapter set, the link crossref will fail and bring down the whole list. Unfortunate.
Either better error handling or a different table framework?
Bold the player's name on the player card to have it stand out. This will make it easier to see player's name you're looking at in detail.
as it currently is on usgo.org/ratings
Should be someway to go from agagd back to usgo.org
I played in the Seattle monthly ratings tournament at the beginning of July and I was just wondering when everything gets updated. I noticed that the last updated tournament was on June 20.
Is this project responsible for calculating ratings, or is it just pulling in data from elsewhere?
In the player search, can you make all results clickable? Outside of join date maybe?
That way i can search me, then click my name for me, my state for everyone in NYS, and ESGC for everyone in my club
date, location, description
as it is on usgo.org/ratings
Recommend changing "Rated On" to "Rated ?" or "Rated Y/N".
Reason: just got results for Simsbury played on 2013-03-02.
Rated it on 2013-03-29. All tournaments from that same date or lated where rerated as a result. Should "Rated On" be the first time rated?, the last time rated? or the most recent time rated?
"Rated Y/N" should be based upon
"select distinct g.Tournament_Code from games g where g.Rated = 1;"
Example: http://test.agagd.usgo.org/player/20497/ as of 2013-03-29
Perhaps it should show the single rated tournament with sigma
In the main table for listing a player's games on the player card it is currently sorting by player number. It is probably better to sort by player's last name as no one knows other's member numbers.
If a member is part of a chapter, their detail page does not include this information.
Visit the member page of a member who is part of a chapter. Random example: https://agagd.usgo.org/player/11121/
It would be natural to see the name of, and a link to, the user's affiliated chapter.
Useful for people when they want to check their ratings and not sure if a tournament has been fully rated.
someone should Fix It!
Each tournament display page shows the Tournament Description from the database for each game. this is redundant. example: http://test.agagd.usgo.org/tournaments/nova20121215/ last column of the display
Searching for a player's name does not return any results and page times out.
[Mon May 20 12:41:10.957518 2019] [wsgi:error] [pid 30652] [remote 12.222.130.66:58999] failing game_id: 968122
[Mon May 20 12:41:11.272035 2019] [wsgi:error] [pid 30652] [remote 12.222.130.66:58999] failing game_id: 625662
[Mon May 20 12:41:11.856535 2019] [wsgi:error] [pid 30652] [remote 12.222.130.66:58999] failing game_id: 623202
[Mon May 20 13:10:39.564175 2019] [wsgi:error] [pid 30637] [remote 144.121.211.10:54640] failing game_id: 752882
[Mon May 20 18:14:38.264658 2019] [wsgi:error] [pid 32302] [client 144.121.211.10:54629] Timeout when reading response headers from daemon process 'agagd.usgo.org': /var/www/agagd.usgo.org/current/agagd/agagd/wsgi.py, referer: https://agagd.usgo.org/
[Mon May 20 18:16:08.671677 2019] [wsgi:error] [pid 32121] [client 128.8.206.40:57982] Timeout when reading response headers from daemon process 'agagd.usgo.org': /var/www/agagd.usgo.org/current/agagd/agagd/wsgi.py, referer: https://agagd.usgo.org/
[Mon May 20 18:22:25.316725 2019] [wsgi:error] [pid 32589] [client 174.6.100.55:42020] Truncated or oversized response headers received from daemon process 'agagd.usgo.org': /var/www/agagd.usgo.org/current/agagd/agagd/wsgi.py, referer: https://agagd.usgo.org/
http://test.agagd.usgo.org/player/10583/
shows the number of handicap stones, but not the komi
The AGAGD does not have any automated tests for the application prior to deployment and within the development.
New AGAGD sent to Github is check via travis-ci before being merged on to production branch and released. Code can be tested locally with django automated testing.
https://www.usgo.org/all-players-rating displays all members in an orderly list for the top members. We have an easy top 10 list on the main page. This would be a larger list for those looking to see their placement among active/current members.
The region between -1 and +1 does not exist in AGA ratings, but it exists on the rating graph, making it look like someone who goes from -1.05 to +1.05 has gained 2.1 stones in strength rather than 0.1. http://agagd.usgo.org/player/20880/ is a good example. The y axis of the rating graph should not contain the region between -1 and +1.
Sometimes rating graphs seem to have floating point error. For instance, https://agagd.usgo.org/player/12986/ currently shows ticks with values -4.4
, -4.2
, -4
, followed by what I presume are 3.80000003
, 3.600000005
, 3.40000003
, or something similar (the actual 3.8, 3.6, etc. are clipped and do not appear). The following tick is -3.2
, then more long decimals.
I don't know if this is a limitation of a library being used, or if it can be worked around.
so things that could be of interest are: are there more/less activity compared to before?
and activity could me: # go players, # games played, # tournaments, etc
other things of interest could be seasonality effects and regional effects
i.e. where are the activity happening?
We have people using this to scrape information. It would be nice to disable that to reduce some stress on the server.
On loading https://agagd.usgo.org, there are several 404s:
https://agagd.usgo.org/static/img/header-bg.png
https://agagd.usgo.org/static/img/arrow-active-down.png
https://agagd.usgo.org/static/img/arrow-inactive-up.png
https://agagd.usgo.org/favicon.ico
favicon is pretty 'normal' to be missing, but these others seem to be referenced by templates but not provided. Not sure whether there's any real impact; potentially those missing arrow images are making some buttons invisible, I suppose.
Accurately graph player progression for their rating data. Hopefully it will be able to support decimals rather than integers only.
Andrew,
Could you add information to the AGAGD that shows whether or not a tournament has been rated ?
...
it shows currently a table of games and opponents, but not tournaments for that player
Be able to show player change in rank and sigma after each tournament. End of row showing tournament should show that player's entry rank and sigma.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.