)]}'
{
  "commit": "03a1d0338dee9787852440e1663260c28d9cd885",
  "tree": "01b03b77891548316e1ebf1e2235ee66037a6cad",
  "parents": [
    "07182c8622947e0407c6cd72fea4f6ab629f4b55"
  ],
  "author": {
    "name": "Tony Mak",
    "email": "tonymak@google.com",
    "time": "Thu Jan 24 15:12:00 2019 +0000"
  },
  "committer": {
    "name": "Tony Mak",
    "email": "tonymak@google.com",
    "time": "Thu Jan 24 15:12:00 2019 +0000"
  },
  "message": "Add g/setScore and g/setEntityTypes to TextClassifierEvent\n\n1. Add get/setScore, so we can see how do scores affect the CTR and\neventually tune the threshold based on it.\n\n2. Convert get/setEntity to get/setEntityTypes.\n   Some events like TYPE_ACTIONS_GENERATED and TYPE_ACTIONS_SHOWN\n   will need to have a list of entity types. Also, as TRON does not\n   support a field of list type. And thus workaround this by having\n   3 separate fields in TRON.\n\n4. The result id of action is too easy to clash now as only messages\n   are taking into account. Use timestamp and the person object as\n   the input to the hash now.\n\n5. Changes in TRON:\n   a) We will put conversation_action / language detection, etc to\n      category. And we will put the views to subtype.\n   b) As suggested by the TRON team, we should not reuse existing fields\n   in the clients directly. But we should rather introduce new fields,\n   and map them to existing fields in the server. So, TRON team could\n   suppress just the new logging if it goes wrong and not affect\n   existing loggings.\n\nTest: atest TextClassifierEventTest.java\nTests: atest TextClassifierEventTronLoggerTest.java\n\nBUG: 120803809\n\nChange-Id: I2e71436b323a200beec57ea7c1a8bcc96c9c552f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "55f5a6d7fdba4d2af5d99f6907ddef9f0425be3e",
      "old_mode": 33188,
      "old_path": "api/current.txt",
      "new_id": "26946e7340f0e25c9c3876d1c1e01b152a07beaa",
      "new_mode": 33188,
      "new_path": "api/current.txt"
    },
    {
      "type": "modify",
      "old_id": "77cb4cd28763bbce62ff713b2484e375274beb1c",
      "old_mode": 33188,
      "old_path": "core/java/android/view/textclassifier/ActionsSuggestionsHelper.java",
      "new_id": "fdc34b3f68d04bee1873cbe6b91f80c353eae7e9",
      "new_mode": 33188,
      "new_path": "core/java/android/view/textclassifier/ActionsSuggestionsHelper.java"
    },
    {
      "type": "modify",
      "old_id": "b84f6f07e414792e33a6d03de8e266677c862827",
      "old_mode": 33188,
      "old_path": "core/java/android/view/textclassifier/TextClassifierEvent.java",
      "new_id": "cd13cc0ec5774db99404a543648ec04120be8540",
      "new_mode": 33188,
      "new_path": "core/java/android/view/textclassifier/TextClassifierEvent.java"
    },
    {
      "type": "modify",
      "old_id": "439e594cc8fed47699aedef83d1a6b275612de34",
      "old_mode": 33188,
      "old_path": "core/java/android/view/textclassifier/TextClassifierEventTronLogger.java",
      "new_id": "5563dfc2eee530f014c3e1e1177365bc9da1c66c",
      "new_mode": 33188,
      "new_path": "core/java/android/view/textclassifier/TextClassifierEventTronLogger.java"
    },
    {
      "type": "modify",
      "old_id": "b1b74160ecd5c838c4570c5b6ee5a14c865397cf",
      "old_mode": 33188,
      "old_path": "core/tests/coretests/src/android/view/textclassifier/logging/TextClassifierEventTronLoggerTest.java",
      "new_id": "73af56743b5f1e1a0591f8fdd7a2d9549df137ab",
      "new_mode": 33188,
      "new_path": "core/tests/coretests/src/android/view/textclassifier/logging/TextClassifierEventTronLoggerTest.java"
    },
    {
      "type": "modify",
      "old_id": "0d528e7078f8a86fed69d82bf2fefbec11c53b03",
      "old_mode": 33188,
      "old_path": "packages/ExtServices/src/android/ext/services/notification/SmartActionsHelper.java",
      "new_id": "bc6e2fc7fc48c732adf7ea62f7ca05103662585a",
      "new_mode": 33188,
      "new_path": "packages/ExtServices/src/android/ext/services/notification/SmartActionsHelper.java"
    },
    {
      "type": "modify",
      "old_id": "d1aa84fe313363209fad66d09af32e8b62ce902c",
      "old_mode": 33188,
      "old_path": "proto/src/metrics_constants/metrics_constants.proto",
      "new_id": "73fcb0150a9ec1beb721dadea97c097b1af10ee6",
      "new_mode": 33188,
      "new_path": "proto/src/metrics_constants/metrics_constants.proto"
    }
  ]
}
