<commit_before>package mob;

import "base.proto";

option java_package = "es.tid.cosmos.mobility.data";
option java_outer_classname = "MobProtocol";

message MobData {
    enum Type {
        INVALID = 0;
        NULL = 1;
        INT = 2;
        LONG = 3;
        CDR = 4;
        CELL = 5;
        BTS = 6;
        CLUSTER = 7;
        NODE_BTS_DAY = 8;
        BTS_COUNTER = 9;
        POI = 10;
        POI_POS = 11;
        MOB_VI_MOB_VARS = 12;
        TWO_INT = 13;
    }

    required Type type = 1;
    optional uint32 int = 2;
    optional uint64 long = 3;
    optional Cdr cdr = 4;
    optional Cell cell = 5;
    optional Bts bts = 6;
    optional Cluster cluster = 7;
    optional NodeBtsDay nodeBtsDay = 8;
    optional BtsCounter btsCounter = 9;
    optional Poi poi = 10;
    optional PoiPos poiPos = 11;
    optional MobViMobVars mobViMobVars = 12;
    optional TwoInt twoInt = 13;
}

message Cdr {
    optional uint64 userId = 1;
    optional uint64 cellId = 2;
    optional base.Date date = 3;
    optional base.Time time = 4;
}

message Cell {
    optional uint64 cellId = 1;
    optional uint64 placeId = 2;
    optional uint32 geoloc1 = 3;
    optional uint32 geoloc2 = 4;
    optional double posx = 5;
    optional double posy = 6;
}

message Bts {
    optional uint64 placeId = 1;
    optional uint64 comms = 2;
    optional double posx = 3;
    optional double posy = 4;
    optional double area = 5;
    repeated uint64 adj_bts = 6;
}

message NodeBts {
    optional uint64 userId = 1;
    optional uint32 placeId = 2;
    optional uint32 weekday = 3;
    optional uint32 range = 4;
}

message BtsCounter {
    optional uint64 placeId = 1;
    optional uint32 weekday = 2;
    optional uint32 range = 3;
    optional uint32 count = 4;
}

message NodeBtsDay {
    optional uint64 userId = 1;
    optional uint64 placeId = 2;
    optional uint32 workday = 3;
    optional uint32 count = 4;
}

message NodeMxCounter {
    repeated BtsCounter bts = 1;
    optional uint32 btsLength = 2;
    optional uint32 btsMaxLength = 3;
}

message TwoInt {
    optional uint64 num1 = 1;
    optional uint64 num2 = 2;
}

message DailyVector {
    repeated TwoInt hours = 1;
}

message ClusterVector {
    repeated double coms = 1;
}

message Cluster {
    optional uint32 label = 1;
    optional uint32 labelgroup = 2;
    optional uint32 confident = 3;
    optional double mean = 4;
    optional double distance = 5;
    optional ClusterVector coords = 6;
}

message GLEvent {
    optional uint64 userId = 1;
    optional uint64 placeId = 2;
    optional base.Date date = 3;
    optional base.Time time = 4;
}

message ActivityArea {
    optional uint32 month = 1;
    optional bool isWorkDay = 2;
    optional uint32 numPos = 3;
    optional uint32 difBtss = 4;
    optional uint32 difMuns = 5;
    optional uint32 difStates = 6;
    optional double masscenterUtmX = 7;
    optional double masscenterUtmY = 8;
    optional double radius = 9;
    optional double diamAreaInf = 10;
}

message RepeatedActivityAreas {
    repeated ActivityArea repeatedActivityArea = 1;
}

message TelMonth {
    optional uint64 phone = 1;
    optional uint32 month = 2;
    optional bool workingday = 3;
}
<commit_msg>Remove ActivityArea messages from proto<commit_after>package mob;

import "base.proto";

option java_package = "es.tid.cosmos.mobility.data";
option java_outer_classname = "MobProtocol";

message MobData {
    enum Type {
        INVALID = 0;
        NULL = 1;
        INT = 2;
        LONG = 3;
        CDR = 4;
        CELL = 5;
        BTS = 6;
        CLUSTER = 7;
        NODE_BTS_DAY = 8;
        BTS_COUNTER = 9;
        POI = 10;
        POI_POS = 11;
        MOB_VI_MOB_VARS = 12;
        TWO_INT = 13;
    }

    required Type type = 1;
    optional uint32 int = 2;
    optional uint64 long = 3;
    optional Cdr cdr = 4;
    optional Cell cell = 5;
    optional Bts bts = 6;
    optional Cluster cluster = 7;
    optional NodeBtsDay nodeBtsDay = 8;
    optional BtsCounter btsCounter = 9;
    optional Poi poi = 10;
    optional PoiPos poiPos = 11;
    optional MobViMobVars mobViMobVars = 12;
    optional TwoInt twoInt = 13;
}

message Cdr {
    optional uint64 userId = 1;
    optional uint64 cellId = 2;
    optional base.Date date = 3;
    optional base.Time time = 4;
}

message Cell {
    optional uint64 cellId = 1;
    optional uint64 placeId = 2;
    optional uint32 geoloc1 = 3;
    optional uint32 geoloc2 = 4;
    optional double posx = 5;
    optional double posy = 6;
}

message Bts {
    optional uint64 placeId = 1;
    optional uint64 comms = 2;
    optional double posx = 3;
    optional double posy = 4;
    optional double area = 5;
    repeated uint64 adj_bts = 6;
}

message NodeBts {
    optional uint64 userId = 1;
    optional uint32 placeId = 2;
    optional uint32 weekday = 3;
    optional uint32 range = 4;
}

message BtsCounter {
    optional uint64 placeId = 1;
    optional uint32 weekday = 2;
    optional uint32 range = 3;
    optional uint32 count = 4;
}

message NodeBtsDay {
    optional uint64 userId = 1;
    optional uint64 placeId = 2;
    optional uint32 workday = 3;
    optional uint32 count = 4;
}

message NodeMxCounter {
    repeated BtsCounter bts = 1;
    optional uint32 btsLength = 2;
    optional uint32 btsMaxLength = 3;
}

message TwoInt {
    optional uint64 num1 = 1;
    optional uint64 num2 = 2;
}

message DailyVector {
    repeated TwoInt hours = 1;
}

message ClusterVector {
    repeated double coms = 1;
}

message Cluster {
    optional uint32 label = 1;
    optional uint32 labelgroup = 2;
    optional uint32 confident = 3;
    optional double mean = 4;
    optional double distance = 5;
    optional ClusterVector coords = 6;
}

message GLEvent {
    optional uint64 userId = 1;
    optional uint64 placeId = 2;
    optional base.Date date = 3;
    optional base.Time time = 4;
}

message TelMonth {
    optional uint64 phone = 1;
    optional uint32 month = 2;
    optional bool workingday = 3;
}

{'fraction_non_alphanumeric': 0.07247828991315965, 'fraction_numerical': 0.055444221776887105, 'mean_word_length': 2.457852193995381, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5209123', 'n_tokens_mistral': 2197, 'n_tokens_neox': 1950, 'n_words': 676}