)]}'
{"doc/source/ring_background.rst":[{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"7c92f36927070b4575b4876c954f7c5f277a12ec","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  for data_id in range(DATA_ID_COUNT):"},{"line_number":50,"context_line":"      data_id \u003d str(data_id)"},{"line_number":51,"context_line":"      # This just pulls part of the hash out as an integer"},{"line_number":52,"context_line":"      hsh \u003d unpack_from(\u0027\u003eI\u0027, md5(data_id).digest())[0]"},{"line_number":53,"context_line":"      node_id \u003d hsh % NODE_COUNT"},{"line_number":54,"context_line":"      node_counts[node_id] +\u003d 1"},{"line_number":55,"context_line":"  desired_count \u003d DATA_ID_COUNT / NODE_COUNT"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f79a3b5_67d0f8f5","line":52,"range":{"start_line":52,"start_character":30,"end_line":52,"end_character":42},"updated":"2018-10-31 19:14:48.000000000","message":"This is going to take more work to get to full py3 support:\n\nTraceback (most recent call last):\n  File \"ring_background_1.py\", line 11, in \u003cmodule\u003e\n    hsh \u003d unpack_from(\u0027\u003eI\u0027, md5(data_id).digest())[0]\nTypeError: Unicode-objects must be encoded before hashing","commit_id":"1e5844ede889bd710862e0e19786dc97294e4e20"},{"author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"change_message_id":"7c92f36927070b4575b4876c954f7c5f277a12ec","unresolved":false,"context_lines":[{"line_number":53,"context_line":"      node_id \u003d hsh % NODE_COUNT"},{"line_number":54,"context_line":"      node_counts[node_id] +\u003d 1"},{"line_number":55,"context_line":"  desired_count \u003d DATA_ID_COUNT / NODE_COUNT"},{"line_number":56,"context_line":"  print (\u0027%d: Desired data ids per node\u0027 % desired_count)"},{"line_number":57,"context_line":"  max_count \u003d max(node_counts)"},{"line_number":58,"context_line":"  over \u003d 100.0 * (max_count - desired_count) / desired_count"},{"line_number":59,"context_line":"  print (\u0027%d: Most data ids on one node, %.02f%% over\u0027 % \\"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3f79a3b5_c7a30cb0","line":56,"range":{"start_line":56,"start_character":7,"end_line":56,"end_character":8},"updated":"2018-10-31 19:14:48.000000000","message":"nit: I maybe would have taken out the space, but w/e","commit_id":"1e5844ede889bd710862e0e19786dc97294e4e20"}]}
