python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 1077046 load datou : 4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3656487) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3656487) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26427997 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3656487'] with mtr_portfolio_ids : ['26427997'] and first list_photo_ids : [] new path : /proc/1077046/ Name: python3 Umask: 0002 State: R (running) Tgid: 1077046 Ngid: 0 Pid: 1077046 PPid: 1077045 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1077046 NSpid: 1077046 NSpgid: 1074681 NSsid: 1074681 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99692 kB VmRSS: 99692 kB RssAnon: 60168 kB RssFile: 39524 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 83 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1077046', 'Ngid': '0', 'Pid': '1077046', 'PPid': '1077045', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1077046', 'NSpid': '1077046', 'NSpgid': '1074681', 'NSsid': '1074681', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99692 kB', 'VmRSS': '99692 kB', 'RssAnon': '60168 kB', 'RssFile': '39524 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '83'} ('datou_batch_current', '1077046', '1107252', '0', '1107252', '866004', '99692', b'', 'marlene', '3656487') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26427997) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (3656487 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26427997) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380784309, 'portfolio_id': 26427997}, {'photo_id': 1380783963, 'portfolio_id': 26427997}, {'photo_id': 1380783539, 'portfolio_id': 26427997}, {'photo_id': 1380783536, 'portfolio_id': 26427997}, {'photo_id': 1380783533, 'portfolio_id': 26427997}, {'photo_id': 1380783530, 'portfolio_id': 26427997}, {'photo_id': 1380783527, 'portfolio_id': 26427997}, {'photo_id': 1380783523, 'portfolio_id': 26427997}, {'photo_id': 1380783234, 'portfolio_id': 26427997}, {'photo_id': 1380783232, 'portfolio_id': 26427997}, {'photo_id': 1380783230, 'portfolio_id': 26427997}, {'photo_id': 1380783228, 'portfolio_id': 26427997}, {'photo_id': 1380783226, 'portfolio_id': 26427997}, {'photo_id': 1380783225, 'portfolio_id': 26427997}, {'photo_id': 1380782918, 'portfolio_id': 26427997}, {'photo_id': 1380782916, 'portfolio_id': 26427997}, {'photo_id': 1380782569, 'portfolio_id': 26427997}, {'photo_id': 1380782567, 'portfolio_id': 26427997}, {'photo_id': 1380782565, 'portfolio_id': 26427997}, {'photo_id': 1380782563, 'portfolio_id': 26427997}, {'photo_id': 1380782347, 'portfolio_id': 26427997}, {'photo_id': 1380782346, 'portfolio_id': 26427997}, {'photo_id': 1380782344, 'portfolio_id': 26427997}, {'photo_id': 1380782328, 'portfolio_id': 26427997}, {'photo_id': 1380782327, 'portfolio_id': 26427997}, {'photo_id': 1380782300, 'portfolio_id': 26427997}, {'photo_id': 1380782299, 'portfolio_id': 26427997}, {'photo_id': 1380782298, 'portfolio_id': 26427997}, {'photo_id': 1380782278, 'portfolio_id': 26427997}, {'photo_id': 1380782277, 'portfolio_id': 26427997}, {'photo_id': 1380782276, 'portfolio_id': 26427997}, {'photo_id': 1380782275, 'portfolio_id': 26427997}, {'photo_id': 1380782243, 'portfolio_id': 26427997}, {'photo_id': 1380782239, 'portfolio_id': 26427997}, {'photo_id': 1380782238, 'portfolio_id': 26427997}, {'photo_id': 1380782237, 'portfolio_id': 26427997}, {'photo_id': 1380782236, 'portfolio_id': 26427997}, {'photo_id': 1380782235, 'portfolio_id': 26427997}, {'photo_id': 1380782234, 'portfolio_id': 26427997}, {'photo_id': 1380782218, 'portfolio_id': 26427997}, {'photo_id': 1380782217, 'portfolio_id': 26427997}, {'photo_id': 1380782216, 'portfolio_id': 26427997}, {'photo_id': 1380782215, 'portfolio_id': 26427997}, {'photo_id': 1380782214, 'portfolio_id': 26427997}, {'photo_id': 1380782176, 'portfolio_id': 26427997}, {'photo_id': 1380782152, 'portfolio_id': 26427997}, {'photo_id': 1380782151, 'portfolio_id': 26427997}, {'photo_id': 1380782149, 'portfolio_id': 26427997}, {'photo_id': 1380782116, 'portfolio_id': 26427997}, {'photo_id': 1380782115, 'portfolio_id': 26427997}, {'photo_id': 1380782096, 'portfolio_id': 26427997}, {'photo_id': 1380782095, 'portfolio_id': 26427997}, {'photo_id': 1380782093, 'portfolio_id': 26427997}, {'photo_id': 1380782058, 'portfolio_id': 26427997}, {'photo_id': 1380782057, 'portfolio_id': 26427997}] map_portfolio_id_photo_id: {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.020364761352539062 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Sep 3 05:49:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 26427997 get user id for portfolio 26427997 get sub ptf for main ptf 26427997, type 3726 and hashtags ['mal_croppe', 'metal', 'Carton_brun', 'Teint_Dans_La_Masse', 'papier', 'cartonnette', 'kraft', 'flou', 'plastique', 'Carton_gris', 'environnement', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_brun','Teint_Dans_La_Masse','papier','cartonnette','kraft','flou','plastique','Carton_gris','environnement','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_brun','Teint_Dans_La_Masse','papier','cartonnette','kraft','flou','plastique','Carton_gris','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26427997, 'sub_port_id': 26428044, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785455, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'mal_croppe': {'main_port_id': 26427997, 'sub_port_id': 26428045, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785456, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'cartonnette': {'main_port_id': 26427997, 'sub_port_id': 26428046, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785457, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'plastique': {'main_port_id': 26427997, 'sub_port_id': 26428047, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785458, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'Carton_brun': {'main_port_id': 26427997, 'sub_port_id': 26428048, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785459, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'Carton_gris': {'main_port_id': 26427997, 'sub_port_id': 26428049, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785460, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'kraft': {'main_port_id': 26427997, 'sub_port_id': 26428050, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785461, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'metal': {'main_port_id': 26427997, 'sub_port_id': 26428051, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785462, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26427997, 'sub_port_id': 26428052, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785463, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'flou': {'main_port_id': 26427997, 'sub_port_id': 26428053, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785464, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'environnement': {'main_port_id': 26427997, 'sub_port_id': 26428054, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785465, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}, 'autre_refus': {'main_port_id': 26427997, 'sub_port_id': 26428055, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785466, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428044 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428044) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428045 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428045) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428046 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428046) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428047 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428047) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428048 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428048) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428049 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428049) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428050 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428050) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428051 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428051) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428052 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428052) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428053 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428053) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428054 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428054) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26428055 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26427997 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26428055) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26427997) result : ((1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1380782300) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_brun','Teint_Dans_La_Masse','papier','cartonnette','kraft','flou','plastique','Carton_gris','environnement','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427997 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','metal','Carton_brun','Teint_Dans_La_Masse','papier','cartonnette','kraft','flou','plastique','Carton_gris','environnement','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 26427997, 'sub_port_id': 26428057, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785467, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'mal_croppe': {'main_port_id': 26427997, 'sub_port_id': 26428058, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785468, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'cartonnette': {'main_port_id': 26427997, 'sub_port_id': 26428059, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785469, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'plastique': {'main_port_id': 26427997, 'sub_port_id': 26428060, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785470, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'Carton_brun': {'main_port_id': 26427997, 'sub_port_id': 26428061, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785471, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'Carton_gris': {'main_port_id': 26427997, 'sub_port_id': 26428062, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785472, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'kraft': {'main_port_id': 26427997, 'sub_port_id': 26428063, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785473, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'metal': {'main_port_id': 26427997, 'sub_port_id': 26428064, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785474, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'Teint_Dans_La_Masse': {'main_port_id': 26427997, 'sub_port_id': 26428065, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785475, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'flou': {'main_port_id': 26427997, 'sub_port_id': 26428066, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785476, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'environnement': {'main_port_id': 26427997, 'sub_port_id': 26428067, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785477, 'last_updated_at': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 8, 3, 34), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}, 'autre_refus': {'main_port_id': 26427997, 'sub_port_id': 26428068, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17785478, 'last_updated_at': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 2, 10, 57, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 2, 8, 3, 34)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428057,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428044 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428058,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428045 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428059,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428046 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428060,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428047 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428061,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428048 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428062,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428049 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428063,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428050 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428064,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428051 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428065,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428052 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428066,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428053 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428067,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428054 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26428068,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26428055 lien utilise dans velours : https://marlene.fotonower.com/velours/26428057,26428058,26428059,26428060,26428061,26428062,26428063,26428064,26428065,26428066,26428067,26428068?tags=papier,mal_croppe,cartonnette,plastique,Carton_brun,Carton_gris,kraft,metal,Teint_Dans_La_Masse,flou,environnement,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : False mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] Looping around the photos to save general results len do output : 1 /26427997. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380784309', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 56 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26427997', "{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}", None, None, None, None, '3656487'), ('4302', '26427997', '1380784309', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487')] time used for this insertion : 0.4484701156616211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.45334529876708984 time spend to save output : 0.4490625858306885 total time spend for step 1 : 0.9024078845977783 step2:final Wed Sep 3 05:49:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} Beginning of datou step final ! query to retrieve results for portfolio 26427997 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380782058,1380782057,1380782096,1380782095,1380782093,1380782116,1380782115,1380782152,1380782151,1380782149,1380782176,1380782218,1380782243,1380782217,1380782239,1380782238,1380782216,1380782237,1380782215,1380782236,1380782214,1380782235,1380782234,1380782278,1380782277,1380782276,1380782275,1380782300,1380782299,1380782298,1380782328,1380782327,1380782347,1380782346,1380782344,1380782569,1380782567,1380782565,1380782563,1380782918,1380782916,1380783234,1380783232,1380783230,1380783228,1380783226,1380783225,1380783539,1380783536,1380783533,1380783530,1380783527,1380783523,1380783963,1380784309); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} new output for save of step final : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : False mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] Looping around the photos to save general results len do output : 55 /1380784309.Didn't retrieve data . /1380783963.Didn't retrieve data . /1380783539.Didn't retrieve data . /1380783536.Didn't retrieve data . /1380783533.Didn't retrieve data . /1380783530.Didn't retrieve data . /1380783527.Didn't retrieve data . /1380783523.Didn't retrieve data . /1380783234.Didn't retrieve data . /1380783232.Didn't retrieve data . /1380783230.Didn't retrieve data . /1380783228.Didn't retrieve data . /1380783226.Didn't retrieve data . /1380783225.Didn't retrieve data . /1380782918.Didn't retrieve data . /1380782916.Didn't retrieve data . /1380782569.Didn't retrieve data . /1380782567.Didn't retrieve data . /1380782565.Didn't retrieve data . /1380782563.Didn't retrieve data . /1380782347.Didn't retrieve data . /1380782346.Didn't retrieve data . /1380782344.Didn't retrieve data . /1380782328.Didn't retrieve data . /1380782327.Didn't retrieve data . /1380782300.Didn't retrieve data . /1380782299.Didn't retrieve data . /1380782298.Didn't retrieve data . /1380782278.Didn't retrieve data . /1380782277.Didn't retrieve data . /1380782276.Didn't retrieve data . /1380782275.Didn't retrieve data . /1380782243.Didn't retrieve data . /1380782239.Didn't retrieve data . /1380782238.Didn't retrieve data . /1380782237.Didn't retrieve data . /1380782236.Didn't retrieve data . /1380782235.Didn't retrieve data . /1380782234.Didn't retrieve data . /1380782218.Didn't retrieve data . /1380782217.Didn't retrieve data . /1380782216.Didn't retrieve data . /1380782215.Didn't retrieve data . /1380782214.Didn't retrieve data . /1380782176.Didn't retrieve data . /1380782152.Didn't retrieve data . /1380782151.Didn't retrieve data . /1380782149.Didn't retrieve data . /1380782116.Didn't retrieve data . /1380782115.Didn't retrieve data . /1380782096.Didn't retrieve data . /1380782095.Didn't retrieve data . /1380782093.Didn't retrieve data . /1380782058.Didn't retrieve data . /1380782057.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380784309', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 165 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26427997', '1380784309', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783963', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783539', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783536', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783533', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783530', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783527', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783523', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783234', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783232', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783230', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783228', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783226', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380783225', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782918', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782916', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782569', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782567', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782565', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782563', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782347', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782346', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782344', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782328', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782327', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782300', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782299', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782298', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782278', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782277', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782276', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782275', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782243', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782239', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782238', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782237', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782236', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782235', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782234', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782218', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782217', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782216', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782215', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782214', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782176', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782152', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782151', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782149', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782116', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782115', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782096', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782095', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782093', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782058', '0.0', None, None, None, None, '3656487'), ('4302', '26427997', '1380782057', '0.0', None, None, None, None, '3656487')] time used for this insertion : 0.03294539451599121 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.050871849060058594 time spend to save output : 0.03505897521972656 total time spend for step 2 : 0.08593082427978516 step3:velours_tree Wed Sep 3 05:49:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} input_args_next_step : {26427997: ()} output_args : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} args : 26427997 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} can't find the photo_desc_type After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.26535749435424805 time spend to save output : 4.029273986816406e-05 total time spend for step 3 : 0.2653977870941162 step4:send_mail_cod Wed Sep 3 05:49:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} input_args_next_step : {1380784309: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380784309 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783963 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783539 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783536 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783533 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783530 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783527 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783523 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783234 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783232 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783230 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783228 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783226 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380783225 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782918 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782916 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782569 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782567 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782565 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782563 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782347 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782346 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782344 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782328 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782327 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782300 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782299 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782298 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782278 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782277 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782276 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782275 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782243 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782239 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782238 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782237 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782236 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782235 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782234 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782218 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782217 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782216 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782215 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782214 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782176 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782152 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782151 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782149 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782116 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782115 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782096 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782095 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782093 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782058 depend.output_id : 0 input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ()} output_args : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',)} args : 1380782057 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} input_args_next_step : {1380784309: ('0.0',), 1380783963: ('0.0',), 1380783539: ('0.0',), 1380783536: ('0.0',), 1380783533: ('0.0',), 1380783530: ('0.0',), 1380783527: ('0.0',), 1380783523: ('0.0',), 1380783234: ('0.0',), 1380783232: ('0.0',), 1380783230: ('0.0',), 1380783228: ('0.0',), 1380783226: ('0.0',), 1380783225: ('0.0',), 1380782918: ('0.0',), 1380782916: ('0.0',), 1380782569: ('0.0',), 1380782567: ('0.0',), 1380782565: ('0.0',), 1380782563: ('0.0',), 1380782347: ('0.0',), 1380782346: ('0.0',), 1380782344: ('0.0',), 1380782328: ('0.0',), 1380782327: ('0.0',), 1380782300: ('0.0',), 1380782299: ('0.0',), 1380782298: ('0.0',), 1380782278: ('0.0',), 1380782277: ('0.0',), 1380782276: ('0.0',), 1380782275: ('0.0',), 1380782243: ('0.0',), 1380782239: ('0.0',), 1380782238: ('0.0',), 1380782237: ('0.0',), 1380782236: ('0.0',), 1380782235: ('0.0',), 1380782234: ('0.0',), 1380782218: ('0.0',), 1380782217: ('0.0',), 1380782216: ('0.0',), 1380782215: ('0.0',), 1380782214: ('0.0',), 1380782176: ('0.0',), 1380782152: ('0.0',), 1380782151: ('0.0',), 1380782149: ('0.0',), 1380782116: ('0.0',), 1380782115: ('0.0',), 1380782096: ('0.0',), 1380782095: ('0.0',), 1380782093: ('0.0',), 1380782058: ('0.0',), 1380782057: ('0.0',), 26427997: ()} output_args : {26427997: [{'papier': 26428044, 'mal_croppe': 26428045, 'cartonnette': 26428046, 'plastique': 26428047, 'Carton_brun': 26428048, 'Carton_gris': 26428049, 'kraft': 26428050, 'metal': 26428051, 'Teint_Dans_La_Masse': 26428052, 'flou': 26428053, 'environnement': 26428054, 'autre_refus': 26428055}]} args : 26427997 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :56, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1380784309,1380783963,1380783539,1380783536,1380783533,1380783530,1380783527,1380783523,1380783234,1380783232,1380783230,1380783228,1380783226,1380783225,1380782918,1380782916,1380782569,1380782567,1380782565,1380782563,1380782347,1380782346,1380782344,1380782328,1380782327,1380782300,1380782299,1380782298,1380782278,1380782277,1380782276,1380782275,1380782243,1380782239,1380782238,1380782237,1380782236,1380782235,1380782234,1380782218,1380782217,1380782216,1380782215,1380782214,1380782176,1380782152,1380782151,1380782149,1380782116,1380782115,1380782096,1380782095,1380782093,1380782058,1380782057) Found this number of photos: 55 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380782057 begin to download photo : 1380782215 begin to download photo : 1380782276 begin to download photo : 1380782565 begin to download photo : 1380783527 download finish for photo 1380783527 begin to download photo : 1380783530 download finish for photo 1380782057 begin to download photo : 1380782058 download finish for photo 1380782565 begin to download photo : 1380782567 download finish for photo 1380782215 begin to download photo : 1380782216 download finish for photo 1380783530 begin to download photo : 1380783533 download finish for photo 1380782567 begin to download photo : 1380782569 download finish for photo 1380782058 begin to download photo : 1380782093 download finish for photo 1380782216 begin to download photo : 1380782217 download finish for photo 1380782276 begin to download photo : 1380782277 download finish for photo 1380782093 begin to download photo : 1380782095 download finish for photo 1380782569 begin to download photo : 1380782916 download finish for photo 1380783533 begin to download photo : 1380783536 download finish for photo 1380782217 begin to download photo : 1380782218 download finish for photo 1380782277 begin to download photo : 1380782278 download finish for photo 1380783536 begin to download photo : 1380783539 download finish for photo 1380782916 begin to download photo : 1380782918 download finish for photo 1380782095 begin to download photo : 1380782096 download finish for photo 1380782278 begin to download photo : 1380782298 download finish for photo 1380783539 begin to download photo : 1380783963 download finish for photo 1380782918 begin to download photo : 1380783225 download finish for photo 1380782298 begin to download photo : 1380782299 download finish for photo 1380782096 begin to download photo : 1380782115 download finish for photo 1380783963 begin to download photo : 1380784309 download finish for photo 1380783225 begin to download photo : 1380783226 download finish for photo 1380782299 begin to download photo : 1380782300 download finish for photo 1380782115 begin to download photo : 1380782116 download finish for photo 1380783226 begin to download photo : 1380783228 download finish for photo 1380782300 begin to download photo : 1380782327 download finish for photo 1380784309 download finish for photo 1380782116 begin to download photo : 1380782149 download finish for photo 1380783228 begin to download photo : 1380783230 download finish for photo 1380782149 begin to download photo : 1380782151 download finish for photo 1380782327 begin to download photo : 1380782328 download finish for photo 1380783230 begin to download photo : 1380783232 download finish for photo 1380782328 begin to download photo : 1380782344 download finish for photo 1380783232 begin to download photo : 1380783234 download finish for photo 1380783234 begin to download photo : 1380783523 download finish for photo 1380782344 begin to download photo : 1380782346 download finish for photo 1380782218 begin to download photo : 1380782234 download finish for photo 1380782151 begin to download photo : 1380782152 download finish for photo 1380782346 begin to download photo : 1380782347 download finish for photo 1380782234 begin to download photo : 1380782235 download finish for photo 1380782347 begin to download photo : 1380782563 download finish for photo 1380783523 download finish for photo 1380782235 begin to download photo : 1380782236 download finish for photo 1380782563 download finish for photo 1380782236 begin to download photo : 1380782237 download finish for photo 1380782152 begin to download photo : 1380782176 download finish for photo 1380782237 begin to download photo : 1380782238 download finish for photo 1380782176 begin to download photo : 1380782214 download finish for photo 1380782214 download finish for photo 1380782238 begin to download photo : 1380782239 download finish for photo 1380782239 begin to download photo : 1380782243 download finish for photo 1380782243 begin to download photo : 1380782275 download finish for photo 1380782275 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette264280451756871402/ imagette264280461756871402/ imagette264280471756871402/ imagette264280501756871402/ imagette264280511756871402/ imagette264280531756871402/ imagette264280551756871402/ imagette264280481756871402/ imagette264280491756871402/ imagette264280521756871403/ length of list_filenames : 55 ; length of list_pids : 55 ; length of list_args : 55 results_Auto_P26427997_03-09-2025_05_50_02.pdf 26428045 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428045 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280451756871402 26428046 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428046 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280461756871402 26428047 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428047 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280471756871402 26428050 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428050 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280501756871402 26428051 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428051 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280511756871402 26428053 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428053 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280531756871402 26428055 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428055 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280551756871402 26428048 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428048 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280481756871402 26428049 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428049 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280491756871402 26428052 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26428052 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette264280521756871403 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26427997 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26428057,26428058,26428059,26428060,26428061,26428062,26428063,26428064,26428065,26428066,26428067,26428068?tags=papier,mal_croppe,cartonnette,plastique,Carton_brun,Carton_gris,kraft,metal,Teint_Dans_La_Masse,flou,environnement,autre_refus your option no_mail is active, we will not send the real mail to your client args[1380784309] : ('0.0',) no score found for photo 1380784309 We are sending mail with results at report@fotonower.com args[1380783963] : ('0.0',) no score found for photo 1380783963 We are sending mail with results at report@fotonower.com args[1380783539] : ('0.0',) no score found for photo 1380783539 We are sending mail with results at report@fotonower.com args[1380783536] : ('0.0',) no score found for photo 1380783536 We are sending mail with results at report@fotonower.com args[1380783533] : ('0.0',) no score found for photo 1380783533 We are sending mail with results at report@fotonower.com args[1380783530] : ('0.0',) no score found for photo 1380783530 We are sending mail with results at report@fotonower.com args[1380783527] : ('0.0',) no score found for photo 1380783527 We are sending mail with results at report@fotonower.com args[1380783523] : ('0.0',) no score found for photo 1380783523 We are sending mail with results at report@fotonower.com args[1380783234] : ('0.0',) no score found for photo 1380783234 We are sending mail with results at report@fotonower.com args[1380783232] : ('0.0',) no score found for photo 1380783232 We are sending mail with results at report@fotonower.com args[1380783230] : ('0.0',) no score found for photo 1380783230 We are sending mail with results at report@fotonower.com args[1380783228] : ('0.0',) no score found for photo 1380783228 We are sending mail with results at report@fotonower.com args[1380783226] : ('0.0',) no score found for photo 1380783226 We are sending mail with results at report@fotonower.com args[1380783225] : ('0.0',) no score found for photo 1380783225 We are sending mail with results at report@fotonower.com args[1380782918] : ('0.0',) no score found for photo 1380782918 We are sending mail with results at report@fotonower.com args[1380782916] : ('0.0',) no score found for photo 1380782916 We are sending mail with results at report@fotonower.com args[1380782569] : ('0.0',) no score found for photo 1380782569 We are sending mail with results at report@fotonower.com args[1380782567] : ('0.0',) no score found for photo 1380782567 We are sending mail with results at report@fotonower.com args[1380782565] : ('0.0',) no score found for photo 1380782565 We are sending mail with results at report@fotonower.com args[1380782563] : ('0.0',) no score found for photo 1380782563 We are sending mail with results at report@fotonower.com args[1380782347] : ('0.0',) no score found for photo 1380782347 We are sending mail with results at report@fotonower.com args[1380782346] : ('0.0',) no score found for photo 1380782346 We are sending mail with results at report@fotonower.com args[1380782344] : ('0.0',) no score found for photo 1380782344 We are sending mail with results at report@fotonower.com args[1380782328] : ('0.0',) no score found for photo 1380782328 We are sending mail with results at report@fotonower.com args[1380782327] : ('0.0',) no score found for photo 1380782327 We are sending mail with results at report@fotonower.com args[1380782300] : ('0.0',) no score found for photo 1380782300 We are sending mail with results at report@fotonower.com args[1380782299] : ('0.0',) no score found for photo 1380782299 We are sending mail with results at report@fotonower.com args[1380782298] : ('0.0',) no score found for photo 1380782298 We are sending mail with results at report@fotonower.com args[1380782278] : ('0.0',) no score found for photo 1380782278 We are sending mail with results at report@fotonower.com args[1380782277] : ('0.0',) no score found for photo 1380782277 We are sending mail with results at report@fotonower.com args[1380782276] : ('0.0',) no score found for photo 1380782276 We are sending mail with results at report@fotonower.com args[1380782275] : ('0.0',) no score found for photo 1380782275 We are sending mail with results at report@fotonower.com args[1380782243] : ('0.0',) no score found for photo 1380782243 We are sending mail with results at report@fotonower.com args[1380782239] : ('0.0',) no score found for photo 1380782239 We are sending mail with results at report@fotonower.com args[1380782238] : ('0.0',) no score found for photo 1380782238 We are sending mail with results at report@fotonower.com args[1380782237] : ('0.0',) no score found for photo 1380782237 We are sending mail with results at report@fotonower.com args[1380782236] : ('0.0',) no score found for photo 1380782236 We are sending mail with results at report@fotonower.com args[1380782235] : ('0.0',) no score found for photo 1380782235 We are sending mail with results at report@fotonower.com args[1380782234] : ('0.0',) no score found for photo 1380782234 We are sending mail with results at report@fotonower.com args[1380782218] : ('0.0',) no score found for photo 1380782218 We are sending mail with results at report@fotonower.com args[1380782217] : ('0.0',) no score found for photo 1380782217 We are sending mail with results at report@fotonower.com args[1380782216] : ('0.0',) no score found for photo 1380782216 We are sending mail with results at report@fotonower.com args[1380782215] : ('0.0',) no score found for photo 1380782215 We are sending mail with results at report@fotonower.com args[1380782214] : ('0.0',) no score found for photo 1380782214 We are sending mail with results at report@fotonower.com args[1380782176] : ('0.0',) no score found for photo 1380782176 We are sending mail with results at report@fotonower.com args[1380782152] : ('0.0',) no score found for photo 1380782152 We are sending mail with results at report@fotonower.com args[1380782151] : ('0.0',) no score found for photo 1380782151 We are sending mail with results at report@fotonower.com args[1380782149] : ('0.0',) no score found for photo 1380782149 We are sending mail with results at report@fotonower.com args[1380782116] : ('0.0',) no score found for photo 1380782116 We are sending mail with results at report@fotonower.com args[1380782115] : ('0.0',) no score found for photo 1380782115 We are sending mail with results at report@fotonower.com args[1380782096] : ('0.0',) no score found for photo 1380782096 We are sending mail with results at report@fotonower.com args[1380782095] : ('0.0',) no score found for photo 1380782095 We are sending mail with results at report@fotonower.com args[1380782093] : ('0.0',) no score found for photo 1380782093 We are sending mail with results at report@fotonower.com args[1380782058] : ('0.0',) no score found for photo 1380782058 We are sending mail with results at report@fotonower.com args[1380782057] : ('0.0',) no score found for photo 1380782057 We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26427997 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_03-09-2025_05_50_02.pdf results_Auto_P26427997_03-09-2025_05_50_02.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_03-09-2025_05_50_02.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26427997','results_Auto_P26427997_03-09-2025_05_50_02.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_03-09-2025_05_50_02.pdf','pdf','','0.38','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : False mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380784309', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 55 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26427997', '1380784309', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487')] time used for this insertion : 0.1365375518798828 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.8093202114105225 time spend to save output : 0.137101411819458 total time spend for step 4 : 5.9464216232299805 step5:split_time_score Wed Sep 3 05:50:05 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26427997'] We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : [('26427997',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26427997) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380783527: {'path': 'temp/1756871399_1077046_1380783527_8821e6dec2a065ffefb3c8d508c6ebf8_24011590.jpg', 'extension': 'jpg'}, 1380783530: {'path': 'temp/1756871399_1077046_1380783530_0754d0b20e4993562dbb2e1347c1849d_22950607.jpg', 'extension': 'jpg'}, 1380783533: {'path': 'temp/1756871399_1077046_1380783533_3dd759cac1311dd9be7d0f7b1cdf4961_36061892.jpg', 'extension': 'jpg'}, 1380783536: {'path': 'temp/1756871399_1077046_1380783536_f68c158071b3fdb394208404db702fb5_96252253.jpg', 'extension': 'jpg'}, 1380783539: {'path': 'temp/1756871399_1077046_1380783539_672d67ad1b3a3e0268e00f5392af364d_8429039.jpg', 'extension': 'jpg'}, 1380783963: {'path': 'temp/1756871399_1077046_1380783963_301200f9c9e26104cf54b4b6c696da41_94518772.jpg', 'extension': 'jpg'}, 1380784309: {'path': 'temp/1756871399_1077046_1380784309_301200f9c9e26104cf54b4b6c696da41_85399834.jpg', 'extension': 'jpg'}, 1380782565: {'path': 'temp/1756871399_1077046_1380782565_15c901e95cbddcb98ae9fe46a6656051_2367738.jpg', 'extension': 'jpg'}, 1380782567: {'path': 'temp/1756871399_1077046_1380782567_49b60d7e822ff6b0cc822a423ad7c58a_68675828.jpg', 'extension': 'jpg'}, 1380782569: {'path': 'temp/1756871399_1077046_1380782569_f42b6be70d3f59295f1ca3e6d16a285e_7668358.jpg', 'extension': 'jpg'}, 1380782916: {'path': 'temp/1756871399_1077046_1380782916_18db6f6288bab2e76fcfb5a393f91b0a_77247084.jpg', 'extension': 'jpg'}, 1380782918: {'path': 'temp/1756871399_1077046_1380782918_c530217e2dad5cc8834cb10f31b2ca2f_68883675.jpg', 'extension': 'jpg'}, 1380783225: {'path': 'temp/1756871399_1077046_1380783225_95d695e2d69eb49b498d851ee5d37863_97876776.jpg', 'extension': 'jpg'}, 1380783226: {'path': 'temp/1756871399_1077046_1380783226_826da8cc85ea544908405899e7fda30b_99171560.jpg', 'extension': 'jpg'}, 1380783228: {'path': 'temp/1756871399_1077046_1380783228_135baaf01b1cd927756f11bec6469be8_99355684.jpg', 'extension': 'jpg'}, 1380783230: {'path': 'temp/1756871399_1077046_1380783230_7d2dcee2eb276d5c30226b908ca775e0_93496337.jpg', 'extension': 'jpg'}, 1380783232: {'path': 'temp/1756871399_1077046_1380783232_01b341acb667cf37ce613a33ca4ef66a_24904846.jpg', 'extension': 'jpg'}, 1380783234: {'path': 'temp/1756871399_1077046_1380783234_8a025ed54be85d97585248fc38958339_41617313.jpg', 'extension': 'jpg'}, 1380783523: {'path': 'temp/1756871399_1077046_1380783523_fad1b1ae03c675e463be90dc2322c678_63252236.jpg', 'extension': 'jpg'}, 1380782276: {'path': 'temp/1756871399_1077046_1380782276_cbace9d8abb96e1856fb12fc9abe487b_91456314.jpg', 'extension': 'jpg'}, 1380782277: {'path': 'temp/1756871399_1077046_1380782277_3bf442082e7331d22abf17bf96b72aa3_22773376.jpg', 'extension': 'jpg'}, 1380782278: {'path': 'temp/1756871399_1077046_1380782278_e1641b69bd043c993e79a0a150f5e3a6_90167468.jpg', 'extension': 'jpg'}, 1380782298: {'path': 'temp/1756871399_1077046_1380782298_a30b8d09ce6279faa9609ca90503526f_76120694.jpg', 'extension': 'jpg'}, 1380782299: {'path': 'temp/1756871399_1077046_1380782299_0740b8ea32b52e538a540f1fa0ecbd21_8437550.jpg', 'extension': 'jpg'}, 1380782300: {'path': 'temp/1756871399_1077046_1380782300_61094ab1e69628105fcdadb2b5fd977e_28000396.jpg', 'extension': 'jpg'}, 1380782327: {'path': 'temp/1756871399_1077046_1380782327_bb3830cc22cc9d84e221208e553effb0_58163635.jpg', 'extension': 'jpg'}, 1380782328: {'path': 'temp/1756871399_1077046_1380782328_a773ca7c504b0b60fc3add13bce4c456_63947041.jpg', 'extension': 'jpg'}, 1380782344: {'path': 'temp/1756871399_1077046_1380782344_c842f32b1686862cccead0acc343c48d_42439652.jpg', 'extension': 'jpg'}, 1380782346: {'path': 'temp/1756871399_1077046_1380782346_571c89fa56c6c87cc92b4465032cc58e_7414925.jpg', 'extension': 'jpg'}, 1380782347: {'path': 'temp/1756871399_1077046_1380782347_8033c39f98c66ae596afd13d263467f3_86359852.jpg', 'extension': 'jpg'}, 1380782563: {'path': 'temp/1756871399_1077046_1380782563_7a3fe7f07c26ab081b35fc5817022d25_1086137.jpg', 'extension': 'jpg'}, 1380782057: {'path': 'temp/1756871399_1077046_1380782057_b57932a98eed61168a2c5511b94ba760_20939954.jpg', 'extension': 'jpg'}, 1380782058: {'path': 'temp/1756871399_1077046_1380782058_039d529bb65acb971ccf4f0e356a029e_29359058.jpg', 'extension': 'jpg'}, 1380782093: {'path': 'temp/1756871399_1077046_1380782093_72d8ba13de6553a1f8eb5eb79e8f2b1b_52477954.jpg', 'extension': 'jpg'}, 1380782095: {'path': 'temp/1756871399_1077046_1380782095_8cf63a2e15f315b7944ef03dc5c90663_43649264.jpg', 'extension': 'jpg'}, 1380782096: {'path': 'temp/1756871399_1077046_1380782096_04296ed8ab694ca52920ed93d67abb14_93684135.jpg', 'extension': 'jpg'}, 1380782115: {'path': 'temp/1756871399_1077046_1380782115_6cc1cccbd965d4b33cd888184452d7cc_84438783.jpg', 'extension': 'jpg'}, 1380782116: {'path': 'temp/1756871399_1077046_1380782116_78700c8d0733b7f85a65061ba9027ca3_17141238.jpg', 'extension': 'jpg'}, 1380782149: {'path': 'temp/1756871399_1077046_1380782149_3732efeac3c7044ecfa7d3a7f0002029_12840435.jpg', 'extension': 'jpg'}, 1380782151: {'path': 'temp/1756871399_1077046_1380782151_529f63bc31f79392e6eb4e1e7591aa1a_97295332.jpg', 'extension': 'jpg'}, 1380782152: {'path': 'temp/1756871399_1077046_1380782152_6a0d35b80f4b98b3225fa4b6af62d242_34640224.jpg', 'extension': 'jpg'}, 1380782176: {'path': 'temp/1756871399_1077046_1380782176_09e8d5e9ca3fbac3803ea136c8e0b39c_95778394.jpg', 'extension': 'jpg'}, 1380782214: {'path': 'temp/1756871399_1077046_1380782214_f443cc3aa3f7e007e677199f6b11b01d_20457516.jpg', 'extension': 'jpg'}, 1380782215: {'path': 'temp/1756871399_1077046_1380782215_a59a0f9ad103e55510435d14ae9081f8_34568091.jpg', 'extension': 'jpg'}, 1380782216: {'path': 'temp/1756871399_1077046_1380782216_8d6115678f72188876f92c665f8c0cbf_32628700.jpg', 'extension': 'jpg'}, 1380782217: {'path': 'temp/1756871399_1077046_1380782217_d3e2e59b73601b104ccbc6f9f9fc1940_73414272.jpg', 'extension': 'jpg'}, 1380782218: {'path': 'temp/1756871399_1077046_1380782218_540ad4bb4fbe3a362249cb6e972349d9_93536973.jpg', 'extension': 'jpg'}, 1380782234: {'path': 'temp/1756871399_1077046_1380782234_8cd04d5db83b658557734e7cd72a19e3_54790331.jpg', 'extension': 'jpg'}, 1380782235: {'path': 'temp/1756871399_1077046_1380782235_41f6fb957cbe515f28394227e5c346a6_51813679.jpg', 'extension': 'jpg'}, 1380782236: {'path': 'temp/1756871399_1077046_1380782236_f443cc3aa3f7e007e677199f6b11b01d_81986726.jpg', 'extension': 'jpg'}, 1380782237: {'path': 'temp/1756871399_1077046_1380782237_a59a0f9ad103e55510435d14ae9081f8_34190375.jpg', 'extension': 'jpg'}, 1380782238: {'path': 'temp/1756871399_1077046_1380782238_8d6115678f72188876f92c665f8c0cbf_14110350.jpg', 'extension': 'jpg'}, 1380782239: {'path': 'temp/1756871399_1077046_1380782239_d3e2e59b73601b104ccbc6f9f9fc1940_31456372.jpg', 'extension': 'jpg'}, 1380782243: {'path': 'temp/1756871399_1077046_1380782243_540ad4bb4fbe3a362249cb6e972349d9_85254995.jpg', 'extension': 'jpg'}, 1380782275: {'path': 'temp/1756871399_1077046_1380782275_7aef0ae4e2ac4e7901ed415f4ed8b3d9_83277994.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 26427997; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26427997 group by h (('08', 55),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26427997 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (26427997) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (26427997) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02092025 26427997 Nombre de photos uploadées : 55 / 23040 (0%) 02092025 26427997 Nombre de photos taguées (types de déchets): 0 / 55 (0%) 02092025 26427997 Nombre de photos taguées (volume) : 0 / 55 (0%) [{'photo_id': 1380782058, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/039d529bb65acb971ccf4f0e356a029e_29359058.jpg', 'username': None, 'uploaded_at': 1756792873, 'text': 'image_02092025_08_00_24_10155.jpg'}, {'photo_id': 1380782057, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/b57932a98eed61168a2c5511b94ba760_20939954.jpg', 'username': None, 'uploaded_at': 1756792873, 'text': 'image_02092025_08_00_33_9130.jpg'}, {'photo_id': 1380782096, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/04296ed8ab694ca52920ed93d67abb14_93684135.jpg', 'username': None, 'uploaded_at': 1756792937, 'text': 'image_02092025_08_00_43_10140.jpg'}, {'photo_id': 1380782095, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/2/8cf63a2e15f315b7944ef03dc5c90663_43649264.jpg', 'username': None, 'uploaded_at': 1756792937, 'text': 'image_02092025_08_01_14_10136.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 1.3589859008789062e-05 ??????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002723217010498047 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26427997, '2025-09-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-02' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2213047,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20846843719482422 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 2213047 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26419800, 'dashboard_result_id': 14645188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420091, 'dashboard_result_id': 14645189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420215, 'dashboard_result_id': 14645190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420269, 'dashboard_result_id': 14645191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420665, 'dashboard_result_id': 14645192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26420821, 'dashboard_result_id': 14645193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421082, 'dashboard_result_id': 14645194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421275, 'dashboard_result_id': 14645195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421697, 'dashboard_result_id': 14645196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421773, 'dashboard_result_id': 14645197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26421852, 'dashboard_result_id': 14645198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26422348, 'dashboard_result_id': 14645199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26422569, 'dashboard_result_id': 14645200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26422847, 'dashboard_result_id': 14645201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26423247, 'dashboard_result_id': 14645202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26423697, 'dashboard_result_id': 14645203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26425366, 'dashboard_result_id': 14645204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26425367, 'dashboard_result_id': 14645205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26425368, 'dashboard_result_id': 14645206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26426242, 'dashboard_result_id': 14645207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26426742, 'dashboard_result_id': 14645208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26426922, 'dashboard_result_id': 14645209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_03-09-2025_05_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26427649, 'dashboard_result_id': 14645210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_03-09-2025_05_49_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26427997, 'dashboard_result_id': 14645211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_02-09-2025_10_58_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26428044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26428045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26428046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26428047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26428048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26428049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26428050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26428051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26428052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26428053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26428054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26428055, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26429064, 'dashboard_result_id': 14645212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429189, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26429066, 'dashboard_result_id': 14645213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429112, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26429069, 'dashboard_result_id': 14645214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429082, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26430560, 'dashboard_result_id': 14645215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26430574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26430575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26430576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26430577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26430578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26430579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26430580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26430581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26430582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26430583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26430584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26430585, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26431021, 'dashboard_result_id': 14645216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431061, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26431877, 'dashboard_result_id': 14645217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431894, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26432175, 'dashboard_result_id': 14645218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26432199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432205, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26432932, 'dashboard_result_id': 14645219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26432958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432969, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26433636, 'dashboard_result_id': 14645220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26433703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26433704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26433705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26433706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26433707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26433708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26433709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26433710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26433711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26433712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26433713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26433714, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26434418, 'dashboard_result_id': 14645221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26434426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26434427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26434428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26434429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26434430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26434431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26434432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26434433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26434434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26434435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26434436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26434437, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26435176, 'dashboard_result_id': 14645222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435176_02-09-2025_11_33_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435196, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26435639, 'dashboard_result_id': 14645223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435639_02-09-2025_11_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435667, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26435936, 'dashboard_result_id': 14645224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435973, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26437996, 'dashboard_result_id': 14645225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26438000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26438001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26438003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26438004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26438005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26438007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26438008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26438009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26438010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438011, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26438994, 'dashboard_result_id': 14645226, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439008, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26439239, 'dashboard_result_id': 14645227, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439269, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26439847, 'dashboard_result_id': 14645228, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26439863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439874, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26440428, 'dashboard_result_id': 14645229, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440485, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26440892, 'dashboard_result_id': 14645230, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440919, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26441460, 'dashboard_result_id': 14645231, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26441492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26441493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26441494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26441495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26441496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26441497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26441498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26441499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26441500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26441501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26441502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26441503, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26442297, 'dashboard_result_id': 14645232, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26442302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442313, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26442757, 'dashboard_result_id': 14645233, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26442789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442791, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26443340, 'dashboard_result_id': 14645234, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443371, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26443863, 'dashboard_result_id': 14645235, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443863_02-09-2025_16_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443887, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26444379, 'dashboard_result_id': 14645236, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444379_02-09-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444395, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26444704, 'dashboard_result_id': 14645237, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444704_02-09-2025_16_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444744, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26445193, 'dashboard_result_id': 14645238, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445193_02-09-2025_17_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445230, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26445758, 'dashboard_result_id': 14645239, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445844, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26446696, 'dashboard_result_id': 14645240, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26446733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26446734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26446736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26446737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26446738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26446740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26446741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26446743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26446744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26446745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26446746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26446748, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26448770, 'dashboard_result_id': 14645241, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26448771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26448773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26448774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26448775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26448776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26448777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26448778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26448779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26448780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26448782, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26449340, 'dashboard_result_id': 14645242, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26449345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26449346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26449347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26449348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26449349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26449350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26449351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26449352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26449353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26449354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26449355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26449356, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26449972, 'dashboard_result_id': 14645243, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26450030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450040, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26450837, 'dashboard_result_id': 14645244, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26450849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450860, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26451319, 'dashboard_result_id': 14645245, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451368, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26451938, 'dashboard_result_id': 14645246, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451988, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26452404, 'dashboard_result_id': 14645247, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26452434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26452435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26452436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26452437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26452438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26452439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26452440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26452442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26452443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26452444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26452445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26452446, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26453009, 'dashboard_result_id': 14645248, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453025, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26453547, 'dashboard_result_id': 14645249, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453603, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26454344, 'dashboard_result_id': 14645250, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26454369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26454370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26454371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26454372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26454373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26454374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26454375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26454376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26454377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26454378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26454379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26454380, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26455141, 'dashboard_result_id': 14645251, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26455167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26455168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26455169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26455170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26455171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26455172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26455174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26455175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26455176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26455177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26455178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26455179, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26456193, 'dashboard_result_id': 14645252, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456249, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26456881, 'dashboard_result_id': 14645253, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456917, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26457358, 'dashboard_result_id': 14645254, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26457435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457446, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26457917, 'dashboard_result_id': 14645255, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26457964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457966, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26458595, 'dashboard_result_id': 14645256, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26458623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26458624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26458625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26458626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26458627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26458628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26458629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26458630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26458631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26458632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26458633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26458634, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26459238, 'dashboard_result_id': 14645257, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459251, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26459901, 'dashboard_result_id': 14645258, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459942, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26460689, 'dashboard_result_id': 14645259, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26460746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26460747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26460748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26460749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26460750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26460751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26460752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26460753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26460754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26460755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26460756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26460757, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26461463, 'dashboard_result_id': 14645260, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461485, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26461965, 'dashboard_result_id': 14645261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461987, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26462671, 'dashboard_result_id': 14645262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26462690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26462691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26462692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26462693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26462694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26462695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26462696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26462697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26462698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26462699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26462700, 'pht': 3726}}"}, {'dashboat_entry_day': 2213047, 'dashboard_run_id': 2229161, 'mtr_portfolio_id': 26463320, 'dashboard_result_id': 14645263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26463381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26463382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26463383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26463384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26463385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26463386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26463387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26463388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26463389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26463390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26463391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26463392, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26419800 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656464, 'mtr_portfolio_id': 26419800, 'created_at': datetime.datetime(2025, 9, 3, 5, 34, 58), 'result': '0.03686026602506332', 'result_long': None, 'result_double': None}] Qualite : 0.03686026602506332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26419800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26419800 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}" where mtr_portfolio_id = 26419800 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26419800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645188, 0.03686026602506332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26419800_03-09-2025_05_34_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26419801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26419802, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26419803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26419804, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26419805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26419806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26419807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26419808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26419809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26419810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26419811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26419812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656465, 'mtr_portfolio_id': 26420091, 'created_at': datetime.datetime(2025, 9, 3, 5, 35, 30), 'result': '0.0030135671054280005', 'result_long': None, 'result_double': None}] Qualite : 0.0030135671054280005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}" where mtr_portfolio_id = 26420091 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645189, 0.0030135671054280005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420091_03-09-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420092, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420094, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420098, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420099, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420103, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420215 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656466, 'mtr_portfolio_id': 26420215, 'created_at': datetime.datetime(2025, 9, 3, 5, 35, 58), 'result': '0.021580946659637567', 'result_long': None, 'result_double': None}] Qualite : 0.021580946659637567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420215 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}" where mtr_portfolio_id = 26420215 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645190, 0.021580946659637567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420215_03-09-2025_05_35_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420216, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420220, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420223, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420227, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420269 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656467, 'mtr_portfolio_id': 26420269, 'created_at': datetime.datetime(2025, 9, 3, 5, 36, 57), 'result': '0.024971925645642143', 'result_long': None, 'result_double': None}] Qualite : 0.024971925645642143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420269 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}" where mtr_portfolio_id = 26420269 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645191, 0.024971925645642143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420269_03-09-2025_05_36_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420275, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420281, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420665 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656468, 'mtr_portfolio_id': 26420665, 'created_at': datetime.datetime(2025, 9, 3, 5, 37, 29), 'result': '0.11729822377686816', 'result_long': None, 'result_double': None}] Qualite : 0.11729822377686816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420665 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}" where mtr_portfolio_id = 26420665 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645192, 0.11729822377686816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420665_03-09-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420668, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420670, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420673, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420675, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420677, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26420821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656469, 'mtr_portfolio_id': 26420821, 'created_at': datetime.datetime(2025, 9, 3, 5, 38), 'result': '0.017734543541633403', 'result_long': None, 'result_double': None}] Qualite : 0.017734543541633403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26420821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26420821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}" where mtr_portfolio_id = 26420821 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26420821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645193, 0.017734543541633403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26420821_03-09-2025_05_38_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26420822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26420823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26420824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26420825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26420826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26420827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26420828, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26420829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26420830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26420831, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26420832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26420833, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421082 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656470, 'mtr_portfolio_id': 26421082, 'created_at': datetime.datetime(2025, 9, 3, 5, 38, 29), 'result': '0.047804041156876025', 'result_long': None, 'result_double': None}] Qualite : 0.047804041156876025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421082 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421082 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}" where mtr_portfolio_id = 26421082 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421082 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645194, 0.047804041156876025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421082_03-09-2025_05_38_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421084, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421088, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421089, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421091, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656471, 'mtr_portfolio_id': 26421275, 'created_at': datetime.datetime(2025, 9, 3, 5, 39, 30), 'result': '0.02803459362490644', 'result_long': None, 'result_double': None}] Qualite : 0.02803459362490644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}" where mtr_portfolio_id = 26421275 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645195, 0.02803459362490644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421275_03-09-2025_05_39_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421278, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421279, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421280, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421282, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421284, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656472, 'mtr_portfolio_id': 26421697, 'created_at': datetime.datetime(2025, 9, 3, 5, 39, 59), 'result': '0.032193565636688314', 'result_long': None, 'result_double': None}] Qualite : 0.032193565636688314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}" where mtr_portfolio_id = 26421697 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645196, 0.032193565636688314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421697_03-09-2025_05_40_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421698, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421700, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421701, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421709, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421773 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656473, 'mtr_portfolio_id': 26421773, 'created_at': datetime.datetime(2025, 9, 3, 5, 40, 28), 'result': '0.041312166364478355', 'result_long': None, 'result_double': None}] Qualite : 0.041312166364478355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421773 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421773 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}" where mtr_portfolio_id = 26421773 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421773 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645197, 0.041312166364478355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421773_03-09-2025_05_40_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421779, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421780, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421781, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421785, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421786, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26421852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656474, 'mtr_portfolio_id': 26421852, 'created_at': datetime.datetime(2025, 9, 3, 5, 41, 28), 'result': '0.011354407159164243', 'result_long': None, 'result_double': None}] Qualite : 0.011354407159164243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26421852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26421852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}" where mtr_portfolio_id = 26421852 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26421852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645198, 0.011354407159164243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26421852_03-09-2025_05_41_28.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26421853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26421854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26421855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26421856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26421857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26421858, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26421859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26421860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26421861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26421862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26421863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26421864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422348 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656475, 'mtr_portfolio_id': 26422348, 'created_at': datetime.datetime(2025, 9, 3, 5, 41, 59), 'result': '0.06504504754248332', 'result_long': None, 'result_double': None}] Qualite : 0.06504504754248332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422348 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422348 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}" where mtr_portfolio_id = 26422348 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422348 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645199, 0.06504504754248332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422348_03-09-2025_05_42_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656476, 'mtr_portfolio_id': 26422569, 'created_at': datetime.datetime(2025, 9, 3, 5, 42, 29), 'result': '0.054737163745790886', 'result_long': None, 'result_double': None}] Qualite : 0.054737163745790886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}" where mtr_portfolio_id = 26422569 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645200, 0.054737163745790886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422569_03-09-2025_05_42_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26422571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26422572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422574, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422577, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422581, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422582, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26422847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656477, 'mtr_portfolio_id': 26422847, 'created_at': datetime.datetime(2025, 9, 3, 5, 43, 30), 'result': '0.052518251535466014', 'result_long': None, 'result_double': None}] Qualite : 0.052518251535466014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26422847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26422847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}" where mtr_portfolio_id = 26422847 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26422847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645201, 0.052518251535466014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26422847_03-09-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26422888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26422889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26422890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26422891, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26422892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26422893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26422894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26422895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26422896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26422897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26422898, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26422899, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26423247 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656478, 'mtr_portfolio_id': 26423247, 'created_at': datetime.datetime(2025, 9, 3, 5, 44, 1), 'result': '0.05046983386628025', 'result_long': None, 'result_double': None}] Qualite : 0.05046983386628025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26423247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26423247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}" where mtr_portfolio_id = 26423247 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26423247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645202, 0.05046983386628025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423247_03-09-2025_05_44_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423254, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423255, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26423697 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656479, 'mtr_portfolio_id': 26423697, 'created_at': datetime.datetime(2025, 9, 3, 5, 44, 31), 'result': '0.09345634243956515', 'result_long': None, 'result_double': None}] Qualite : 0.09345634243956515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26423697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26423697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}" where mtr_portfolio_id = 26423697 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26423697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645203, 0.09345634243956515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26423697_03-09-2025_05_44_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26423711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26423712, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26423713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26423714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26423715, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26423716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26423717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26423718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26423719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26423720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26423721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26423722, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425366 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656480, 'mtr_portfolio_id': 26425366, 'created_at': datetime.datetime(2025, 9, 3, 5, 45, 30), 'result': '0.05077312142044408', 'result_long': None, 'result_double': None}] Qualite : 0.05077312142044408 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425366 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}" where mtr_portfolio_id = 26425366 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645204, 0.05077312142044408, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425366_03-09-2025_05_45_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425450, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425458, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656481, 'mtr_portfolio_id': 26425367, 'created_at': datetime.datetime(2025, 9, 3, 5, 45, 39), 'result': '0.05073036604512406', 'result_long': None, 'result_double': None}] Qualite : 0.05073036604512406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}" where mtr_portfolio_id = 26425367 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645205, 0.05073036604512406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425367_03-09-2025_05_45_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425419, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425423, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425424, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26425368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656482, 'mtr_portfolio_id': 26425368, 'created_at': datetime.datetime(2025, 9, 3, 5, 45, 58), 'result': '0.05544199859996701', 'result_long': None, 'result_double': None}] Qualite : 0.05544199859996701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26425368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26425368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}" where mtr_portfolio_id = 26425368 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26425368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645206, 0.05544199859996701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26425368_03-09-2025_05_46_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26425369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26425370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26425371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26425372, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26425373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26425374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26425375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26425376, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26425377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26425378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26425379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26425380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426242 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656483, 'mtr_portfolio_id': 26426242, 'created_at': datetime.datetime(2025, 9, 3, 5, 46, 26), 'result': '0.04225780702116336', 'result_long': None, 'result_double': None}] Qualite : 0.04225780702116336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426242 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}" where mtr_portfolio_id = 26426242 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645207, 0.04225780702116336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426242_03-09-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426283, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656484, 'mtr_portfolio_id': 26426742, 'created_at': datetime.datetime(2025, 9, 3, 5, 48), 'result': '0.053293942207177196', 'result_long': None, 'result_double': None}] Qualite : 0.053293942207177196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}" where mtr_portfolio_id = 26426742 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645208, 0.053293942207177196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426742_03-09-2025_05_48_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26426750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426752, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426756, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26426922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656485, 'mtr_portfolio_id': 26426922, 'created_at': datetime.datetime(2025, 9, 3, 5, 48, 29), 'result': '0.06762803160616908', 'result_long': None, 'result_double': None}] Qualite : 0.06762803160616908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26426922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_03-09-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26426922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_03-09-2025_05_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}" where mtr_portfolio_id = 26426922 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26426922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645209, 0.06762803160616908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26426922_03-09-2025_05_48_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26426928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26426929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26426930, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26426931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26426932, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26426933, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26426934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26426935, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26426936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26426937, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26426938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26426939, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3656486, 'mtr_portfolio_id': 26427649, 'created_at': datetime.datetime(2025, 9, 3, 5, 49, 32), 'result': '0.0064983107930800255', 'result_long': None, 'result_double': None}] Qualite : 0.0064983107930800255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26427649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_03-09-2025_05_49_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26427649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_03-09-2025_05_49_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}" where mtr_portfolio_id = 26427649 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26427649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645210, 0.0064983107930800255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427649_03-09-2025_05_49_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26427691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26427692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26427693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26427694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26427695, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26427696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26427697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26427698, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26427699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26427700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26427701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26427702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26427997 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26427997 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26427997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_03-09-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26427997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26427997_03-09-2025_05_50_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26428044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26428045, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26428046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26428047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26428048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26428049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26428050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26428051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26428052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26428053, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26428054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26428055, 'pht': 3726}}" where mtr_portfolio_id = 26427997 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429064 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651285, 'mtr_portfolio_id': 26429064, 'created_at': datetime.datetime(2025, 9, 2, 10, 57, 29), 'result': '0.04928245450208556', 'result_long': None, 'result_double': None}] Qualite : 0.04928245450208556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429064 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429189, 'pht': 3726}}" where mtr_portfolio_id = 26429064 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26429064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645212, 0.04928245450208556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429064_02-09-2025_10_57_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651286, 'mtr_portfolio_id': 26429066, 'created_at': datetime.datetime(2025, 9, 2, 10, 56, 59), 'result': '0.06253374620855036', 'result_long': None, 'result_double': None}] Qualite : 0.06253374620855036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429112, 'pht': 3726}}" where mtr_portfolio_id = 26429066 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26429066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645213, 0.06253374620855036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429066_02-09-2025_10_57_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429105, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429107, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429111, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26429069 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650450, 'mtr_portfolio_id': 26429069, 'created_at': datetime.datetime(2025, 9, 2, 9, 32, 57), 'result': '0.08166377855555111', 'result_long': None, 'result_double': None}] Qualite : 0.08166377855555111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26429069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26429069 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429082, 'pht': 3726}}" where mtr_portfolio_id = 26429069 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26429069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645214, 0.08166377855555111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26429069_02-09-2025_09_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26429071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26429072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26429073, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26429074, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26429075, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26429076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26429077, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26429078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26429079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26429080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26429081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26429082, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26430560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650688, 'mtr_portfolio_id': 26430560, 'created_at': datetime.datetime(2025, 9, 2, 9, 49), 'result': '0.06947375716795579', 'result_long': None, 'result_double': None}] Qualite : 0.06947375716795579 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26430560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26430560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26430574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26430575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26430576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26430577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26430578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26430579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26430580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26430581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26430582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26430583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26430584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26430585, 'pht': 3726}}" where mtr_portfolio_id = 26430560 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26430560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645215, 0.06947375716795579, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26430560_02-09-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26430574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26430575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26430576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26430577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26430578, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26430579, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26430580, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26430581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26430582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26430583, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26430584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26430585, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26431021 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650737, 'mtr_portfolio_id': 26431021, 'created_at': datetime.datetime(2025, 9, 2, 10, 3, 28), 'result': '0.04648616721703691', 'result_long': None, 'result_double': None}] Qualite : 0.04648616721703691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26431021 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431021 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431061, 'pht': 3726}}" where mtr_portfolio_id = 26431021 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26431021 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645216, 0.04648616721703691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431021_02-09-2025_10_03_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431054, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431059, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431060, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431061, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26431877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650867, 'mtr_portfolio_id': 26431877, 'created_at': datetime.datetime(2025, 9, 2, 10, 18, 29), 'result': '0.029112940950147572', 'result_long': None, 'result_double': None}] Qualite : 0.029112940950147572 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26431877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26431877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431894, 'pht': 3726}}" where mtr_portfolio_id = 26431877 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26431877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645217, 0.029112940950147572, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26431877_02-09-2025_10_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26431882, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26431883, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26431884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26431885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26431886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26431887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26431889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26431890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26431891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26431892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26431893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26431894, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26432175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3650915, 'mtr_portfolio_id': 26432175, 'created_at': datetime.datetime(2025, 9, 2, 10, 33), 'result': '0.025717990244983273', 'result_long': None, 'result_double': None}] Qualite : 0.025717990244983273 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26432175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26432175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26432199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432205, 'pht': 3726}}" where mtr_portfolio_id = 26432175 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26432175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645218, 0.025717990244983273, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432175_02-09-2025_10_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26432199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432205, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26432932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651045, 'mtr_portfolio_id': 26432932, 'created_at': datetime.datetime(2025, 9, 2, 10, 48, 57), 'result': '0.0545022621205445', 'result_long': None, 'result_double': None}] Qualite : 0.0545022621205445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26432932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26432932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26432958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432969, 'pht': 3726}}" where mtr_portfolio_id = 26432932 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26432932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645219, 0.0545022621205445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26432932_02-09-2025_10_48_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26432958, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26432959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26432960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26432961, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26432962, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26432963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26432964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26432965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26432966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26432967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26432968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26432969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26433636 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651130, 'mtr_portfolio_id': 26433636, 'created_at': datetime.datetime(2025, 9, 2, 11, 56, 30), 'result': '0.0837256333957793', 'result_long': None, 'result_double': None}] Qualite : 0.0837256333957793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26433636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26433636 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26433703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26433704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26433705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26433706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26433707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26433708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26433709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26433710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26433711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26433712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26433713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26433714, 'pht': 3726}}" where mtr_portfolio_id = 26433636 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26433636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645220, 0.0837256333957793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26433636_02-09-2025_11_56_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26433703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26433704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26433705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26433706, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26433707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26433708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26433709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26433710, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26433711, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26433712, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26433713, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26433714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26434418 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651380, 'mtr_portfolio_id': 26434418, 'created_at': datetime.datetime(2025, 9, 2, 11, 18, 29), 'result': '0.04458375694838719', 'result_long': None, 'result_double': None}] Qualite : 0.04458375694838719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26434418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26434418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26434426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26434427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26434428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26434429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26434430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26434431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26434432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26434433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26434434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26434435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26434436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26434437, 'pht': 3726}}" where mtr_portfolio_id = 26434418 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26434418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645221, 0.04458375694838719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26434418_02-09-2025_11_18_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26434426, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26434427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26434428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26434429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26434430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26434431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26434432, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26434433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26434434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26434435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26434436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26434437, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435176 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435176 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26435176 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435176 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435176 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26435176 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435176_02-09-2025_11_33_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435176 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435176_02-09-2025_11_33_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435196, 'pht': 3726}}" where mtr_portfolio_id = 26435176 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435639 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26435639 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435639 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435639 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26435639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435639_02-09-2025_11_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435639_02-09-2025_11_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435657, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435667, 'pht': 3726}}" where mtr_portfolio_id = 26435639 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26435936 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651514, 'mtr_portfolio_id': 26435936, 'created_at': datetime.datetime(2025, 9, 2, 13, 0, 29), 'result': '0.06918039650787307', 'result_long': None, 'result_double': None}] Qualite : 0.06918039650787307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26435936 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26435936 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435973, 'pht': 3726}}" where mtr_portfolio_id = 26435936 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26435936 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645224, 0.06918039650787307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26435936_02-09-2025_13_00_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26435962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26435963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26435964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26435965, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26435966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26435967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26435968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26435969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26435970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26435971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26435972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26435973, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26437996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651781, 'mtr_portfolio_id': 26437996, 'created_at': datetime.datetime(2025, 9, 2, 13, 59, 58), 'result': '0.06487771982379276', 'result_long': None, 'result_double': None}] Qualite : 0.06487771982379276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26437996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26437996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26438000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26438001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26438003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26438004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26438005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26438007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26438008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26438009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26438010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438011, 'pht': 3726}}" where mtr_portfolio_id = 26437996 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26437996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645225, 0.06487771982379276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26437996_02-09-2025_13_59_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26438000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26438001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26438003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26438004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26438005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26438007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26438008, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26438009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26438010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438011, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26438994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651902, 'mtr_portfolio_id': 26438994, 'created_at': datetime.datetime(2025, 9, 2, 14, 2, 59), 'result': '0.0514167746937567', 'result_long': None, 'result_double': None}] Qualite : 0.0514167746937567 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26438994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26438994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439008, 'pht': 3726}}" where mtr_portfolio_id = 26438994 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26438994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645226, 0.0514167746937567, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26438994_02-09-2025_14_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26438997, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26438998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26438999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26439239 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3651947, 'mtr_portfolio_id': 26439239, 'created_at': datetime.datetime(2025, 9, 2, 14, 18, 58), 'result': '0.040271574377869566', 'result_long': None, 'result_double': None}] Qualite : 0.040271574377869566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26439239 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26439239 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439269, 'pht': 3726}}" where mtr_portfolio_id = 26439239 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26439239 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645227, 0.040271574377869566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439239_02-09-2025_14_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439258, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26439264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439266, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439267, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439269, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26439847 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652019, 'mtr_portfolio_id': 26439847, 'created_at': datetime.datetime(2025, 9, 2, 14, 32, 57), 'result': '0.07007570620751657', 'result_long': None, 'result_double': None}] Qualite : 0.07007570620751657 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26439847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26439847 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26439863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439874, 'pht': 3726}}" where mtr_portfolio_id = 26439847 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26439847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645228, 0.07007570620751657, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26439847_02-09-2025_14_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26439863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26439864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26439865, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26439866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26439867, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26439868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26439869, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26439870, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26439871, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26439872, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26439873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26439874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26440428 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652091, 'mtr_portfolio_id': 26440428, 'created_at': datetime.datetime(2025, 9, 2, 14, 49), 'result': '0.09138343852938557', 'result_long': None, 'result_double': None}] Qualite : 0.09138343852938557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26440428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26440428 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440485, 'pht': 3726}}" where mtr_portfolio_id = 26440428 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26440428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645229, 0.09138343852938557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440428_02-09-2025_14_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440476, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26440892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652143, 'mtr_portfolio_id': 26440892, 'created_at': datetime.datetime(2025, 9, 2, 15, 2, 59), 'result': '0.061975130028068745', 'result_long': None, 'result_double': None}] Qualite : 0.061975130028068745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26440892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26440892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440919, 'pht': 3726}}" where mtr_portfolio_id = 26440892 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26440892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645230, 0.061975130028068745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26440892_02-09-2025_15_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26440908, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26440909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26440910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26440911, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26440912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26440913, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26440914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26440915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26440916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26440917, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26440918, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26440919, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26441460 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652243, 'mtr_portfolio_id': 26441460, 'created_at': datetime.datetime(2025, 9, 2, 15, 18, 56), 'result': '0.037136621543279576', 'result_long': None, 'result_double': None}] Qualite : 0.037136621543279576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26441460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26441460 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26441492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26441493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26441494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26441495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26441496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26441497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26441498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26441499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26441500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26441501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26441502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26441503, 'pht': 3726}}" where mtr_portfolio_id = 26441460 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26441460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645231, 0.037136621543279576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26441460_02-09-2025_15_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26441492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26441493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26441494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26441495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26441496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26441497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26441498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26441499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26441500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26441501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26441502, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26441503, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26442297 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652341, 'mtr_portfolio_id': 26442297, 'created_at': datetime.datetime(2025, 9, 2, 15, 33), 'result': '0.044398406937729694', 'result_long': None, 'result_double': None}] Qualite : 0.044398406937729694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26442297 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26442297 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26442302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442313, 'pht': 3726}}" where mtr_portfolio_id = 26442297 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26442297 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645232, 0.044398406937729694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442297_02-09-2025_15_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26442302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442304, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442309, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442311, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442313, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26442757 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652410, 'mtr_portfolio_id': 26442757, 'created_at': datetime.datetime(2025, 9, 2, 15, 49, 1), 'result': '0.06241485380856781', 'result_long': None, 'result_double': None}] Qualite : 0.06241485380856781 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26442757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26442757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26442789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442791, 'pht': 3726}}" where mtr_portfolio_id = 26442757 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26442757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645233, 0.06241485380856781, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26442757_02-09-2025_15_49_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26442779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26442780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26442781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26442782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26442783, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26442784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26442785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26442786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26442787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26442789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26442790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26442791, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652506, 'mtr_portfolio_id': 26443340, 'created_at': datetime.datetime(2025, 9, 2, 16, 2, 58), 'result': '0.0781427020288136', 'result_long': None, 'result_double': None}] Qualite : 0.0781427020288136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26443340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26443340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443371, 'pht': 3726}}" where mtr_portfolio_id = 26443340 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26443340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645234, 0.0781427020288136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443340_02-09-2025_16_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443367, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443863 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443863 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26443863 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443863 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26443863 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26443863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443863_02-09-2025_16_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26443863 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26443863_02-09-2025_16_18_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26443876, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26443877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26443878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26443879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26443880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26443881, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26443882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26443883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26443884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26443885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26443886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26443887, 'pht': 3726}}" where mtr_portfolio_id = 26443863 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444379 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444379 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26444379 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444379 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444379 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26444379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444379_02-09-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26444379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444379_02-09-2025_16_32_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444384, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444385, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444386, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444388, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444389, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444390, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444393, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444395, 'pht': 3726}}" where mtr_portfolio_id = 26444379 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444704 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444704 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26444704 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444704 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26444704 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26444704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444704_02-09-2025_16_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26444704 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26444704_02-09-2025_16_48_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26444733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26444734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26444735, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26444736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26444737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26444738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26444739, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26444740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26444741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26444742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26444743, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26444744, 'pht': 3726}}" where mtr_portfolio_id = 26444704 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445193 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26445193 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445193 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445193 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26445193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445193_02-09-2025_17_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26445193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445193_02-09-2025_17_02_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445223, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445224, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445230, 'pht': 3726}}" where mtr_portfolio_id = 26445193 and dashboard_run_id = 2229161 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26445758 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652749, 'mtr_portfolio_id': 26445758, 'created_at': datetime.datetime(2025, 9, 2, 17, 18, 57), 'result': '0.10960894998911164', 'result_long': None, 'result_double': None}] Qualite : 0.10960894998911164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26445758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26445758 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445844, 'pht': 3726}}" where mtr_portfolio_id = 26445758 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26445758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645239, 0.10960894998911164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26445758_02-09-2025_17_18_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26445833, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26445834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26445835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26445836, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26445837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26445838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26445839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26445840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26445841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26445842, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26445843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26445844, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26446696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3652897, 'mtr_portfolio_id': 26446696, 'created_at': datetime.datetime(2025, 9, 2, 18, 2, 29), 'result': '0.06445261773741175', 'result_long': None, 'result_double': None}] Qualite : 0.06445261773741175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26446696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26446696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26446733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26446734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26446736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26446737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26446738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26446740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26446741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26446743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26446744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26446745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26446746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26446748, 'pht': 3726}}" where mtr_portfolio_id = 26446696 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26446696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645240, 0.06445261773741175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26446696_02-09-2025_18_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26446733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26446734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26446736, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26446737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26446738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26446740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26446741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26446743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26446744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26446745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26446746, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26446748, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26448770 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653206, 'mtr_portfolio_id': 26448770, 'created_at': datetime.datetime(2025, 9, 2, 18, 17), 'result': '0.06991538297304006', 'result_long': None, 'result_double': None}] Qualite : 0.06991538297304006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26448770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26448770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26448771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26448773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26448774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26448775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26448776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26448777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26448778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26448779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26448780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26448782, 'pht': 3726}}" where mtr_portfolio_id = 26448770 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26448770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645241, 0.06991538297304006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26448770_02-09-2025_18_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26448771, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26448773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26448774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26448775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26448776, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26448777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26448778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26448779, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26448780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26448782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26449340 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653245, 'mtr_portfolio_id': 26449340, 'created_at': datetime.datetime(2025, 9, 2, 18, 33), 'result': '0.0690935947935456', 'result_long': None, 'result_double': None}] Qualite : 0.0690935947935456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26449340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26449340 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26449345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26449346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26449347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26449348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26449349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26449350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26449351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26449352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26449353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26449354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26449355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26449356, 'pht': 3726}}" where mtr_portfolio_id = 26449340 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26449340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645242, 0.0690935947935456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449340_02-09-2025_18_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26449345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26449346, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26449347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26449348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26449349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26449350, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26449351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26449352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26449353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26449354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26449355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26449356, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26449972 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653325, 'mtr_portfolio_id': 26449972, 'created_at': datetime.datetime(2025, 9, 2, 18, 48, 58), 'result': '0.06865899681288169', 'result_long': None, 'result_double': None}] Qualite : 0.06865899681288169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26449972 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26449972 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26450030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450040, 'pht': 3726}}" where mtr_portfolio_id = 26449972 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26449972 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645243, 0.06865899681288169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26449972_02-09-2025_18_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450029, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26450030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450034, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450039, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450040, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26450837 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653413, 'mtr_portfolio_id': 26450837, 'created_at': datetime.datetime(2025, 9, 2, 19, 2, 57), 'result': '0.058060051255354565', 'result_long': None, 'result_double': None}] Qualite : 0.058060051255354565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26450837 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26450837 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26450849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450860, 'pht': 3726}}" where mtr_portfolio_id = 26450837 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26450837 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645244, 0.058060051255354565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26450837_02-09-2025_19_02_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26450849, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26450850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26450851, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26450852, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26450853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26450854, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26450855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26450856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26450857, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26450858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26450859, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26450860, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26451319 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653520, 'mtr_portfolio_id': 26451319, 'created_at': datetime.datetime(2025, 9, 2, 19, 19, 1), 'result': '0.04851041283944244', 'result_long': None, 'result_double': None}] Qualite : 0.04851041283944244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26451319 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26451319 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451368, 'pht': 3726}}" where mtr_portfolio_id = 26451319 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26451319 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645245, 0.04851041283944244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451319_02-09-2025_19_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451362, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451365, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451368, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26451938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653592, 'mtr_portfolio_id': 26451938, 'created_at': datetime.datetime(2025, 9, 2, 19, 33, 1), 'result': '0.057421594092015096', 'result_long': None, 'result_double': None}] Qualite : 0.057421594092015096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26451938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26451938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451988, 'pht': 3726}}" where mtr_portfolio_id = 26451938 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26451938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645246, 0.057421594092015096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26451938_02-09-2025_19_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26451977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26451978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26451979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26451980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26451981, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26451982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26451983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26451984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26451985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26451986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26451987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26451988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26452404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653683, 'mtr_portfolio_id': 26452404, 'created_at': datetime.datetime(2025, 9, 2, 19, 48, 30), 'result': '0.058542894410272044', 'result_long': None, 'result_double': None}] Qualite : 0.058542894410272044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26452404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26452404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26452434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26452435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26452436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26452437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26452438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26452439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26452440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26452442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26452443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26452444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26452445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26452446, 'pht': 3726}}" where mtr_portfolio_id = 26452404 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26452404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645247, 0.058542894410272044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26452404_02-09-2025_19_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26452434, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26452435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26452436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26452437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26452438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26452439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26452440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26452442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26452443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26452444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26452445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26452446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26453009 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653774, 'mtr_portfolio_id': 26453009, 'created_at': datetime.datetime(2025, 9, 2, 20, 2, 56), 'result': '0.0429403353139291', 'result_long': None, 'result_double': None}] Qualite : 0.0429403353139291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26453009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26453009 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453025, 'pht': 3726}}" where mtr_portfolio_id = 26453009 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26453009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645248, 0.0429403353139291, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453009_02-09-2025_20_02_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453021, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26453547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653870, 'mtr_portfolio_id': 26453547, 'created_at': datetime.datetime(2025, 9, 2, 20, 18, 58), 'result': '0.04569946737961557', 'result_long': None, 'result_double': None}] Qualite : 0.04569946737961557 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26453547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26453547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453603, 'pht': 3726}}" where mtr_portfolio_id = 26453547 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26453547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645249, 0.04569946737961557, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26453547_02-09-2025_20_18_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26453591, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26453592, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26453594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26453595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26453596, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26453597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26453598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26453599, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26453600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26453601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26453602, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26453603, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26454344 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3653954, 'mtr_portfolio_id': 26454344, 'created_at': datetime.datetime(2025, 9, 2, 20, 32, 59), 'result': '0.061579871098608144', 'result_long': None, 'result_double': None}] Qualite : 0.061579871098608144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26454344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26454344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26454369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26454370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26454371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26454372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26454373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26454374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26454375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26454376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26454377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26454378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26454379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26454380, 'pht': 3726}}" where mtr_portfolio_id = 26454344 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26454344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645250, 0.061579871098608144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26454344_02-09-2025_20_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26454369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26454370, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26454371, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26454372, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26454373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26454374, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26454375, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26454376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26454377, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26454378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26454379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26454380, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26455141 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654054, 'mtr_portfolio_id': 26455141, 'created_at': datetime.datetime(2025, 9, 2, 20, 50, 57), 'result': '0.047972598287834615', 'result_long': None, 'result_double': None}] Qualite : 0.047972598287834615 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26455141 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26455141 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26455167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26455168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26455169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26455170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26455171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26455172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26455174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26455175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26455176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26455177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26455178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26455179, 'pht': 3726}}" where mtr_portfolio_id = 26455141 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26455141 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645251, 0.047972598287834615, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26455141_02-09-2025_20_50_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26455167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26455168, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26455169, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26455170, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26455171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26455172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26455174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26455175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26455176, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26455177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26455178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26455179, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26456193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654216, 'mtr_portfolio_id': 26456193, 'created_at': datetime.datetime(2025, 9, 2, 21, 18, 59), 'result': '0.0698195077725636', 'result_long': None, 'result_double': None}] Qualite : 0.0698195077725636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26456193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26456193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456249, 'pht': 3726}}" where mtr_portfolio_id = 26456193 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26456193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645252, 0.0698195077725636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456193_02-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456239, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456240, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456241, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456243, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456245, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456246, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456247, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456249, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26456881 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654285, 'mtr_portfolio_id': 26456881, 'created_at': datetime.datetime(2025, 9, 2, 21, 32, 59), 'result': '0.059820660685930865', 'result_long': None, 'result_double': None}] Qualite : 0.059820660685930865 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26456881 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26456881 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456917, 'pht': 3726}}" where mtr_portfolio_id = 26456881 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26456881 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645253, 0.059820660685930865, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26456881_02-09-2025_21_32_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26456906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26456907, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26456908, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26456909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26456910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26456911, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26456912, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26456913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26456914, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26456915, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26456916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26456917, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26457358 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654351, 'mtr_portfolio_id': 26457358, 'created_at': datetime.datetime(2025, 9, 2, 21, 49, 31), 'result': '0.07068598631156234', 'result_long': None, 'result_double': None}] Qualite : 0.07068598631156234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26457358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26457358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26457435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457446, 'pht': 3726}}" where mtr_portfolio_id = 26457358 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26457358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645254, 0.07068598631156234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457358_02-09-2025_21_49_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26457435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457436, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457439, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457440, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26457917 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654414, 'mtr_portfolio_id': 26457917, 'created_at': datetime.datetime(2025, 9, 2, 22, 3, 1), 'result': '0.0448974376165026', 'result_long': None, 'result_double': None}] Qualite : 0.0448974376165026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26457917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26457917 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26457964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457966, 'pht': 3726}}" where mtr_portfolio_id = 26457917 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26457917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645255, 0.0448974376165026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26457917_02-09-2025_22_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26457955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26457956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26457957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26457958, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26457959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26457960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26457961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26457962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26457963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26457964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26457965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26457966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26458595 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654549, 'mtr_portfolio_id': 26458595, 'created_at': datetime.datetime(2025, 9, 2, 22, 18, 59), 'result': '0.05409601449068412', 'result_long': None, 'result_double': None}] Qualite : 0.05409601449068412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26458595 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26458595 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26458623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26458624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26458625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26458626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26458627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26458628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26458629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26458630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26458631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26458632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26458633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26458634, 'pht': 3726}}" where mtr_portfolio_id = 26458595 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26458595 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645256, 0.05409601449068412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26458595_02-09-2025_22_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26458623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26458624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26458625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26458626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26458627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26458628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26458629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26458630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26458631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26458632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26458633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26458634, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26459238 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654651, 'mtr_portfolio_id': 26459238, 'created_at': datetime.datetime(2025, 9, 2, 22, 33), 'result': '0.059058494017710995', 'result_long': None, 'result_double': None}] Qualite : 0.059058494017710995 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26459238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26459238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459251, 'pht': 3726}}" where mtr_portfolio_id = 26459238 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26459238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645257, 0.059058494017710995, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459238_02-09-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459241, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459242, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459243, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459244, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459246, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459247, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459250, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459251, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26459901 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654738, 'mtr_portfolio_id': 26459901, 'created_at': datetime.datetime(2025, 9, 2, 22, 48, 30), 'result': '0.06144773620050309', 'result_long': None, 'result_double': None}] Qualite : 0.06144773620050309 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26459901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26459901 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459942, 'pht': 3726}}" where mtr_portfolio_id = 26459901 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26459901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645258, 0.06144773620050309, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26459901_02-09-2025_22_48_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26459931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26459932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26459933, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26459934, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26459935, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26459936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26459937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26459938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26459939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26459940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26459941, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26459942, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26460689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654805, 'mtr_portfolio_id': 26460689, 'created_at': datetime.datetime(2025, 9, 2, 23, 2, 59), 'result': '0.05782972836961722', 'result_long': None, 'result_double': None}] Qualite : 0.05782972836961722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26460689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26460689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26460746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26460747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26460748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26460749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26460750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26460751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26460752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26460753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26460754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26460755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26460756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26460757, 'pht': 3726}}" where mtr_portfolio_id = 26460689 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26460689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645259, 0.05782972836961722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26460689_02-09-2025_23_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26460746, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26460747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26460748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26460749, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26460750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26460751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26460752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26460753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26460754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26460755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26460756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26460757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26461463 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654904, 'mtr_portfolio_id': 26461463, 'created_at': datetime.datetime(2025, 9, 2, 23, 19, 28), 'result': '0.05204437013344151', 'result_long': None, 'result_double': None}] Qualite : 0.05204437013344151 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26461463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26461463 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461485, 'pht': 3726}}" where mtr_portfolio_id = 26461463 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26461463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645260, 0.05204437013344151, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461463_02-09-2025_23_19_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461474, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461475, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461476, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26461965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3654976, 'mtr_portfolio_id': 26461965, 'created_at': datetime.datetime(2025, 9, 2, 23, 34, 30), 'result': '0.07330386158865412', 'result_long': None, 'result_double': None}] Qualite : 0.07330386158865412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26461965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26461965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461987, 'pht': 3726}}" where mtr_portfolio_id = 26461965 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26461965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645261, 0.07330386158865412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26461965_02-09-2025_23_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26461976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26461977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26461978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26461979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26461980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26461981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26461982, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26461983, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26461984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26461985, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26461986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26461987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26462671 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3655075, 'mtr_portfolio_id': 26462671, 'created_at': datetime.datetime(2025, 9, 2, 23, 48, 58), 'result': '0.05410397443114774', 'result_long': None, 'result_double': None}] Qualite : 0.05410397443114774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26462671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26462671 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26462690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26462691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26462692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26462693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26462694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26462695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26462696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26462697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26462698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26462699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26462700, 'pht': 3726}}" where mtr_portfolio_id = 26462671 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26462671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645262, 0.05410397443114774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26462671_02-09-2025_23_48_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26462689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26462690, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26462691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26462692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26462693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26462694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26462695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26462696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26462697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26462698, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26462699, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26462700, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26463320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3655149, 'mtr_portfolio_id': 26463320, 'created_at': datetime.datetime(2025, 9, 3, 0, 55, 59), 'result': '0.06671159348112032', 'result_long': None, 'result_double': None}] Qualite : 0.06671159348112032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26463320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26463320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26463381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26463382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26463383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26463384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26463385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26463386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26463387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26463388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26463389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26463390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26463391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26463392, 'pht': 3726}}" where mtr_portfolio_id = 26463320 and dashboard_run_id = 2229161 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26463320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14645263, 0.06671159348112032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26463320_03-09-2025_00_55_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26463381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26463382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26463383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26463384, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26463385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26463386, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26463387, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26463388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26463389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26463390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26463391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26463392, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26419800,26420091,26420215,26420269,26420665,26420821,26421082,26421275,26421697,26421773,26421852,26422348,26422569,26422847,26423247,26423697,26425366,26425367,26425368,26426242,26426742,26426922,26427649,26427997,26429064,26429066,26429069,26430560,26431021,26431877,26432175,26432932,26433636,26434418,26435176,26435639,26435936,26437996,26438994,26439239,26439847,26440428,26440892,26441460,26442297,26442757,26443340,26443863,26444379,26444704,26445193,26445758,26446696,26448770,26449340,26449972,26450837,26451319,26451938,26452404,26453009,26453547,26454344,26455141,26456193,26456881,26457358,26457917,26458595,26459238,26459901,26460689,26461463,26461965,26462671,26463320) result : ((1380746927,), (1380746929,), (1380747076,), (1380747077,), (1380747078,), (1380747090,), (1380747136,), (1380747157,), (1380747158,), (1380747673,), (1380747675,), (1380747677,), (1380747745,), (1380747808,), (1380748022,), (1380747872,), (1380748234,), (1380748235,), (1380748316,), (1380748660,), (1380748661,), (1380748801,), (1380748822,), (1380748859,), (1380748919,), (1380748922,), (1380748976,), (1380749079,), (1380749223,), (1380749240,), (1380749270,), (1380749336,), (1380749439,), (1380749491,), (1380749492,), (1380750502,), (1380750974,), (1380750975,), (1380751018,), (1380751029,), (1380754439,), (1380754438,), (1380754608,), (1380754609,), (1380754648,), (1380754649,), (1380754650,), (1380754672,), (1380754674,), (1380754675,), (1380754676,), (1380754744,), (1380754745,), (1380754788,), (1380754789,), (1380754811,), (1380754832,), (1380754849,), (1380754871,), (1380754892,), (1380754909,), (1380754959,), (1380754956,), (1380755028,), (1380755060,), (1380755121,), (1380755186,), (1380755282,), (1380755347,), (1380755348,), (1380755349,), (1380755585,), (1380755586,), (1380755587,), (1380756011,), (1380756763,), (1380756970,), (1380756971,), (1380757095,), (1380757478,), (1380757480,), (1380757482,), (1380757690,), (1380757702,), (1380757716,), (1380757728,), (1380757770,), (1380757771,), (1380757772,), (1380757830,), (1380757855,), (1380757876,), (1380757877,), (1380757906,), (1380757957,), (1380757979,), (1380757992,), (1380758050,), (1380758101,), (1380758102,), (1380758103,), (1380758233,), (1380761735,), (1380761817,), (1380761818,), (1380761819,), (1380761902,), (1380761964,), (1380761985,), (1380762007,), (1380762099,), (1380762149,), (1380762258,), (1380762259,), (1380762275,), (1380762316,), (1380762355,), (1380762416,), (1380762417,), (1380762472,), (1380762590,), (1380762650,), (1380762651,), (1380762792,), (1380762847,), (1380762848,), (1380762849,), (1380763516,), (1380763636,), (1380763697,), (1380769131,), (1380769132,), (1380769133,), (1380769203,), (1380769204,), (1380769205,), (1380769244,), (1380769245,), (1380769313,), (1380769314,), (1380769343,), (1380769344,), (1380769345,), (1380769372,), (1380769373,), (1380769405,), (1380769406,), (1380769407,), (1380769408,), (1380769409,), (1380769436,), (1380769471,), (1380769486,), (1380769502,), (1380769522,), (1380769523,), (1380769524,), (1380769525,), (1380769550,), (1380769552,), (1380769553,), (1380769554,), (1380769614,), (1380769615,), (1380769616,), (1380769617,), (1380769618,), (1380769644,), (1380769645,), (1380769646,), (1380769647,), (1380769648,), (1380769649,), (1380769700,), (1380769701,), (1380769702,), (1380769703,), (1380769730,), (1380769731,), (1380769732,), (1380769758,), (1380769759,), (1380769760,), (1380769761,), (1380769784,), (1380769785,), (1380769786,), (1380769787,), (1380769807,), (1380769808,), (1380769809,), (1380769810,), (1380769811,), (1380769812,), (1380769816,), (1380769828,), (1380769829,), (1380769830,), (1380769831,), (1380769855,), (1380769856,), (1380769857,), (1380769858,), (1380769859,), (1380769860,), (1380769883,), (1380769884,), (1380769885,), (1380769886,), (1380769887,), (1380769888,), (1380769916,), (1380769912,), (1380769913,), (1380769914,), (1380769915,), (1380769934,), (1380769935,), (1380769936,), (1380769937,), (1380769938,), (1380769939,), (1380769979,), (1380769980,), (1380769981,), (1380769982,), (1380770014,), (1380770015,), (1380770016,), (1380770017,), (1380770018,), (1380770019,), (1380770052,), (1380770053,), (1380770054,), (1380770055,), (1380770056,), (1380770057,), (1380770083,), (1380770085,), (1380770086,), (1380770087,), (1380770088,), (1380770089,), (1380770113,), (1380770114,), (1380770115,), (1380770116,), (1380770117,), (1380770149,), (1380770151,), (1380770152,), (1380770153,), (1380770154,), (1380770155,), (1380770182,), (1380770183,), (1380770184,), (1380770185,), (1380770218,), (1380770219,), (1380770220,), (1380770221,), (1380770223,), (1380770225,), (1380770246,), (1380770247,), (1380770248,), (1380770249,), (1380770320,), (1380770321,), (1380770322,), (1380770323,), (1380770324,), (1380770325,), (1380770351,), (1380770352,), (1380770353,), (1380770354,), (1380770386,), (1380770424,), (1380770382,), (1380770383,), (1380770384,), (1380770385,), (1380770407,), (1380770408,), (1380770409,), (1380770410,), (1380770412,), (1380770413,), (1380770420,), (1380770421,), (1380770422,), (1380770423,), (1380770444,), (1380770445,), (1380770446,), (1380770447,), (1380770476,), (1380770477,), (1380770478,), (1380770479,), (1380770480,), (1380770481,), (1380770506,), (1380770507,), (1380770508,), (1380770509,), (1380770510,), (1380770511,), (1380770555,), (1380770556,), (1380770557,), (1380770558,), (1380770587,), (1380770588,), (1380770589,), (1380770590,), (1380770592,), (1380770629,), (1380770630,), (1380770631,), (1380770653,), (1380770661,), (1380770662,), (1380770664,), (1380770665,), (1380770666,), (1380770688,), (1380770689,), (1380770690,), (1380770691,), (1380770692,), (1380770693,), (1380770712,), (1380770713,), (1380770714,), (1380770744,), (1380770746,), (1380770748,), (1380770749,), (1380770750,), (1380770751,), (1380770755,), (1380770756,), (1380770757,), (1380771045,), (1380771047,), (1380771049,), (1380771051,), (1380771053,), (1380771569,), (1380771571,), (1380771575,), (1380771578,), (1380771581,), (1380771641,), (1380771643,), (1380771646,), (1380771648,), (1380771650,), (1380772008,), (1380772002,), (1380772004,), (1380772006,), (1380772369,), (1380772371,), (1380772373,), (1380772375,), (1380772377,), (1380772755,), (1380772757,), (1380772759,), (1380772761,), (1380772938,), (1380772940,), (1380772942,), (1380772944,), (1380773103,), (1380773104,), (1380773105,), (1380773106,), (1380773107,), (1380773138,), (1380773139,), (1380773140,), (1380773141,), (1380773142,), (1380773143,), (1380773176,), (1380773177,), (1380773178,), (1380773179,), (1380773180,), (1380773181,), (1380773186,), (1380773187,), (1380773215,), (1380773249,), (1380773291,), (1380773392,), (1380773414,), (1380773415,), (1380773416,), (1380773417,), (1380773418,), (1380773454,), (1380773479,), (1380773450,), (1380773451,), (1380773452,), (1380773453,), (1380773468,), (1380773469,), (1380773470,), (1380773471,), (1380773472,), (1380773473,), (1380773477,), (1380773513,), (1380773514,), (1380773515,), (1380773517,), (1380773519,), (1380773547,), (1380773548,), (1380773549,), (1380773550,), (1380773551,), (1380773588,), (1380773589,), (1380773590,), (1380773591,), (1380773592,), (1380773618,), (1380773619,), (1380773656,), (1380773657,), (1380773658,), (1380773659,), (1380773660,), (1380773682,), (1380773683,), (1380773684,), (1380773685,), (1380773686,), (1380773687,), (1380773785,), (1380773786,), (1380773787,), (1380773788,), (1380773818,), (1380773819,), (1380773820,), (1380773821,), (1380773846,), (1380773847,), (1380773894,), (1380773895,), (1380773896,), (1380773897,), (1380773898,), (1380773935,), (1380773936,), (1380773937,), (1380773938,), (1380773939,), (1380773955,), (1380773956,), (1380773957,), (1380773958,), (1380773959,), (1380773995,), (1380773996,), (1380773997,), (1380773998,), (1380774020,), (1380774014,), (1380774018,), (1380774019,), (1380774056,), (1380774057,), (1380774058,), (1380774059,), (1380774060,), (1380774079,), (1380774080,), (1380774119,), (1380774121,), (1380774123,), (1380774124,), (1380774160,), (1380774161,), (1380774162,), (1380774163,), (1380774200,), (1380774201,), (1380774202,), (1380774203,), (1380774217,), (1380774219,), (1380774220,), (1380774221,), (1380774222,), (1380774223,), (1380774226,), (1380774227,), (1380774253,), (1380774254,), (1380774255,), (1380774256,), (1380774283,), (1380774284,), (1380774311,), (1380774312,), (1380774313,), (1380774314,), (1380774315,), (1380774336,), (1380774337,), (1380774338,), (1380774339,), (1380774340,), (1380774341,), (1380774383,), (1380774384,), (1380774385,), (1380774386,), (1380774387,), (1380774405,), (1380774406,), (1380774407,), (1380774408,), (1380774447,), (1380774448,), (1380774449,), (1380774450,), (1380774451,), (1380774475,), (1380774476,), (1380774478,), (1380774480,), (1380774541,), (1380774567,), (1380774537,), (1380774538,), (1380774539,), (1380774540,), (1380774556,), (1380774557,), (1380774558,), (1380774559,), (1380774560,), (1380774561,), (1380774565,), (1380774585,), (1380774586,), (1380774587,), (1380774588,), (1380774589,), (1380774609,), (1380774612,), (1380774613,), (1380774614,), (1380774615,), (1380774616,), (1380774648,), (1380774649,), (1380774650,), (1380774669,), (1380774670,), (1380774671,), (1380774672,), (1380774700,), (1380774701,), (1380774702,), (1380774703,), (1380774704,), (1380774719,), (1380774720,), (1380774721,), (1380774722,), (1380774749,), (1380774750,), (1380774751,), (1380774752,), (1380774753,), (1380774781,), (1380774782,), (1380774783,), (1380774784,), (1380774785,), (1380774786,), (1380774823,), (1380774824,), (1380774825,), (1380774847,), (1380774848,), (1380774849,), (1380774850,), (1380774851,), (1380774852,), (1380774875,), (1380774879,), (1380774880,), (1380774881,), (1380774882,), (1380775553,), (1380775557,), (1380775561,), (1380775565,), (1380775569,), (1380775712,), (1380775716,), (1380776439,), (1380776431,), (1380776433,), (1380776435,), (1380776437,), (1380776936,), (1380776938,), (1380776940,), (1380776942,), (1380776944,), (1380777177,), (1380777178,), (1380777179,), (1380777180,), (1380777181,), (1380777212,), (1380777213,), (1380777214,), (1380777215,), (1380777238,), (1380777239,), (1380777241,), (1380777242,), (1380777281,), (1380777282,), (1380777283,), (1380777297,), (1380777298,), (1380777299,), (1380777300,), (1380777301,), (1380777303,), (1380777312,), (1380777343,), (1380777344,), (1380777345,), (1380777346,), (1380777347,), (1380777374,), (1380777375,), (1380777376,), (1380777377,), (1380777430,), (1380777431,), (1380778686,), (1380778732,), (1380778733,), (1380778734,), (1380778735,), (1380778838,), (1380778839,), (1380778840,), (1380778841,), (1380779077,), (1380779080,), (1380779083,), (1380779086,), (1380779090,), (1380779093,), (1380779160,), (1380779162,), (1380779261,), (1380779262,), (1380779263,), (1380779264,), (1380779301,), (1380779302,), (1380779303,), (1380779304,), (1380779305,), (1380779306,), (1380779338,), (1380779339,), (1380779340,), (1380779342,), (1380779343,), (1380779372,), (1380779370,), (1380779371,), (1380779466,), (1380779467,), (1380779468,), (1380779469,), (1380779470,), (1380779471,), (1380779491,), (1380779492,), (1380779493,), (1380779494,), (1380779540,), (1380779541,), (1380779542,), (1380779619,), (1380779620,), (1380779622,), (1380779723,), (1380779725,), (1380779726,), (1380779727,), (1380779899,), (1380779900,), (1380779901,), (1380779902,), (1380779903,), (1380779904,), (1380779908,), (1380779910,), (1380779930,), (1380779931,), (1380779932,), (1380779933,), (1380779934,), (1380779935,), (1380780002,), (1380780003,), (1380780004,), (1380780005,), (1380780006,), (1380780007,), (1380780030,), (1380780031,), (1380780032,), (1380780086,), (1380780089,), (1380780091,), (1380780092,), (1380780254,), (1380780256,), (1380780258,), (1380780260,), (1380780394,), (1380780395,), (1380780396,), (1380780397,), (1380780398,), (1380780425,), (1380780426,), (1380780484,), (1380780486,), (1380780549,), (1380780712,), (1380780708,), (1380780709,), (1380780711,), (1380781186,), (1380781235,), (1380781330,), (1380781359,), (1380781360,), (1380781361,), (1380781387,), (1380781389,), (1380781390,), (1380781391,), (1380781422,), (1380781423,), (1380781424,), (1380781938,), (1380781940,), (1380782059,), (1380782060,), (1380782061,), (1380782057,), (1380782058,), (1380782093,), (1380782095,), (1380782096,), (1380782115,), (1380782116,), (1380782149,), (1380782151,), (1380782152,), (1380782176,), (1380782214,), (1380782215,), (1380782216,), (1380782217,), (1380782218,), (1380782234,), (1380782235,), (1380782236,), (1380782237,), (1380782238,), (1380782239,), (1380782243,), (1380782275,), (1380782276,), (1380782277,), (1380782278,), (1380782298,), (1380782299,), (1380782300,), (1380782327,), (1380782328,), (1380782344,), (1380782346,), (1380782347,), (1380782563,), (1380782565,), (1380782567,), (1380782569,), (1380782916,), (1380782918,), (1380783225,), (1380783226,), (1380783228,), (1380783230,), (1380783232,), (1380783234,), (1380783523,), (1380783527,), (1380783530,), (1380783533,), (1380783536,), (1380783539,), (1380783963,), (1380784309,), (1380783962,), (1380784126,), (1380784130,), (1380784134,), (1380784138,), (1380784144,), (1380784148,), (1380784305,), (1380784456,), (1380784457,), (1380784458,), (1380784459,), (1380784461,), (1380784887,), (1380784889,), (1380784891,), (1380784893,), (1380785264,), (1380785383,), (1380785386,), (1380785874,), (1380785877,), (1380785880,), (1380785883,), (1380785886,), (1380785889,), (1380786078,), (1380786079,), (1380786080,), (1380786081,), (1380786082,), (1380786519,), (1380786521,), (1380786523,), (1380786680,), (1380786681,), (1380786682,), (1380786735,), (1380786736,), (1380786737,), (1380786785,), (1380786786,), (1380786787,), (1380786788,), (1380786878,), (1380786879,), (1380786881,), (1380786882,), (1380786883,), (1380786884,), (1380786889,), (1380786890,), (1380786911,), (1380786913,), (1380786915,), (1380786917,), (1380787050,), (1380787051,), (1380787052,), (1380787207,), (1380787208,), (1380787209,), (1380787210,), (1380787211,), (1380787353,), (1380787351,), (1380787352,), (1380787432,), (1380787433,), (1380787434,), (1380787557,), (1380787559,), (1380787561,), (1380787563,), (1380787565,), (1380787567,), (1380787990,), (1380787992,), (1380787994,), (1380787996,), (1380788336,), (1380788337,), (1380788338,), (1380788339,), (1380788409,), (1380788410,), (1380788460,), (1380788461,), (1380788462,), (1380788463,), (1380788464,), (1380788532,), (1380788533,), (1380788534,), (1380788589,), (1380788590,), (1380788591,), (1380788804,), (1380788840,), (1380788841,), (1380788959,), (1380789017,), (1380789018,), (1380789117,), (1380789119,), (1380789120,), (1380789121,), (1380789122,), (1380789223,), (1380789344,), (1380789221,), (1380789222,), (1380789338,), (1380789339,), (1380789340,), (1380789341,), (1380789342,), (1380789414,), (1380789416,), (1380789417,), (1380789418,), (1380789538,), (1380789599,), (1380789600,), (1380789601,), (1380789675,), (1380789679,), (1380789717,), (1380789718,), (1380789817,), (1380789818,), (1380789854,), (1380789855,), (1380789945,), (1380789946,), (1380789980,), (1380789981,), (1380790038,), (1380790039,), (1380790040,), (1380790041,), (1380790042,), (1380790140,), (1380790142,), (1380790144,), (1380795572,), (1380795638,), (1380795639,), (1380795640,), (1380795658,), (1380796056,), (1380796233,), (1380796411,), (1380796412,), (1380796413,), (1380796550,), (1380796552,), (1380796554,), (1380796556,), (1380796559,), (1380796561,), (1380796619,), (1380796751,), (1380796753,), (1380796755,), (1380796757,), (1380796759,), (1380796761,), (1380796814,), (1380796815,), (1380796816,), (1380796848,), (1380796849,), (1380796850,), (1380796851,), (1380796852,), (1380796919,), (1380796920,), (1380796921,), (1380796922,), (1380796923,), (1380796924,), (1380797101,), (1380797105,), (1380797106,), (1380797107,), (1380797132,), (1380797134,), (1380797135,), (1380797136,), (1380797137,), (1380797211,), (1380797213,), (1380797215,), (1380797267,), (1380797269,), (1380797271,), (1380797273,), (1380797275,), (1380797512,), (1380797714,), (1380797508,), (1380797509,), (1380797510,), (1380797511,), (1380797699,), (1380797700,), (1380797702,), (1380797703,), (1380797704,), (1380797705,), (1380797712,), (1380797713,), (1380797835,), (1380797861,), (1380797862,), (1380797863,), (1380797908,), (1380797909,), (1380797910,), (1380797911,), (1380797912,), (1380797936,), (1380797937,), (1380797938,), (1380797939,), (1380797940,), (1380797976,), (1380797977,), (1380797978,), (1380798000,), (1380798001,), (1380798002,), (1380798095,), (1380798329,), (1380798330,), (1380798331,), (1380798332,), (1380798453,), (1380798454,), (1380798455,), (1380798456,), (1380798457,), (1380798458,), (1380799176,), (1380799178,), (1380799181,), (1380799441,), (1380799437,), (1380799438,), (1380799439,), (1380799440,), (1380799543,), (1380799545,), (1380799548,), (1380799550,), (1380799552,), (1380799875,), (1380799877,), (1380799879,), (1380799881,), (1380799883,), (1380799885,), (1380799996,), (1380799998,), (1380800000,), (1380800001,), (1380800002,), (1380800049,), (1380800050,), (1380800051,), (1380800052,), (1380800053,), (1380800101,), (1380800102,), (1380800103,), (1380800104,), (1380800105,), (1380800153,), (1380800154,), (1380800155,), (1380800157,), (1380800158,), (1380800159,), (1380800168,), (1380800169,), (1380800171,), (1380800173,), (1380800197,), (1380800198,), (1380800199,), (1380800200,), (1380800201,), (1380800202,), (1380800248,), (1380800249,), (1380800250,), (1380800251,), (1380800252,), (1380800253,), (1380800295,), (1380800307,), (1380800308,), (1380800309,), (1380800459,), (1380800461,), (1380800463,), (1380800465,), (1380801646,), (1380801647,), (1380801648,), (1380801649,), (1380801995,), (1380801996,), (1380801997,), (1380801998,), (1380801999,), (1380802000,), (1380802142,), (1380802145,), (1380802147,), (1380802149,), (1380802314,), (1380802316,), (1380802317,), (1380802318,), (1380802319,), (1380802320,), (1380802524,), (1380802727,), (1380802514,), (1380802516,), (1380802518,), (1380802520,), (1380802522,), (1380802683,), (1380802684,), (1380802686,), (1380802687,), (1380802688,), (1380802689,), (1380802723,), (1380802724,), (1380802725,), (1380802726,), (1380802848,), (1380802849,), (1380802850,), (1380802851,), (1380802853,), (1380802936,), (1380803015,), (1380803018,), (1380803023,), (1380803026,), (1380803029,), (1380803287,), (1380803288,), (1380803289,), (1380803290,), (1380803292,), (1380803386,), (1380803387,), (1380803388,), (1380803389,), (1380803390,), (1380803391,), (1380803439,), (1380803440,), (1380803441,), (1380803442,), (1380803443,), (1380803501,), (1380803502,), (1380803503,), (1380803551,), (1380803552,), (1380803553,), (1380803554,), (1380803555,), (1380803556,), (1380803602,), (1380803603,), (1380803604,), (1380803724,), (1380803726,), (1380803728,), (1380803730,), (1380803732,), (1380803734,), (1380803896,), (1380803897,), (1380803898,), (1380803900,), (1380803901,), (1380803902,), (1380803959,), (1380803963,), (1380803967,), (1380803972,), (1380803975,), (1380804340,), (1380804342,), (1380804344,), (1380804346,), (1380804348,), (1380804504,), (1380804505,), (1380804506,), (1380804507,), (1380804508,), (1380804510,), (1380805003,), (1380805013,), (1380805014,), (1380805015,), (1380805016,), (1380805017,), (1380804998,), (1380804999,), (1380805000,), (1380805001,), (1380805002,), (1380805142,), (1380805143,), (1380805144,), (1380805145,), (1380805146,), (1380805206,), (1380805207,), (1380805208,), (1380805209,), (1380805210,), (1380805211,), (1380805345,), (1380805347,), (1380805349,), (1380805352,), (1380805354,), (1380805540,), (1380805541,), (1380805542,), (1380805544,), (1380805545,), (1380805679,), (1380805680,), (1380805681,), (1380805682,), (1380805683,), (1380805684,), (1380805733,), (1380805734,), (1380805735,), (1380805736,), (1380805737,), (1380805739,), (1380805745,), (1380805747,), (1380805750,), (1380805751,), (1380805974,), (1380805976,), (1380805978,), (1380805980,), (1380805982,), (1380805984,), (1380806270,), (1380806272,), (1380806274,), (1380806276,), (1380806278,), (1380806455,), (1380806457,), (1380806459,), (1380806461,), (1380806463,), (1380806465,), (1380806623,), (1380806624,), (1380806625,), (1380806626,), (1380806627,), (1380806628,), (1380806904,), (1380806906,), (1380806908,), (1380806910,), (1380806912,), (1380807478,), (1380807482,), (1380807484,), (1380807486,), (1380807982,), (1380807983,), (1380807984,), (1380807985,), (1380808173,), (1380808174,), (1380808346,), (1380808512,), (1380808340,), (1380808341,), (1380808343,), (1380808344,), (1380808345,), (1380808483,), (1380808485,), (1380808486,), (1380808488,), (1380808489,), (1380808490,), (1380808501,), (1380808503,), (1380808506,), (1380808508,), (1380808510,), (1380808683,), (1380808685,), (1380808687,), (1380809040,), (1380809041,), (1380809197,), (1380809198,), (1380809199,), (1380809200,), (1380809201,), (1380809590,), (1380809591,), (1380809592,), (1380809593,), (1380809595,), (1380809905,), (1380809907,), (1380809909,), (1380809911,), (1380809913,), (1380810040,), (1380810041,), (1380810044,), (1380810045,), (1380810046,), (1380810119,), (1380810120,), (1380810121,), (1380810122,), (1380810123,), (1380810124,), (1380810188,), (1380810189,), (1380810190,), (1380810191,), (1380810251,), (1380810252,), (1380810253,), (1380810522,), (1380810523,), (1380810524,), (1380810527,), (1380810528,), (1380810529,), (1380810685,), (1380810888,), (1380810890,), (1380810894,), (1380811464,), (1380811458,), (1380811460,), (1380811462,), (1380812028,), (1380812031,), (1380812034,), (1380812037,), (1380812040,), (1380812043,), (1380812774,), (1380812777,), (1380812780,), (1380813472,), (1380813474,), (1380813477,), (1380813480,), (1380813483,), (1380813486,), (1380813755,), (1380813757,), (1380813759,), (1380813761,), (1380813763,), (1380814237,), (1380814240,), (1380814243,), (1380814246,), (1380814249,), (1380814252,), (1380814743,), (1380814745,), (1380814748,), (1380814750,), (1380814752,), (1380814754,), (1380814766,), (1380814767,), (1380814768,), (1380814769,), (1380815018,), (1380815019,), (1380815020,), (1380815021,), (1380815022,), (1380815023,), (1380815348,), (1380815350,), (1380815352,), (1380815354,), (1380815534,), (1380815536,), (1380815538,), (1380815540,), (1380815618,), (1380815619,), (1380815620,), (1380815621,), (1380815622,), (1380815623,), (1380815761,), (1380815762,), (1380815925,), (1380815926,), (1380815927,), (1380815928,), (1380815929,), (1380815930,), (1380816040,), (1380816041,), (1380816042,), (1380816043,), (1380816160,), (1380816161,), (1380816162,), (1380816163,), (1380816281,), (1380816411,), (1380816276,), (1380816277,), (1380816278,), (1380816279,), (1380816280,), (1380816371,), (1380816372,), (1380816373,), (1380816374,), (1380816375,), (1380816376,), (1380816405,), (1380816408,), (1380816410,), (1380816568,), (1380816574,), (1380816579,), (1380816584,), (1380817435,), (1380817438,), (1380817810,), (1380817812,), (1380817814,), (1380817816,), (1380817818,), (1380817919,), (1380817920,), (1380817921,), (1380817922,), (1380817991,), (1380817992,), (1380817993,), (1380817995,), (1380818130,), (1380818131,), (1380818132,), (1380818133,), (1380818134,), (1380818135,), (1380818270,), (1380818271,), (1380818272,), (1380818273,), (1380818354,), (1380818355,), (1380818356,), (1380818357,), (1380818358,), (1380818359,), (1380818435,), (1380818436,), (1380818437,), (1380818438,), (1380818439,), (1380818645,), (1380818646,), (1380818647,), (1380818648,), (1380818649,), (1380818650,), (1380818656,), (1380818657,), (1380818658,), (1380818659,), (1380818757,), (1380818761,), (1380818766,), (1380818770,), (1380818810,), (1380818811,), (1380818812,), (1380818813,), (1380818814,), (1380818815,), (1380819229,), (1380819232,), (1380819235,), (1380819238,), (1380819524,), (1380819522,), (1380819523,), (1380819672,), (1380819673,), (1380819674,), (1380819675,), (1380819676,), (1380819780,), (1380819781,), (1380819782,), (1380819783,), (1380819784,), (1380819847,), (1380819848,), (1380819849,), (1380819850,), (1380819913,), (1380819914,), (1380819915,), (1380819973,), (1380819974,), (1380820030,), (1380820032,), (1380820033,), (1380820034,), (1380820035,), (1380820036,), (1380820096,), (1380820097,), (1380820098,), (1380820099,), (1380820100,), (1380820275,), (1380820276,), (1380820277,), (1380820278,), (1380820279,), (1380820344,), (1380820345,), (1380820409,), (1380820410,), (1380820411,), (1380820412,), (1380820500,), (1380820501,), (1380820502,), (1380820503,), (1380820767,), (1380820769,), (1380820770,), (1380820893,), (1380820895,), (1380821036,), (1380821087,), (1380821158,), (1380821084,), (1380821085,), (1380821086,), (1380821154,), (1380821155,), (1380821156,), (1380821416,), (1380821417,), (1380821418,), (1380821419,), (1380821468,), (1380821479,), (1380821480,), (1380821481,), (1380821482,), (1380821683,), (1380821849,), (1380821850,), (1380821851,), (1380821852,), (1380821853,), (1380821906,), (1380821907,), (1380821908,), (1380822011,), (1380822012,), (1380822013,), (1380822014,), (1380822015,), (1380822016,), (1380822114,), (1380822115,), (1380822116,), (1380822117,), (1380822149,), (1380822150,), (1380822151,), (1380822153,), (1380822154,), (1380822155,), (1380822161,), (1380822163,), (1380822343,), (1380822345,), (1380822347,), (1380822349,), (1380822878,), (1380822881,), (1380822885,), (1380822888,), (1380823300,), (1380823296,), (1380823298,), (1380823772,), (1380823775,), (1380823778,), (1380823781,), (1380824597,), (1380824600,), (1380824603,), (1380824606,), (1380824610,), (1380825004,), (1380825007,), (1380825009,), (1380825479,), (1380825481,), (1380825483,), (1380826304,), (1380826305,), (1380826306,), (1380826351,), (1380826352,), (1380826445,), (1380841858,), (1380841856,), (1380842525,), (1380842687,), (1380842723,), (1380842724,), (1380842761,), (1380842762,), (1380842763,), (1380842807,), (1380842808,), (1380842809,), (1380842810,), (1380843034,), (1380843035,), (1380843036,), (1380843037,), (1380843038,), (1380843040,), (1380843064,), (1380843067,), (1380843132,), (1380843133,), (1380843134,), (1380843552,), (1380843554,), (1380843556,), (1380843558,), (1380844465,), (1380844458,), (1380844462,), (1380845248,), (1380845250,), (1380845252,), (1380845254,), (1380845256,), (1380846156,), (1380846158,), (1380846160,), (1380846163,), (1380846166,), (1380846431,), (1380846433,), (1380846435,), (1380846437,), (1380846439,), (1380846441,), (1380846705,), (1380846706,), (1380846707,), (1380846708,), (1380846832,), (1380846834,), (1380846836,), (1380846838,), (1380846840,), (1380846842,), (1380847290,), (1380847292,), (1380847295,), (1380847297,), (1380847299,), (1380847301,), (1380847380,), (1380847384,), (1380847388,), (1380847392,), (1380847394,), (1380847709,), (1380847711,), (1380847713,), (1380847715,), (1380847717,), (1380847719,), (1380847992,), (1380847993,), (1380847994,), (1380847995,), (1380847996,), (1380847997,), (1380848069,), (1380848071,), (1380848073,), (1380848527,), (1380848530,), (1380848532,), (1380848534,), (1380848763,), (1380848764,), (1380848765,), (1380848766,), (1380848767,), (1380848972,), (1380848973,), (1380848974,), (1380848975,), (1380849044,), (1380849045,), (1380849046,), (1380849094,), (1380849096,), (1380849098,), (1380849100,), (1380849101,), (1380849143,), (1380849238,), (1380849141,), (1380849142,), (1380849225,), (1380849226,), (1380849227,), (1380849228,), (1380849230,), (1380849231,), (1380849236,), (1380849237,), (1380849418,), (1380849419,), (1380849420,), (1380849421,), (1380849422,), (1380849423,), (1380849517,), (1380849518,), (1380849519,), (1380849520,), (1380849720,), (1380849721,), (1380849722,), (1380849723,), (1380849724,), (1380849725,), (1380850040,), (1380850042,), (1380850043,), (1380850100,), (1380850101,), (1380850102,), (1380850103,), (1380850104,), (1380850267,), (1380850441,), (1380850601,), (1380850602,), (1380850603,), (1380850604,), (1380850673,), (1380850674,), (1380850675,), (1380850676,), (1380850731,), (1380850726,), (1380850727,), (1380850728,), (1380850729,), (1380850730,), (1380850886,), (1380850888,), (1380850890,), (1380850892,), (1380850992,), (1380850993,), (1380850994,), (1380850995,), (1380851051,), (1380851052,), (1380851053,), (1380851054,), (1380851055,), (1380851104,), (1380851105,), (1380851106,), (1380851107,), (1380851108,), (1380851158,), (1380851168,), (1380851169,), (1380851171,), (1380851172,), (1380851235,), (1380851236,), (1380851237,), (1380851303,), (1380851304,), (1380851347,), (1380851401,), (1380851402,), (1380851403,), (1380851475,), (1380851476,), (1380851477,), (1380851478,), (1380851479,), (1380851480,), (1380851527,), (1380851528,), (1380851529,), (1380851594,), (1380851595,), (1380851596,), (1380851597,), (1380851598,), (1380851599,), (1380851655,), (1380851656,), (1380851657,), (1380851658,), (1380851695,), (1380851707,), (1380851708,), (1380851709,), (1380851710,), (1380851712,), (1380851777,), (1380851843,), (1380851774,), (1380851775,), (1380851776,), (1380851823,), (1380851824,), (1380851825,), (1380851826,), (1380851828,), (1380851829,), (1380851838,), (1380851839,), (1380851841,), (1380851899,), (1380851900,), (1380851901,), (1380851902,), (1380851947,), (1380851948,), (1380851949,), (1380852075,), (1380852076,), (1380852135,), (1380852136,), (1380852137,), (1380852138,), (1380852178,), (1380852179,), (1380852180,), (1380852181,), (1380852182,), (1380852183,), (1380852232,), (1380852242,), (1380852243,), (1380852244,), (1380852292,), (1380852293,), (1380852294,), (1380852296,), (1380852342,), (1380852343,), (1380852344,), (1380852388,), (1380852389,), (1380852390,), (1380852391,), (1380852392,), (1380852393,), (1380852398,), (1380852399,), (1380852455,), (1380852456,), (1380852457,), (1380852458,), (1380852459,), (1380852675,), (1380852677,), (1380852679,), (1380853291,), (1380853285,), (1380853288,), (1380854114,), (1380854117,), (1380854120,), (1380854123,), (1380854126,), (1380854426,), (1380854429,), (1380854433,), (1380854436,), (1380854439,), (1380854442,), (1380855178,), (1380855180,), (1380855182,), (1380855184,), (1380855186,), (1380855440,), (1380855444,), (1380855447,), (1380855450,), (1380855453,), (1380855456,), (1380855754,), (1380855755,), (1380855756,), (1380855757,), (1380855794,), (1380855797,), (1380855798,), (1380855799,), (1380855800,), (1380855801,), (1380855828,), (1380855829,), (1380855831,), (1380855834,), (1380856006,), (1380856007,), (1380856008,), (1380856009,), (1380856109,), (1380856221,), (1380856222,), (1380856223,), (1380856224,), (1380856268,), (1380856269,), (1380856270,), (1380856271,), (1380856272,), (1380856349,), (1380856359,), (1380857383,), (1380857380,), (1380857483,), (1380857484,), (1380857537,), (1380857538,), (1380857539,), (1380857540,), (1380857589,), (1380857590,), (1380857591,), (1380857592,), (1380857593,), (1380857594,), (1380857635,), (1380857645,), (1380857647,), (1380857648,), (1380857688,), (1380857689,), (1380857690,), (1380857691,), (1380857771,), (1380857772,), (1380857773,), (1380857774,), (1380857775,), (1380857875,), (1380857876,), (1380857877,), (1380857878,), (1380857879,), (1380857924,), (1380857925,), (1380857926,), (1380857927,), (1380857928,), (1380857929,), (1380857968,), (1380857969,), (1380857970,), (1380857972,), (1380857973,), (1380857974,), (1380857983,), (1380857985,), (1380857987,), (1380857989,), (1380857991,), (1380858024,), (1380858025,), (1380858026,), (1380858027,), (1380858028,), (1380858029,), (1380858068,), (1380858069,), (1380858070,), (1380858071,), (1380858072,), (1380858176,), (1380858177,), (1380858178,), (1380858179,), (1380858334,), (1380858331,), (1380858332,), (1380858333,), (1380858442,), (1380858444,), (1380858446,), (1380858448,), (1380858450,), (1380858684,), (1380858686,), (1380858688,), (1380858690,), (1380858692,), (1380858694,), (1380859005,), (1380859255,), (1380859257,), (1380859259,), (1380859261,), (1380859415,), (1380859417,), (1380859419,), (1380859421,), (1380859423,), (1380859554,), (1380859555,), (1380859556,), (1380859557,), (1380859559,), (1380859560,), (1380859568,), (1380859569,), (1380859570,), (1380859571,), (1380859573,), (1380859611,), (1380859612,), (1380859614,), (1380859615,), (1380859668,), (1380859669,), (1380859670,), (1380859671,), (1380859737,), (1380859738,), (1380859739,), (1380859740,), (1380859741,), (1380859742,), (1380859873,), (1380859875,), (1380859877,), (1380859879,), (1380859943,), (1380859944,), (1380859945,), (1380859946,), (1380859947,), (1380859948,), (1380860029,), (1380860031,), (1380860033,), (1380860035,), (1380860090,), (1380860091,), (1380860092,), (1380860188,), (1380860189,), (1380860190,), (1380860191,), (1380860192,), (1380860384,), (1380860567,), (1380860376,), (1380860378,), (1380860380,), (1380860382,), (1380860528,), (1380860529,), (1380860530,), (1380860531,), (1380860532,), (1380860533,), (1380860560,), (1380860562,), (1380860565,), (1380860699,), (1380860700,), (1380860701,), (1380860702,), (1380860881,), (1380860883,), (1380861121,), (1380861123,), (1380861124,), (1380861125,), (1380861126,), (1380861201,), (1380861202,), (1380861203,), (1380861204,), (1380861205,), (1380861206,), (1380861270,), (1380861272,), (1380861274,), (1380861275,), (1380861323,), (1380861324,), (1380861325,), (1380861326,), (1380861327,), (1380861380,), (1380861381,), (1380861382,), (1380861383,), (1380861430,), (1380861431,), (1380861498,), (1380861499,), (1380861500,), (1380861501,), (1380861541,), (1380861542,), (1380861543,), (1380861544,), (1380861545,), (1380861546,), (1380861551,), (1380861552,), (1380861553,), (1380861594,), (1380861595,), (1380861596,), (1380862294,), (1380862296,), (1380862297,), (1380862316,), (1380862318,), (1380862319,), (1380862873,), (1380862865,), (1380862869,), (1380862871,), (1380863403,), (1380863406,), (1380863409,), (1380863412,), (1380864195,), (1380864198,), (1380864201,), (1380864204,), (1380864208,), (1380864631,), (1380864633,), (1380864635,), (1380864637,), (1380865032,), (1380865034,), (1380865036,), (1380865038,), (1380865040,), (1380865042,), (1380865574,), (1380865578,), (1380865582,), (1380865585,), (1380865966,), (1380865967,), (1380865969,), (1380865970,), (1380865971,), (1380865972,), (1380865979,), (1380865981,), (1380865982,), (1380866019,), (1380866020,), (1380866021,), (1380866022,), (1380866070,), (1380866071,), (1380866072,), (1380866073,), (1380866139,), (1380866140,), (1380866313,), (1380866314,), (1380866315,), (1380866316,), (1380866317,), (1380866406,), (1380866408,), (1380866409,), (1380866410,), (1380866411,), (1380866412,), (1380866501,), (1380866502,), (1380866503,), (1380866562,), (1380866563,), (1380866564,), (1380866565,), (1380866566,), (1380866643,), (1380866644,), (1380866645,), (1380866646,), (1380866647,), (1380866704,), (1380866780,), (1380866702,), (1380866703,), (1380866769,), (1380866770,), (1380866771,), (1380866772,), (1380866773,), (1380866774,), (1380866825,), (1380866826,), (1380866827,), (1380866828,), (1380866829,), (1380866872,), (1380866873,), (1380866874,), (1380866876,), (1380866877,), (1380866878,), (1380866933,), (1380866934,), (1380866935,), (1380867006,), (1380867007,), (1380867008,), (1380867009,), (1380867010,), (1380867073,), (1380867074,), (1380867075,), (1380867076,), (1380867077,), (1380867078,), (1380867118,), (1380867119,), (1380867120,), (1380867121,), (1380867122,), (1380867123,), (1380867161,), (1380867162,), (1380867163,), (1380867164,), (1380867211,), (1380867212,), (1380867213,), (1380867214,), (1380867335,), (1380867336,), (1380867337,), (1380867338,), (1380867339,), (1380867543,), (1380867544,), (1380867545,), (1380867546,), (1380867547,), (1380867548,), (1380867552,), (1380867553,), (1380867607,), (1380867608,), (1380867609,), (1380867610,), (1380867661,), (1380867662,), (1380867663,), (1380867716,), (1380867717,), (1380867796,), (1380867873,), (1380867874,), (1380867875,), (1380867876,), (1380867928,), (1380867929,), (1380867930,), (1380867983,), (1380867985,), (1380867987,), (1380868268,), (1380868270,), (1380868272,), (1380868274,), (1380868276,), (1380868278,), (1380868449,), (1380868450,), (1380868451,), (1380868452,), (1380868453,), (1380868454,), (1380868547,), (1380868548,), (1380868549,), (1380868550,), (1380868552,), (1380868553,), (1380868560,), (1380868561,), (1380868563,), (1380868682,), (1380868684,), (1380868686,), (1380868688,), (1380868690,), (1380868692,), (1380868820,), (1380868822,), (1380868986,), (1380868987,), (1380868988,), (1380868989,), (1380868990,), (1380869407,), (1380869409,), (1380869411,), (1380869713,), (1380869715,), (1380869717,), (1380869719,), (1380869721,), (1380870143,), (1380870147,), (1380870151,), (1380870155,), (1380870159,), (1380870163,), (1380871057,), (1380871059,), (1380871061,), (1380871064,), (1380871065,), (1380871068,), (1380871348,), (1380871888,), (1380871343,), (1380871345,), (1380871347,), (1380871780,), (1380871782,), (1380871784,), (1380871786,), (1380871790,), (1380871792,), (1380871881,), (1380871884,), (1380871886,), (1380872149,), (1380872150,), (1380872151,), (1380872202,), (1380872204,), (1380872205,), (1380872206,), (1380872292,), (1380872294,), (1380872682,), (1380872685,), (1380872690,), (1380872923,), (1380872925,), (1380872927,), (1380872929,), (1380872931,), (1380873556,), (1380873558,), (1380873560,), (1380873562,), (1380873564,), (1380873722,), (1380873962,), (1380873963,), (1380874099,), (1380874100,), (1380874101,), (1380874102,), (1380874167,), (1380874168,), (1380874169,), (1380874170,), (1380874171,), (1380874172,), (1380874184,), (1380874185,), (1380874355,), (1380874357,), (1380875384,), (1380875387,), (1380875390,), (1380876144,), (1380876138,), (1380876141,), (1380876745,), (1380876747,), (1380877387,), (1380877390,), (1380877393,), (1380877827,), (1380877830,), (1380877833,), (1380877836,), (1380878162,), (1380878164,), (1380878166,), (1380878168,), (1380878170,), (1380878172,), (1380878488,), (1380878489,), (1380878490,), (1380878491,), (1380878548,), (1380878549,), (1380878550,), (1380878552,), (1380878553,), (1380878554,), (1380878733,), (1380878734,), (1380878735,), (1380878736,), (1380878737,), (1380878738,), (1380879300,), (1380879303,), (1380879306,), (1380879308,), (1380879629,), (1380879631,), (1380879633,), (1380879635,), (1380879637,), (1380879639,), (1380879772,), (1380879773,), (1380879774,), (1380879845,), (1380879846,), (1380879847,), (1380879848,), (1380879849,), (1380879851,), (1380880092,), (1380880093,), (1380880094,), (1380880095,), (1380880096,), (1380880097,), (1380880157,), (1380880158,), (1380880159,), (1380880160,), (1380880514,), (1380880516,), (1380880519,), (1380880522,), (1380880525,), (1380880791,), (1380881112,), (1380880783,), (1380880785,), (1380880787,), (1380880789,), (1380881053,), (1380881056,), (1380881058,), (1380881060,), (1380881061,), (1380881062,), (1380881108,), (1380881110,), (1380881433,), (1380881436,), (1380881439,), (1380881715,), (1380881717,), (1380882152,), (1380882153,), (1380882154,), (1380882155,), (1380882325,), (1380882327,), (1380882329,), (1380882331,), (1380882333,), (1380882335,), (1380882420,), (1380882421,), (1380882422,), (1380882570,), (1380882572,), (1380882574,), (1380882576,), (1380882578,), (1380883135,), (1380883136,), (1380883137,), (1380883138,), (1380883139,), (1380883140,), (1380883577,), (1380883581,), (1380883583,), (1380883587,), (1380883590,), (1380883593,), (1380883697,), (1380883698,), (1380883699,), (1380883700,), (1380883701,), (1380883703,), (1380883708,), (1380883709,), (1380883710,), (1380883871,), (1380883873,), (1380883875,), (1380883876,), (1380883877,), (1380883878,), (1380884337,), (1380890696,), (1380891646,), (1380891650,), (1380891654,), (1380892133,), (1380892135,), (1380892473,), (1380892474,), (1380892529,), (1380892530,), (1380892531,), (1380892532,), (1380892533,), (1380892534,), (1380892583,), (1380892584,), (1380892585,), (1380892586,), (1380892587,), (1380892588,), (1380892596,), (1380892598,), (1380892601,), (1380892603,), (1380892605,), (1380892606,), (1380892661,), (1380892662,), (1380892663,), (1380892664,), (1380892665,), (1380892786,), (1380892788,), (1380892790,), (1380892791,), (1380892792,), (1380892840,), (1380892841,), (1380892842,), (1380892843,), (1380892844,), (1380892915,), (1380892916,), (1380892917,), (1380892918,), (1380892919,), (1380892983,), (1380892984,), (1380892985,), (1380892986,), (1380892987,), (1380892988,), (1380893033,), (1380893034,), (1380893035,), (1380893036,), (1380893120,), (1380893121,), (1380893122,), (1380893123,), (1380893124,), (1380893125,), (1380893186,), (1380893187,), (1380893188,), (1380893189,), (1380893190,), (1380893489,), (1380893414,), (1380893485,), (1380893487,), (1380893735,), (1380893738,), (1380893740,), (1380893742,), (1380893744,), (1380893746,), (1380894096,), (1380894099,), (1380894102,), (1380894105,), (1380894108,), (1380894347,), (1380894349,), (1380894351,), (1380894353,), (1380894744,), (1380894746,), (1380894748,), (1380894750,), (1380894752,), (1380894754,), (1380895205,), (1380895207,), (1380895209,), (1380895210,), (1380895211,), (1380895212,), (1380895289,), (1380895290,), (1380895291,), (1380895471,), (1380895472,), (1380895473,), (1380895474,), (1380895475,), (1380895524,), (1380895525,), (1380895526,), (1380895527,), (1380895528,), (1380895643,), (1380895645,), (1380895647,), (1380895649,), (1380895651,), (1380895797,), (1380895798,), (1380895799,), (1380895800,), (1380895906,), (1380895907,), (1380895908,), (1380895909,), (1380895911,), (1380895912,), (1380895918,), (1380895919,), (1380895963,), (1380895964,), (1380895965,), (1380895966,), (1380895967,), (1380895968,), (1380896005,), (1380896006,), (1380896007,), (1380896008,), (1380896054,), (1380896055,), (1380896056,), (1380896057,), (1380896058,), (1380896059,), (1380896190,), (1380896188,), (1380896189,), (1380896294,), (1380896296,), (1380896298,), (1380896300,), (1380896524,), (1380896525,), (1380896526,), (1380896527,), (1380896528,), (1380896805,), (1380896807,), (1380896809,), (1380896811,), (1380896894,), (1380896895,), (1380896896,), (1380896897,), (1380896898,), (1380897001,), (1380897002,), (1380897003,), (1380897004,), (1380897005,), (1380897434,), (1380897436,), (1380897438,), (1380897440,), (1380897442,), (1380897444,), (1380897512,), (1380897515,), (1380897518,), (1380897520,), (1380897721,), (1380897723,), (1380897725,), (1380897727,), (1380897729,), (1380897731,), (1380898089,), (1380898091,), (1380898093,), (1380898537,), (1380898539,), (1380898541,), (1380898543,), (1380898545,), (1380898547,), (1380898698,), (1380898699,), (1380898700,), (1380898701,), (1380899082,), (1380899084,), (1380899086,), (1380899088,), (1380899090,), (1380899092,), (1380899220,), (1380899221,), (1380899222,), (1380899223,), (1380899377,), (1380899379,), (1380899381,), (1380899383,), (1380899385,), (1380899387,), (1380899600,), (1380899601,), (1380899602,), (1380899603,), (1380899604,), (1380899606,), (1380899691,), (1380899743,), (1380899688,), (1380899689,), (1380899690,), (1380899730,), (1380899731,), (1380899733,), (1380899734,), (1380899735,), (1380899736,), (1380899781,), (1380899782,), (1380899783,), (1380899784,), (1380899785,), (1380899876,), (1380899877,), (1380899878,), (1380899879,), (1380899880,), (1380899881,), (1380899918,), (1380899919,), (1380899921,), (1380899923,), (1380899981,), (1380899982,), (1380899983,), (1380900039,), (1380900040,), (1380900041,), (1380900042,), (1380900043,), (1380900044,), (1380900111,), (1380900112,), (1380900113,), (1380900114,), (1380900115,), (1380900196,), (1380900197,), (1380900198,), (1380900242,), (1380900244,), (1380900245,), (1380900246,), (1380900247,), (1380900379,), (1380900380,), (1380900381,), (1380900382,), (1380900383,), (1380900415,), (1380900417,), (1380900419,), (1380900421,), (1380900423,), (1380900425,), (1380900436,), (1380900437,), (1380900439,), (1380900440,), (1380900441,), (1380900470,), (1380900471,), (1380900472,), (1380900473,), (1380901377,), (1380901380,), (1380901383,), (1380901386,), (1380901389,), (1380901392,), (1380902071,), (1380902069,), (1380902938,), (1380902940,), (1380902942,), (1380902944,), (1380902946,), (1380903645,), (1380903647,), (1380903650,), (1380903653,), (1380903656,), (1380904138,), (1380904139,), (1380904140,), (1380904141,), (1380904142,), (1380904143,), (1380904194,), (1380904197,), (1380904199,), (1380904201,), (1380904349,), (1380904351,), (1380904353,), (1380904355,), (1380904642,), (1380904644,), (1380904646,), (1380904649,), (1380904651,), (1380904653,), (1380904696,), (1380904697,), (1380904698,), (1380904972,), (1380904975,), (1380904978,), (1380904981,), (1380905357,), (1380905359,), (1380905361,), (1380905363,), (1380905365,), (1380905367,), (1380905760,), (1380905762,), (1380905764,), (1380905766,), (1380906129,), (1380906130,), (1380906131,), (1380906184,), (1380906185,), (1380906186,), (1380906187,), (1380906188,), (1380906189,), (1380906259,), (1380906260,), (1380906261,), (1380906263,), (1380906292,), (1380906293,), (1380906294,), (1380906295,), (1380906346,), (1380906347,), (1380906348,), (1380906349,), (1380906350,), (1380906351,), (1380906444,), (1380906554,), (1380906436,), (1380906438,), (1380906440,), (1380906442,), (1380906443,), (1380906534,), (1380906535,), (1380906536,), (1380906537,), (1380906538,), (1380906539,), (1380906551,), (1380906552,), (1380906553,), (1380906582,), (1380906583,), (1380906584,), (1380906585,), (1380906586,), (1380906587,), (1380906590,), (1380906591,), (1380906592,), (1380906593,), (1380906594,), (1380906595,), (1380906607,), (1380906608,), (1380906609,), (1380906610,), (1380906611,), (1380906661,), (1380906663,), (1380906665,), (1380906667,), (1380906669,), (1380906671,), (1380906723,), (1380906724,), (1380906725,), (1380906726,), (1380906727,), (1380906728,), (1380906769,), (1380906770,), (1380906771,), (1380906828,), (1380906829,), (1380906830,), (1380906867,), (1380906868,), (1380906870,), (1380906872,), (1380906874,), (1380906966,), (1380906970,), (1380906975,), (1380906980,), (1380906982,), (1380906983,), (1380906987,), (1380906988,), (1380906989,), (1380907035,), (1380907036,), (1380907037,), (1380907038,), (1380907039,), (1380907040,), (1380907074,), (1380907075,), (1380907076,), (1380907077,), (1380907118,), (1380907119,), (1380907151,), (1380907147,), (1380907148,), (1380907149,), (1380907150,), (1380907206,), (1380907207,), (1380907208,), (1380907209,), (1380907210,), (1380907466,), (1380907468,), (1380907470,), (1380907472,), (1380907684,), (1380907685,), (1380907686,), (1380907794,), (1380907795,), (1380907797,), (1380907798,), (1380907833,), (1380907834,), (1380907836,), (1380907837,), (1380907838,), (1380907878,), (1380907879,), (1380907880,), (1380907881,), (1380907882,), (1380907883,), (1380907887,), (1380907888,), (1380907891,), (1380907892,), (1380907921,), (1380907922,), (1380907971,), (1380907972,), (1380907973,), (1380907974,), (1380907975,), (1380907976,), (1380908019,), (1380908020,), (1380908021,), (1380908022,), (1380908060,), (1380908062,), (1380908063,), (1380908064,), (1380908065,), (1380908067,), (1380908106,), (1380908180,), (1380908181,), (1380908182,), (1380908183,), (1380908184,), (1380908185,), (1380908240,), (1380908241,), (1380908242,), (1380908243,), (1380908244,), (1380908313,), (1380908314,), (1380908315,), (1380908317,), (1380908318,), (1380908554,), (1380908707,), (1380908551,), (1380908553,), (1380908694,), (1380908695,), (1380908697,), (1380908698,), (1380908699,), (1380908700,), (1380908703,), (1380908705,), (1380908795,), (1380908796,), (1380908797,), (1380908798,), (1380908799,), (1380908839,), (1380908840,), (1380908841,), (1380908842,), (1380908843,), (1380908891,), (1380908892,), (1380908893,), (1380908936,), (1380908938,), (1380908939,), (1380908940,), (1380908941,), (1380908984,), (1380908985,), (1380908986,), (1380908987,), (1380908988,), (1380908989,), (1380909319,), (1380909321,), (1380909323,), (1380909325,), (1380909327,), (1380909329,), (1380909397,), (1380909398,), (1380909399,), (1380909439,), (1380909440,), (1380909441,), (1380909442,), (1380909443,), (1380909479,), (1380909480,), (1380909481,), (1380909482,), (1380909483,), (1380909505,), (1380909506,), (1380909507,), (1380909508,), (1380909509,), (1380909510,), (1380909542,), (1380909544,), (1380909546,), (1380909683,), (1380909684,), (1380909685,), (1380909686,), (1380909687,), (1380910469,), (1380910471,), (1380910475,), (1380911374,), (1380911364,), (1380911367,), (1380911371,), (1380912147,), (1380912151,), (1380912153,), (1380912687,), (1380912688,), (1380912690,), (1380912692,), (1380912929,), (1380912931,), (1380912933,), (1380913594,), (1380913597,), (1380913599,), (1380913601,), (1380913603,), (1380914037,), (1380914039,), (1380914041,), (1380914044,), (1380914046,), (1380914388,), (1380914389,), (1380914390,), (1380914391,), (1380914392,), (1380914393,), (1380914398,), (1380914399,), (1380914682,), (1380914685,), (1380914688,), (1380914921,), (1380914923,), (1380914924,), (1380914925,), (1380914926,), (1380915039,), (1380915040,), (1380915041,), (1380915042,), (1380915043,), (1380915127,), (1380915128,), (1380915129,), (1380915130,), (1380915202,), (1380915203,), (1380915204,), (1380915205,), (1380915302,), (1380915304,), (1380915306,), (1380915308,), (1380915310,), (1380915315,), (1380915702,), (1380915703,), (1380915704,), (1380915705,), (1380915895,), (1380915897,), (1380915898,), (1380915899,), (1380915900,), (1380915901,), (1380915946,), (1380916189,), (1380915941,), (1380915942,), (1380915943,), (1380915944,), (1380915945,), (1380916159,), (1380916160,), (1380916161,), (1380916162,), (1380916164,), (1380916165,), (1380916186,), (1380916187,), (1380916188,), (1380916319,), (1380916320,), (1380916322,), (1380916323,), (1380916324,), (1380916875,), (1380916877,), (1380916879,), (1380916881,), (1380916883,), (1380917137,), (1380917139,), (1380917141,), (1380917143,), (1380917499,), (1380917500,), (1380917501,), (1380917502,), (1380917503,), (1380917504,), (1380917577,), (1380917579,), (1380917580,), (1380917581,), (1380917637,), (1380917638,), (1380917639,), (1380917640,), (1380917698,), (1380917699,), (1380917700,), (1380917736,), (1380917737,), (1380917738,), (1380917739,), (1380917860,), (1380917862,), (1380917864,), (1380917865,), (1380917866,), (1380917867,), (1380917918,), (1380917919,), (1380917920,), (1380917921,), (1380917922,), (1380917924,), (1380917931,), (1380917932,), (1380917933,), (1380917934,), (1380917935,), (1380917984,), (1380917985,), (1380917987,), (1380917988,), (1380917990,), (1380917991,), (1380918007,), (1380918008,), (1380918032,), (1380918033,), (1380918034,), (1380918035,), (1380918036,), (1380918164,), (1380918165,), (1380918166,), (1380918167,), (1380918168,), (1380918205,), (1380918201,), (1380918202,), (1380918203,), (1380918204,), (1380918337,), (1380918339,), (1380918340,), (1380918400,), (1380918401,), (1380918402,), (1380918403,), (1380918404,), (1380918405,), (1380918454,), (1380918455,), (1380918456,), (1380918457,), (1380918458,), (1380918498,), (1380918499,), (1380918500,), (1380918501,), (1380918502,), (1380918558,), (1380918559,), (1380918560,), (1380918637,), (1380918638,), (1380918639,), (1380918640,), (1380918641,), (1380918642,), (1380918646,), (1380918648,), (1380918683,), (1380918684,), (1380918685,), (1380918686,), (1380918728,), (1380919008,), (1380919726,), (1380921474,), (1380922059,), (1380922061,), (1380923171,), (1380923426,), (1380923571,), (1380923814,), (1380923816,), (1380923818,), (1380923821,), (1380923823,), (1380923825,), (1380923934,), (1380923935,), (1380923937,), (1380923939,), (1380923941,), (1380923942,), (1380923981,), (1380923982,), (1380923983,), (1380923984,), (1380924034,), (1380924035,), (1380924036,), (1380924093,), (1380924094,), (1380924095,), (1380924097,), (1380924098,), (1380924099,), (1380924142,), (1380924143,), (1380924144,), (1380924145,), (1380924146,), (1380924147,), (1380924255,), (1380924256,), (1380924257,), (1380924258,), (1380924259,), (1380924351,), (1380924352,), (1380924353,), (1380924354,), (1380924355,), (1380924356,), (1380924523,), (1380924524,), (1380924525,), (1380924526,), (1380924582,), (1380924657,), (1380924654,), (1380924655,), (1380924656,), (1380924870,), (1380924872,), (1380924874,), (1380924877,), (1380925113,), (1380925115,), (1380925117,), (1380925119,), (1380925121,), (1380925123,), (1380925331,), (1380925332,), (1380925333,), (1380925334,), (1380925335,), (1380925336,), (1380925481,), (1380925484,), (1380925487,), (1380925967,), (1380925969,), (1380925971,), (1380925973,), (1380925975,), (1380925977,), (1380926371,), (1380926373,), (1380926375,), (1380926377,), (1380926379,), (1380926381,), (1380926788,), (1380926790,), (1380926792,), (1380926794,), (1380926909,), (1380926910,), (1380926911,), (1380926912,), (1380926913,), (1380926914,), (1380927208,), (1380927210,), (1380927212,), (1380927214,), (1380927408,), (1380927410,), (1380927412,), (1380927414,), (1380927416,), (1380927418,), (1380927472,), (1380927475,), (1380927569,), (1380927570,), (1380927571,), (1380927572,), (1380927573,), (1380927574,), (1380927878,), (1380927880,), (1380927882,), (1380927884,), (1380927886,), (1380927888,), (1380928004,), (1380928005,), (1380928006,), (1380928007,), (1380928070,), (1380928067,), (1380928068,), (1380928069,), (1380928347,), (1380928388,), (1380928389,), (1380928422,), (1380928484,), (1380928541,), (1380928542,), (1380928579,), (1380928580,), (1380928581,), (1380928582,), (1380928583,), (1380928639,), (1380928640,), (1380928642,), (1380928643,), (1380928644,), (1380928645,), (1380928681,), (1380928682,), (1380928683,), (1380928684,), (1380928927,), (1380928928,), (1380928930,), (1380928932,), (1380928993,), (1380928994,), (1380928995,), (1380928996,), (1380928997,), (1380929056,), (1380929057,), (1380929058,), (1380929059,), (1380929060,), (1380929061,), (1380929216,), (1380929217,), (1380929218,), (1380929271,), (1380929335,), (1380929267,), (1380929268,), (1380929269,), (1380929270,), (1380929324,), (1380929325,), (1380929326,), (1380929327,), (1380929328,), (1380929329,), (1380929332,), (1380929333,), (1380929334,), (1380929367,), (1380929368,), (1380929369,), (1380929370,), (1380929371,), (1380929372,), (1380929405,), (1380929406,), (1380929407,), (1380929408,), (1380929452,), (1380929453,), (1380929455,), (1380929456,), (1380929457,), (1380929458,), (1380929580,), (1380929581,), (1380929582,), (1380929583,), (1380929584,), (1380929685,), (1380929687,), (1380929689,), (1380929691,), (1380930021,), (1380930022,), (1380930023,), (1380930024,), (1380930061,), (1380930062,), (1380930063,), (1380930064,), (1380930065,), (1380930094,), (1380930095,), (1380930096,), (1380930097,), (1380930098,), (1380930099,), (1380930124,), (1380930184,), (1380930186,), (1380930188,), (1380930190,), (1380930334,), (1380930336,), (1380930338,), (1380930340,), (1380930341,), (1380930343,), (1380930443,), (1380930444,), (1380930445,), (1380930446,), (1380930533,), (1380930534,), (1380930536,), (1380930538,), (1380930539,), (1380930540,), (1380930545,), (1380930546,), (1380930548,), (1380930549,), (1380930870,), (1380930866,), (1380930868,), (1380931266,), (1380931269,), (1380931271,), (1380931273,), (1380931275,), (1380931277,), (1380931625,), (1380931626,), (1380931627,), (1380931629,), (1380931630,), (1380931631,), (1380931895,), (1380931896,), (1380931897,), (1380931898,), (1380932253,), (1380932317,), (1380932319,), (1380932321,), (1380932323,), (1380932693,), (1380932695,), (1380932697,), (1380932699,), (1380932701,), (1380932703,), (1380933439,), (1380933441,), (1380933443,), (1380933445,), (1380933447,), (1380933449,), (1380933505,), (1380933507,), (1380933509,), (1380933649,), (1380933652,), (1380933655,), (1380933658,), (1380933661,), (1380934169,), (1380934170,), (1380934171,), (1380934172,), (1380934173,), (1380934275,), (1380934277,), (1380934279,), (1380934281,), (1380934283,), (1380934285,), (1380934713,), (1380934715,), (1380934717,), (1380934720,), (1380935067,), (1380935068,), (1380935069,), (1380935071,), (1380935184,), (1380935186,), (1380935188,), (1380935190,), (1380935192,), (1380935194,), (1380935494,), (1380935540,), (1380935541,), (1380935542,), (1380935543,), (1380935544,), (1380935584,), (1380935585,), (1380935586,), (1380935895,), (1380936645,), (1380935885,), (1380935887,), (1380935889,), (1380935891,), (1380935893,), (1380936503,), (1380936506,), (1380936509,), (1380936512,), (1380936515,), (1380936518,), (1380936629,), (1380936633,), (1380936637,), (1380936641,), (1380937202,), (1380937205,), (1380937208,), (1380937211,), (1380937670,), (1380937672,), (1380937674,), (1380937676,), (1380937678,), (1380937680,), (1380938169,), (1380938172,), (1380938175,), (1380938990,), (1380938993,), (1380938996,), (1380938999,), (1380939273,), (1380939274,), (1380939275,), (1380939276,), (1380939338,), (1380939350,), (1380939351,), (1380939352,), (1380939438,), (1380939440,), (1380939441,), (1380939442,), (1380939532,), (1380939533,), (1380939534,), (1380939535,), (1380939705,), (1380939707,), (1380939709,), (1380939712,), (1380939715,), (1380939718,), (1380940144,), (1380940146,), (1380940148,), (1380940150,), (1380940152,), (1380940154,), (1380940239,), (1380940241,), (1380940243,), (1380940246,), (1380940249,), (1380940252,), (1380940494,), (1380940495,), (1380940496,), (1380940573,), (1380940575,), (1380940577,), (1380940579,), (1380940581,), (1380940958,), (1380940960,), (1380940961,), (1380940962,), (1380940963,), (1380940965,), (1380941511,), (1380941507,), (1380941509,), (1380941933,), (1380941936,), (1380941939,), (1380941942,), (1380941945,), (1380942700,), (1380942702,), (1380942704,), (1380942706,), (1380942708,), (1380942710,), (1380943129,), (1380943131,), (1380943134,), (1380943486,), (1380943488,), (1380943490,), (1380943492,), (1380943494,), (1380943496,), (1380943961,), (1380943964,), (1380943967,), (1380943970,), (1380943973,), (1380944423,), (1380944424,), (1380944425,), (1380944426,), (1380944427,), (1380944428,), (1380944462,), (1380944464,), (1380944466,), (1380944469,), (1380944690,), (1380944692,), (1380944694,), (1380944696,), (1380944698,), (1380945089,), (1380945091,), (1380945093,), (1380945095,), (1380945097,), (1380945730,), (1380945733,), (1380945736,), (1380945739,), (1380945742,), (1380945745,), (1380946456,), (1380946459,), (1380946462,), (1380946466,), (1380946661,), (1380946663,), (1380946665,), (1380946667,), (1380946669,), (1380946671,), (1380947078,), (1380947081,), (1380947084,), (1380947087,), (1380947090,), (1380947319,), (1380947320,), (1380947321,), (1380947438,), (1380947497,), (1380947433,), (1380947434,), (1380947435,), (1380947437,), (1380947476,), (1380947477,), (1380947478,), (1380947480,), (1380947481,), (1380947482,), (1380947489,), (1380947490,), (1380947492,), (1380947494,), (1380947528,), (1380947529,), (1380947531,), (1380947532,), (1380947584,), (1380947585,), (1380947586,), (1380947587,), (1380947629,), (1380947630,), (1380947631,), (1380947632,), (1380947634,), (1380947635,), (1380947678,), (1380947679,), (1380947730,), (1380947731,), (1380947732,), (1380947733,), (1380947734,), (1380947784,), (1380947785,), (1380947786,), (1380947787,), (1380947788,), (1380947789,), (1380947916,), (1380947917,), (1380947918,), (1380947951,), (1380947952,), (1380947953,), (1380948008,), (1380948009,), (1380948010,), (1380948011,), (1380948012,), (1380948013,), (1380948285,), (1380948287,), (1380948289,), (1380948291,), (1380948293,), (1380948295,), (1380948365,), (1380948367,), (1380948369,), (1380948371,), (1380948578,), (1380948579,), (1380948580,), (1380948581,), (1380948719,), (1380948721,), (1380948725,), (1380948727,), (1380948729,), (1380948731,), (1380949458,), (1380949452,), (1380949455,), (1380950054,), (1380950056,), (1380950058,), (1380950060,), (1380950062,), (1380950064,), (1380950423,), (1380950424,), (1380950425,), (1380950426,), (1380950427,), (1380950679,), (1380950682,), (1380950685,), (1380950688,), (1380950691,), (1380951000,), (1380951002,), (1380951004,), (1380951419,), (1380951421,), (1380951423,), (1380951425,), (1380952032,), (1380952034,), (1380952036,), (1380952038,), (1380952040,), (1380952046,), (1380952117,), (1380952119,), (1380952121,), (1380952374,), (1380952377,), (1380952381,), (1380952384,), (1380952387,), (1380952390,), (1380952803,), (1380952804,), (1380952805,), (1380952882,), (1380952883,), (1380952884,), (1380952885,), (1380952886,), (1380952887,), (1380952941,), (1380952942,), (1380952943,), (1380952944,), (1380952945,), (1380952991,), (1380952992,), (1380952993,), (1380952994,), (1380953033,), (1380953034,), (1380953035,), (1380953036,), (1380953078,), (1380953079,), (1380953080,), (1380953081,), (1380953427,), (1380953429,), (1380953431,), (1380953433,), (1380953435,), (1380953839,), (1380954188,), (1380953831,), (1380953833,), (1380953835,), (1380953837,), (1380954151,), (1380954152,), (1380954153,), (1380954154,), (1380954155,), (1380954156,), (1380954184,), (1380954186,), (1380954374,), (1380954376,), (1380954378,), (1380954380,), (1380954382,), (1380954492,), (1380954493,), (1380954494,), (1380954495,), (1380954496,), (1380954497,), (1380954757,), (1380954761,), (1380954766,), (1380955541,), (1380955542,), (1380955543,), (1380955544,), (1380955641,), (1380955642,), (1380955643,), (1380955644,), (1380955646,), (1380955691,), (1380955692,), (1380955693,), (1380955694,), (1380955749,), (1380955750,), (1380955933,), (1380955937,), (1380957496,), (1380957498,), (1380957742,), (1380957744,), (1380958121,), (1380958124,), (1380958535,), (1380958531,), (1380958533,), (1380958953,), (1380958955,), (1380958957,), (1380958959,), (1380958961,), (1380959142,), (1380959144,), (1380959146,), (1380959148,), (1380959150,), (1380959152,), (1380959321,), (1380959323,), (1380959324,), (1380959366,), (1380959367,), (1380959368,), (1380959369,), (1380959370,), (1380959371,), (1380960168,), (1380960173,), (1380960179,), (1380960185,), (1380960900,), (1380960903,), (1380960906,), (1380960908,), (1380960910,), (1380960912,), (1380960972,), (1380960974,), (1380961279,), (1380961281,), (1380961283,), (1380961285,), (1380961287,), (1380961289,), (1380961691,), (1380961694,), (1380961696,), (1380961698,), (1380961700,), (1380961702,), (1380962065,), (1380962071,), (1380962076,), (1380962081,), (1380963031,), (1380963036,), (1380963041,), (1380963046,), (1380963051,), (1380964157,), (1380964163,), (1380964168,), (1380964173,), (1380964912,), (1380964914,), (1380964916,), (1380965430,), (1380965433,), (1380966107,), (1380966114,), (1380966122,), (1380966126,), (1380966132,), (1380967306,), (1380967935,), (1380967296,), (1380967298,), (1380967300,), (1380967302,), (1380967304,), (1380967854,), (1380967856,), (1380967859,), (1380967861,), (1380967863,), (1380967865,), (1380967923,), (1380967926,), (1380967929,), (1380967932,), (1380968449,), (1380968452,), (1380968455,), (1380968458,), (1380968461,), (1380968464,), (1380969022,), (1380969024,), (1380969026,), (1380969028,), (1380969675,), (1380969677,), (1380969681,), (1380969683,), (1380969687,), (1380969904,), (1380969905,), (1380969906,), (1380969907,), (1380969908,), (1380969909,), (1380970564,), (1380970566,), (1380970568,), (1380970570,), (1380971095,), (1380971098,), (1380971100,), (1380971102,), (1380971104,), (1380971511,), (1380971513,), (1380971515,), (1380971517,), (1380971519,), (1380971689,), (1380971691,), (1380971693,), (1380971695,), (1380972812,), (1380972813,), (1380972814,), (1380972815,), (1380972816,), (1380972817,), (1380973028,), (1380973029,), (1380973030,), (1380973032,), (1380973034,), (1380973035,), (1380973042,), (1380973043,), (1380973044,), (1380973045,), (1380973046,), (1380973047,), (1380973204,), (1380973206,), (1380973208,), (1380973210,), (1380974320,), (1380974323,), (1380974326,), (1380974443,), (1380974446,), (1380974449,), (1380974452,), (1380975262,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02092025': {'nb_upload': 55, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26427997]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] map_info['map_portfolio_photo'] : {26427997: [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057]} final : True mtd_id 4302 list_pids : [1380784309, 1380783963, 1380783539, 1380783536, 1380783533, 1380783530, 1380783527, 1380783523, 1380783234, 1380783232, 1380783230, 1380783228, 1380783226, 1380783225, 1380782918, 1380782916, 1380782569, 1380782567, 1380782565, 1380782563, 1380782347, 1380782346, 1380782344, 1380782328, 1380782327, 1380782300, 1380782299, 1380782298, 1380782278, 1380782277, 1380782276, 1380782275, 1380782243, 1380782239, 1380782238, 1380782237, 1380782236, 1380782235, 1380782234, 1380782218, 1380782217, 1380782216, 1380782215, 1380782214, 1380782176, 1380782152, 1380782151, 1380782149, 1380782116, 1380782115, 1380782096, 1380782095, 1380782093, 1380782058, 1380782057] Looping around the photos to save general results len do output : 1 /26427997Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380784309', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487') ('4302', None, None, None, None, None, None, None, '3656487') ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 56 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26427997', 'None', None, None, None, None, '3656487'), ('4302', '26427997', '1380784309', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783963', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783539', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783536', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783533', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783530', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783527', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783523', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783234', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783232', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783230', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783228', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783226', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380783225', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782918', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782916', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782569', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782567', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782565', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782563', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782347', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782346', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782344', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782328', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782327', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782300', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782299', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782298', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782278', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782277', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782276', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782275', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782243', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782239', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782238', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782237', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782236', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782235', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782234', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782218', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782217', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782216', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782215', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782214', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782176', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782152', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782151', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782149', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782116', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782115', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782096', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782095', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782093', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782058', None, None, None, None, None, '3656487'), ('4302', '26427997', '1380782057', None, None, None, None, None, '3656487')] time used for this insertion : 0.028200149536132812 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.021246194839478 time spend to save output : 0.028673648834228516 total time spend for step 5 : 12.049919843673706 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (3656487) 3.39user 2.50system 0:23.19elapsed 25%CPU (0avgtext+0avgdata 169360maxresident)k 544inputs+30224outputs (4major+87363minor)pagefaults 0swaps