<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tilo/backend/tolData/enwiki/genPageviewData.py, branch main</title>
<subtitle>Tilo: Interactive Tree of Life</subtitle>
<id>https://terryt.dev/cgit/tilo/atom?h=main</id>
<link rel='self' href='https://terryt.dev/cgit/tilo/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/'/>
<updated>2022-09-11T05:04:14+00:00</updated>
<entry>
<title>Add backend unit tests</title>
<updated>2022-09-11T05:04:14+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-11T04:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=5de5fb93e50fe9006221b30ac4a66f1be0db82e7'/>
<id>urn:sha1:5de5fb93e50fe9006221b30ac4a66f1be0db82e7</id>
<content type='text'>
- Add unit testing code in backend/tests/
- Change to snake-case for script/file/directory names
- Use os.path.join() instead of '/'
- Refactor script code into function defs and a main-guard
- Make global vars all-caps

Some fixes:
- For getting descriptions, some wiki redirects weren't properly resolved
- Linked images were sub-optimally propagated
- Generation of reduced trees assumed a wiki-id association implied a description
- Tilo.py had potential null dereferences by not always using a reduced node set
- EOL image downloading didn't properly wait for all threads to end when finishing
</content>
</entry>
<entry>
<title>Add python type annotations</title>
<updated>2022-09-07T01:37:37+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-09-07T01:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=daccbbd9c73a5292ea9d6746560d7009e5aa666d'/>
<id>urn:sha1:daccbbd9c73a5292ea9d6746560d7009e5aa666d</id>
<content type='text'>
Also use consistent quote symbols
Also use 'is None' instead of '== None'
Also use 'if list1' instead of 'if len(list1) &gt; 0'
</content>
</entry>
<entry>
<title>Add node-popularity data for search-sugg ordering</title>
<updated>2022-08-30T07:54:10+00:00</updated>
<author>
<name>Terry Truong</name>
<email>terry06890@gmail.com</email>
</author>
<published>2022-08-30T07:54:10+00:00</published>
<link rel='alternate' type='text/html' href='https://terryt.dev/cgit/tilo/commit/?id=0cd58b3c1a8c5297579ea7a24a14d82ae8fed169'/>
<id>urn:sha1:0cd58b3c1a8c5297579ea7a24a14d82ae8fed169</id>
<content type='text'>
Add Wikipedia pageview dumps to enwiki/pageview/
Add scripts to generate viewcount averages
Update backend to sort search suggestions by popularity
</content>
</entry>
</feed>
