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 : 3918526 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 (2590191) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2590191) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557787 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2590191'] with mtr_portfolio_ids : ['20557787'] and first list_photo_ids : [] new path : /proc/3918526/ Name: python3 Umask: 0002 State: R (running) Tgid: 3918526 Ngid: 0 Pid: 3918526 PPid: 3918525 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3918526 NSpid: 3918526 NSpgid: 3916026 NSsid: 3916026 VmPeak: 1106840 kB VmSize: 1106840 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100112 kB VmRSS: 100112 kB RssAnon: 59768 kB RssFile: 40344 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 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: 45 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3918526', 'Ngid': '0', 'Pid': '3918526', 'PPid': '3918525', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3918526', 'NSpid': '3918526', 'NSpgid': '3916026', 'NSsid': '3916026', 'VmPeak': '1106840 kB', 'VmSize': '1106840 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100112 kB', 'VmRSS': '100112 kB', 'RssAnon': '59768 kB', 'RssFile': '40344 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', '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': '45', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '3918526', '1106840', '0', '1106840', '865592', '100112', b'', 'marlene', '2590191') 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 (20557787) 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 (2590191 ) ) 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 (20557787) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1337622130, 'portfolio_id': 20557787}, {'photo_id': 1337622125, 'portfolio_id': 20557787}, {'photo_id': 1337622104, 'portfolio_id': 20557787}, {'photo_id': 1337622100, 'portfolio_id': 20557787}, {'photo_id': 1337622096, 'portfolio_id': 20557787}, {'photo_id': 1337622091, 'portfolio_id': 20557787}, {'photo_id': 1337622085, 'portfolio_id': 20557787}, {'photo_id': 1337622080, 'portfolio_id': 20557787}, {'photo_id': 1337622074, 'portfolio_id': 20557787}, {'photo_id': 1337622071, 'portfolio_id': 20557787}, {'photo_id': 1337622066, 'portfolio_id': 20557787}, {'photo_id': 1337622061, 'portfolio_id': 20557787}, {'photo_id': 1337622057, 'portfolio_id': 20557787}, {'photo_id': 1337622052, 'portfolio_id': 20557787}, {'photo_id': 1337621541, 'portfolio_id': 20557787}, {'photo_id': 1337621539, 'portfolio_id': 20557787}, {'photo_id': 1337621537, 'portfolio_id': 20557787}, {'photo_id': 1337621534, 'portfolio_id': 20557787}, {'photo_id': 1337621532, 'portfolio_id': 20557787}, {'photo_id': 1337620986, 'portfolio_id': 20557787}, {'photo_id': 1337620908, 'portfolio_id': 20557787}, {'photo_id': 1337620878, 'portfolio_id': 20557787}, {'photo_id': 1337620875, 'portfolio_id': 20557787}, {'photo_id': 1337620873, 'portfolio_id': 20557787}, {'photo_id': 1337620872, 'portfolio_id': 20557787}, {'photo_id': 1337620838, 'portfolio_id': 20557787}, {'photo_id': 1337620836, 'portfolio_id': 20557787}, {'photo_id': 1337620002, 'portfolio_id': 20557787}, {'photo_id': 1337619921, 'portfolio_id': 20557787}, {'photo_id': 1337619829, 'portfolio_id': 20557787}, {'photo_id': 1337619351, 'portfolio_id': 20557787}, {'photo_id': 1337619346, 'portfolio_id': 20557787}, {'photo_id': 1337619344, 'portfolio_id': 20557787}, {'photo_id': 1337619296, 'portfolio_id': 20557787}, {'photo_id': 1337619293, 'portfolio_id': 20557787}, {'photo_id': 1337619290, 'portfolio_id': 20557787}, {'photo_id': 1337619287, 'portfolio_id': 20557787}, {'photo_id': 1337619284, 'portfolio_id': 20557787}, {'photo_id': 1337619259, 'portfolio_id': 20557787}, {'photo_id': 1337619256, 'portfolio_id': 20557787}, {'photo_id': 1337619238, 'portfolio_id': 20557787}, {'photo_id': 1337619235, 'portfolio_id': 20557787}, {'photo_id': 1337619233, 'portfolio_id': 20557787}, {'photo_id': 1337619206, 'portfolio_id': 20557787}, {'photo_id': 1337619204, 'portfolio_id': 20557787}] map_portfolio_id_photo_id: {20557787: [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204]} ##### 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.2538795471191406 #### 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 Sat Feb 15 05:53: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20557787) 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 : 20557787 get user id for portfolio 20557787 get sub ptf for main ptf 20557787, type 3726 and hashtags ['metal', 'papier', 'mal_croppe', 'Carton_gris', 'flou', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'kraft', 'autre_refus', 'cartonnette', 'plastique'] 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`=20557787 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','mal_croppe','Carton_gris','flou','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','cartonnette','plastique')) 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`=20557787 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','mal_croppe','Carton_gris','flou','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20557787, 'sub_port_id': 20557790, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221053, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'papier': {'main_port_id': 20557787, 'sub_port_id': 20557791, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221054, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'autre_refus': {'main_port_id': 20557787, 'sub_port_id': 20557792, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221055, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'metal': {'main_port_id': 20557787, 'sub_port_id': 20557793, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221056, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'plastique': {'main_port_id': 20557787, 'sub_port_id': 20557794, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221057, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'Teint_Dans_La_Masse': {'main_port_id': 20557787, 'sub_port_id': 20557795, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221058, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'kraft': {'main_port_id': 20557787, 'sub_port_id': 20557796, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221059, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'Carton_brun': {'main_port_id': 20557787, 'sub_port_id': 20557797, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221060, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'Carton_gris': {'main_port_id': 20557787, 'sub_port_id': 20557798, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221061, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'environnement': {'main_port_id': 20557787, 'sub_port_id': 20557799, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221062, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'flou': {'main_port_id': 20557787, 'sub_port_id': 20557800, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221063, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}, 'cartonnette': {'main_port_id': 20557787, 'sub_port_id': 20557801, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221064, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 58)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20557790 , 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=20557787 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 (20557790) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557791 , 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=20557787 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 (20557791) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557792 , 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=20557787 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 (20557792) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557793 , 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=20557787 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 (20557793) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557794 , 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=20557787 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 (20557794) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557795 , 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=20557787 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 (20557795) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557796 , 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=20557787 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 (20557796) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557797 , 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=20557787 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 (20557797) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557798 , 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=20557787 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 (20557798) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557799 , 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=20557787 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 (20557799) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557800 , 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=20557787 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 (20557800) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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 20557801 , 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=20557787 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 (20557801) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20557787) result : ((1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,)) 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 (1337622100) 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`=20557787 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','mal_croppe','Carton_gris','flou','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','cartonnette','plastique')) 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`=20557787 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','papier','mal_croppe','Carton_gris','flou','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 20557787, 'sub_port_id': 20557802, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221065, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'papier': {'main_port_id': 20557787, 'sub_port_id': 20557803, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221066, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'autre_refus': {'main_port_id': 20557787, 'sub_port_id': 20557804, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221067, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'metal': {'main_port_id': 20557787, 'sub_port_id': 20557805, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221068, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'plastique': {'main_port_id': 20557787, 'sub_port_id': 20557806, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221069, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20557787, 'sub_port_id': 20557807, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221070, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'kraft': {'main_port_id': 20557787, 'sub_port_id': 20557808, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221071, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'Carton_brun': {'main_port_id': 20557787, 'sub_port_id': 20557809, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221072, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'Carton_gris': {'main_port_id': 20557787, 'sub_port_id': 20557810, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221073, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'environnement': {'main_port_id': 20557787, 'sub_port_id': 20557811, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221074, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'flou': {'main_port_id': 20557787, 'sub_port_id': 20557812, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221075, 'last_updated_at': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 13, 52, 59), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}, 'cartonnette': {'main_port_id': 20557787, 'sub_port_id': 20557813, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13221076, 'last_updated_at': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 2, 14, 14, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 2, 14, 13, 52, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557802,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557790 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557803,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557791 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557804,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557792 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557805,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557793 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557806,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557794 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557807,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557795 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557808,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557796 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557809,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557797 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557810,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557798 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557811,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557799 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557812,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557800 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20557813,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20557801 lien utilise dans velours : https://www.fotonower.com/velours/20557802,20557803,20557804,20557805,20557806,20557807,20557808,20557809,20557810,20557811,20557812,20557813?tags=mal_croppe,papier,autre_refus,metal,plastique,Teint_Dans_La_Masse,kraft,Carton_brun,Carton_gris,environnement,flou,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20557787]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] map_info['map_portfolio_photo'] : {20557787: [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204]} final : False mtd_id 4302 list_pids : [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] Looping around the photos to save general results len do output : 1 /20557787. 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, '2590191') ('4302', '20557787', '1337622130', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '20557787', "{'mal_croppe': 20557790, 'papier': 20557791, 'autre_refus': 20557792, 'metal': 20557793, 'plastique': 20557794, 'Teint_Dans_La_Masse': 20557795, 'kraft': 20557796, 'Carton_brun': 20557797, 'Carton_gris': 20557798, 'environnement': 20557799, 'flou': 20557800, 'cartonnette': 20557801}", None, None, None, None, '2590191'), ('4302', '20557787', '1337622130', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191')] time used for this insertion : 0.023306846618652344 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5345375537872314 time spend to save output : 0.023797035217285156 total time spend for step 1 : 1.5583345890045166 step2:final Sat Feb 15 05:54:01 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 (20557787) 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 20557787 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1337619206,1337619204,1337619259,1337619256,1337619238,1337619235,1337619233,1337619296,1337619293,1337619290,1337619287,1337619284,1337619351,1337619346,1337619344,1337620002,1337619921,1337619829,1337620838,1337620836,1337620986,1337620908,1337620878,1337620875,1337620873,1337620872,1337621541,1337621539,1337621537,1337621534,1337621532,1337622130,1337622104,1337622074,1337622071,1337622066,1337622061,1337622057,1337622052,1337622100,1337622096,1337622091,1337622085,1337622080,1337622125); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20557787]) Inside saveOutput : final : False verbose : True original output for save of step final : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} new output for save of step final : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] map_info['map_portfolio_photo'] : {20557787: [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204]} final : False mtd_id 4302 list_pids : [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] Looping around the photos to save general results len do output : 45 /1337622130.Didn't retrieve data . /1337622125.Didn't retrieve data . /1337622104.Didn't retrieve data . /1337622100.Didn't retrieve data . /1337622096.Didn't retrieve data . /1337622091.Didn't retrieve data . /1337622085.Didn't retrieve data . /1337622080.Didn't retrieve data . /1337622074.Didn't retrieve data . /1337622071.Didn't retrieve data . /1337622066.Didn't retrieve data . /1337622061.Didn't retrieve data . /1337622057.Didn't retrieve data . /1337622052.Didn't retrieve data . /1337621541.Didn't retrieve data . /1337621539.Didn't retrieve data . /1337621537.Didn't retrieve data . /1337621534.Didn't retrieve data . /1337621532.Didn't retrieve data . /1337620986.Didn't retrieve data . /1337620908.Didn't retrieve data . /1337620878.Didn't retrieve data . /1337620875.Didn't retrieve data . /1337620873.Didn't retrieve data . /1337620872.Didn't retrieve data . /1337620838.Didn't retrieve data . /1337620836.Didn't retrieve data . /1337620002.Didn't retrieve data . /1337619921.Didn't retrieve data . /1337619829.Didn't retrieve data . /1337619351.Didn't retrieve data . /1337619346.Didn't retrieve data . /1337619344.Didn't retrieve data . /1337619296.Didn't retrieve data . /1337619293.Didn't retrieve data . /1337619290.Didn't retrieve data . /1337619287.Didn't retrieve data . /1337619284.Didn't retrieve data . /1337619259.Didn't retrieve data . /1337619256.Didn't retrieve data . /1337619238.Didn't retrieve data . /1337619235.Didn't retrieve data . /1337619233.Didn't retrieve data . /1337619206.Didn't retrieve data . /1337619204.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, '2590191') ('4302', '20557787', '1337622130', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '20557787', '1337622130', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622125', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622104', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622100', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622096', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622091', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622085', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622080', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622074', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622071', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622066', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622061', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622057', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337622052', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337621541', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337621539', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337621537', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337621534', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337621532', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620986', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620908', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620878', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620875', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620873', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620872', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620838', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620836', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337620002', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619921', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619829', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619351', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619346', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619344', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619296', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619293', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619290', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619287', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619284', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619259', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619256', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619238', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619235', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619233', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619206', '0.0', None, None, None, None, '2590191'), ('4302', '20557787', '1337619204', '0.0', None, None, None, None, '2590191')] time used for this insertion : 0.1457056999206543 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24645137786865234 time spend to save output : 0.14759492874145508 total time spend for step 2 : 0.3940463066101074 step3:velours_tree Sat Feb 15 05:54:01 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 : {20557787: [{'mal_croppe': 20557790, 'papier': 20557791, 'autre_refus': 20557792, 'metal': 20557793, 'plastique': 20557794, 'Teint_Dans_La_Masse': 20557795, 'kraft': 20557796, 'Carton_brun': 20557797, 'Carton_gris': 20557798, 'environnement': 20557799, 'flou': 20557800, 'cartonnette': 20557801}]} input_args_next_step : {20557787: ()} output_args : {20557787: [{'mal_croppe': 20557790, 'papier': 20557791, 'autre_refus': 20557792, 'metal': 20557793, 'plastique': 20557794, 'Teint_Dans_La_Masse': 20557795, 'kraft': 20557796, 'Carton_brun': 20557797, 'Carton_gris': 20557798, 'environnement': 20557799, 'flou': 20557800, 'cartonnette': 20557801}]} args : 20557787 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 : ({'mal_croppe': 20557790, 'papier': 20557791, 'autre_refus': 20557792, 'metal': 20557793, 'plastique': 20557794, 'Teint_Dans_La_Masse': 20557795, 'kraft': 20557796, 'Carton_brun': 20557797, 'Carton_gris': 20557798, 'environnement': 20557799, 'flou': 20557800, 'cartonnette': 20557801},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20557787) 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([20557787]) 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.2994678020477295 time spend to save output : 5.650520324707031e-05 total time spend for step 3 : 0.29952430725097656 step4:send_mail_cod Sat Feb 15 05:54:01 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 : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} input_args_next_step : {1337622130: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622130 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622125 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622104 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622100 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622096 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622091 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622085 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622080 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622074 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622071 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622066 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622061 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622057 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337622052 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337621541 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337621539 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337621537 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337621534 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337621532 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620986 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620908 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620878 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620875 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620873 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620872 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620838 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620836 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337620002 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619921 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619829 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619351 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619346 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619344 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619296 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619293 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619290 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619287 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619284 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619259 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619256 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619238 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619235 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619233 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619206 depend.output_id : 0 input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ()} output_args : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',)} args : 1337619204 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 : {20557787: [{'mal_croppe': 20557790, 'papier': 20557791, 'autre_refus': 20557792, 'metal': 20557793, 'plastique': 20557794, 'Teint_Dans_La_Masse': 20557795, 'kraft': 20557796, 'Carton_brun': 20557797, 'Carton_gris': 20557798, 'environnement': 20557799, 'flou': 20557800, 'cartonnette': 20557801}]} input_args_next_step : {1337622130: ('0.0',), 1337622125: ('0.0',), 1337622104: ('0.0',), 1337622100: ('0.0',), 1337622096: ('0.0',), 1337622091: ('0.0',), 1337622085: ('0.0',), 1337622080: ('0.0',), 1337622074: ('0.0',), 1337622071: ('0.0',), 1337622066: ('0.0',), 1337622061: ('0.0',), 1337622057: ('0.0',), 1337622052: ('0.0',), 1337621541: ('0.0',), 1337621539: ('0.0',), 1337621537: ('0.0',), 1337621534: ('0.0',), 1337621532: ('0.0',), 1337620986: ('0.0',), 1337620908: ('0.0',), 1337620878: ('0.0',), 1337620875: ('0.0',), 1337620873: ('0.0',), 1337620872: ('0.0',), 1337620838: ('0.0',), 1337620836: ('0.0',), 1337620002: ('0.0',), 1337619921: ('0.0',), 1337619829: ('0.0',), 1337619351: ('0.0',), 1337619346: ('0.0',), 1337619344: ('0.0',), 1337619296: ('0.0',), 1337619293: ('0.0',), 1337619290: ('0.0',), 1337619287: ('0.0',), 1337619284: ('0.0',), 1337619259: ('0.0',), 1337619256: ('0.0',), 1337619238: ('0.0',), 1337619235: ('0.0',), 1337619233: ('0.0',), 1337619206: ('0.0',), 1337619204: ('0.0',), 20557787: ()} output_args : {20557787: [{'mal_croppe': 20557790, 'papier': 20557791, 'autre_refus': 20557792, 'metal': 20557793, 'plastique': 20557794, 'Teint_Dans_La_Masse': 20557795, 'kraft': 20557796, 'Carton_brun': 20557797, 'Carton_gris': 20557798, 'environnement': 20557799, 'flou': 20557800, 'cartonnette': 20557801}]} args : 20557787 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 :46, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20557787) 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 (1337622130,1337622125,1337622104,1337622100,1337622096,1337622091,1337622085,1337622080,1337622074,1337622071,1337622066,1337622061,1337622057,1337622052,1337621541,1337621539,1337621537,1337621534,1337621532,1337620986,1337620908,1337620878,1337620875,1337620873,1337620872,1337620838,1337620836,1337620002,1337619921,1337619829,1337619351,1337619346,1337619344,1337619296,1337619293,1337619290,1337619287,1337619284,1337619259,1337619256,1337619238,1337619235,1337619233,1337619206,1337619204) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1337619204 begin to download photo : 1337619293 begin to download photo : 1337620872 begin to download photo : 1337621541 begin to download photo : 1337622096 download finish for photo 1337620872 begin to download photo : 1337620873 download finish for photo 1337619293 begin to download photo : 1337619296 download finish for photo 1337621541 begin to download photo : 1337622052 download finish for photo 1337622096 begin to download photo : 1337622100 download finish for photo 1337620873 begin to download photo : 1337620875 download finish for photo 1337619204 begin to download photo : 1337619206 download finish for photo 1337622052 begin to download photo : 1337622057 download finish for photo 1337619296 begin to download photo : 1337619344 download finish for photo 1337622100 begin to download photo : 1337622104 download finish for photo 1337620875 begin to download photo : 1337620878 download finish for photo 1337619206 begin to download photo : 1337619233 download finish for photo 1337622057 begin to download photo : 1337622061 download finish for photo 1337622104 begin to download photo : 1337622125 download finish for photo 1337619344 begin to download photo : 1337619346 download finish for photo 1337620878 begin to download photo : 1337620908 download finish for photo 1337619233 begin to download photo : 1337619235 download finish for photo 1337622125 begin to download photo : 1337622130 download finish for photo 1337622061 begin to download photo : 1337622066 download finish for photo 1337620908 begin to download photo : 1337620986 download finish for photo 1337619346 begin to download photo : 1337619351 download finish for photo 1337622130 download finish for photo 1337622066 begin to download photo : 1337622071 download finish for photo 1337619235 begin to download photo : 1337619238 download finish for photo 1337619351 begin to download photo : 1337619829 download finish for photo 1337620986 begin to download photo : 1337621532 download finish for photo 1337622071 begin to download photo : 1337622074 download finish for photo 1337619238 begin to download photo : 1337619256 download finish for photo 1337619829 begin to download photo : 1337619921 download finish for photo 1337622074 begin to download photo : 1337622080 download finish for photo 1337621532 begin to download photo : 1337621534 download finish for photo 1337619256 begin to download photo : 1337619259 download finish for photo 1337622080 begin to download photo : 1337622085 download finish for photo 1337619921 begin to download photo : 1337620002 download finish for photo 1337621534 begin to download photo : 1337621537 download finish for photo 1337619259 begin to download photo : 1337619284 download finish for photo 1337622085 begin to download photo : 1337622091 download finish for photo 1337619284 begin to download photo : 1337619287 download finish for photo 1337620002 begin to download photo : 1337620836 download finish for photo 1337621537 begin to download photo : 1337621539 download finish for photo 1337622091 download finish for photo 1337621539 download finish for photo 1337620836 begin to download photo : 1337620838 download finish for photo 1337620838 download finish for photo 1337619287 begin to download photo : 1337619290 download finish for photo 1337619290 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette205577901739595244/ imagette205577921739595244/ imagette205577931739595244/ imagette205577941739595244/ imagette205577961739595244/ imagette205578001739595244/ imagette205578011739595244/ imagette205577951739595244/ imagette205577971739595244/ imagette205577981739595244/ length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P20557787_15-02-2025_05_54_04.pdf 20557790 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=20557790 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577901739595244 20557792 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=20557792 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577921739595244 20557793 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=20557793 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577931739595244 20557794 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=20557794 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577941739595244 20557796 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=20557796 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577961739595244 20557800 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=20557800 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205578001739595244 20557801 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=20557801 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205578011739595244 20557795 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=20557795 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577951739595244 20557797 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=20557797 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577971739595244 20557798 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=20557798 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette205577981739595244 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20557787 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20557802,20557803,20557804,20557805,20557806,20557807,20557808,20557809,20557810,20557811,20557812,20557813?tags=mal_croppe,papier,autre_refus,metal,plastique,Teint_Dans_La_Masse,kraft,Carton_brun,Carton_gris,environnement,flou,cartonnette your option no_mail is active, we will not send the real mail to your client args[1337622130] : ('0.0',) no score found for photo 1337622130 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622125] : ('0.0',) no score found for photo 1337622125 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622104] : ('0.0',) no score found for photo 1337622104 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622100] : ('0.0',) no score found for photo 1337622100 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622096] : ('0.0',) no score found for photo 1337622096 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622091] : ('0.0',) no score found for photo 1337622091 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622085] : ('0.0',) no score found for photo 1337622085 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622080] : ('0.0',) no score found for photo 1337622080 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622074] : ('0.0',) no score found for photo 1337622074 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622071] : ('0.0',) no score found for photo 1337622071 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622066] : ('0.0',) no score found for photo 1337622066 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622061] : ('0.0',) no score found for photo 1337622061 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622057] : ('0.0',) no score found for photo 1337622057 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337622052] : ('0.0',) no score found for photo 1337622052 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337621541] : ('0.0',) no score found for photo 1337621541 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337621539] : ('0.0',) no score found for photo 1337621539 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337621537] : ('0.0',) no score found for photo 1337621537 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337621534] : ('0.0',) no score found for photo 1337621534 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337621532] : ('0.0',) no score found for photo 1337621532 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620986] : ('0.0',) no score found for photo 1337620986 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620908] : ('0.0',) no score found for photo 1337620908 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620878] : ('0.0',) no score found for photo 1337620878 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620875] : ('0.0',) no score found for photo 1337620875 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620873] : ('0.0',) no score found for photo 1337620873 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620872] : ('0.0',) no score found for photo 1337620872 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620838] : ('0.0',) no score found for photo 1337620838 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620836] : ('0.0',) no score found for photo 1337620836 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337620002] : ('0.0',) no score found for photo 1337620002 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619921] : ('0.0',) no score found for photo 1337619921 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619829] : ('0.0',) no score found for photo 1337619829 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619351] : ('0.0',) no score found for photo 1337619351 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619346] : ('0.0',) no score found for photo 1337619346 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619344] : ('0.0',) no score found for photo 1337619344 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619296] : ('0.0',) no score found for photo 1337619296 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619293] : ('0.0',) no score found for photo 1337619293 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619290] : ('0.0',) no score found for photo 1337619290 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619287] : ('0.0',) no score found for photo 1337619287 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619284] : ('0.0',) no score found for photo 1337619284 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619259] : ('0.0',) no score found for photo 1337619259 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619256] : ('0.0',) no score found for photo 1337619256 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619238] : ('0.0',) no score found for photo 1337619238 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619235] : ('0.0',) no score found for photo 1337619235 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619233] : ('0.0',) no score found for photo 1337619233 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619206] : ('0.0',) no score found for photo 1337619206 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1337619204] : ('0.0',) no score found for photo 1337619204 apple ('0.0',) 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=20557787 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_P20557787_15-02-2025_05_54_04.pdf results_Auto_P20557787_15-02-2025_05_54_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557787_15-02-2025_05_54_04.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','20557787','results_Auto_P20557787_15-02-2025_05_54_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557787_15-02-2025_05_54_04.pdf','pdf','','0.34','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20557787]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] map_info['map_portfolio_photo'] : {20557787: [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204]} final : False mtd_id 4302 list_pids : [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] 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, '2590191') ('4302', '20557787', '1337622130', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '20557787', '1337622130', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191')] time used for this insertion : 0.22844958305358887 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.093924283981323 time spend to save output : 0.22893929481506348 total time spend for step 4 : 5.322863578796387 step5:split_time_score Sat Feb 15 05:54:07 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 : ['20557787'] 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 : [('20557787',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20557787) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1337622096: {'path': 'temp/1739595241_3918526_1337622096_6e7174e56942cbf565ce4aca7e0fe2bf.jpg', 'extension': 'jpg'}, 1337622100: {'path': 'temp/1739595241_3918526_1337622100_362ec885f54e05c7db4159579a8d5bd1.jpg', 'extension': 'jpg'}, 1337622104: {'path': 'temp/1739595241_3918526_1337622104_8ed900f42779c209d632a8b34e2a4f89.jpg', 'extension': 'jpg'}, 1337622125: {'path': 'temp/1739595241_3918526_1337622125_33c09ffcb3162a168192d43b2420cad3.jpg', 'extension': 'jpg'}, 1337622130: {'path': 'temp/1739595241_3918526_1337622130_48dd2c2e258503e4b20a2f85f182469d.jpg', 'extension': 'jpg'}, 1337621541: {'path': 'temp/1739595241_3918526_1337621541_c2ce0ae0e7c44df3cafaa9bb1fb036f7.jpg', 'extension': 'jpg'}, 1337622052: {'path': 'temp/1739595241_3918526_1337622052_85c852e82f7b1acfcd7f1f4155793753.jpg', 'extension': 'jpg'}, 1337622057: {'path': 'temp/1739595241_3918526_1337622057_bc0461408929a276184295b135a75d7a.jpg', 'extension': 'jpg'}, 1337622061: {'path': 'temp/1739595241_3918526_1337622061_1b0fc07cbc437a5d78173600ed193fba.jpg', 'extension': 'jpg'}, 1337622066: {'path': 'temp/1739595241_3918526_1337622066_544f1e34119edee9449c3e5394664872.jpg', 'extension': 'jpg'}, 1337622071: {'path': 'temp/1739595241_3918526_1337622071_b937c13877ffc344bb6aebac049ee8e3.jpg', 'extension': 'jpg'}, 1337622074: {'path': 'temp/1739595241_3918526_1337622074_3856a2915fdd8a6d49a736974f655bde.jpg', 'extension': 'jpg'}, 1337622080: {'path': 'temp/1739595241_3918526_1337622080_5d9e0d9e00465971ed856f32fef26aca.jpg', 'extension': 'jpg'}, 1337622085: {'path': 'temp/1739595241_3918526_1337622085_ff651a419c7024f3a6717d9e67f9c41c.jpg', 'extension': 'jpg'}, 1337622091: {'path': 'temp/1739595241_3918526_1337622091_e49fb74f9b5b92fa9db51f0cf270db65.jpg', 'extension': 'jpg'}, 1337620872: {'path': 'temp/1739595241_3918526_1337620872_b6ad3a9e1a07a1c39372395509a196d9.jpg', 'extension': 'jpg'}, 1337620873: {'path': 'temp/1739595241_3918526_1337620873_40423ae713c05460c306f9231863d146.jpg', 'extension': 'jpg'}, 1337620875: {'path': 'temp/1739595241_3918526_1337620875_8aa9d83558b4f6379f77bebcbf60a26a.jpg', 'extension': 'jpg'}, 1337620878: {'path': 'temp/1739595241_3918526_1337620878_d0e61353a7522ced2ba310dae6fcedb8.jpg', 'extension': 'jpg'}, 1337620908: {'path': 'temp/1739595241_3918526_1337620908_f112b7225233814c8bbbf297cbce9c1f.jpg', 'extension': 'jpg'}, 1337620986: {'path': 'temp/1739595241_3918526_1337620986_fdb64ecad29b59d095371b7790baa1fb.jpg', 'extension': 'jpg'}, 1337621532: {'path': 'temp/1739595241_3918526_1337621532_0c12e2d9e35bf0edfe369ccc739c2277.jpg', 'extension': 'jpg'}, 1337621534: {'path': 'temp/1739595241_3918526_1337621534_a7d866bfcaf48da6fff4012794b32211.jpg', 'extension': 'jpg'}, 1337621537: {'path': 'temp/1739595241_3918526_1337621537_aae9b351a5ac244774a88c302c61c8dc.jpg', 'extension': 'jpg'}, 1337621539: {'path': 'temp/1739595241_3918526_1337621539_88aaf54bbbac6db12b1dccc5522de12b.jpg', 'extension': 'jpg'}, 1337619293: {'path': 'temp/1739595241_3918526_1337619293_e12fd107764f5f6593e3065ef7452b6c.jpg', 'extension': 'jpg'}, 1337619296: {'path': 'temp/1739595241_3918526_1337619296_4c41484343a5abd155ff5c78a9f85df7.jpg', 'extension': 'jpg'}, 1337619344: {'path': 'temp/1739595241_3918526_1337619344_543cd2eb0af64cc5ec1f4324beff0b27.jpg', 'extension': 'jpg'}, 1337619346: {'path': 'temp/1739595241_3918526_1337619346_f41c7501668a8a960547f451a76ebc82.jpg', 'extension': 'jpg'}, 1337619351: {'path': 'temp/1739595241_3918526_1337619351_e58436912e0f989de4145b81be617ba1.jpg', 'extension': 'jpg'}, 1337619829: {'path': 'temp/1739595241_3918526_1337619829_323b0b6f851e423c37e3b1a459006928.jpg', 'extension': 'jpg'}, 1337619921: {'path': 'temp/1739595241_3918526_1337619921_1efd84c4c64969cea263498bd703d6ed.jpg', 'extension': 'jpg'}, 1337620002: {'path': 'temp/1739595241_3918526_1337620002_aec6f2dea69bb1a019a4eab0d2e22f7a.jpg', 'extension': 'jpg'}, 1337620836: {'path': 'temp/1739595241_3918526_1337620836_4c8404c90b96f1769a68e25bfb57a635.jpg', 'extension': 'jpg'}, 1337620838: {'path': 'temp/1739595241_3918526_1337620838_16895745b98df47370c39a3bfa13aa15.jpg', 'extension': 'jpg'}, 1337619204: {'path': 'temp/1739595241_3918526_1337619204_0079eb4f5260df9951e8a1172062d211.jpg', 'extension': 'jpg'}, 1337619206: {'path': 'temp/1739595241_3918526_1337619206_f5e7304db337d9e13c7ee907dfd20511.jpg', 'extension': 'jpg'}, 1337619233: {'path': 'temp/1739595241_3918526_1337619233_c499bed190071d27d0fdfcfd483bf77e.jpg', 'extension': 'jpg'}, 1337619235: {'path': 'temp/1739595241_3918526_1337619235_9b4c52ba1b334a604faf90f087b70cb7.jpg', 'extension': 'jpg'}, 1337619238: {'path': 'temp/1739595241_3918526_1337619238_7b7500a9a7317e2a52bd2ab01890f307.jpg', 'extension': 'jpg'}, 1337619256: {'path': 'temp/1739595241_3918526_1337619256_c96c183b8792c2aeda054856d13f81f0.jpg', 'extension': 'jpg'}, 1337619259: {'path': 'temp/1739595241_3918526_1337619259_0fab0a34d0ca4d344c2c8dfbf926ee8a.jpg', 'extension': 'jpg'}, 1337619284: {'path': 'temp/1739595241_3918526_1337619284_93dd8fa4ec9daf8d8fade48d82093b82.jpg', 'extension': 'jpg'}, 1337619287: {'path': 'temp/1739595241_3918526_1337619287_6ae8805d0493ac23655a6c85a07172f9.jpg', 'extension': 'jpg'}, 1337619290: {'path': 'temp/1739595241_3918526_1337619290_b93361510f5ebe8635599a9a73a7280a.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 = 20557787; (('arc_en_ciel_jrm',),) 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 = 20557787 group by h (('13', 45),) 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=20557787 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 (20557787) 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 (20557787) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14022025 20557787 Nombre de photos uploadées : 45 / 23040 (0%) 14022025 20557787 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 14022025 20557787 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1337619206, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/14/f5e7304db337d9e13c7ee907dfd20511.jpg', 'username': None, 'uploaded_at': 1739537407, 'text': 'image_14022025_13_47_44_10140.jpg'}, {'photo_id': 1337619204, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/14/0079eb4f5260df9951e8a1172062d211.jpg', 'username': None, 'uploaded_at': 1739537407, 'text': 'image_14022025_13_49_44_10141.jpg'}, {'photo_id': 1337619259, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/14/0fab0a34d0ca4d344c2c8dfbf926ee8a.jpg', 'username': None, 'uploaded_at': 1739537467, 'text': 'image_14022025_13_49_54_10134.jpg'}, {'photo_id': 1337619256, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/14/c96c183b8792c2aeda054856d13f81f0.jpg', 'username': None, 'uploaded_at': 1739537467, 'text': 'image_14022025_13_50_14_10137.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002108335494995117 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20557787, '2025-02-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1602310,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.028758764266967773 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= 1602310 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20528956, 'dashboard_result_id': 8913235, '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_P20528956_15-02-2025_05_34_39.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20528972, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20529323, 'dashboard_result_id': 8913236, '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_P20529323_15-02-2025_05_35_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20529331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20529332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20529333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20529334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20529335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20529336, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20529337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20529338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20529339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20529340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20529341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20529342, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20529898, 'dashboard_result_id': 8913237, '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_P20529898_15-02-2025_05_35_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20529942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20529943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20529944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20529945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20529946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20529947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20529948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20529949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20529950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20529951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20529952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20529953, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20530407, 'dashboard_result_id': 8913238, '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_P20530407_15-02-2025_05_36_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20530417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20530418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20530419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20530420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20530421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20530422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20530423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20530424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20530425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20530426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20530427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20530428, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20531629, 'dashboard_result_id': 8913239, '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_P20531629_15-02-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20531634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20531635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20531636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20531637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20531638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20531639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20531640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20531641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20531642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20531643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20531644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20531645, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20532056, 'dashboard_result_id': 8913240, '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_P20532056_14-02-2025_02_09_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20532090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20532091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20532092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20532093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20532094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20532095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20532096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20532097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20532098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20532099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20532100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20532101, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20532588, 'dashboard_result_id': 8913241, '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_P20532588_15-02-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20532598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20532599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20532600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20532601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20532602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20532603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20532604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20532605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20532606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20532607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20532608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20532609, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20533322, 'dashboard_result_id': 8913242, '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_P20533322_15-02-2025_05_38_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20533364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20533365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20533366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20533367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20533368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20533369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20533370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20533371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20533372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20533373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20533374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20533375, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20533950, 'dashboard_result_id': 8913243, '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_P20533950_15-02-2025_05_38_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20533992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20533993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20533994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20533995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20533996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20533997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20533998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20533999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20534000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20534001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20534002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20534003, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20534742, 'dashboard_result_id': 8913244, '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_P20534742_15-02-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20534750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20534751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20534752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20534753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20534754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20534755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20534756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20534757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20534758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20534759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20534760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20534761, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20535448, 'dashboard_result_id': 8913245, '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_P20535448_15-02-2025_05_39_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20535475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20535476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20535477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20535478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20535479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20535480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20535481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20535482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20535483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20535484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20535485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20535486, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20535988, 'dashboard_result_id': 8913246, '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_P20535988_15-02-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20536016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20536017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20536018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20536019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20536020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20536021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20536022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20536023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20536024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20536025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20536026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20536027, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20536642, 'dashboard_result_id': 8913247, '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_P20536642_15-02-2025_05_40_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20536717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20536718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20536719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20536720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20536721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20536722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20536723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20536724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20536725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20536726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20536727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20536728, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20537361, 'dashboard_result_id': 8913248, '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_P20537361_15-02-2025_05_41_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20537416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20537417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20537418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20537419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20537420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20537421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20537422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20537423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20537424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20537425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20537426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20537427, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20539501, 'dashboard_result_id': 8913249, '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_P20539501_15-02-2025_05_41_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20539530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20539531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20539532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20539533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20539534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20539535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20539536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20539537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20539538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20539539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20539540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20539541, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20539751, 'dashboard_result_id': 8913250, '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_P20539751_15-02-2025_05_41_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20539755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20539756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20539757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20539758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20539759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20539760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20539761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20539762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20539763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20539764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20539765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20539766, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20540458, 'dashboard_result_id': 8913251, '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_P20540458_15-02-2025_05_42_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20540462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20540463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20540464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20540465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20540466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20540467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20540468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20540469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20540470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20540471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20540472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20540473, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20540844, 'dashboard_result_id': 8913252, '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_P20540844_15-02-2025_05_42_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20540869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20540870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20540871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20540872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20540873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20540874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20540875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20540876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20540877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20540878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20540879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20540880, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20541686, 'dashboard_result_id': 8913253, '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_P20541686_15-02-2025_05_43_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20541687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20541688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20541689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20541690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20541691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20541692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20541693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20541694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20541695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20541696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20541697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20541698, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20542094, 'dashboard_result_id': 8913254, '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_P20542094_15-02-2025_05_43_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20542122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20542123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20542124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20542125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20542126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20542127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20542128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20542129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20542130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20542131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20542132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20542133, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20542797, 'dashboard_result_id': 8913255, '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_P20542797_15-02-2025_05_44_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20542800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20542801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20542802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20542803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20542804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20542805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20542806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20542807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20542808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20542809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20542810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20542811, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20543208, 'dashboard_result_id': 8913256, '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_P20543208_15-02-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20543272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20543273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20543274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20543275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20543276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20543277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20543278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20543279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20543280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20543281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20543282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20543283, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20543782, 'dashboard_result_id': 8913257, '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_P20543782_15-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20543813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20543814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20543815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20543816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20543817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20543818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20543819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20543820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20543821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20543822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20543823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20543824, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20544197, 'dashboard_result_id': 8913258, '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_P20544197_15-02-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20544313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20544314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20544315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20544316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20544317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20544318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20544319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20544320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20544321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20544322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20544323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20544324, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20545095, 'dashboard_result_id': 8913259, '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_P20545095_15-02-2025_05_46_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20545182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20545183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20545184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20545185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20545186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20545187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20545188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20545189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20545190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20545191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20545192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20545193, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20545860, 'dashboard_result_id': 8913260, '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_P20545860_15-02-2025_05_46_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20545868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20545869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20545870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20545871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20545872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20545873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20545874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20545875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20545876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20545877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20545878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20545879, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20546488, 'dashboard_result_id': 8913261, '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_P20546488_15-02-2025_05_47_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20546528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20546529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20546530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20546531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20546532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20546533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20546534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20546535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20546536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20546537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20546538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20546539, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20547230, 'dashboard_result_id': 8913262, '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_P20547230_15-02-2025_05_47_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20547283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20547284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20547285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20547286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20547287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20547288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20547289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20547290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20547291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20547292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20547293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20547294, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20547922, 'dashboard_result_id': 8913263, '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_P20547922_15-02-2025_05_48_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20547974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20547975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20547976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20547977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20547978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20547979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20547980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20547981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20547982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20547983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20547984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20547985, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20548427, 'dashboard_result_id': 8913264, '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_P20548427_15-02-2025_05_48_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20548485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20548486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20548487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20548488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20548489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20548490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20548491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20548492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20548493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20548494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20548495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20548496, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20549751, 'dashboard_result_id': 8913265, '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_P20549751_15-02-2025_05_49_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20549779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20549780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20549781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20549782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20549783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20549784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20549785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20549786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20549787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20549788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20549789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20549790, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20550281, 'dashboard_result_id': 8913266, '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_P20550281_15-02-2025_05_49_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20550284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20550285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20550286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20550287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20550288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20550289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20550290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20550291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20550292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20550293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20550294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20550295, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20550751, 'dashboard_result_id': 8913267, '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_P20550751_15-02-2025_05_49_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20550756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20550757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20550758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20550759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20550760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20550761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20550762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20550763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20550764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20550765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20550766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20550767, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20551238, 'dashboard_result_id': 8913268, '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_P20551238_15-02-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20551246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20551247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20551248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20551249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20551250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20551251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20551252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20551253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20551254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20551255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20551256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20551257, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20552037, 'dashboard_result_id': 8913269, '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_P20552037_15-02-2025_05_50_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20552046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20552047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20552048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20552049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20552050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20552051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20552052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20552053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20552054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20552055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20552056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20552057, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20552543, 'dashboard_result_id': 8913270, '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_P20552543_15-02-2025_05_51_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20552551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20552552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20552553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20552554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20552555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20552556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20552557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20552558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20552559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20552560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20552561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20552562, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20553100, 'dashboard_result_id': 8913271, '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_P20553100_15-02-2025_05_51_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20553157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20553158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20553159, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20553160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20553161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20553162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20553163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20553164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20553165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20553166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20553167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20553168, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20553901, 'dashboard_result_id': 8913272, '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_P20553901_15-02-2025_05_52_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20553921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20553922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20553923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20553924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20553925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20553926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20553927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20553929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20553930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20553931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20553932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20553933, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20554566, 'dashboard_result_id': 8913273, '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_P20554566_15-02-2025_05_52_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20554597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20554598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20554599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20554600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20554601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20554602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20554603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20554604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20554605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20554606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20554607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20554608, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20555205, 'dashboard_result_id': 8913274, '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_P20555205_15-02-2025_05_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20555259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20555260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20555261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20555262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20555263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20555264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20555265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20555266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20555267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20555268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20555269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20555270, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20555810, 'dashboard_result_id': 8913275, '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_P20555810_15-02-2025_05_53_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20555811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20555812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20555813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20555814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20555815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20555816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20555817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20555818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20555819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20555820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20555821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20555822, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20557787, 'dashboard_result_id': 8913276, '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_P20557787_14-02-2025_14_02_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20557790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20557791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20557792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20557793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20557794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20557795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20557796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20557797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20557798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20557799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20557800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20557801, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20557946, 'dashboard_result_id': 8913277, '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_P20557946_14-02-2025_14_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20557955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20557956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20557957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20557958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20557959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20557960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20557961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20557962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20557963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20557964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20557965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20557966, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20558344, 'dashboard_result_id': 8913278, '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_P20558344_14-02-2025_14_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20558352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20558353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20558354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20558355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20558356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20558357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20558358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20558359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20558360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20558361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20558362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20558363, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20558743, 'dashboard_result_id': 8913279, '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_P20558743_14-02-2025_14_49_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20558753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20558754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20558755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20558756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20558757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20558758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20558759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20558760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20558761, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20558762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20558763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20558764, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20559464, 'dashboard_result_id': 8913280, '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_P20559464_14-02-2025_15_22_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20559473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20559474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20559475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20559476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20559477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20559478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20559479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20559480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20559481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20559482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20559483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20559484, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20561274, 'dashboard_result_id': 8913281, '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_P20561274_14-02-2025_15_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20561277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20561278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20561279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20561280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20561281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20561282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20561283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20561284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20561285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20561286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20561287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20561288, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20561560, 'dashboard_result_id': 8913282, '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_P20561560_14-02-2025_16_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20561592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20561593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20561594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20561595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20561596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20561597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20561598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20561599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20561600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20561601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20561602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20561603, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20562576, 'dashboard_result_id': 8913283, '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_P20562576_14-02-2025_16_19_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20562578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20562579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20562580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20562581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20562582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20562583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20562584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20562585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20562586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20562587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20562588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20562589, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20562858, 'dashboard_result_id': 8913284, '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_P20562858_14-02-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20562884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20562885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20562887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20562893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20562899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20562901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20562902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20562903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20562904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20562905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20562906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20562907, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20563690, 'dashboard_result_id': 8913285, '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_P20563690_14-02-2025_16_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20563714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20563715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20563716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20563717, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20563718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20563719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20563720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20563721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20563722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20563723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20563724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20563725, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20564485, 'dashboard_result_id': 8913286, '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_P20564485_14-02-2025_17_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20564512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20564513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20564514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20564515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20564516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20564517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20564518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20564519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20564520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20564521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20564522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20564523, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20565174, 'dashboard_result_id': 8913287, '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_P20565174_14-02-2025_17_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20565182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20565183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20565184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20565185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20565186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20565187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20565188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20565189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20565190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20565191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20565192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20565193, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20565915, 'dashboard_result_id': 8913288, '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_P20565915_14-02-2025_17_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20565923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20565924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20565925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20565926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20565927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20565928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20565929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20565930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20565931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20565932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20565933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20565934, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20567615, 'dashboard_result_id': 8913289, '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_P20567615_14-02-2025_18_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20567624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20567625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20567626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20567627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20567628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20567629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20567630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20567631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20567632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20567633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20567634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20567635, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20568135, 'dashboard_result_id': 8913290, '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_P20568135_14-02-2025_18_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20568145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20568146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20568147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20568148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20568149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20568150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20568151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20568152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20568153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20568154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20568155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20568156, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20568740, 'dashboard_result_id': 8913291, '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_P20568740_14-02-2025_18_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20568809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20568810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20568811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20568812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20568813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20568814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20568815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20568816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20568817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20568818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20568819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20568820, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20569515, 'dashboard_result_id': 8913292, '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_P20569515_14-02-2025_19_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20569522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20569523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20569524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20569525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20569526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20569527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20569528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20569529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20569530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20569531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20569532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20569533, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20570320, 'dashboard_result_id': 8913293, '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_P20570320_14-02-2025_19_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20570327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20570328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20570329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20570330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20570331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20570332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20570333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20570334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20570335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20570336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20570337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20570338, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20570869, 'dashboard_result_id': 8913294, '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_P20570869_14-02-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20570915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20570916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20570917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20570918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20570919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20570920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20570921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20570922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20570923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20570924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20570925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20570926, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20571584, 'dashboard_result_id': 8913295, '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_P20571584_14-02-2025_19_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20571635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20571636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20571637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20571638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20571639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20571640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20571641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20571642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20571643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20571644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20571645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20571646, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20572736, 'dashboard_result_id': 8913296, '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_P20572736_14-02-2025_20_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20572743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20572744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20572745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20572746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20572747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20572748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20572749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20572750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20572751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20572752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20572753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20572754, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20573441, 'dashboard_result_id': 8913297, '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_P20573441_14-02-2025_20_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20573449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20573450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20573451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20573452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20573453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20573454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20573455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20573456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20573457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20573458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20573459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20573460, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20574155, 'dashboard_result_id': 8913298, '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_P20574155_14-02-2025_20_33_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20574160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20574161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20574162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20574163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20574164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20574165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20574166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20574167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20574168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20574169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20574170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20574171, 'pht': 3726}}"}, {'dashboat_entry_day': 1602310, 'dashboard_run_id': 1613405, 'mtr_portfolio_id': 20574945, 'dashboard_result_id': 8913299, '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_P20574945_14-02-2025_21_09_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20574978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20574979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20574980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20574981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20574982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20574983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20574984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20574985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20574986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20574987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20574988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20574989, '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 = 20528956 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': 2590150, 'mtr_portfolio_id': 20528956, 'created_at': datetime.datetime(2025, 2, 15, 5, 34, 36), 'result': '0.036388617341893234', 'result_long': None, 'result_double': None}] Qualite : 0.036388617341893234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20528956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528956_15-02-2025_05_34_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20528956 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_P20528956_15-02-2025_05_34_39.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20528972, 'pht': 3726}}" where mtr_portfolio_id = 20528956 and dashboard_run_id = 1613405 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`=20528956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913235, 0.036388617341893234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20528956_15-02-2025_05_34_39.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20528961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20528962, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20528963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20528964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20528965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20528966, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20528967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20528968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20528969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20528970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20528971, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20528972, '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 = 20529323 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': 2590151, 'mtr_portfolio_id': 20529323, 'created_at': datetime.datetime(2025, 2, 15, 5, 35, 1), 'result': '0.04308913514169891', 'result_long': None, 'result_double': None}] Qualite : 0.04308913514169891 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20529323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20529323_15-02-2025_05_35_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20529323 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_P20529323_15-02-2025_05_35_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20529331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20529332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20529333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20529334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20529335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20529336, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20529337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20529338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20529339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20529340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20529341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20529342, 'pht': 3726}}" where mtr_portfolio_id = 20529323 and dashboard_run_id = 1613405 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`=20529323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913236, 0.04308913514169891, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20529323_15-02-2025_05_35_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20529331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20529332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20529333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20529334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20529335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20529336, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20529337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20529338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20529339, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20529340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20529341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20529342, '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 = 20529898 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': 2590152, 'mtr_portfolio_id': 20529898, 'created_at': datetime.datetime(2025, 2, 15, 5, 35, 32), 'result': '0.031879270965711026', 'result_long': None, 'result_double': None}] Qualite : 0.031879270965711026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20529898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20529898_15-02-2025_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20529898 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_P20529898_15-02-2025_05_35_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20529942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20529943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20529944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20529945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20529946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20529947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20529948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20529949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20529950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20529951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20529952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20529953, 'pht': 3726}}" where mtr_portfolio_id = 20529898 and dashboard_run_id = 1613405 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`=20529898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913237, 0.031879270965711026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20529898_15-02-2025_05_35_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20529942, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20529943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20529944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20529945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20529946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20529947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20529948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20529949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20529950, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20529951, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20529952, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20529953, '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 = 20530407 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': 2590153, 'mtr_portfolio_id': 20530407, 'created_at': datetime.datetime(2025, 2, 15, 5, 36, 5), 'result': '0.034633313613288495', 'result_long': None, 'result_double': None}] Qualite : 0.034633313613288495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20530407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20530407_15-02-2025_05_36_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20530407 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_P20530407_15-02-2025_05_36_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20530417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20530418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20530419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20530420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20530421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20530422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20530423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20530424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20530425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20530426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20530427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20530428, 'pht': 3726}}" where mtr_portfolio_id = 20530407 and dashboard_run_id = 1613405 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`=20530407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913238, 0.034633313613288495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20530407_15-02-2025_05_36_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20530417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20530418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20530419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20530420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20530421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20530422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20530423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20530424, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20530425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20530426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20530427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20530428, '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 = 20531629 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': 2590154, 'mtr_portfolio_id': 20531629, 'created_at': datetime.datetime(2025, 2, 15, 5, 36, 30), 'result': '0.05409177737731661', 'result_long': None, 'result_double': None}] Qualite : 0.05409177737731661 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20531629 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20531629_15-02-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20531629 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_P20531629_15-02-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20531634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20531635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20531636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20531637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20531638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20531639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20531640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20531641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20531642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20531643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20531644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20531645, 'pht': 3726}}" where mtr_portfolio_id = 20531629 and dashboard_run_id = 1613405 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`=20531629 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913239, 0.05409177737731661, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20531629_15-02-2025_05_36_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20531634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20531635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20531636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20531637, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20531638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20531639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20531640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20531641, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20531642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20531643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20531644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20531645, '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 = 20532056 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': 2590155, 'mtr_portfolio_id': 20532056, 'created_at': datetime.datetime(2025, 2, 15, 5, 37, 2), 'result': '0.033986930426422306', 'result_long': None, 'result_double': None}] Qualite : 0.033986930426422306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20532056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20532056_14-02-2025_02_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20532056 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_P20532056_14-02-2025_02_09_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20532090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20532091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20532092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20532093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20532094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20532095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20532096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20532097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20532098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20532099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20532100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20532101, 'pht': 3726}}" where mtr_portfolio_id = 20532056 and dashboard_run_id = 1613405 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`=20532056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913240, 0.033986930426422306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20532056_14-02-2025_02_09_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20532090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20532091, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20532092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20532093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20532094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20532095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20532096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20532097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20532098, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20532099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20532100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20532101, '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 = 20532588 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': 2590156, 'mtr_portfolio_id': 20532588, 'created_at': datetime.datetime(2025, 2, 15, 5, 37, 33), 'result': '0.039124204887396236', 'result_long': None, 'result_double': None}] Qualite : 0.039124204887396236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20532588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20532588_15-02-2025_05_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20532588 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_P20532588_15-02-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20532598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20532599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20532600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20532601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20532602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20532603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20532604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20532605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20532606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20532607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20532608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20532609, 'pht': 3726}}" where mtr_portfolio_id = 20532588 and dashboard_run_id = 1613405 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`=20532588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913241, 0.039124204887396236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20532588_15-02-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20532598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20532599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20532600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20532601, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20532602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20532603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20532604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20532605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20532606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20532607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20532608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20532609, '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 = 20533322 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': 2590157, 'mtr_portfolio_id': 20533322, 'created_at': datetime.datetime(2025, 2, 15, 5, 38, 5), 'result': '0.07796453833669648', 'result_long': None, 'result_double': None}] Qualite : 0.07796453833669648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20533322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20533322_15-02-2025_05_38_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20533322 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_P20533322_15-02-2025_05_38_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20533364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20533365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20533366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20533367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20533368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20533369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20533370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20533371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20533372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20533373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20533374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20533375, 'pht': 3726}}" where mtr_portfolio_id = 20533322 and dashboard_run_id = 1613405 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`=20533322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913242, 0.07796453833669648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20533322_15-02-2025_05_38_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20533364, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20533365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20533366, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20533367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20533368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20533369, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20533370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20533371, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20533372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20533373, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20533374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20533375, '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 = 20533950 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': 2590158, 'mtr_portfolio_id': 20533950, 'created_at': datetime.datetime(2025, 2, 15, 5, 38, 30), 'result': '0.05974940718747002', 'result_long': None, 'result_double': None}] Qualite : 0.05974940718747002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20533950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20533950_15-02-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20533950 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_P20533950_15-02-2025_05_38_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20533992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20533993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20533994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20533995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20533996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20533997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20533998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20533999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20534000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20534001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20534002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20534003, 'pht': 3726}}" where mtr_portfolio_id = 20533950 and dashboard_run_id = 1613405 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`=20533950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913243, 0.05974940718747002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20533950_15-02-2025_05_38_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20533992, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20533993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20533994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20533995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20533996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20533997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20533998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20533999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20534000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20534001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20534002, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20534003, '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 = 20534742 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': 2590159, 'mtr_portfolio_id': 20534742, 'created_at': datetime.datetime(2025, 2, 15, 5, 39, 2), 'result': '0.05046540683963823', 'result_long': None, 'result_double': None}] Qualite : 0.05046540683963823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20534742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20534742_15-02-2025_05_39_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20534742 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_P20534742_15-02-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20534750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20534751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20534752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20534753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20534754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20534755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20534756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20534757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20534758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20534759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20534760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20534761, 'pht': 3726}}" where mtr_portfolio_id = 20534742 and dashboard_run_id = 1613405 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`=20534742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913244, 0.05046540683963823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20534742_15-02-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20534750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20534751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20534752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20534753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20534754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20534755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20534756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20534757, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20534758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20534759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20534760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20534761, '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 = 20535448 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': 2590160, 'mtr_portfolio_id': 20535448, 'created_at': datetime.datetime(2025, 2, 15, 5, 39, 38), 'result': '0.043829976659302695', 'result_long': None, 'result_double': None}] Qualite : 0.043829976659302695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20535448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20535448_15-02-2025_05_39_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20535448 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_P20535448_15-02-2025_05_39_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20535475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20535476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20535477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20535478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20535479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20535480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20535481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20535482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20535483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20535484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20535485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20535486, 'pht': 3726}}" where mtr_portfolio_id = 20535448 and dashboard_run_id = 1613405 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`=20535448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913245, 0.043829976659302695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20535448_15-02-2025_05_39_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20535475, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20535476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20535477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20535478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20535479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20535480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20535481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20535482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20535483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20535484, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20535485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20535486, '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 = 20535988 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': 2590161, 'mtr_portfolio_id': 20535988, 'created_at': datetime.datetime(2025, 2, 15, 5, 40), 'result': '0.05179956494334689', 'result_long': None, 'result_double': None}] Qualite : 0.05179956494334689 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20535988 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20535988_15-02-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20535988 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_P20535988_15-02-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20536016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20536017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20536018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20536019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20536020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20536021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20536022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20536023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20536024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20536025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20536026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20536027, 'pht': 3726}}" where mtr_portfolio_id = 20535988 and dashboard_run_id = 1613405 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`=20535988 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913246, 0.05179956494334689, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20535988_15-02-2025_05_40_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20536016, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20536017, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20536018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20536019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20536020, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20536021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20536022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20536023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20536024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20536025, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20536026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20536027, '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 = 20536642 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': 2590162, 'mtr_portfolio_id': 20536642, 'created_at': datetime.datetime(2025, 2, 15, 5, 40, 33), 'result': '0.050899958750849156', 'result_long': None, 'result_double': None}] Qualite : 0.050899958750849156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20536642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20536642_15-02-2025_05_40_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20536642 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_P20536642_15-02-2025_05_40_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20536717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20536718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20536719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20536720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20536721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20536722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20536723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20536724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20536725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20536726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20536727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20536728, 'pht': 3726}}" where mtr_portfolio_id = 20536642 and dashboard_run_id = 1613405 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`=20536642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913247, 0.050899958750849156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20536642_15-02-2025_05_40_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20536717, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20536718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20536719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20536720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20536721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20536722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20536723, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20536724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20536725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20536726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20536727, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20536728, '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 = 20537361 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': 2590163, 'mtr_portfolio_id': 20537361, 'created_at': datetime.datetime(2025, 2, 15, 5, 40, 59), 'result': '0.038281811199517554', 'result_long': None, 'result_double': None}] Qualite : 0.038281811199517554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20537361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20537361_15-02-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20537361 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_P20537361_15-02-2025_05_41_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20537416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20537417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20537418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20537419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20537420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20537421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20537422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20537423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20537424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20537425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20537426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20537427, 'pht': 3726}}" where mtr_portfolio_id = 20537361 and dashboard_run_id = 1613405 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`=20537361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913248, 0.038281811199517554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20537361_15-02-2025_05_41_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20537416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20537417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20537418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20537419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20537420, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20537421, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20537422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20537423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20537424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20537425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20537426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20537427, '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 = 20539501 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': 2590164, 'mtr_portfolio_id': 20539501, 'created_at': datetime.datetime(2025, 2, 15, 5, 41, 2), 'result': '0.03931490470978996', 'result_long': None, 'result_double': None}] Qualite : 0.03931490470978996 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20539501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20539501_15-02-2025_05_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20539501 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_P20539501_15-02-2025_05_41_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20539530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20539531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20539532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20539533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20539534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20539535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20539536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20539537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20539538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20539539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20539540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20539541, 'pht': 3726}}" where mtr_portfolio_id = 20539501 and dashboard_run_id = 1613405 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`=20539501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913249, 0.03931490470978996, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20539501_15-02-2025_05_41_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20539530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20539531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20539532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20539533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20539534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20539535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20539536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20539537, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20539538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20539539, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20539540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20539541, '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 = 20539751 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': 2590165, 'mtr_portfolio_id': 20539751, 'created_at': datetime.datetime(2025, 2, 15, 5, 41, 33), 'result': '0.041966444103308694', 'result_long': None, 'result_double': None}] Qualite : 0.041966444103308694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20539751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20539751_15-02-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20539751 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_P20539751_15-02-2025_05_41_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20539755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20539756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20539757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20539758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20539759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20539760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20539761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20539762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20539763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20539764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20539765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20539766, 'pht': 3726}}" where mtr_portfolio_id = 20539751 and dashboard_run_id = 1613405 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`=20539751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913250, 0.041966444103308694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20539751_15-02-2025_05_41_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20539755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20539756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20539757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20539758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20539759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20539760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20539761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20539762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20539763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20539764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20539765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20539766, '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 = 20540458 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': 2590166, 'mtr_portfolio_id': 20540458, 'created_at': datetime.datetime(2025, 2, 15, 5, 42, 5), 'result': '0.0540626918719401', 'result_long': None, 'result_double': None}] Qualite : 0.0540626918719401 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20540458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20540458_15-02-2025_05_42_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20540458 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_P20540458_15-02-2025_05_42_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20540462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20540463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20540464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20540465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20540466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20540467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20540468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20540469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20540470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20540471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20540472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20540473, 'pht': 3726}}" where mtr_portfolio_id = 20540458 and dashboard_run_id = 1613405 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`=20540458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913251, 0.0540626918719401, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20540458_15-02-2025_05_42_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20540462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20540463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20540464, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20540465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20540466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20540467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20540468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20540469, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20540470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20540471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20540472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20540473, '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 = 20540844 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': 2590167, 'mtr_portfolio_id': 20540844, 'created_at': datetime.datetime(2025, 2, 15, 5, 42, 38), 'result': '0.05006246794214298', 'result_long': None, 'result_double': None}] Qualite : 0.05006246794214298 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20540844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20540844_15-02-2025_05_42_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20540844 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_P20540844_15-02-2025_05_42_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20540869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20540870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20540871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20540872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20540873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20540874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20540875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20540876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20540877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20540878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20540879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20540880, 'pht': 3726}}" where mtr_portfolio_id = 20540844 and dashboard_run_id = 1613405 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`=20540844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913252, 0.05006246794214298, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20540844_15-02-2025_05_42_41.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20540869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20540870, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20540871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20540872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20540873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20540874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20540875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20540876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20540877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20540878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20540879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20540880, '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 = 20541686 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': 2590168, 'mtr_portfolio_id': 20541686, 'created_at': datetime.datetime(2025, 2, 15, 5, 42, 59), 'result': '0.033569839259477645', 'result_long': None, 'result_double': None}] Qualite : 0.033569839259477645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20541686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20541686_15-02-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20541686 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_P20541686_15-02-2025_05_43_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20541687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20541688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20541689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20541690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20541691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20541692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20541693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20541694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20541695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20541696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20541697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20541698, 'pht': 3726}}" where mtr_portfolio_id = 20541686 and dashboard_run_id = 1613405 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`=20541686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913253, 0.033569839259477645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20541686_15-02-2025_05_43_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20541687, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20541688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20541689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20541690, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20541691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20541692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20541693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20541694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20541695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20541696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20541697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20541698, '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 = 20542094 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': 2590169, 'mtr_portfolio_id': 20542094, 'created_at': datetime.datetime(2025, 2, 15, 5, 43, 34), 'result': '0.04362257935014833', 'result_long': None, 'result_double': None}] Qualite : 0.04362257935014833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20542094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20542094_15-02-2025_05_43_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20542094 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_P20542094_15-02-2025_05_43_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20542122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20542123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20542124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20542125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20542126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20542127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20542128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20542129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20542130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20542131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20542132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20542133, 'pht': 3726}}" where mtr_portfolio_id = 20542094 and dashboard_run_id = 1613405 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`=20542094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913254, 0.04362257935014833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20542094_15-02-2025_05_43_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20542122, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20542123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20542124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20542125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20542126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20542127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20542128, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20542129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20542130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20542131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20542132, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20542133, '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 = 20542797 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': 2590170, 'mtr_portfolio_id': 20542797, 'created_at': datetime.datetime(2025, 2, 15, 5, 44, 1), 'result': '0.058071630204531745', 'result_long': None, 'result_double': None}] Qualite : 0.058071630204531745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20542797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20542797_15-02-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20542797 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_P20542797_15-02-2025_05_44_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20542800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20542801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20542802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20542803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20542804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20542805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20542806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20542807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20542808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20542809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20542810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20542811, 'pht': 3726}}" where mtr_portfolio_id = 20542797 and dashboard_run_id = 1613405 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`=20542797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913255, 0.058071630204531745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20542797_15-02-2025_05_44_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20542800, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20542801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20542802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20542803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20542804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20542805, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20542806, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20542807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20542808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20542809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20542810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20542811, '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 = 20543208 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': 2590171, 'mtr_portfolio_id': 20543208, 'created_at': datetime.datetime(2025, 2, 15, 5, 44, 27), 'result': '0.059069959443013284', 'result_long': None, 'result_double': None}] Qualite : 0.059069959443013284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20543208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20543208_15-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20543208 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_P20543208_15-02-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20543272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20543273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20543274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20543275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20543276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20543277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20543278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20543279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20543280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20543281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20543282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20543283, 'pht': 3726}}" where mtr_portfolio_id = 20543208 and dashboard_run_id = 1613405 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`=20543208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913256, 0.059069959443013284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20543208_15-02-2025_05_44_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20543272, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20543273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20543274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20543275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20543276, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20543277, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20543278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20543279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20543280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20543281, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20543282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20543283, '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 = 20543782 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': 2590172, 'mtr_portfolio_id': 20543782, 'created_at': datetime.datetime(2025, 2, 15, 5, 45, 1), 'result': '0.042426714142127626', 'result_long': None, 'result_double': None}] Qualite : 0.042426714142127626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20543782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20543782_15-02-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20543782 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_P20543782_15-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20543813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20543814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20543815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20543816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20543817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20543818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20543819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20543820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20543821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20543822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20543823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20543824, 'pht': 3726}}" where mtr_portfolio_id = 20543782 and dashboard_run_id = 1613405 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`=20543782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913257, 0.042426714142127626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20543782_15-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20543813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20543814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20543815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20543816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20543817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20543818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20543819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20543820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20543821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20543822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20543823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20543824, '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 = 20544197 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': 2590173, 'mtr_portfolio_id': 20544197, 'created_at': datetime.datetime(2025, 2, 15, 5, 45, 33), 'result': '0.03006934649388701', 'result_long': None, 'result_double': None}] Qualite : 0.03006934649388701 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20544197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20544197_15-02-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20544197 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_P20544197_15-02-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20544313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20544314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20544315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20544316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20544317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20544318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20544319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20544320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20544321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20544322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20544323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20544324, 'pht': 3726}}" where mtr_portfolio_id = 20544197 and dashboard_run_id = 1613405 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`=20544197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913258, 0.03006934649388701, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20544197_15-02-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20544313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20544314, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20544315, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20544316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20544317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20544318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20544319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20544320, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20544321, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20544322, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20544323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20544324, '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 = 20545095 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': 2590174, 'mtr_portfolio_id': 20545095, 'created_at': datetime.datetime(2025, 2, 15, 5, 46, 2), 'result': '0.044122076133755406', 'result_long': None, 'result_double': None}] Qualite : 0.044122076133755406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20545095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20545095_15-02-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20545095 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_P20545095_15-02-2025_05_46_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20545182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20545183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20545184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20545185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20545186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20545187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20545188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20545189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20545190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20545191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20545192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20545193, 'pht': 3726}}" where mtr_portfolio_id = 20545095 and dashboard_run_id = 1613405 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`=20545095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913259, 0.044122076133755406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20545095_15-02-2025_05_46_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20545182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20545183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20545184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20545185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20545186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20545187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20545188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20545189, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20545190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20545191, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20545192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20545193, '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 = 20545860 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': 2590175, 'mtr_portfolio_id': 20545860, 'created_at': datetime.datetime(2025, 2, 15, 5, 46, 34), 'result': '0.04319229122910655', 'result_long': None, 'result_double': None}] Qualite : 0.04319229122910655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20545860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20545860_15-02-2025_05_46_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20545860 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_P20545860_15-02-2025_05_46_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20545868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20545869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20545870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20545871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20545872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20545873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20545874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20545875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20545876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20545877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20545878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20545879, 'pht': 3726}}" where mtr_portfolio_id = 20545860 and dashboard_run_id = 1613405 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`=20545860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913260, 0.04319229122910655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20545860_15-02-2025_05_46_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20545868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20545869, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20545870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20545871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20545872, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20545873, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20545874, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20545875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20545876, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20545877, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20545878, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20545879, '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 = 20546488 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': 2590176, 'mtr_portfolio_id': 20546488, 'created_at': datetime.datetime(2025, 2, 15, 5, 47, 5), 'result': '0.04527502817818111', 'result_long': None, 'result_double': None}] Qualite : 0.04527502817818111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20546488 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20546488_15-02-2025_05_47_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20546488 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_P20546488_15-02-2025_05_47_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20546528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20546529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20546530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20546531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20546532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20546533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20546534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20546535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20546536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20546537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20546538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20546539, 'pht': 3726}}" where mtr_portfolio_id = 20546488 and dashboard_run_id = 1613405 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`=20546488 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913261, 0.04527502817818111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20546488_15-02-2025_05_47_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20546528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20546529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20546530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20546531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20546532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20546533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20546534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20546535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20546536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20546537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20546538, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20546539, '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 = 20547230 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': 2590177, 'mtr_portfolio_id': 20547230, 'created_at': datetime.datetime(2025, 2, 15, 5, 47, 34), 'result': '0.045502447165637935', 'result_long': None, 'result_double': None}] Qualite : 0.045502447165637935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20547230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20547230_15-02-2025_05_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20547230 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_P20547230_15-02-2025_05_47_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20547283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20547284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20547285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20547286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20547287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20547288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20547289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20547290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20547291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20547292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20547293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20547294, 'pht': 3726}}" where mtr_portfolio_id = 20547230 and dashboard_run_id = 1613405 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`=20547230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913262, 0.045502447165637935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20547230_15-02-2025_05_47_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20547283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20547284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20547285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20547286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20547287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20547288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20547289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20547290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20547291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20547292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20547293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20547294, '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 = 20547922 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': 2590178, 'mtr_portfolio_id': 20547922, 'created_at': datetime.datetime(2025, 2, 15, 5, 48, 4), 'result': '0.04177513206465715', 'result_long': None, 'result_double': None}] Qualite : 0.04177513206465715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20547922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20547922_15-02-2025_05_48_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20547922 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_P20547922_15-02-2025_05_48_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20547974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20547975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20547976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20547977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20547978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20547979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20547980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20547981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20547982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20547983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20547984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20547985, 'pht': 3726}}" where mtr_portfolio_id = 20547922 and dashboard_run_id = 1613405 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`=20547922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913263, 0.04177513206465715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20547922_15-02-2025_05_48_07.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20547974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20547975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20547976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20547977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20547978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20547979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20547980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20547981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20547982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20547983, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20547984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20547985, '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 = 20548427 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': 2590179, 'mtr_portfolio_id': 20548427, 'created_at': datetime.datetime(2025, 2, 15, 5, 48, 33), 'result': '0.047173024305181895', 'result_long': None, 'result_double': None}] Qualite : 0.047173024305181895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20548427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20548427_15-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20548427 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_P20548427_15-02-2025_05_48_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20548485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20548486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20548487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20548488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20548489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20548490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20548491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20548492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20548493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20548494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20548495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20548496, 'pht': 3726}}" where mtr_portfolio_id = 20548427 and dashboard_run_id = 1613405 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`=20548427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913264, 0.047173024305181895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20548427_15-02-2025_05_48_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20548485, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20548486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20548487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20548488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20548489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20548490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20548491, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20548492, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20548493, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20548494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20548495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20548496, '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 = 20549751 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': 2590180, 'mtr_portfolio_id': 20549751, 'created_at': datetime.datetime(2025, 2, 15, 5, 49, 5), 'result': '0.04500052040949677', 'result_long': None, 'result_double': None}] Qualite : 0.04500052040949677 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20549751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20549751_15-02-2025_05_49_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20549751 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_P20549751_15-02-2025_05_49_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20549779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20549780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20549781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20549782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20549783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20549784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20549785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20549786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20549787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20549788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20549789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20549790, 'pht': 3726}}" where mtr_portfolio_id = 20549751 and dashboard_run_id = 1613405 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`=20549751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913265, 0.04500052040949677, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20549751_15-02-2025_05_49_08.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20549779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20549780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20549781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20549782, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20549783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20549784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20549785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20549786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20549787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20549788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20549789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20549790, '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 = 20550281 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': 2590181, 'mtr_portfolio_id': 20550281, 'created_at': datetime.datetime(2025, 2, 15, 5, 49, 6), 'result': '0.033098324079201956', 'result_long': None, 'result_double': None}] Qualite : 0.033098324079201956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20550281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20550281_15-02-2025_05_49_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20550281 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_P20550281_15-02-2025_05_49_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20550284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20550285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20550286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20550287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20550288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20550289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20550290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20550291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20550292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20550293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20550294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20550295, 'pht': 3726}}" where mtr_portfolio_id = 20550281 and dashboard_run_id = 1613405 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`=20550281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913266, 0.033098324079201956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20550281_15-02-2025_05_49_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20550284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20550285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20550286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20550287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20550288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20550289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20550290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20550291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20550292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20550293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20550294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20550295, '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 = 20550751 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': 2590182, 'mtr_portfolio_id': 20550751, 'created_at': datetime.datetime(2025, 2, 15, 5, 49, 44), 'result': '0.028784355682812547', 'result_long': None, 'result_double': None}] Qualite : 0.028784355682812547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20550751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20550751_15-02-2025_05_49_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20550751 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_P20550751_15-02-2025_05_49_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20550756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20550757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20550758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20550759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20550760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20550761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20550762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20550763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20550764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20550765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20550766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20550767, 'pht': 3726}}" where mtr_portfolio_id = 20550751 and dashboard_run_id = 1613405 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`=20550751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913267, 0.028784355682812547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20550751_15-02-2025_05_49_48.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20550756, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20550757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20550758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20550759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20550760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20550761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20550762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20550763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20550764, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20550765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20550766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20550767, '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 = 20551238 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': 2590183, 'mtr_portfolio_id': 20551238, 'created_at': datetime.datetime(2025, 2, 15, 5, 49, 58), 'result': '0.050017853572773954', 'result_long': None, 'result_double': None}] Qualite : 0.050017853572773954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20551238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20551238_15-02-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20551238 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_P20551238_15-02-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20551246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20551247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20551248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20551249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20551250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20551251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20551252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20551253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20551254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20551255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20551256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20551257, 'pht': 3726}}" where mtr_portfolio_id = 20551238 and dashboard_run_id = 1613405 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`=20551238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913268, 0.050017853572773954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20551238_15-02-2025_05_50_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20551246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20551247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20551248, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20551249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20551250, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20551251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20551252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20551253, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20551254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20551255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20551256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20551257, '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 = 20552037 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': 2590184, 'mtr_portfolio_id': 20552037, 'created_at': datetime.datetime(2025, 2, 15, 5, 50, 35), 'result': '0.036553096874467735', 'result_long': None, 'result_double': None}] Qualite : 0.036553096874467735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20552037 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20552037_15-02-2025_05_50_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20552037 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_P20552037_15-02-2025_05_50_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20552046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20552047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20552048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20552049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20552050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20552051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20552052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20552053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20552054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20552055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20552056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20552057, 'pht': 3726}}" where mtr_portfolio_id = 20552037 and dashboard_run_id = 1613405 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`=20552037 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913269, 0.036553096874467735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20552037_15-02-2025_05_50_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20552046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20552047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20552048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20552049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20552050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20552051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20552052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20552053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20552054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20552055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20552056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20552057, '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 = 20552543 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': 2590185, 'mtr_portfolio_id': 20552543, 'created_at': datetime.datetime(2025, 2, 15, 5, 51, 2), 'result': '0.039908541960487695', 'result_long': None, 'result_double': None}] Qualite : 0.039908541960487695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20552543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20552543_15-02-2025_05_51_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20552543 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_P20552543_15-02-2025_05_51_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20552551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20552552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20552553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20552554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20552555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20552556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20552557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20552558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20552559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20552560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20552561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20552562, 'pht': 3726}}" where mtr_portfolio_id = 20552543 and dashboard_run_id = 1613405 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`=20552543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913270, 0.039908541960487695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20552543_15-02-2025_05_51_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20552551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20552552, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20552553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20552554, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20552555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20552556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20552557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20552558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20552559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20552560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20552561, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20552562, '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 = 20553100 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': 2590186, 'mtr_portfolio_id': 20553100, 'created_at': datetime.datetime(2025, 2, 15, 5, 51, 33), 'result': '0.0368334315385753', 'result_long': None, 'result_double': None}] Qualite : 0.0368334315385753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20553100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20553100_15-02-2025_05_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20553100 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_P20553100_15-02-2025_05_51_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20553157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20553158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20553159, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20553160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20553161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20553162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20553163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20553164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20553165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20553166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20553167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20553168, 'pht': 3726}}" where mtr_portfolio_id = 20553100 and dashboard_run_id = 1613405 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`=20553100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913271, 0.0368334315385753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20553100_15-02-2025_05_51_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20553157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20553158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20553159, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20553160, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20553161, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20553162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20553163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20553164, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20553165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20553166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20553167, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20553168, '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 = 20553901 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': 2590187, 'mtr_portfolio_id': 20553901, 'created_at': datetime.datetime(2025, 2, 15, 5, 52, 2), 'result': '0.03563959262394693', 'result_long': None, 'result_double': None}] Qualite : 0.03563959262394693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20553901 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20553901_15-02-2025_05_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20553901 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_P20553901_15-02-2025_05_52_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20553921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20553922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20553923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20553924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20553925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20553926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20553927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20553929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20553930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20553931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20553932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20553933, 'pht': 3726}}" where mtr_portfolio_id = 20553901 and dashboard_run_id = 1613405 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`=20553901 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913272, 0.03563959262394693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20553901_15-02-2025_05_52_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20553921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20553922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20553923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20553924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20553925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20553926, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20553927, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20553929, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20553930, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20553931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20553932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20553933, '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 = 20554566 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': 2590188, 'mtr_portfolio_id': 20554566, 'created_at': datetime.datetime(2025, 2, 15, 5, 52, 35), 'result': '0.04559147288049667', 'result_long': None, 'result_double': None}] Qualite : 0.04559147288049667 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20554566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20554566_15-02-2025_05_52_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20554566 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_P20554566_15-02-2025_05_52_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20554597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20554598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20554599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20554600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20554601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20554602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20554603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20554604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20554605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20554606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20554607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20554608, 'pht': 3726}}" where mtr_portfolio_id = 20554566 and dashboard_run_id = 1613405 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`=20554566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913273, 0.04559147288049667, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20554566_15-02-2025_05_52_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20554597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20554598, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20554599, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20554600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20554601, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20554602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20554603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20554604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20554605, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20554606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20554607, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20554608, '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 = 20555205 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': 2590189, 'mtr_portfolio_id': 20555205, 'created_at': datetime.datetime(2025, 2, 15, 5, 52, 57), 'result': '0.034263671525295324', 'result_long': None, 'result_double': None}] Qualite : 0.034263671525295324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20555205 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20555205_15-02-2025_05_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20555205 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_P20555205_15-02-2025_05_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20555259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20555260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20555261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20555262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20555263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20555264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20555265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20555266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20555267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20555268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20555269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20555270, 'pht': 3726}}" where mtr_portfolio_id = 20555205 and dashboard_run_id = 1613405 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`=20555205 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913274, 0.034263671525295324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20555205_15-02-2025_05_52_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20555259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20555260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20555261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20555262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20555263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20555264, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20555265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20555266, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20555267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20555268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20555269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20555270, '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 = 20555810 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': 2590190, 'mtr_portfolio_id': 20555810, 'created_at': datetime.datetime(2025, 2, 15, 5, 53, 31), 'result': '0.041912834897059326', 'result_long': None, 'result_double': None}] Qualite : 0.041912834897059326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20555810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20555810_15-02-2025_05_53_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20555810 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_P20555810_15-02-2025_05_53_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20555811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20555812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20555813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20555814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20555815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20555816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20555817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20555818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20555819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20555820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20555821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20555822, 'pht': 3726}}" where mtr_portfolio_id = 20555810 and dashboard_run_id = 1613405 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`=20555810 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913275, 0.041912834897059326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20555810_15-02-2025_05_53_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20555811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20555812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20555813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20555814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20555815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20555816, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20555817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20555818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20555819, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20555820, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20555821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20555822, '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 = 20557787 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 = 20557787 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 = 20557787 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20557787 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 = 20557787 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 = 20557787 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557787_15-02-2025_05_54_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557787 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_P20557787_15-02-2025_05_54_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20557790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20557791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20557792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20557793, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20557794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20557795, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20557796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20557797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20557798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20557799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20557800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20557801, 'pht': 3726}}" where mtr_portfolio_id = 20557787 and dashboard_run_id = 1613405 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 = 20557946 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': 2587320, 'mtr_portfolio_id': 20557946, 'created_at': datetime.datetime(2025, 2, 14, 14, 17), 'result': '0.02966263166326669', 'result_long': None, 'result_double': None}] Qualite : 0.02966263166326669 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20557946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557946_14-02-2025_14_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20557946 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_P20557946_14-02-2025_14_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20557955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20557956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20557957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20557958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20557959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20557960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20557961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20557962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20557963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20557964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20557965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20557966, 'pht': 3726}}" where mtr_portfolio_id = 20557946 and dashboard_run_id = 1613405 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`=20557946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913277, 0.02966263166326669, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20557946_14-02-2025_14_17_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20557955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20557956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20557957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20557958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20557959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20557960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20557961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20557962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20557963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20557964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20557965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20557966, '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 = 20558344 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': 2587467, 'mtr_portfolio_id': 20558344, 'created_at': datetime.datetime(2025, 2, 14, 14, 32, 30), 'result': '0.00744999901050484', 'result_long': None, 'result_double': None}] Qualite : 0.00744999901050484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20558344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20558344_14-02-2025_14_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20558344 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_P20558344_14-02-2025_14_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20558352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20558353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20558354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20558355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20558356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20558357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20558358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20558359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20558360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20558361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20558362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20558363, 'pht': 3726}}" where mtr_portfolio_id = 20558344 and dashboard_run_id = 1613405 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`=20558344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913278, 0.00744999901050484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20558344_14-02-2025_14_32_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20558352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20558353, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20558354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20558355, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20558356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20558357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20558358, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20558359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20558360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20558361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20558362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20558363, '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 = 20558743 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': 2587591, 'mtr_portfolio_id': 20558743, 'created_at': datetime.datetime(2025, 2, 14, 14, 49, 26), 'result': '0.032206007824132424', 'result_long': None, 'result_double': None}] Qualite : 0.032206007824132424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20558743 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20558743_14-02-2025_14_49_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20558743 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_P20558743_14-02-2025_14_49_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20558753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20558754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20558755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20558756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20558757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20558758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20558759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20558760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20558761, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20558762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20558763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20558764, 'pht': 3726}}" where mtr_portfolio_id = 20558743 and dashboard_run_id = 1613405 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`=20558743 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913279, 0.032206007824132424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20558743_14-02-2025_14_49_27.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20558753, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20558754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20558755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20558756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20558757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20558758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20558759, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20558760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20558761, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20558762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20558763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20558764, '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 = 20559464 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': 2587830, 'mtr_portfolio_id': 20559464, 'created_at': datetime.datetime(2025, 2, 14, 15, 22, 57), 'result': '0.044480483552743845', 'result_long': None, 'result_double': None}] Qualite : 0.044480483552743845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20559464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20559464_14-02-2025_15_22_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20559464 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_P20559464_14-02-2025_15_22_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20559473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20559474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20559475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20559476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20559477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20559478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20559479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20559480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20559481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20559482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20559483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20559484, 'pht': 3726}}" where mtr_portfolio_id = 20559464 and dashboard_run_id = 1613405 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`=20559464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913280, 0.044480483552743845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20559464_14-02-2025_15_22_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20559473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20559474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20559475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20559476, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20559477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20559478, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20559479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20559480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20559481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20559482, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20559483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20559484, '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 = 20561274 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': 2588040, 'mtr_portfolio_id': 20561274, 'created_at': datetime.datetime(2025, 2, 14, 15, 32, 57), 'result': '0.03646381528608194', 'result_long': None, 'result_double': None}] Qualite : 0.03646381528608194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20561274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20561274_14-02-2025_15_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20561274 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_P20561274_14-02-2025_15_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20561277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20561278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20561279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20561280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20561281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20561282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20561283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20561284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20561285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20561286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20561287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20561288, 'pht': 3726}}" where mtr_portfolio_id = 20561274 and dashboard_run_id = 1613405 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`=20561274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913281, 0.03646381528608194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20561274_14-02-2025_15_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20561277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20561278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20561279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20561280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20561281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20561282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20561283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20561284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20561285, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20561286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20561287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20561288, '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 = 20561560 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': 2588093, 'mtr_portfolio_id': 20561560, 'created_at': datetime.datetime(2025, 2, 14, 16, 6, 59), 'result': '0.037740468220729594', 'result_long': None, 'result_double': None}] Qualite : 0.037740468220729594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20561560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20561560_14-02-2025_16_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20561560 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_P20561560_14-02-2025_16_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20561592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20561593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20561594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20561595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20561596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20561597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20561598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20561599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20561600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20561601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20561602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20561603, 'pht': 3726}}" where mtr_portfolio_id = 20561560 and dashboard_run_id = 1613405 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`=20561560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913282, 0.037740468220729594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20561560_14-02-2025_16_06_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20561592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20561593, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20561594, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20561595, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20561596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20561597, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20561598, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20561599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20561600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20561601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20561602, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20561603, '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 = 20562576 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': 2588182, 'mtr_portfolio_id': 20562576, 'created_at': datetime.datetime(2025, 2, 14, 16, 19, 31), 'result': '0.06581101861628913', 'result_long': None, 'result_double': None}] Qualite : 0.06581101861628913 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20562576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562576_14-02-2025_16_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562576 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_P20562576_14-02-2025_16_19_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20562578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20562579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20562580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20562581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20562582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20562583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20562584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20562585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20562586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20562587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20562588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20562589, 'pht': 3726}}" where mtr_portfolio_id = 20562576 and dashboard_run_id = 1613405 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`=20562576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913283, 0.06581101861628913, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562576_14-02-2025_16_19_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20562578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20562579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20562580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20562581, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20562582, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20562583, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20562584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20562585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20562586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20562587, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20562588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20562589, '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 = 20562858 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': 2588223, 'mtr_portfolio_id': 20562858, 'created_at': datetime.datetime(2025, 2, 14, 16, 32, 59), 'result': '0.033538902020580894', 'result_long': None, 'result_double': None}] Qualite : 0.033538902020580894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20562858 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562858_14-02-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20562858 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_P20562858_14-02-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20562884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20562885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20562887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20562893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20562899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20562901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20562902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20562903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20562904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20562905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20562906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20562907, 'pht': 3726}}" where mtr_portfolio_id = 20562858 and dashboard_run_id = 1613405 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`=20562858 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913284, 0.033538902020580894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20562858_14-02-2025_16_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20562884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20562885, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20562887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20562893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20562899, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20562901, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20562902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20562903, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20562904, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20562905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20562906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20562907, '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 = 20563690 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': 2588315, 'mtr_portfolio_id': 20563690, 'created_at': datetime.datetime(2025, 2, 14, 16, 46, 57), 'result': '0.03947529951413666', 'result_long': None, 'result_double': None}] Qualite : 0.03947529951413666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20563690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20563690_14-02-2025_16_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20563690 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_P20563690_14-02-2025_16_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20563714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20563715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20563716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20563717, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20563718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20563719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20563720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20563721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20563722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20563723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20563724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20563725, 'pht': 3726}}" where mtr_portfolio_id = 20563690 and dashboard_run_id = 1613405 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`=20563690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913285, 0.03947529951413666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20563690_14-02-2025_16_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20563714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20563715, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20563716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20563717, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20563718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20563719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20563720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20563721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20563722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20563723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20563724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20563725, '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 = 20564485 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': 2588363, 'mtr_portfolio_id': 20564485, 'created_at': datetime.datetime(2025, 2, 14, 17, 2, 57), 'result': '0.0495978309261351', 'result_long': None, 'result_double': None}] Qualite : 0.0495978309261351 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20564485 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20564485_14-02-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20564485 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_P20564485_14-02-2025_17_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20564512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20564513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20564514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20564515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20564516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20564517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20564518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20564519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20564520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20564521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20564522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20564523, 'pht': 3726}}" where mtr_portfolio_id = 20564485 and dashboard_run_id = 1613405 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`=20564485 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913286, 0.0495978309261351, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20564485_14-02-2025_17_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20564512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20564513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20564514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20564515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20564516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20564517, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20564518, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20564519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20564520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20564521, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20564522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20564523, '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 = 20565174 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': 2588422, 'mtr_portfolio_id': 20565174, 'created_at': datetime.datetime(2025, 2, 14, 17, 16, 59), 'result': '0.03965105690421117', 'result_long': None, 'result_double': None}] Qualite : 0.03965105690421117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20565174 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20565174_14-02-2025_17_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20565174 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_P20565174_14-02-2025_17_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20565182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20565183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20565184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20565185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20565186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20565187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20565188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20565189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20565190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20565191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20565192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20565193, 'pht': 3726}}" where mtr_portfolio_id = 20565174 and dashboard_run_id = 1613405 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`=20565174 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913287, 0.03965105690421117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20565174_14-02-2025_17_17_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20565182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20565183, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20565184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20565185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20565186, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20565187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20565188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20565189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20565190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20565191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20565192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20565193, '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 = 20565915 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': 2588476, 'mtr_portfolio_id': 20565915, 'created_at': datetime.datetime(2025, 2, 14, 17, 32, 57), 'result': '0.04315785297608532', 'result_long': None, 'result_double': None}] Qualite : 0.04315785297608532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20565915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20565915_14-02-2025_17_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20565915 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_P20565915_14-02-2025_17_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20565923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20565924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20565925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20565926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20565927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20565928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20565929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20565930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20565931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20565932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20565933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20565934, 'pht': 3726}}" where mtr_portfolio_id = 20565915 and dashboard_run_id = 1613405 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`=20565915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913288, 0.04315785297608532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20565915_14-02-2025_17_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20565923, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20565924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20565925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20565926, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20565927, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20565928, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20565929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20565930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20565931, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20565932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20565933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20565934, '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 = 20567615 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': 2588642, 'mtr_portfolio_id': 20567615, 'created_at': datetime.datetime(2025, 2, 14, 18, 18, 59), 'result': '0.05887817165769428', 'result_long': None, 'result_double': None}] Qualite : 0.05887817165769428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20567615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20567615_14-02-2025_18_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20567615 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_P20567615_14-02-2025_18_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20567624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20567625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20567626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20567627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20567628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20567629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20567630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20567631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20567632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20567633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20567634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20567635, 'pht': 3726}}" where mtr_portfolio_id = 20567615 and dashboard_run_id = 1613405 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`=20567615 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913289, 0.05887817165769428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20567615_14-02-2025_18_19_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20567624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20567625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20567626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20567627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20567628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20567629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20567630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20567631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20567632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20567633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20567634, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20567635, '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 = 20568135 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': 2588714, 'mtr_portfolio_id': 20568135, 'created_at': datetime.datetime(2025, 2, 14, 18, 32, 57), 'result': '0.03536435091211239', 'result_long': None, 'result_double': None}] Qualite : 0.03536435091211239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20568135 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20568135_14-02-2025_18_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20568135 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_P20568135_14-02-2025_18_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20568145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20568146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20568147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20568148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20568149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20568150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20568151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20568152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20568153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20568154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20568155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20568156, 'pht': 3726}}" where mtr_portfolio_id = 20568135 and dashboard_run_id = 1613405 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`=20568135 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913290, 0.03536435091211239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20568135_14-02-2025_18_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20568145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20568146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20568147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20568148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20568149, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20568150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20568151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20568152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20568153, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20568154, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20568155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20568156, '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 = 20568740 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': 2588827, 'mtr_portfolio_id': 20568740, 'created_at': datetime.datetime(2025, 2, 14, 18, 46, 59), 'result': '0.03565294887386793', 'result_long': None, 'result_double': None}] Qualite : 0.03565294887386793 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20568740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20568740_14-02-2025_18_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20568740 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_P20568740_14-02-2025_18_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20568809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20568810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20568811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20568812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20568813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20568814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20568815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20568816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20568817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20568818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20568819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20568820, 'pht': 3726}}" where mtr_portfolio_id = 20568740 and dashboard_run_id = 1613405 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`=20568740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913291, 0.03565294887386793, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20568740_14-02-2025_18_47_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20568809, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20568810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20568811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20568812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20568813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20568814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20568815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20568816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20568817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20568818, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20568819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20568820, '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 = 20569515 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': 2588906, 'mtr_portfolio_id': 20569515, 'created_at': datetime.datetime(2025, 2, 14, 19, 2, 58), 'result': '0.034660934099563584', 'result_long': None, 'result_double': None}] Qualite : 0.034660934099563584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20569515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20569515_14-02-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20569515 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_P20569515_14-02-2025_19_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20569522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20569523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20569524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20569525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20569526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20569527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20569528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20569529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20569530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20569531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20569532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20569533, 'pht': 3726}}" where mtr_portfolio_id = 20569515 and dashboard_run_id = 1613405 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`=20569515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913292, 0.034660934099563584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20569515_14-02-2025_19_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20569522, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20569523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20569524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20569525, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20569526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20569527, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20569528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20569529, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20569530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20569531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20569532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20569533, '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 = 20570320 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': 2588963, 'mtr_portfolio_id': 20570320, 'created_at': datetime.datetime(2025, 2, 14, 19, 18, 59), 'result': '0.0498302538273289', 'result_long': None, 'result_double': None}] Qualite : 0.0498302538273289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20570320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20570320_14-02-2025_19_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20570320 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_P20570320_14-02-2025_19_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20570327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20570328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20570329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20570330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20570331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20570332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20570333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20570334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20570335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20570336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20570337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20570338, 'pht': 3726}}" where mtr_portfolio_id = 20570320 and dashboard_run_id = 1613405 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`=20570320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913293, 0.0498302538273289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20570320_14-02-2025_19_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20570327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20570328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20570329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20570330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20570331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20570332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20570333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20570334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20570335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20570336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20570337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20570338, '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 = 20570869 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': 2589016, 'mtr_portfolio_id': 20570869, 'created_at': datetime.datetime(2025, 2, 14, 19, 32, 59), 'result': '0.05463100857062802', 'result_long': None, 'result_double': None}] Qualite : 0.05463100857062802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20570869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20570869_14-02-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20570869 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_P20570869_14-02-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20570915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20570916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20570917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20570918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20570919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20570920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20570921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20570922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20570923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20570924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20570925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20570926, 'pht': 3726}}" where mtr_portfolio_id = 20570869 and dashboard_run_id = 1613405 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`=20570869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913294, 0.05463100857062802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20570869_14-02-2025_19_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20570915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20570916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20570917, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20570918, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20570919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20570920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20570921, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20570922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20570923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20570924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20570925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20570926, '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 = 20571584 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': 2589087, 'mtr_portfolio_id': 20571584, 'created_at': datetime.datetime(2025, 2, 14, 19, 48, 57), 'result': '0.07209251732162264', 'result_long': None, 'result_double': None}] Qualite : 0.07209251732162264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20571584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20571584_14-02-2025_19_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20571584 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_P20571584_14-02-2025_19_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20571635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20571636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20571637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20571638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20571639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20571640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20571641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20571642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20571643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20571644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20571645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20571646, 'pht': 3726}}" where mtr_portfolio_id = 20571584 and dashboard_run_id = 1613405 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`=20571584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913295, 0.07209251732162264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20571584_14-02-2025_19_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20571635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20571636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20571637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20571638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20571639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20571640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20571641, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20571642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20571643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20571644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20571645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20571646, '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 = 20572736 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': 2589162, 'mtr_portfolio_id': 20572736, 'created_at': datetime.datetime(2025, 2, 14, 20, 3), 'result': '0.05499432831921551', 'result_long': None, 'result_double': None}] Qualite : 0.05499432831921551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20572736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20572736_14-02-2025_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20572736 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_P20572736_14-02-2025_20_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20572743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20572744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20572745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20572746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20572747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20572748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20572749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20572750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20572751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20572752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20572753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20572754, 'pht': 3726}}" where mtr_portfolio_id = 20572736 and dashboard_run_id = 1613405 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`=20572736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913296, 0.05499432831921551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20572736_14-02-2025_20_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20572743, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20572744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20572745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20572746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20572747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20572748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20572749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20572750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20572751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20572752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20572753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20572754, '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 = 20573441 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': 2589226, 'mtr_portfolio_id': 20573441, 'created_at': datetime.datetime(2025, 2, 14, 20, 17, 1), 'result': '0.044513361107967886', 'result_long': None, 'result_double': None}] Qualite : 0.044513361107967886 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20573441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20573441_14-02-2025_20_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20573441 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_P20573441_14-02-2025_20_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20573449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20573450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20573451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20573452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20573453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20573454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20573455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20573456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20573457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20573458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20573459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20573460, 'pht': 3726}}" where mtr_portfolio_id = 20573441 and dashboard_run_id = 1613405 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`=20573441 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913297, 0.044513361107967886, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20573441_14-02-2025_20_17_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20573449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20573450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20573451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20573452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20573453, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20573454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20573455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20573456, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20573457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20573458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20573459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20573460, '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 = 20574155 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': 2589285, 'mtr_portfolio_id': 20574155, 'created_at': datetime.datetime(2025, 2, 14, 20, 33, 4), 'result': '0.04119922178519419', 'result_long': None, 'result_double': None}] Qualite : 0.04119922178519419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20574155 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20574155_14-02-2025_20_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20574155 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_P20574155_14-02-2025_20_33_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20574160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20574161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20574162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20574163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20574164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20574165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20574166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20574167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20574168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20574169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20574170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20574171, 'pht': 3726}}" where mtr_portfolio_id = 20574155 and dashboard_run_id = 1613405 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`=20574155 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913298, 0.04119922178519419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20574155_14-02-2025_20_33_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20574160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20574161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20574162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20574163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20574164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20574165, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20574166, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20574167, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20574168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20574169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20574170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20574171, '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 = 20574945 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': 2589363, 'mtr_portfolio_id': 20574945, 'created_at': datetime.datetime(2025, 2, 14, 21, 9), 'result': '0.043007005441384014', 'result_long': None, 'result_double': None}] Qualite : 0.043007005441384014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20574945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20574945_14-02-2025_21_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20574945 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_P20574945_14-02-2025_21_09_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20574978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20574979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20574980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20574981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20574982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20574983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20574984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20574985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20574986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20574987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20574988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20574989, 'pht': 3726}}" where mtr_portfolio_id = 20574945 and dashboard_run_id = 1613405 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`=20574945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8913299, 0.043007005441384014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20574945_14-02-2025_21_09_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20574978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20574979, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20574980, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20574981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20574982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20574983, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20574984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20574985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20574986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20574987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20574988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20574989, '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 (20528956,20529323,20529898,20530407,20531629,20532056,20532588,20533322,20533950,20534742,20535448,20535988,20536642,20537361,20539501,20539751,20540458,20540844,20541686,20542094,20542797,20543208,20543782,20544197,20545095,20545860,20546488,20547230,20547922,20548427,20549751,20550281,20550751,20551238,20552037,20552543,20553100,20553901,20554566,20555205,20555810,20557787,20557946,20558344,20558743,20559464,20561274,20561560,20562576,20562858,20563690,20564485,20565174,20565915,20567615,20568135,20568740,20569515,20570320,20570869,20571584,20572736,20573441,20574155,20574945) result : ((1337464350,), (1337464352,), (1337464354,), (1337464356,), (1337464486,), (1337464491,), (1337464504,), (1337464509,), (1337464889,), (1337464891,), (1337464893,), (1337464895,), (1337465101,), (1337465106,), (1337465108,), (1337465124,), (1337465126,), (1337465128,), (1337465130,), (1337465175,), (1337465183,), (1337465185,), (1337465187,), (1337465190,), (1337465193,), (1337465206,), (1337465216,), (1337465221,), (1337465224,), (1337465249,), (1337465252,), (1337465255,), (1337465257,), (1337465261,), (1337465263,), (1337465272,), (1337465275,), (1337465278,), (1337465281,), (1337465285,), (1337465288,), (1337465312,), (1337465314,), (1337465321,), (1337465368,), (1337465385,), (1337465389,), (1337465393,), (1337465398,), (1337465457,), (1337465460,), (1337465462,), (1337465465,), (1337465468,), (1337465485,), (1337465491,), (1337465503,), (1337465514,), (1337465527,), (1337465528,), (1337465532,), (1337466169,), (1337466172,), (1337466175,), (1337466178,), (1337466183,), (1337466187,), (1337466215,), (1337466198,), (1337466202,), (1337466205,), (1337466210,), (1337466234,), (1337466237,), (1337466240,), (1337466286,), (1337466289,), (1337466292,), (1337466295,), (1337466298,), (1337466370,), (1337466373,), (1337466376,), (1337466379,), (1337466383,), (1337466390,), (1337466392,), (1337466400,), (1337466413,), (1337466419,), (1337466546,), (1337466716,), (1337467400,), (1337467404,), (1337467407,), (1337467773,), (1337467781,), (1337467788,), (1337467791,), (1337467807,), (1337467818,), (1337467828,), (1337467830,), (1337467832,), (1337467842,), (1337467844,), (1337467846,), (1337467848,), (1337467851,), (1337467853,), (1337467855,), (1337467857,), (1337467859,), (1337467861,), (1337467864,), (1337467867,), (1337468027,), (1337468162,), (1337468292,), (1337469226,), (1337469228,), (1337469230,), (1337469264,), (1337469266,), (1337469327,), (1337469329,), (1337469341,), (1337469349,), (1337469397,), (1337469399,), (1337469409,), (1337469411,), (1337469413,), (1337469416,), (1337469460,), (1337469440,), (1337469441,), (1337469445,), (1337469499,), (1337469501,), (1337469509,), (1337469513,), (1337469635,), (1337469703,), (1337469782,), (1337469787,), (1337469789,), (1337469791,), (1337469793,), (1337469815,), (1337469817,), (1337469827,), (1337469830,), (1337469832,), (1337469835,), (1337469851,), (1337469853,), (1337469855,), (1337469864,), (1337469866,), (1337469868,), (1337469870,), (1337469874,), (1337469889,), (1337469891,), (1337469893,), (1337469902,), (1337469904,), (1337469906,), (1337471015,), (1337471018,), (1337471236,), (1337471238,), (1337471250,), (1337471738,), (1337471741,), (1337471742,), (1337471802,), (1337471805,), (1337471841,), (1337471850,), (1337471858,), (1337471909,), (1337471972,), (1337472056,), (1337472058,), (1337472059,), (1337472062,), (1337472090,), (1337472092,), (1337472112,), (1337472114,), (1337472144,), (1337472130,), (1337472134,), (1337472136,), (1337472139,), (1337472142,), (1337472148,), (1337472156,), (1337472165,), (1337472171,), (1337472176,), (1337472179,), (1337472361,), (1337472363,), (1337472370,), (1337472377,), (1337472446,), (1337472506,), (1337472576,), (1337472652,), (1337472896,), (1337472938,), (1337472945,), (1337472955,), (1337472960,), (1337473106,), (1337473108,), (1337473136,), (1337473262,), (1337473264,), (1337473269,), (1337473272,), (1337473286,), (1337473292,), (1337473294,), (1337473296,), (1337473299,), (1337473323,), (1337473365,), (1337473484,), (1337473613,), (1337473778,), (1337474864,), (1337474873,), (1337474880,), (1337474929,), (1337474931,), (1337474936,), (1337474941,), (1337474944,), (1337474968,), (1337475560,), (1337475624,), (1337475626,), (1337475630,), (1337475666,), (1337475707,), (1337475714,), (1337475720,), (1337475808,), (1337475811,), (1337475814,), (1337475816,), (1337475818,), (1337475824,), (1337475825,), (1337475827,), (1337475828,), (1337475830,), (1337475831,), (1337475832,), (1337475833,), (1337475837,), (1337481161,), (1337481163,), (1337481164,), (1337481167,), (1337481171,), (1337481204,), (1337481213,), (1337481264,), (1337481267,), (1337481269,), (1337481287,), (1337481300,), (1337481308,), (1337481310,), (1337481312,), (1337481314,), (1337481388,), (1337481464,), (1337481531,), (1337481606,), (1337481740,), (1337481743,), (1337481839,), (1337482056,), (1337482555,), (1337482600,), (1337482691,), (1337482851,), (1337484132,), (1337484134,), (1337484189,), (1337484196,), (1337484207,), (1337484226,), (1337484313,), (1337484374,), (1337484452,), (1337484534,), (1337484563,), (1337484696,), (1337484698,), (1337484700,), (1337484702,), (1337484764,), (1337484807,), (1337484874,), (1337484948,), (1337485176,), (1337485180,), (1337485182,), (1337485192,), (1337485207,), (1337485210,), (1337485410,), (1337485413,), (1337485414,), (1337485416,), (1337485419,), (1337485422,), (1337485468,), (1337485471,), (1337485473,), (1337485558,), (1337485499,), (1337485504,), (1337485506,), (1337485512,), (1337485556,), (1337485617,), (1337485620,), (1337485622,), (1337485664,), (1337485673,), (1337485676,), (1337485742,), (1337485744,), (1337485746,), (1337485755,), (1337485757,), (1337485759,), (1337485761,), (1337485768,), (1337485770,), (1337485772,), (1337485774,), (1337485777,), (1337485779,), (1337485789,), (1337485793,), (1337485807,), (1337485809,), (1337485863,), (1337485871,), (1337485873,), (1337485883,), (1337486758,), (1337486761,), (1337486763,), (1337486765,), (1337486768,), (1337486770,), (1337487046,), (1337487048,), (1337487050,), (1337487052,), (1337487055,), (1337487059,), (1337487074,), (1337487076,), (1337487182,), (1337487187,), (1337487188,), (1337487189,), (1337487570,), (1337487580,), (1337487615,), (1337487637,), (1337487639,), (1337487640,), (1337487645,), (1337487658,), (1337487661,), (1337487662,), (1337487666,), (1337487667,), (1337487668,), (1337487671,), (1337487672,), (1337487673,), (1337487676,), (1337487677,), (1337487684,), (1337487685,), (1337487687,), (1337487688,), (1337487690,), (1337487691,), (1337487692,), (1337487694,), (1337487695,), (1337487704,), (1337487919,), (1337487948,), (1337487949,), (1337487959,), (1337487962,), (1337487965,), (1337487968,), (1337488232,), (1337488233,), (1337488702,), (1337488719,), (1337488723,), (1337488774,), (1337488990,), (1337489207,), (1337489333,), (1337489895,), (1337489903,), (1337489904,), (1337487652,), (1337487655,), (1337487656,), (1337487659,), (1337487663,), (1337487664,), (1337487669,), (1337487674,), (1337487678,), (1337487682,), (1337487893,), (1337487897,), (1337487899,), (1337487904,), (1337487908,), (1337487973,), (1337487974,), (1337487975,), (1337487976,), (1337487977,), (1337487978,), (1337487980,), (1337487981,), (1337487983,), (1337487985,), (1337488691,), (1337488693,), (1337488695,), (1337488697,), (1337488700,), (1337489791,), (1337489839,), (1337489843,), (1337490064,), (1337490066,), (1337490068,), (1337490070,), (1337490076,), (1337490083,), (1337490085,), (1337490133,), (1337490646,), (1337490649,), (1337490715,), (1337490750,), (1337490772,), (1337490826,), (1337490832,), (1337490834,), (1337490843,), (1337490845,), (1337490847,), (1337490849,), (1337490851,), (1337490854,), (1337490858,), (1337490882,), (1337490957,), (1337491033,), (1337491108,), (1337491248,), (1337491250,), (1337491252,), (1337491254,), (1337491262,), (1337491269,), (1337491292,), (1337491294,), (1337491296,), (1337491326,), (1337491328,), (1337491331,), (1337491333,), (1337491346,), (1337491338,), (1337491340,), (1337491342,), (1337491344,), (1337491453,), (1337491518,), (1337491581,), (1337491631,), (1337491633,), (1337491643,), (1337491944,), (1337491968,), (1337491970,), (1337492027,), (1337492160,), (1337492287,), (1337492431,), (1337492452,), (1337492611,), (1337492612,), (1337492625,), (1337492627,), (1337492631,), (1337492703,), (1337492715,), (1337492719,), (1337492734,), (1337492802,), (1337492869,), (1337492936,), (1337493003,), (1337493012,), (1337493015,), (1337493104,), (1337493106,), (1337493108,), (1337493113,), (1337493185,), (1337493191,), (1337493272,), (1337493277,), (1337493432,), (1337493482,), (1337493552,), (1337493573,), (1337493575,), (1337493607,), (1337493666,), (1337493668,), (1337493670,), (1337493679,), (1337493681,), (1337493683,), (1337493685,), (1337493687,), (1337493690,), (1337493728,), (1337493732,), (1337493761,), (1337493763,), (1337493846,), (1337493833,), (1337493834,), (1337493835,), (1337493839,), (1337494247,), (1337494308,), (1337494422,), (1337494489,), (1337494698,), (1337499647,), (1337499632,), (1337499634,), (1337499638,), (1337499677,), (1337499679,), (1337500051,), (1337500056,), (1337500058,), (1337500151,), (1337500161,), (1337500178,), (1337500223,), (1337500225,), (1337500227,), (1337500237,), (1337501529,), (1337501530,), (1337501557,), (1337501575,), (1337501585,), (1337501592,), (1337501594,), (1337501597,), (1337501599,), (1337501612,), (1337501614,), (1337501616,), (1337501618,), (1337501624,), (1337501626,), (1337501628,), (1337501631,), (1337501650,), (1337501652,), (1337501654,), (1337501656,), (1337501659,), (1337501662,), (1337502207,), (1337502223,), (1337502236,), (1337502436,), (1337502439,), (1337502441,), (1337502468,), (1337502471,), (1337502473,), (1337502585,), (1337502577,), (1337502579,), (1337502581,), (1337502583,), (1337502593,), (1337502602,), (1337502611,), (1337502613,), (1337502631,), (1337502640,), (1337502642,), (1337502644,), (1337502653,), (1337502656,), (1337502658,), (1337502660,), (1337502663,), (1337502668,), (1337502692,), (1337502696,), (1337502703,), (1337502705,), (1337502708,), (1337502710,), (1337502722,), (1337502723,), (1337502725,), (1337502727,), (1337502837,), (1337502929,), (1337502991,), (1337503052,), (1337503951,), (1337504015,), (1337504126,), (1337504311,), (1337504713,), (1337504791,), (1337504825,), (1337504830,), (1337504834,), (1337504879,), (1337506022,), (1337506083,), (1337506085,), (1337506122,), (1337506124,), (1337506126,), (1337506128,), (1337506130,), (1337506543,), (1337506610,), (1337506612,), (1337506614,), (1337506725,), (1337506728,), (1337506730,), (1337506745,), (1337506751,), (1337506802,), (1337506804,), (1337506806,), (1337506808,), (1337507033,), (1337507035,), (1337507044,), (1337507053,), (1337507244,), (1337507061,), (1337507063,), (1337507122,), (1337507241,), (1337507453,), (1337507455,), (1337507460,), (1337507469,), (1337507826,), (1337507898,), (1337507994,), (1337508072,), (1337508161,), (1337508233,), (1337508657,), (1337508659,), (1337508661,), (1337508663,), (1337508955,), (1337509008,), (1337509032,), (1337509034,), (1337509037,), (1337509038,), (1337509697,), (1337509858,), (1337509870,), (1337509879,), (1337509881,), (1337510018,), (1337510054,), (1337510061,), (1337510074,), (1337510092,), (1337510134,), (1337510136,), (1337510139,), (1337510140,), (1337510145,), (1337510162,), (1337510179,), (1337510183,), (1337510208,), (1337510251,), (1337510253,), (1337510258,), (1337510266,), (1337510531,), (1337510593,), (1337510660,), (1337510722,), (1337510782,), (1337511481,), (1337511516,), (1337511518,), (1337511520,), (1337511616,), (1337511669,), (1337511739,), (1337511791,), (1337511839,), (1337511845,), (1337511968,), (1337511969,), (1337511971,), (1337511972,), (1337511999,), (1337511994,), (1337511995,), (1337512232,), (1337512236,), (1337512241,), (1337512242,), (1337512244,), (1337512247,), (1337512259,), (1337512260,), (1337512261,), (1337512262,), (1337512293,), (1337512294,), (1337512295,), (1337512296,), (1337512308,), (1337512309,), (1337512310,), (1337512311,), (1337512312,), (1337512314,), (1337512325,), (1337512326,), (1337512327,), (1337512328,), (1337512329,), (1337512341,), (1337512342,), (1337512356,), (1337512357,), (1337512358,), (1337512717,), (1337512718,), (1337512724,), (1337512760,), (1337512809,), (1337512877,), (1337512878,), (1337512879,), (1337512880,), (1337512881,), (1337512883,), (1337512901,), (1337512909,), (1337512953,), (1337512954,), (1337512955,), (1337512957,), (1337512959,), (1337513174,), (1337513693,), (1337513723,), (1337513726,), (1337513728,), (1337513730,), (1337514024,), (1337514029,), (1337514033,), (1337514042,), (1337514069,), (1337514070,), (1337514072,), (1337514074,), (1337514091,), (1337514085,), (1337514087,), (1337514089,), (1337514912,), (1337514991,), (1337515016,), (1337515018,), (1337515181,), (1337515273,), (1337515301,), (1337516061,), (1337516064,), (1337516067,), (1337516074,), (1337516084,), (1337516976,), (1337517002,), (1337517005,), (1337517007,), (1337517809,), (1337518031,), (1337518282,), (1337518386,), (1337518406,), (1337518411,), (1337518413,), (1337518416,), (1337518423,), (1337518835,), (1337518851,), (1337518853,), (1337518855,), (1337518870,), (1337518925,), (1337518967,), (1337518969,), (1337518971,), (1337518973,), (1337518977,), (1337519009,), (1337519011,), (1337519015,), (1337519787,), (1337519789,), (1337519790,), (1337519793,), (1337519795,), (1337519798,), (1337520046,), (1337530860,), (1337530748,), (1337531506,), (1337533001,), (1337533011,), (1337533080,), (1337533082,), (1337533084,), (1337533086,), (1337533112,), (1337533117,), (1337533126,), (1337533131,), (1337533171,), (1337533175,), (1337533177,), (1337533180,), (1337533182,), (1337533186,), (1337533199,), (1337533200,), (1337533201,), (1337533220,), (1337533221,), (1337533222,), (1337533223,), (1337533224,), (1337533226,), (1337533677,), (1337533744,), (1337533816,), (1337533889,), (1337533948,), (1337534326,), (1337534327,), (1337534329,), (1337534710,), (1337534589,), (1337534667,), (1337534696,), (1337534706,), (1337534708,), (1337534851,), (1337534852,), (1337534864,), (1337534913,), (1337534974,), (1337535234,), (1337535246,), (1337535252,), (1337535285,), (1337535286,), (1337535287,), (1337535288,), (1337535289,), (1337535292,), (1337535917,), (1337535998,), (1337535999,), (1337536000,), (1337536002,), (1337536269,), (1337536270,), (1337536371,), (1337536658,), (1337536659,), (1337536660,), (1337536661,), (1337536663,), (1337536692,), (1337536697,), (1337536698,), (1337536701,), (1337536706,), (1337536710,), (1337536780,), (1337536783,), (1337536803,), (1337536831,), (1337536832,), (1337536833,), (1337536834,), (1337536836,), (1337536838,), (1337536865,), (1337536866,), (1337536867,), (1337536868,), (1337536871,), (1337536892,), (1337536893,), (1337536894,), (1337536932,), (1337537425,), (1337537439,), (1337537451,), (1337537456,), (1337537481,), (1337537837,), (1337537843,), (1337537845,), (1337537849,), (1337537867,), (1337537964,), (1337537960,), (1337537962,), (1337537997,), (1337538192,), (1337538222,), (1337538265,), (1337538267,), (1337538388,), (1337538390,), (1337538391,), (1337538392,), (1337538395,), (1337538433,), (1337538448,), (1337538449,), (1337538450,), (1337538468,), (1337538469,), (1337538470,), (1337538471,), (1337538473,), (1337538519,), (1337539157,), (1337539159,), (1337539161,), (1337539163,), (1337539165,), (1337539388,), (1337539390,), (1337539409,), (1337539511,), (1337539513,), (1337539516,), (1337539518,), (1337539520,), (1337539527,), (1337539567,), (1337539569,), (1337539571,), (1337539573,), (1337539576,), (1337539600,), (1337539601,), (1337539602,), (1337539603,), (1337539605,), (1337539623,), (1337539624,), (1337539625,), (1337539629,), (1337539689,), (1337540408,), (1337540472,), (1337540493,), (1337540494,), (1337540495,), (1337540497,), (1337540563,), (1337540625,), (1337540703,), (1337540890,), (1337540892,), (1337540893,), (1337540894,), (1337540896,), (1337540898,), (1337540925,), (1337540928,), (1337540930,), (1337540932,), (1337540936,), (1337540940,), (1337540966,), (1337540949,), (1337540951,), (1337540953,), (1337540983,), (1337540987,), (1337540989,), (1337540993,), (1337540994,), (1337541019,), (1337541020,), (1337541021,), (1337541022,), (1337541023,), (1337541067,), (1337541102,), (1337541103,), (1337541104,), (1337541661,), (1337541795,), (1337541848,), (1337541898,), (1337541900,), (1337541931,), (1337542734,), (1337542801,), (1337543320,), (1337543321,), (1337543322,), (1337543323,), (1337543325,), (1337543698,), (1337543759,), (1337543829,), (1337543854,), (1337543857,), (1337544137,), (1337544230,), (1337544277,), (1337544340,), (1337544619,), (1337544620,), (1337544621,), (1337544644,), (1337544708,), (1337544769,), (1337544835,), (1337544836,), (1337544837,), (1337544838,), (1337544840,), (1337544876,), (1337544879,), (1337544880,), (1337544882,), (1337544898,), (1337544899,), (1337544901,), (1337544910,), (1337544944,), (1337545059,), (1337545360,), (1337545430,), (1337545494,), (1337545570,), (1337545796,), (1337545805,), (1337545807,), (1337545808,), (1337545811,), (1337546033,), (1337545983,), (1337546002,), (1337546007,), (1337546322,), (1337546326,), (1337546331,), (1337546340,), (1337546373,), (1337546374,), (1337546375,), (1337546376,), (1337546378,), (1337546380,), (1337546399,), (1337546400,), (1337546401,), (1337546402,), (1337546420,), (1337546433,), (1337546439,), (1337546442,), (1337546444,), (1337546446,), (1337546461,), (1337546462,), (1337546463,), (1337546464,), (1337546484,), (1337546486,), (1337546487,), (1337546488,), (1337546490,), (1337546492,), (1337546754,), (1337546858,), (1337546919,), (1337546964,), (1337547014,), (1337547451,), (1337547516,), (1337547522,), (1337547524,), (1337547544,), (1337547630,), (1337547686,), (1337547739,), (1337547791,), (1337547833,), (1337547947,), (1337547950,), (1337547953,), (1337547963,), (1337547965,), (1337547970,), (1337547977,), (1337547991,), (1337547993,), (1337547995,), (1337547999,), (1337548034,), (1337548038,), (1337548040,), (1337548042,), (1337548046,), (1337548051,), (1337548098,), (1337548101,), (1337548111,), (1337548122,), (1337548158,), (1337548141,), (1337548149,), (1337548151,), (1337548153,), (1337548156,), (1337548278,), (1337548298,), (1337548318,), (1337548320,), (1337548373,), (1337548375,), (1337548377,), (1337548380,), (1337548392,), (1337548407,), (1337548413,), (1337548418,), (1337548420,), (1337548531,), (1337548625,), (1337548662,), (1337548920,), (1337549016,), (1337549108,), (1337549254,), (1337549489,), (1337549505,), (1337549524,), (1337549526,), (1337549528,), (1337549689,), (1337549891,), (1337549893,), (1337549901,), (1337549908,), (1337550184,), (1337550367,), (1337550424,), (1337550462,), (1337550473,), (1337550516,), (1337550555,), (1337550632,), (1337550679,), (1337550685,), (1337550694,), (1337550733,), (1337550786,), (1337550792,), (1337550795,), (1337550797,), (1337550862,), (1337550865,), (1337550868,), (1337550872,), (1337550875,), (1337550888,), (1337550890,), (1337550892,), (1337550894,), (1337550897,), (1337550939,), (1337550941,), (1337550943,), (1337550945,), (1337550988,), (1337551005,), (1337551076,), (1337551082,), (1337551115,), (1337551109,), (1337551111,), (1337551113,), (1337551151,), (1337551153,), (1337551181,), (1337551278,), (1337551312,), (1337551551,), (1337551553,), (1337551564,), (1337551567,), (1337551572,), (1337551589,), (1337551648,), (1337551650,), (1337551652,), (1337551654,), (1337551656,), (1337551659,), (1337551672,), (1337551674,), (1337551676,), (1337551704,), (1337551706,), (1337551708,), (1337551715,), (1337551718,), (1337551720,), (1337551737,), (1337551739,), (1337551741,), (1337551744,), (1337551814,), (1337551816,), (1337551818,), (1337551820,), (1337551822,), (1337551825,), (1337551845,), (1337551847,), (1337551849,), (1337551851,), (1337551854,), (1337551857,), (1337551874,), (1337551876,), (1337551878,), (1337551904,), (1337551915,), (1337551924,), (1337551926,), (1337551943,), (1337551945,), (1337551947,), (1337551952,), (1337551979,), (1337552105,), (1337552110,), (1337552117,), (1337552360,), (1337552507,), (1337552579,), (1337552656,), (1337552723,), (1337552727,), (1337552872,), (1337552878,), (1337552886,), (1337552888,), (1337552891,), (1337552894,), (1337553115,), (1337553112,), (1337553113,), (1337553114,), (1337553154,), (1337553155,), (1337553156,), (1337553157,), (1337553159,), (1337553161,), (1337553457,), (1337553462,), (1337553479,), (1337553497,), (1337553502,), (1337553694,), (1337553701,), (1337553706,), (1337553839,), (1337553841,), (1337553847,), (1337553880,), (1337553881,), (1337553882,), (1337553883,), (1337553885,), (1337553887,), (1337553911,), (1337553912,), (1337553914,), (1337553920,), (1337553942,), (1337553943,), (1337553944,), (1337553945,), (1337553970,), (1337553981,), (1337553983,), (1337554002,), (1337554003,), (1337554004,), (1337554005,), (1337554007,), (1337554041,), (1337554042,), (1337554054,), (1337554118,), (1337554119,), (1337554120,), (1337554121,), (1337554123,), (1337554125,), (1337554147,), (1337554148,), (1337554149,), (1337554150,), (1337554153,), (1337554182,), (1337554187,), (1337554200,), (1337554351,), (1337554228,), (1337554255,), (1337554326,), (1337554348,), (1337555165,), (1337555167,), (1337555170,), (1337555173,), (1337555299,), (1337555397,), (1337555471,), (1337555484,), (1337555631,), (1337555636,), (1337555643,), (1337555647,), (1337555650,), (1337555654,), (1337556270,), (1337556357,), (1337556364,), (1337556366,), (1337556592,), (1337556595,), (1337556621,), (1337556657,), (1337556666,), (1337556685,), (1337556738,), (1337556742,), (1337556797,), (1337556806,), (1337556839,), (1337556843,), (1337556846,), (1337556852,), (1337556856,), (1337556892,), (1337556896,), (1337556932,), (1337557100,), (1337557106,), (1337557112,), (1337557119,), (1337557127,), (1337557133,), (1337557141,), (1337557142,), (1337557147,), (1337557153,), (1337557157,), (1337557162,), (1337557191,), (1337557194,), (1337557215,), (1337557219,), (1337557229,), (1337557232,), (1337557236,), (1337557237,), (1337557239,), (1337557240,), (1337557292,), (1337557295,), (1337557297,), (1337557301,), (1337557314,), (1337557318,), (1337557357,), (1337557364,), (1337557370,), (1337557171,), (1337557172,), (1337557174,), (1337557175,), (1337557177,), (1337557178,), (1337557182,), (1337557183,), (1337557187,), (1337557189,), (1337557203,), (1337557206,), (1337557209,), (1337557212,), (1337557254,), (1337557258,), (1337557261,), (1337557268,), (1337557279,), (1337557282,), (1337557330,), (1337557333,), (1337557337,), (1337557341,), (1337557345,), (1337557349,), (1337557384,), (1337557389,), (1337557393,), (1337557396,), (1337557433,), (1337557435,), (1337557445,), (1337557452,), (1337557456,), (1337557459,), (1337557482,), (1337557486,), (1337557491,), (1337557496,), (1337557700,), (1337557740,), (1337557786,), (1337557815,), (1337557838,), (1337557841,), (1337558018,), (1337558045,), (1337558057,), (1337558059,), (1337558061,), (1337558064,), (1337558208,), (1337558213,), (1337558223,), (1337558225,), (1337558281,), (1337558290,), (1337558320,), (1337558323,), (1337558351,), (1337558373,), (1337558375,), (1337558379,), (1337558382,), (1337558400,), (1337558403,), (1337558406,), (1337558409,), (1337558448,), (1337558450,), (1337558453,), (1337558462,), (1337558464,), (1337558594,), (1337558579,), (1337558581,), (1337558583,), (1337558586,), (1337558590,), (1337558621,), (1337558625,), (1337558674,), (1337558677,), (1337558679,), (1337558682,), (1337558686,), (1337559120,), (1337559122,), (1337559126,), (1337559139,), (1337559196,), (1337559390,), (1337559395,), (1337559397,), (1337559401,), (1337559403,), (1337559649,), (1337559655,), (1337559664,), (1337559708,), (1337559711,), (1337559720,), (1337559723,), (1337559730,), (1337559779,), (1337559783,), (1337559790,), (1337559793,), (1337559796,), (1337559799,), (1337559827,), (1337559829,), (1337559832,), (1337559835,), (1337559898,), (1337559904,), (1337559922,), (1337559939,), (1337559944,), (1337559976,), (1337559984,), (1337559989,), (1337559995,), (1337559999,), (1337560002,), (1337560028,), (1337560035,), (1337560063,), (1337560066,), (1337560069,), (1337560071,), (1337560073,), (1337560100,), (1337560109,), (1337560115,), (1337560118,), (1337560132,), (1337560172,), (1337560179,), (1337560198,), (1337560377,), (1337560364,), (1337560368,), (1337560371,), (1337560374,), (1337560402,), (1337560405,), (1337560408,), (1337560410,), (1337560417,), (1337560424,), (1337560453,), (1337560455,), (1337560458,), (1337560498,), (1337560500,), (1337560502,), (1337560504,), (1337560506,), (1337560543,), (1337560545,), (1337560547,), (1337560548,), (1337560550,), (1337560554,), (1337561695,), (1337561701,), (1337561815,), (1337562131,), (1337562132,), (1337562134,), (1337562136,), (1337562418,), (1337562424,), (1337562469,), (1337562473,), (1337562476,), (1337562477,), (1337562545,), (1337562547,), (1337562555,), (1337562558,), (1337562561,), (1337562599,), (1337562601,), (1337562604,), (1337562965,), (1337562969,), (1337562973,), (1337562978,), (1337562983,), (1337563125,), (1337563129,), (1337563139,), (1337563143,), (1337563147,), (1337563110,), (1337563113,), (1337563119,), (1337563122,), (1337563151,), (1337563155,), (1337563157,), (1337563258,), (1337563382,), (1337563388,), (1337563529,), (1337563539,), (1337563558,), (1337563562,), (1337563727,), (1337563736,), (1337563740,), (1337563757,), (1337563766,), (1337563774,), (1337563928,), (1337563932,), (1337563937,), (1337563946,), (1337563952,), (1337563957,), (1337563983,), (1337563986,), (1337563990,), (1337564019,), (1337564023,), (1337564027,), (1337564031,), (1337564036,), (1337564086,), (1337564089,), (1337564094,), (1337564103,), (1337564911,), (1337564914,), (1337564918,), (1337564921,), (1337564925,), (1337564993,), (1337564997,), (1337565007,), (1337565013,), (1337565019,), (1337565025,), (1337565223,), (1337565226,), (1337565230,), (1337565234,), (1337565260,), (1337565264,), (1337565267,), (1337565271,), (1337565342,), (1337565348,), (1337565352,), (1337565355,), (1337565359,), (1337565379,), (1337565414,), (1337565416,), (1337565419,), (1337565468,), (1337565472,), (1337565474,), (1337565477,), (1337565483,), (1337565529,), (1337565512,), (1337565515,), (1337565518,), (1337565521,), (1337565525,), (1337565582,), (1337565585,), (1337565588,), (1337565592,), (1337565595,), (1337565598,), (1337565631,), (1337565667,), (1337565784,), (1337565815,), (1337565825,), (1337566343,), (1337566345,), (1337566350,), (1337566352,), (1337566371,), (1337566519,), (1337566630,), (1337566633,), (1337566635,), (1337566639,), (1337566641,), (1337566643,), (1337566714,), (1337566754,), (1337566757,), (1337566760,), (1337566798,), (1337566800,), (1337566803,), (1337566806,), (1337566808,), (1337566817,), (1337566844,), (1337566848,), (1337566852,), (1337566855,), (1337566901,), (1337566907,), (1337566911,), (1337566921,), (1337566923,), (1337566927,), (1337566951,), (1337566958,), (1337566963,), (1337566968,), (1337566973,), (1337567052,), (1337567060,), (1337567066,), (1337567070,), (1337567118,), (1337567122,), (1337567126,), (1337567129,), (1337567134,), (1337567138,), (1337567157,), (1337567160,), (1337567164,), (1337567168,), (1337567172,), (1337567223,), (1337567227,), (1337567231,), (1337567234,), (1337567261,), (1337567264,), (1337567266,), (1337567274,), (1337567283,), (1337567323,), (1337567311,), (1337567313,), (1337567316,), (1337567319,), (1337567347,), (1337567349,), (1337567354,), (1337567413,), (1337567419,), (1337567425,), (1337567435,), (1337567443,), (1337567482,), (1337567487,), (1337567621,), (1337567860,), (1337568045,), (1337568051,), (1337568223,), (1337568243,), (1337568270,), (1337568338,), (1337568341,), (1337568345,), (1337568349,), (1337568353,), (1337568373,), (1337568376,), (1337568505,), (1337568523,), (1337568528,), (1337568538,), (1337568566,), (1337568569,), (1337568572,), (1337568575,), (1337568625,), (1337568627,), (1337568630,), (1337568633,), (1337568636,), (1337568658,), (1337568660,), (1337568665,), (1337568670,), (1337568674,), (1337568680,), (1337569097,), (1337569194,), (1337569279,), (1337569363,), (1337569534,), (1337569579,), (1337569659,), (1337569670,), (1337570460,), (1337570547,), (1337570630,), (1337570723,), (1337570815,), (1337570839,), (1337571233,), (1337571236,), (1337571247,), (1337571250,), (1337571308,), (1337571309,), (1337571315,), (1337571319,), (1337571329,), (1337571341,), (1337571374,), (1337571359,), (1337571363,), (1337571367,), (1337571370,), (1337571389,), (1337571393,), (1337571397,), (1337571401,), (1337571421,), (1337571424,), (1337571428,), (1337571431,), (1337571434,), (1337571438,), (1337571470,), (1337571475,), (1337571478,), (1337571482,), (1337571529,), (1337571533,), (1337571547,), (1337574550,), (1337574552,), (1337575413,), (1337575480,), (1337575549,), (1337575612,), (1337575671,), (1337575728,), (1337576228,), (1337579205,), (1337579239,), (1337579243,), (1337579247,), (1337579250,), (1337579271,), (1337579274,), (1337579278,), (1337579282,), (1337579285,), (1337579306,), (1337579309,), (1337579312,), (1337579399,), (1337579406,), (1337579412,), (1337579417,), (1337579421,), (1337579476,), (1337579479,), (1337579490,), (1337579494,), (1337580097,), (1337580347,), (1337580454,), (1337580480,), (1337580552,), (1337580556,), (1337580783,), (1337580836,), (1337580840,), (1337580844,), (1337580984,), (1337580988,), (1337581016,), (1337581019,), (1337581026,), (1337581068,), (1337581071,), (1337581077,), (1337581079,), (1337581116,), (1337581120,), (1337581123,), (1337581127,), (1337581130,), (1337581152,), (1337581157,), (1337581166,), (1337581171,), (1337581223,), (1337581232,), (1337581240,), (1337581245,), (1337581251,), (1337581254,), (1337581288,), (1337581292,), (1337581295,), (1337581297,), (1337581322,), (1337581338,), (1337581462,), (1337581487,), (1337581490,), (1337581496,), (1337581527,), (1337581516,), (1337581517,), (1337581519,), (1337581523,), (1337581525,), (1337581589,), (1337581591,), (1337581593,), (1337581735,), (1337581736,), (1337581738,), (1337581740,), (1337581742,), (1337581748,), (1337581783,), (1337581787,), (1337581791,), (1337581807,), (1337581853,), (1337581854,), (1337581857,), (1337581900,), (1337581902,), (1337581925,), (1337581927,), (1337581929,), (1337581931,), (1337581932,), (1337581934,), (1337581960,), (1337581961,), (1337581963,), (1337581965,), (1337582011,), (1337582016,), (1337582020,), (1337582024,), (1337582026,), (1337582225,), (1337582227,), (1337582245,), (1337582259,), (1337582261,), (1337582309,), (1337582321,), (1337582329,), (1337582332,), (1337582366,), (1337582367,), (1337582369,), (1337582371,), (1337582373,), (1337582375,), (1337582439,), (1337582440,), (1337582444,), (1337582445,), (1337583824,), (1337583826,), (1337583831,), (1337583832,), (1337584372,), (1337584385,), (1337584391,), (1337584398,), (1337584555,), (1337584625,), (1337584635,), (1337584638,), (1337584641,), (1337584898,), (1337584653,), (1337584669,), (1337584884,), (1337584890,), (1337584895,), (1337584923,), (1337584925,), (1337584929,), (1337584959,), (1337584961,), (1337584965,), (1337584969,), (1337584973,), (1337584975,), (1337585005,), (1337585009,), (1337585013,), (1337585015,), (1337585017,), (1337585020,), (1337585045,), (1337585048,), (1337585052,), (1337585055,), (1337585441,), (1337585608,), (1337585633,), (1337585734,), (1337585765,), (1337585768,), (1337585955,), (1337585958,), (1337585992,), (1337586032,), (1337586061,), (1337586134,), (1337586136,), (1337586140,), (1337586143,), (1337586242,), (1337586387,), (1337586390,), (1337586394,), (1337586397,), (1337586400,), (1337586404,), (1337586947,), (1337586950,), (1337586953,), (1337586956,), (1337587187,), (1337587190,), (1337587193,), (1337587199,), (1337587210,), (1337587282,), (1337587431,), (1337587434,), (1337587438,), (1337587442,), (1337587444,), (1337587482,), (1337587487,), (1337587493,), (1337587496,), (1337587507,), (1337587604,), (1337587618,), (1337587623,), (1337587632,), (1337587663,), (1337587665,), (1337587668,), (1337587671,), (1337587674,), (1337587716,), (1337587705,), (1337587707,), (1337587711,), (1337587714,), (1337587767,), (1337587774,), (1337587784,), (1337587787,), (1337587793,), (1337587826,), (1337587828,), (1337587832,), (1337587862,), (1337587865,), (1337587929,), (1337587933,), (1337587937,), (1337587940,), (1337588031,), (1337588036,), (1337588056,), (1337588060,), (1337588067,), (1337588071,), (1337588105,), (1337588116,), (1337588120,), (1337588124,), (1337588130,), (1337588134,), (1337589260,), (1337589265,), (1337589268,), (1337589274,), (1337589283,), (1337589649,), (1337589652,), (1337589680,), (1337589739,), (1337589755,), (1337589807,), (1337589809,), (1337589812,), (1337589817,), (1337589862,), (1337589864,), (1337589867,), (1337589870,), (1337589874,), (1337589877,), (1337589901,), (1337589903,), (1337589906,), (1337589909,), (1337589945,), (1337589954,), (1337589958,), (1337589962,), (1337589965,), (1337589975,), (1337590697,), (1337590771,), (1337590850,), (1337590935,), (1337591745,), (1337591806,), (1337591894,), (1337591984,), (1337592056,), (1337592091,), (1337592243,), (1337592250,), (1337592256,), (1337592264,), (1337592269,), (1337592638,), (1337592545,), (1337592587,), (1337592618,), (1337592633,), (1337592684,), (1337592690,), (1337592693,), (1337592696,), (1337592702,), (1337592707,), (1337592754,), (1337592758,), (1337592761,), (1337592795,), (1337592798,), (1337592801,), (1337592803,), (1337592805,), (1337592809,), (1337592834,), (1337592836,), (1337592838,), (1337592841,), (1337592848,), (1337592883,), (1337592885,), (1337592888,), (1337592891,), (1337592895,), (1337592922,), (1337592924,), (1337592927,), (1337592930,), (1337592932,), (1337592936,), (1337592979,), (1337592981,), (1337592984,), (1337593016,), (1337593018,), (1337593023,), (1337593026,), (1337593028,), (1337593033,), (1337593150,), (1337593158,), (1337593160,), (1337593164,), (1337593196,), (1337593198,), (1337593201,), (1337593205,), (1337593210,), (1337593236,), (1337593239,), (1337593242,), (1337593244,), (1337593252,), (1337593288,), (1337593292,), (1337593295,), (1337593298,), (1337593347,), (1337593351,), (1337593354,), (1337593356,), (1337593387,), (1337593391,), (1337593394,), (1337593398,), (1337593442,), (1337593430,), (1337593433,), (1337593437,), (1337593440,), (1337593470,), (1337593474,), (1337593519,), (1337593524,), (1337593528,), (1337593535,), (1337593542,), (1337593544,), (1337594265,), (1337594277,), (1337594280,), (1337594283,), (1337594287,), (1337594292,), (1337594593,), (1337594596,), (1337594601,), (1337594605,), (1337594679,), (1337594713,), (1337594716,), (1337594731,), (1337594741,), (1337594745,), (1337594768,), (1337594771,), (1337594774,), (1337594777,), (1337594823,), (1337594826,), (1337594831,), (1337594836,), (1337594841,), (1337594846,), (1337594898,), (1337594905,), (1337594913,), (1337594917,), (1337594986,), (1337594989,), (1337594993,), (1337594997,), (1337595000,), (1337595053,), (1337595066,), (1337595070,), (1337595074,), (1337595076,), (1337595270,), (1337595273,), (1337595277,), (1337595314,), (1337595316,), (1337595319,), (1337595321,), (1337595323,), (1337595328,), (1337595399,), (1337595412,), (1337595422,), (1337595432,), (1337595437,), (1337595442,), (1337595456,), (1337595460,), (1337595466,), (1337595496,), (1337595480,), (1337595482,), (1337595486,), (1337595490,), (1337595492,), (1337595565,), (1337595568,), (1337595595,), (1337595597,), (1337595600,), (1337595691,), (1337595696,), (1337595711,), (1337595713,), (1337595719,), (1337595761,), (1337595767,), (1337595771,), (1337595776,), (1337595784,), (1337595791,), (1337596328,), (1337596330,), (1337596333,), (1337596342,), (1337596352,), (1337596511,), (1337596664,), (1337596667,), (1337596670,), (1337596732,), (1337596734,), (1337596737,), (1337596743,), (1337596746,), (1337596783,), (1337596786,), (1337596789,), (1337596791,), (1337596795,), (1337596797,), (1337596819,), (1337596821,), (1337596824,), (1337596829,), (1337596860,), (1337596871,), (1337596882,), (1337596887,), (1337596967,), (1337597067,), (1337597069,), (1337597073,), (1337597076,), (1337597079,), (1337597101,), (1337597104,), (1337597159,), (1337597167,), (1337597275,), (1337597338,), (1337597342,), (1337597346,), (1337597485,), (1337597489,), (1337597492,), (1337597496,), (1337597499,), (1337597526,), (1337597533,), (1337597537,), (1337597542,), (1337597547,), (1337597575,), (1337597808,), (1337597810,), (1337597816,), (1337597828,), (1337597832,), (1337597898,), (1337597900,), (1337597903,), (1337597906,), (1337597938,), (1337597941,), (1337597945,), (1337597947,), (1337597953,), (1337597964,), (1337597993,), (1337597997,), (1337598002,), (1337598031,), (1337598036,), (1337598561,), (1337598792,), (1337599037,), (1337599239,), (1337599365,), (1337599370,), (1337599377,), (1337599401,), (1337599494,), (1337599610,), (1337599726,), (1337599786,), (1337599829,), (1337599898,), (1337599901,), (1337599904,), (1337599908,), (1337599984,), (1337599987,), (1337599990,), (1337599993,), (1337599996,), (1337600002,), (1337600058,), (1337600063,), (1337600066,), (1337600068,), (1337600071,), (1337600119,), (1337600103,), (1337600110,), (1337600113,), (1337600116,), (1337600145,), (1337600148,), (1337600151,), (1337600163,), (1337600176,), (1337600179,), (1337600206,), (1337600209,), (1337600231,), (1337600260,), (1337600264,), (1337600269,), (1337600272,), (1337600275,), (1337600300,), (1337600303,), (1337600305,), (1337600308,), (1337600341,), (1337600344,), (1337600348,), (1337600354,), (1337600361,), (1337600382,), (1337600386,), (1337600391,), (1337600396,), (1337600405,), (1337600435,), (1337600440,), (1337600445,), (1337600449,), (1337600466,), (1337600469,), (1337600473,), (1337600476,), (1337600481,), (1337600486,), (1337600509,), (1337600511,), (1337600519,), (1337600527,), (1337600575,), (1337600577,), (1337600580,), (1337600583,), (1337601710,), (1337601940,), (1337602141,), (1337602144,), (1337602149,), (1337602160,), (1337602228,), (1337602232,), (1337602235,), (1337602736,), (1337602742,), (1337602746,), (1337602749,), (1337602863,), (1337602868,), (1337603299,), (1337603367,), (1337603373,), (1337603409,), (1337603425,), (1337603432,), (1337603528,), (1337603489,), (1337603788,), (1337603795,), (1337603839,), (1337603842,), (1337603847,), (1337603849,), (1337603872,), (1337603873,), (1337603875,), (1337603955,), (1337603957,), (1337603959,), (1337603961,), (1337603989,), (1337603990,), (1337604032,), (1337604033,), (1337604124,), (1337604125,), (1337604200,), (1337604208,), (1337604212,), (1337604214,), (1337604260,), (1337604261,), (1337604262,), (1337604285,), (1337604286,), (1337604657,), (1337604658,), (1337604660,), (1337604662,), (1337604684,), (1337604685,), (1337604687,), (1337604689,), (1337604753,), (1337604755,), (1337604757,), (1337604759,), (1337604762,), (1337604763,), (1337604875,), (1337604880,), (1337604884,), (1337604892,), (1337604903,), (1337604906,), (1337604908,), (1337604910,), (1337604914,), (1337604948,), (1337604934,), (1337604940,), (1337604943,), (1337604945,), (1337604969,), (1337604972,), (1337604975,), (1337604979,), (1337605019,), (1337605025,), (1337605047,), (1337605090,), (1337605093,), (1337605097,), (1337605198,), (1337605345,), (1337605513,), (1337605675,), (1337605713,), (1337605739,), (1337605754,), (1337605757,), (1337605774,), (1337605777,), (1337605781,), (1337605802,), (1337605805,), (1337605808,), (1337605847,), (1337605850,), (1337605854,), (1337605858,), (1337605862,), (1337605879,), (1337605882,), (1337605886,), (1337605890,), (1337605893,), (1337605896,), (1337605911,), (1337605915,), (1337605952,), (1337619134,), (1337619204,), (1337619206,), (1337619233,), (1337619235,), (1337619238,), (1337619256,), (1337619259,), (1337619284,), (1337619287,), (1337619290,), (1337619293,), (1337619296,), (1337619344,), (1337619346,), (1337619351,), (1337619829,), (1337619921,), (1337620002,), (1337620836,), (1337620838,), (1337620872,), (1337620873,), (1337620875,), (1337620878,), (1337620908,), (1337620986,), (1337621532,), (1337621534,), (1337621537,), (1337621539,), (1337621541,), (1337622052,), (1337622057,), (1337622061,), (1337622066,), (1337622071,), (1337622074,), (1337622080,), (1337622085,), (1337622091,), (1337622096,), (1337622100,), (1337622104,), (1337622125,), (1337622130,), (1337622117,), (1337622119,), (1337622122,), (1337622164,), (1337622167,), (1337622171,), (1337622199,), (1337622201,), (1337622205,), (1337622207,), (1337622209,), (1337622212,), (1337622405,), (1337622408,), (1337622410,), (1337622413,), (1337622442,), (1337622445,), (1337622448,), (1337622451,), (1337622453,), (1337622480,), (1337622484,), (1337622488,), (1337622492,), (1337622498,), (1337622841,), (1337622980,), (1337623070,), (1337623155,), (1337623741,), (1337623744,), (1337623746,), (1337623750,), (1337624075,), (1337624133,), (1337624147,), (1337624150,), (1337624153,), (1337624158,), (1337624222,), (1337624448,), (1337624515,), (1337624525,), (1337624607,), (1337624611,), (1337624618,), (1337624621,), (1337624625,), (1337624710,), (1337624849,), (1337624852,), (1337624854,), (1337624856,), (1337624859,), (1337624889,), (1337624891,), (1337624894,), (1337624897,), (1337624926,), (1337624929,), (1337624932,), (1337624935,), (1337624938,), (1337625092,), (1337625174,), (1337625175,), (1337625177,), (1337625247,), (1337625237,), (1337625240,), (1337625244,), (1337625246,), (1337625288,), (1337625290,), (1337625295,), (1337625298,), (1337625299,), (1337625726,), (1337625728,), (1337625736,), (1337625750,), (1337625827,), (1337625874,), (1337625879,), (1337625881,), (1337625883,), (1337625885,), (1337625910,), (1337625912,), (1337625915,), (1337625917,), (1337625919,), (1337625923,), (1337626195,), (1337626373,), (1337626575,), (1337626624,), (1337626825,), (1337626828,), (1337626872,), (1337626875,), (1337626908,), (1337626918,), (1337626955,), (1337626959,), (1337626988,), (1337626997,), (1337627001,), (1337627040,), (1337627059,), (1337627063,), (1337627067,), (1337627136,), (1337627139,), (1337627142,), (1337627145,), (1337627151,), (1337627155,), (1337627176,), (1337627177,), (1337627180,), (1337627183,), (1337627359,), (1337627362,), (1337627366,), (1337627369,), (1337627374,), (1337627378,), (1337627402,), (1337627701,), (1337627781,), (1337627879,), (1337627960,), (1337628443,), (1337628446,), (1337628448,), (1337628450,), (1337628841,), (1337628847,), (1337628850,), (1337628852,), (1337628870,), (1337628928,), (1337629018,), (1337629015,), (1337629016,), (1337629100,), (1337629102,), (1337629104,), (1337629106,), (1337629108,), (1337629110,), (1337629206,), (1337629207,), (1337629210,), (1337629213,), (1337629215,), (1337629621,), (1337629680,), (1337629682,), (1337629690,), (1337629696,), (1337629699,), (1337629728,), (1337629729,), (1337629732,), (1337629735,), (1337629760,), (1337629765,), (1337629770,), (1337629773,), (1337629778,), (1337629781,), (1337630657,), (1337630748,), (1337630878,), (1337630907,), (1337630911,), (1337630916,), (1337630958,), (1337631041,), (1337631127,), (1337631184,), (1337631296,), (1337631298,), (1337631300,), (1337631308,), (1337631314,), (1337631628,), (1337631630,), (1337631632,), (1337631635,), (1337631663,), (1337631668,), (1337631672,), (1337631674,), (1337631681,), (1337631689,), (1337631894,), (1337631897,), (1337631900,), (1337631903,), (1337631906,), (1337631908,), (1337631927,), (1337631930,), (1337631933,), (1337631975,), (1337631980,), (1337631982,), (1337631986,), (1337631990,), (1337631993,), (1337632011,), (1337632013,), (1337632017,), (1337632020,), (1337632024,), (1337632143,), (1337632077,), (1337632085,), (1337632088,), (1337632091,), (1337632246,), (1337632253,), (1337632261,), (1337632269,), (1337632275,), (1337632297,), (1337632298,), (1337632300,), (1337632303,), (1337632327,), (1337632328,), (1337632333,), (1337632337,), (1337632341,), (1337632344,), (1337632375,), (1337632380,), (1337632386,), (1337632398,), (1337632401,), (1337632404,), (1337632423,), (1337632425,), (1337632428,), (1337632459,), (1337632461,), (1337632464,), (1337632467,), (1337632469,), (1337632472,), (1337632642,), (1337632649,), (1337632653,), (1337632692,), (1337632695,), (1337632698,), (1337632703,), (1337632708,), (1337632720,), (1337632748,), (1337632752,), (1337632759,), (1337632765,), (1337632769,), (1337632772,), (1337633088,), (1337633291,), (1337633538,), (1337633795,), (1337634822,), (1337634846,), (1337634850,), (1337634857,), (1337634861,), (1337634864,), (1337635838,), (1337635958,), (1337635990,), (1337642549,), (1337642470,), (1337642814,), (1337643036,), (1337643059,), (1337643065,), (1337643070,), (1337643074,), (1337643132,), (1337643134,), (1337643137,), (1337643161,), (1337643163,), (1337643166,), (1337643200,), (1337643201,), (1337643440,), (1337643484,), (1337643501,), (1337643504,), (1337643529,), (1337643616,), (1337643618,), (1337643630,), (1337643632,), (1337643713,), (1337643724,), (1337643726,), (1337643727,), (1337643756,), (1337643757,), (1337643759,), (1337643762,), (1337643799,), (1337643794,), (1337643795,), (1337643797,), (1337643836,), (1337643837,), (1337643840,), (1337643843,), (1337643844,), (1337643846,), (1337643993,), (1337644068,), (1337644159,), (1337644213,), (1337644215,), (1337644335,), (1337644358,), (1337644436,), (1337644456,), (1337644462,), (1337644467,), (1337644506,), (1337644509,), (1337644512,), (1337644516,), (1337644548,), (1337644573,), (1337644575,), (1337644578,), (1337644581,), (1337644585,), (1337644741,), (1337644821,), (1337644831,), (1337644837,), (1337644841,), (1337644854,), (1337644910,), (1337644918,), (1337644920,), (1337644989,), (1337644990,), (1337644992,), (1337644994,), (1337645014,), (1337645017,), (1337645078,), (1337645083,), (1337645088,), (1337645102,), (1337645109,), (1337646646,), (1337646740,), (1337646828,), (1337647101,), (1337647191,), (1337647203,), (1337647207,), (1337647209,), (1337647254,), (1337652460,), (1337652456,), (1337652458,), (1337652488,), (1337652490,), (1337652492,), (1337652493,), (1337652518,), (1337652520,), (1337652542,), (1337652543,), (1337652545,), (1337652547,), (1337652553,), (1337652601,), (1337652602,), (1337652604,), (1337652627,), (1337652628,), (1337652676,), (1337652677,), (1337652679,), (1337652862,), (1337652863,), (1337652865,), (1337652867,), (1337652869,), (1337653464,), (1337653661,), (1337653664,), (1337653666,), (1337653704,), (1337653917,), (1337653941,), (1337653951,), (1337653955,), (1337653959,), (1337654072,), (1337654075,), (1337654080,), (1337654085,), (1337654101,), (1337654220,), (1337654157,), (1337654160,), (1337654212,), (1337654216,), (1337654402,), (1337654409,), (1337654414,), (1337654418,), (1337654423,), (1337654426,), (1337654455,), (1337654456,), (1337654458,), (1337654460,), (1337654499,), (1337654500,), (1337654505,), (1337654522,), (1337654527,), (1337654528,), (1337654559,), (1337654561,), (1337654563,), (1337654565,), (1337654566,), (1337654592,), (1337654593,), (1337654604,), (1337654669,), (1337655711,), (1337655713,), (1337655716,), (1337655719,), (1337655723,), (1337655727,), (1337656014,), (1337656017,), (1337656021,), (1337656083,), (1337656091,), (1337656095,), (1337656099,), (1337656102,), (1337656107,), (1337656166,), (1337656170,), (1337656174,), (1337656179,), (1337656184,), (1337656220,), (1337656222,), (1337656226,), (1337656398,), (1337656400,), (1337656407,), (1337656409,), (1337656417,), (1337656420,), (1337656446,), (1337656451,), (1337656460,), (1337656467,), (1337656511,), (1337656515,), (1337656519,), (1337656524,), (1337656527,), (1337656580,), (1337656590,), (1337656599,), (1337656709,), (1337656635,), (1337656637,), (1337656640,), (1337656652,), (1337656659,), (1337656736,), (1337656738,), (1337656741,), (1337656744,), (1337656746,), (1337657063,), (1337657066,), (1337657070,), (1337657073,), (1337657075,), (1337657137,), (1337657570,), (1337657619,), (1337657645,), (1337657648,), (1337657653,), (1337657792,), (1337657799,), (1337657803,), (1337657807,), (1337657811,), (1337657874,), (1337657881,), (1337657883,), (1337657900,), (1337657946,), (1337658078,), (1337658083,), (1337658089,), (1337658095,), (1337658100,), (1337658102,), (1337658159,), (1337658162,), (1337658164,), (1337658167,), (1337658213,), (1337658214,), (1337658216,), (1337658218,), (1337658222,), (1337658395,), (1337658396,), (1337658397,), (1337658399,), (1337658401,), (1337658442,), (1337658443,), (1337658451,), (1337658488,), (1337658713,), (1337658733,), (1337658736,), (1337658758,), (1337658786,), (1337658788,), (1337658881,), (1337658901,), (1337658905,), (1337658956,), (1337658957,), (1337658961,), (1337658964,), (1337658968,), (1337659001,), (1337659006,), (1337659010,), (1337659014,), (1337659019,), (1337659022,), (1337659051,), (1337659046,), (1337659048,), (1337659405,), (1337659428,), (1337659432,), (1337659436,), (1337659484,), (1337659490,), (1337659494,), (1337659495,), (1337659538,), (1337659541,), (1337659542,), (1337659543,), (1337659545,), (1337659582,), (1337659583,), (1337659588,), (1337659590,), (1337659593,), (1337659638,), (1337659687,), (1337659688,), (1337659692,), (1337659696,), (1337659722,), (1337659856,), (1337659874,), (1337659891,), (1337659896,), (1337659923,), (1337659927,), (1337659932,), (1337659944,), (1337659974,), (1337660004,), (1337660010,), (1337660014,), (1337660019,), (1337660033,), (1337660036,), (1337660039,), (1337660041,), (1337660044,), (1337660047,), (1337660102,), (1337660105,), (1337660108,), (1337660129,), (1337660132,), (1337660136,), (1337660139,), (1337660156,), (1337660542,), (1337660545,), (1337660553,), (1337660557,), (1337660847,), (1337660853,), (1337660860,), (1337660867,), (1337660872,), (1337660877,), (1337660891,), (1337660900,), (1337660905,), (1337660911,), (1337660914,), (1337660940,), (1337660924,), (1337660926,), (1337660932,), (1337661161,), (1337661203,), (1337661208,), (1337661253,), (1337661257,), (1337661261,), (1337661265,), (1337661267,), (1337661287,), (1337661289,), (1337661292,), (1337661295,), (1337661363,), (1337661367,), (1337661373,), (1337661380,), (1337661389,), (1337661392,), (1337661430,), (1337661434,), (1337661439,), (1337661443,), (1337661709,), (1337661712,), (1337661984,), (1337662250,), (1337662528,), (1337662695,), (1337662761,), (1337662764,), (1337662923,), (1337662976,), (1337663154,), (1337663165,), (1337663168,), (1337663176,), (1337663180,), (1337663185,), (1337663216,), (1337663221,), (1337663225,), (1337663229,), (1337663254,), (1337663257,), (1337663261,), (1337663264,), (1337663267,), (1337663270,), (1337663494,), (1337663498,), (1337663502,), (1337663532,), (1337663728,), (1337663731,), (1337663735,), (1337663739,), (1337663755,), (1337663804,), (1337663807,), (1337663811,), (1337663815,), (1337663819,), (1337663925,), (1337663928,), (1337663933,), (1337663937,), (1337663950,), (1337663955,), (1337664002,), (1337663997,), (1337663999,), (1337664193,), (1337664197,), (1337664201,), (1337664206,), (1337664209,), (1337664248,), (1337664252,), (1337664255,), (1337664258,), (1337664264,), (1337664451,), (1337664462,), (1337664469,), (1337664525,), (1337664528,), (1337664532,), (1337664539,), (1337664548,), (1337664551,), (1337664602,), (1337664606,), (1337664611,), (1337664613,), (1337664619,), (1337664623,), (1337664822,), (1337664825,), (1337664840,), (1337664884,), (1337664996,), (1337665002,), (1337665009,), (1337665016,), (1337665020,), (1337665023,), (1337665038,), (1337665040,), (1337665045,), (1337665050,), (1337665100,), (1337665102,), (1337665105,), (1337665203,), (1337665423,), (1337665547,), (1337666209,), (1337666217,), (1337666234,), (1337666236,), (1337666239,), (1337666240,), (1337666264,), (1337666485,), (1337666662,), (1337666832,), (1337666834,), (1337666836,), (1337666844,), (1337666849,), (1337666854,), (1337666870,), (1337666873,), (1337666877,), (1337666880,), (1337666883,), (1337666886,), (1337667474,), (1337667477,), (1337667480,), (1337667483,), (1337667523,), (1337676512,), (1337676549,), (1337676552,), (1337676555,), (1337676558,), (1337676583,), (1337676586,), (1337676590,), (1337676595,), (1337676606,), (1337676634,), (1337676637,), (1337676640,), (1337676642,), (1337676690,), (1337676694,), (1337676696,), (1337676698,), (1337676769,), (1337676777,), (1337676789,), (1337676830,), (1337676894,), (1337677205,), (1337677208,), (1337677212,), (1337677240,), (1337677286,), (1337677292,), (1337677394,), (1337677396,), (1337677399,), (1337677405,), (1337677448,), (1337677450,), (1337677453,), (1337677458,), (1337677475,), (1337677543,), (1337677635,), (1337677637,), (1337677652,), (1337677656,), (1337678424,), (1337678426,), (1337678429,), (1337678431,), (1337678436,), (1337678440,), (1337678731,), (1337678733,), (1337678736,), (1337678739,), (1337678786,), (1337678788,), (1337678793,), (1337678796,), (1337678880,), (1337678843,), (1337678848,), (1337678858,), (1337678867,), (1337678876,), (1337679050,), (1337679054,), (1337679064,), (1337679345,), (1337679348,), (1337679353,), (1337679357,), (1337679361,), (1337679440,), (1337679457,), (1337679459,), (1337679462,), (1337679465,), (1337679468,), (1337679554,), (1337679565,), (1337679568,), (1337679576,), (1337679581,), (1337679622,), (1337679624,), (1337679627,), (1337679630,), (1337679633,), (1337679695,), (1337679879,), (1337679882,), (1337679884,), (1337679941,), (1337680007,), (1337680076,), (1337680139,), (1337680347,), (1337680403,), (1337680521,), (1337680545,), (1337680547,), (1337680569,), (1337680571,), (1337680574,), (1337680614,), (1337680616,), (1337680619,), (1337680622,), (1337680625,), (1337680692,), (1337680695,), (1337680698,), (1337680704,), (1337680706,), (1337680716,), (1337680744,), (1337680746,), (1337680748,), (1337680750,), (1337680958,), (1337681023,), (1337681083,), (1337681162,), (1337681234,), (1337681390,), (1337681392,), (1337681456,), (1337681463,), (1337681466,), (1337681622,), (1337681617,), (1337681618,), (1337681620,), (1337681730,), (1337681777,), (1337681803,), (1337681813,), (1337681843,), (1337682137,), (1337682159,), (1337682186,), (1337682239,), (1337682242,), (1337682246,), (1337682284,), (1337682286,), (1337682288,), (1337682291,), (1337682333,), (1337682337,), (1337682340,), (1337682343,), (1337682484,), (1337682580,), (1337682653,), (1337682671,), (1337682676,), (1337682679,), (1337682687,), (1337682864,), (1337682866,), (1337682870,), (1337682874,), (1337682936,), (1337682939,), (1337682977,), (1337682980,), (1337682983,), (1337682986,), (1337683009,), (1337683016,), (1337683023,), (1337683027,), (1337683126,), (1337683137,), (1337683245,), (1337683347,), (1337683350,), (1337683354,), (1337683358,), (1337683360,), (1337683403,), (1337683521,), (1337683581,), (1337683586,), (1337683632,), (1337683759,), (1337683764,), (1337683771,), (1337683777,), (1337683781,), (1337683812,), (1337683815,), (1337683821,), (1337683826,), (1337683829,), (1337683832,), (1337683848,), (1337683851,), (1337683855,), (1337683859,), (1337684055,), (1337683923,), (1337683926,), (1337684018,), (1337684021,), (1337684141,), (1337684144,), (1337684147,), (1337684150,), (1337684153,), (1337684158,), (1337684476,), (1337684555,), (1337684564,), (1337684568,), (1337684692,), (1337684694,), (1337684855,), (1337684859,), (1337684869,), (1337684882,), (1337684946,), (1337684950,), (1337685002,), (1337685006,), (1337685015,), (1337685017,), (1337685023,), (1337685085,), (1337685178,), (1337685181,), (1337685185,), (1337685189,), (1337685193,), (1337685223,), (1337685226,), (1337685230,), (1337685429,), (1337685431,), (1337685434,), (1337685438,), (1337685467,), (1337685468,), (1337685471,), (1337685474,), (1337685478,), (1337685504,), (1337685507,), (1337685510,), (1337685515,), (1337685519,), (1337685523,), (1337685599,), (1337685601,), (1337685604,), (1337685639,), (1337685642,), (1337685646,), (1337685650,), (1337685654,), (1337685656,), (1337685952,), (1337686034,), (1337686121,), (1337686212,), (1337686271,), (1337686273,), (1337686275,), (1337686278,), (1337686282,), (1337686492,), (1337686483,), (1337686485,), (1337686489,), (1337686860,), (1337686926,), (1337686930,), (1337686932,), (1337686934,), (1337686940,), (1337686958,), (1337686961,), (1337686965,), (1337686967,), (1337686999,), (1337687024,), (1337687030,), (1337687032,), (1337687036,), (1337687058,), (1337687061,), (1337687064,), (1337687068,), (1337687070,), (1337687073,), (1337687094,), (1337687096,), (1337687100,), (1337687103,), (1337687138,), (1337687142,), (1337687147,), (1337687152,), (1337687156,), (1337687203,), (1337687219,), (1337687222,), (1337687226,), (1337687267,), (1337687269,), (1337687273,), (1337687278,), (1337687281,), (1337687285,), (1337687795,), (1337687868,), (1337687941,), (1337688035,), (1337688646,), (1337688698,), (1337688773,), (1337688816,), (1337688820,), (1337688825,), (1337688958,), (1337688961,), (1337688964,), (1337688967,), (1337689040,), (1337689201,), (1337689212,), (1337689215,), (1337689264,), (1337689266,), (1337689274,), (1337689277,), (1337689279,), (1337689574,), (1337689642,), (1337689646,), (1337689649,), (1337689959,), (1337689692,), (1337689716,), (1337689767,), (1337689835,), (1337689915,), (1337690444,), (1337690500,), (1337690560,), (1337690621,), (1337690935,), (1337690994,), (1337691048,), (1337691069,), (1337691071,), (1337691074,), (1337691189,), (1337691253,), (1337691281,), (1337691297,), (1337691322,), (1337691326,), (1337691330,), (1337691334,), (1337691338,), (1337691343,), (1337691410,), (1337691439,), (1337691443,), (1337691447,), (1337691449,), (1337691453,), (1337691632,), (1337691635,), (1337691638,), (1337691641,), (1337691644,), (1337691715,), (1337691776,), (1337691846,), (1337691918,), (1337691957,), (1337693071,), (1337693229,), (1337693232,), (1337693239,), (1337693246,), (1337693284,), (1337693345,), (1337693409,), (1337693507,), (1337693513,), (1337693518,), (1337693639,), (1337693646,), (1337693653,), (1337693658,), (1337693833,), (1337693838,), (1337693843,), (1337693846,), (1337693850,), (1337693854,), (1337693870,), (1337693873,), (1337693876,), (1337693899,), (1337693902,), (1337693906,), (1337693909,), (1337693914,), (1337693918,), (1337693975,), (1337693978,), (1337694002,), (1337694005,), (1337694007,), (1337694146,), (1337694094,), (1337694097,), (1337694101,), (1337694104,), (1337694107,), (1337694384,), (1337694415,), (1337694419,), (1337694423,), (1337694628,), (1337694697,), (1337694701,), (1337694728,), (1337694731,), (1337694845,), (1337694848,), (1337694852,), (1337694855,), (1337694858,), (1337694861,), (1337694879,), (1337694882,), (1337694906,), (1337694919,), (1337694982,), (1337694985,), (1337694989,), (1337695026,), (1337695030,), (1337695033,), (1337695065,), (1337695070,), (1337695078,), (1337695082,), (1337695088,), (1337695158,), (1337695164,), (1337695226,), (1337695228,), (1337695231,), (1337695234,), (1337695238,), (1337695345,), (1337695347,), (1337695350,), (1337695353,), (1337695356,), (1337695428,), (1337695431,), (1337695456,), (1337695469,), (1337695828,), (1337695866,), (1337695898,), (1337695909,), (1337695945,), (1337695948,), (1337695975,), (1337695988,), (1337695991,), (1337695996,), (1337696028,), (1337696031,), (1337696035,), (1337696039,), (1337696042,), (1337696045,), (1337696062,), (1337696067,), (1337696071,), (1337696075,), (1337696134,), (1337696116,), (1337696118,), (1337696121,), (1337696124,), (1337696126,), (1337696514,), (1337696522,), (1337696531,), (1337696535,), (1337696592,), (1337696595,), (1337696604,), (1337696614,), (1337696617,), (1337696639,), (1337696641,), (1337696646,), (1337696650,), (1337696653,), (1337696658,), (1337696706,), (1337696709,), (1337696714,), (1337696782,), (1337696791,), (1337696799,), (1337696802,), (1337696805,), (1337696809,), (1337696969,), (1337696972,), (1337696975,), (1337696982,), (1337696988,), (1337696992,), (1337697020,), (1337697023,), (1337697026,), (1337697064,), (1337697070,), (1337697073,), (1337697077,), (1337697081,), (1337697104,), (1337697131,), (1337697134,), (1337697141,), (1337697240,), (1337697242,), (1337697249,), (1337697253,), (1337697280,), (1337697283,), (1337697294,), (1337697302,), (1337697359,), (1337697651,), (1337697663,), (1337697714,), (1337697723,), (1337697725,), (1337697768,), (1337697773,), (1337697785,), (1337697793,), (1337697813,), (1337697830,), (1337697832,), (1337697835,), (1337697837,), (1337697883,), (1337697859,), (1337697862,), (1337697867,), (1337697874,), (1337697879,), (1337698339,), (1337698420,), (1337698498,), (1337698557,), (1337698560,), (1337698564,), (1337698913,), (1337698915,), (1337698918,), (1337698922,), (1337698944,), (1337698949,), (1337698952,), (1337698963,), (1337698978,), (1337698983,), (1337699021,), (1337699025,), (1337699029,), (1337699033,), (1337699067,), (1337699175,), (1337699177,), (1337699182,), (1337699195,), (1337699203,), (1337699214,), (1337699252,), (1337699264,), (1337699268,), (1337699271,), (1337699274,), (1337700043,), (1337700066,), (1337700256,), (1337700310,), (1337700483,), (1337700531,), (1337700544,), (1337700547,), (1337700553,), (1337700690,), (1337700697,), (1337700706,), (1337700709,), (1337700713,), (1337700716,), (1337700740,), (1337700742,), (1337700745,), (1337700754,), (1337701426,), (1337701517,), (1337701552,), (1337701556,), (1337701558,), (1337701562,), (1337701578,), (1337701580,), (1337701582,), (1337701585,), (1337701589,), (1337701692,), (1337702356,), (1337702361,), (1337702372,), (1337702376,), (1337702774,), (1337702777,), (1337702782,), (1337702807,), (1337702875,), (1337702890,), (1337703203,), (1337703188,), (1337703191,), (1337703195,), (1337703199,), (1337703385,), (1337703400,), (1337703404,), (1337703410,), (1337703413,), (1337703737,), (1337703793,), (1337703834,), (1337703837,), (1337703960,), (1337704045,), (1337704074,), (1337704080,), (1337704085,), (1337704089,), (1337704128,), (1337704131,), (1337704139,), (1337704141,), (1337704180,), (1337704182,), (1337704185,), (1337704190,), (1337704217,), (1337704531,), (1337704533,), (1337704536,), (1337704539,), (1337704582,), (1337704585,), (1337704588,), (1337704630,), (1337704635,), (1337704638,), (1337704641,), (1337704644,), (1337704648,), (1337704664,), (1337704666,), (1337704669,), (1337704672,), (1337704676,), (1337704679,), (1337704714,), (1337704716,), (1337704749,), (1337704761,), (1337704764,), (1337704780,), (1337704785,), (1337704787,), (1337704812,), (1337704815,), (1337704819,), (1337704887,), (1337704957,), (1337705263,), (1337705267,), (1337705271,), (1337705323,), (1337705334,), (1337705496,), (1337705500,), (1337705503,), (1337705533,), (1337705680,), (1337705597,), (1337705601,), (1337705604,), (1337705606,), (1337705626,), (1337705889,), (1337705910,), (1337705917,), (1337705925,), (1337706107,), (1337706110,), (1337706146,), (1337706162,), (1337706291,), (1337706293,), (1337706298,), (1337706304,), (1337706309,), (1337706354,), (1337706357,), (1337706361,), (1337706364,), (1337706428,), (1337706439,), (1337706446,), (1337706450,), (1337706471,), (1337706475,), (1337706480,), (1337706484,), (1337706490,), (1337706516,), (1337706779,), (1337706860,), (1337706934,), (1337706969,), (1337706972,), (1337706976,), (1337707137,), (1337707172,), (1337707220,), (1337707264,), (1337707269,), (1337707273,), (1337707274,), (1337707277,), (1337707341,), (1337707345,), (1337707349,), (1337707540,), (1337712749,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14022025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20557787]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] map_info['map_portfolio_photo'] : {20557787: [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204]} final : True mtd_id 4302 list_pids : [1337622130, 1337622125, 1337622104, 1337622100, 1337622096, 1337622091, 1337622085, 1337622080, 1337622074, 1337622071, 1337622066, 1337622061, 1337622057, 1337622052, 1337621541, 1337621539, 1337621537, 1337621534, 1337621532, 1337620986, 1337620908, 1337620878, 1337620875, 1337620873, 1337620872, 1337620838, 1337620836, 1337620002, 1337619921, 1337619829, 1337619351, 1337619346, 1337619344, 1337619296, 1337619293, 1337619290, 1337619287, 1337619284, 1337619259, 1337619256, 1337619238, 1337619235, 1337619233, 1337619206, 1337619204] Looping around the photos to save general results len do output : 1 /20557787Didn'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, '2590191') ('4302', '20557787', '1337622130', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191') ('4302', None, None, None, None, None, None, None, '2590191') ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '20557787', 'None', None, None, None, None, '2590191'), ('4302', '20557787', '1337622130', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622125', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622104', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622100', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622096', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622091', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622085', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622080', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622074', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622071', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622066', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622061', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622057', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337622052', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621541', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621539', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621537', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621534', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337621532', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620986', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620908', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620878', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620875', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620873', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620872', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620838', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620836', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337620002', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619921', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619829', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619351', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619346', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619344', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619296', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619293', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619290', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619287', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619284', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619259', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619256', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619238', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619235', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619233', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619206', None, None, None, None, None, '2590191'), ('4302', '20557787', '1337619204', None, None, None, None, None, '2590191')] time used for this insertion : 0.2788963317871094 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.728806495666504 time spend to save output : 0.2793421745300293 total time spend for step 5 : 4.008148670196533 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 (2590191) 3.16user 2.48system 0:16.04elapsed 35%CPU (0avgtext+0avgdata 163296maxresident)k 168inputs+27640outputs (0major+75181minor)pagefaults 0swaps