From 9605fd416dc1f1baa6e1783821143efce94c0aff Mon Sep 17 00:00:00 2001 From: Matthew Plant Date: Fri, 1 Mar 2024 13:54:59 -0500 Subject: [PATCH] Add oracle boosting report (#392) * Add oracle boosting report * rename uuid to coverage_object * Assignment, multiplier, and timestamp * Address criticisms * Fmt * Change assignment from vec to 3 fields with 2 oneofs * Maybe this is better, idk * revert * Maybe this? * Nope * Get rid of footfall and landtype --- src/service/poc_mobile.proto | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/service/poc_mobile.proto b/src/service/poc_mobile.proto index f999a705..a6819d52 100644 --- a/src/service/poc_mobile.proto +++ b/src/service/poc_mobile.proto @@ -489,3 +489,28 @@ message invalid_data_transfer_ingest_report_v1 { // epoch uint64 timestamp = 3; } + +message oracle_boosting_report_v1 { + // UUID of the coverage object for the given hex + bytes coverage_object = 1; + // Assignments of the hexes + repeated oracle_boosting_hex_assignment assignments = 2; + // Timestamp of when the oracle boosting report was made in seconds since the + // epoch + uint64 timestamp = 3; +} + +message oracle_boosting_hex_assignment { + enum assignment { + a = 0; + b = 1; + c = 2; + } + // H3 resolution 12 hex tile + string location = 1; + // Multiplier derived from the assignment, value is 0.0 to 1.0 multiplied by + // 1000 + uint32 assignment_multiplier = 2; + // Urbanized assignment + assignment urbanized = 3; +}