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 : 1133500 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 (2646961) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2646961) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103797 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2646961'] with mtr_portfolio_ids : ['21103797'] and first list_photo_ids : [] new path : /proc/1133500/ Name: python3 Umask: 0002 State: R (running) Tgid: 1133500 Ngid: 0 Pid: 1133500 PPid: 1133499 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1133500 NSpid: 1133500 NSpgid: 1131420 NSsid: 1131420 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100604 kB VmRSS: 100604 kB RssAnon: 59756 kB RssFile: 40848 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/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: 50 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1133500', 'Ngid': '0', 'Pid': '1133500', 'PPid': '1133499', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1133500', 'NSpid': '1133500', 'NSpgid': '1131420', 'NSsid': '1131420', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100604 kB', 'VmRSS': '100604 kB', 'RssAnon': '59756 kB', 'RssFile': '40848 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/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': '50', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '1133500', '1106844', '0', '1106844', '865592', '100604', b'', 'marlene', '2646961') 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 (21103797) 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 (2646961 ) ) 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 (21103797) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1341182920, 'portfolio_id': 21103797}, {'photo_id': 1341182887, 'portfolio_id': 21103797}, {'photo_id': 1341182879, 'portfolio_id': 21103797}, {'photo_id': 1341182872, 'portfolio_id': 21103797}, {'photo_id': 1341182870, 'portfolio_id': 21103797}, {'photo_id': 1341182863, 'portfolio_id': 21103797}, {'photo_id': 1341182851, 'portfolio_id': 21103797}, {'photo_id': 1341182845, 'portfolio_id': 21103797}, {'photo_id': 1341182612, 'portfolio_id': 21103797}, {'photo_id': 1341182587, 'portfolio_id': 21103797}, {'photo_id': 1341182537, 'portfolio_id': 21103797}, {'photo_id': 1341182501, 'portfolio_id': 21103797}, {'photo_id': 1341182403, 'portfolio_id': 21103797}, {'photo_id': 1341182334, 'portfolio_id': 21103797}, {'photo_id': 1341182328, 'portfolio_id': 21103797}, {'photo_id': 1341182324, 'portfolio_id': 21103797}, {'photo_id': 1341182320, 'portfolio_id': 21103797}, {'photo_id': 1341182315, 'portfolio_id': 21103797}, {'photo_id': 1341182292, 'portfolio_id': 21103797}, {'photo_id': 1341182262, 'portfolio_id': 21103797}, {'photo_id': 1341182258, 'portfolio_id': 21103797}, {'photo_id': 1341182248, 'portfolio_id': 21103797}, {'photo_id': 1341182245, 'portfolio_id': 21103797}, {'photo_id': 1341182230, 'portfolio_id': 21103797}, {'photo_id': 1341182225, 'portfolio_id': 21103797}, {'photo_id': 1341182220, 'portfolio_id': 21103797}, {'photo_id': 1341182214, 'portfolio_id': 21103797}, {'photo_id': 1341182211, 'portfolio_id': 21103797}, {'photo_id': 1341182131, 'portfolio_id': 21103797}, {'photo_id': 1341182126, 'portfolio_id': 21103797}, {'photo_id': 1341182121, 'portfolio_id': 21103797}, {'photo_id': 1341182116, 'portfolio_id': 21103797}, {'photo_id': 1341182114, 'portfolio_id': 21103797}, {'photo_id': 1341182089, 'portfolio_id': 21103797}, {'photo_id': 1341182085, 'portfolio_id': 21103797}, {'photo_id': 1341182082, 'portfolio_id': 21103797}, {'photo_id': 1341182077, 'portfolio_id': 21103797}, {'photo_id': 1341181986, 'portfolio_id': 21103797}, {'photo_id': 1341181968, 'portfolio_id': 21103797}, {'photo_id': 1341181787, 'portfolio_id': 21103797}, {'photo_id': 1341181783, 'portfolio_id': 21103797}] map_portfolio_id_photo_id: {21103797: [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783]} ##### 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.04072928428649902 #### 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 Fri Mar 7 05:45:57 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 (21103797) 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 : 21103797 get user id for portfolio 21103797 get sub ptf for main ptf 21103797, type 3726 and hashtags ['cartonnette', 'metal', 'environnement', 'papier', 'mal_croppe', 'kraft', 'plastique', 'autre_refus', 'flou', 'Carton_gris', 'Teint_Dans_La_Masse', 'Carton_brun'] 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`=21103797 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','environnement','papier','mal_croppe','kraft','plastique','autre_refus','flou','Carton_gris','Teint_Dans_La_Masse','Carton_brun')) 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`=21103797 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','environnement','papier','mal_croppe','kraft','plastique','autre_refus','flou','Carton_gris','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21103797, 'sub_port_id': 21103801, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710764, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'kraft': {'main_port_id': 21103797, 'sub_port_id': 21103802, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710765, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'cartonnette': {'main_port_id': 21103797, 'sub_port_id': 21103803, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710766, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'papier': {'main_port_id': 21103797, 'sub_port_id': 21103804, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710767, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'environnement': {'main_port_id': 21103797, 'sub_port_id': 21103805, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710768, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'metal': {'main_port_id': 21103797, 'sub_port_id': 21103806, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710769, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'plastique': {'main_port_id': 21103797, 'sub_port_id': 21103807, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710770, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'Carton_gris': {'main_port_id': 21103797, 'sub_port_id': 21103808, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710771, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'mal_croppe': {'main_port_id': 21103797, 'sub_port_id': 21103809, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710772, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'flou': {'main_port_id': 21103797, 'sub_port_id': 21103810, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710773, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'Carton_brun': {'main_port_id': 21103797, 'sub_port_id': 21103811, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710774, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21103797, 'sub_port_id': 21103812, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710775, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 54, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103801 , 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=21103797 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 (21103801) result : ((1341182237,), (1341182333,), (1341182335,), (1341182336,), (1341182344,), (1341182345,), (1341182346,), (1341182737,), (1341182738,), (1341182852,), (1341182853,), (1341182889,), (1341182890,), (1341182891,), (1341183205,), (1341183206,), (1341183208,), (1341183209,), (1341183256,), (1341183257,), (1341183258,), (1341183259,), (1341183551,), (1341183552,), (1341183553,), (1341183554,), (1341183555,), (1341183570,), (1341186206,), (1341186207,), (1341186534,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103802 , 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=21103797 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 (21103802) result : ((1341182742,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103803 , 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=21103797 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 (21103803) result : ((1341182337,), (1341182338,), (1341182350,), (1341182740,), (1341182741,), (1341182855,), (1341182856,), (1341182896,), (1341182897,), (1341183217,), (1341183268,), (1341183269,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103804 , 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=21103797 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 (21103804) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103805 , 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=21103797 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 (21103805) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103806 , 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=21103797 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 (21103806) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103807 , 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=21103797 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 (21103807) result : ((1341182240,), (1341182351,), (1341183575,), (1341186209,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103808 , 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=21103797 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 (21103808) result : ((1341182348,), (1341182349,), (1341182739,), (1341182892,), (1341182893,), (1341183214,), (1341183215,), (1341183262,), (1341183263,), (1341183558,), (1341183559,), (1341183560,), (1341183561,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103809 , 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=21103797 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 (21103809) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103810 , 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=21103797 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 (21103810) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103811 , 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=21103797 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 (21103811) result : ((1341182898,), (1341183219,), (1341183271,), (1341183564,), (1341183566,), (1341183567,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21103812 , 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=21103797 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 (21103812) result : ((1341182103,), (1341182330,), (1341182849,), (1341182850,), (1341182884,), (1341182885,), (1341182886,), (1341183253,), (1341183254,), (1341183255,), (1341183539,), (1341186531,), (1341186532,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21103797) result : ((1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=21103797 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','environnement','papier','mal_croppe','kraft','plastique','autre_refus','flou','Carton_gris','Teint_Dans_La_Masse','Carton_brun')) 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`=21103797 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','metal','environnement','papier','mal_croppe','kraft','plastique','autre_refus','flou','Carton_gris','Teint_Dans_La_Masse','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 21103797, 'sub_port_id': 21103813, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710776, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'kraft': {'main_port_id': 21103797, 'sub_port_id': 21103814, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710777, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'cartonnette': {'main_port_id': 21103797, 'sub_port_id': 21103815, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710778, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'papier': {'main_port_id': 21103797, 'sub_port_id': 21103816, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710779, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'environnement': {'main_port_id': 21103797, 'sub_port_id': 21103817, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710780, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'metal': {'main_port_id': 21103797, 'sub_port_id': 21103818, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710781, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'plastique': {'main_port_id': 21103797, 'sub_port_id': 21103819, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710782, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'Carton_gris': {'main_port_id': 21103797, 'sub_port_id': 21103820, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710783, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'mal_croppe': {'main_port_id': 21103797, 'sub_port_id': 21103821, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710784, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'flou': {'main_port_id': 21103797, 'sub_port_id': 21103822, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710785, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'Carton_brun': {'main_port_id': 21103797, 'sub_port_id': 21103823, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710786, 'last_updated_at': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 6, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 21103797, 'sub_port_id': 21103824, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13710787, 'last_updated_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 7, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 6, 55, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103813,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103801 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103814,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103802 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103815,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103803 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103816,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103804 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103817,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103805 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103818,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103806 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103819,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103807 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103820,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103808 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103821,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103809 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103822,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103810 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103823,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103811 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21103824,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21103812 lien utilise dans velours : https://www.fotonower.com/velours/21103813,21103814,21103815,21103816,21103817,21103818,21103819,21103820,21103821,21103822,21103823,21103824?tags=autre_refus,kraft,cartonnette,papier,environnement,metal,plastique,Carton_gris,mal_croppe,flou,Carton_brun,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21103797]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] map_info['map_portfolio_photo'] : {21103797: [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783]} final : False mtd_id 4302 list_pids : [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] Looping around the photos to save general results len do output : 1 /21103797. 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, '2646961') ('4302', '21103797', '1341182920', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '21103797', "{'autre_refus': 21103801, 'kraft': 21103802, 'cartonnette': 21103803, 'papier': 21103804, 'environnement': 21103805, 'metal': 21103806, 'plastique': 21103807, 'Carton_gris': 21103808, 'mal_croppe': 21103809, 'flou': 21103810, 'Carton_brun': 21103811, 'Teint_Dans_La_Masse': 21103812}", None, None, None, None, '2646961'), ('4302', '21103797', '1341182920', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961')] time used for this insertion : 0.02460169792175293 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5668306350708008 time spend to save output : 0.025245189666748047 total time spend for step 1 : 1.5920758247375488 step2:final Fri Mar 7 05:45:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21103797) 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 21103797 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1341181787,1341181783,1341181986,1341181968,1341182089,1341182085,1341182082,1341182077,1341182131,1341182126,1341182121,1341182116,1341182114,1341182230,1341182225,1341182220,1341182214,1341182211,1341182262,1341182258,1341182248,1341182245,1341182334,1341182328,1341182324,1341182320,1341182315,1341182292,1341182612,1341182587,1341182537,1341182501,1341182403,1341182863,1341182851,1341182845,1341182887,1341182879,1341182872,1341182870,1341182920); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21103797]) Inside saveOutput : final : False verbose : True original output for save of step final : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} new output for save of step final : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] map_info['map_portfolio_photo'] : {21103797: [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783]} final : False mtd_id 4302 list_pids : [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] Looping around the photos to save general results len do output : 41 /1341182920.Didn't retrieve data . /1341182887.Didn't retrieve data . /1341182879.Didn't retrieve data . /1341182872.Didn't retrieve data . /1341182870.Didn't retrieve data . /1341182863.Didn't retrieve data . /1341182851.Didn't retrieve data . /1341182845.Didn't retrieve data . /1341182612.Didn't retrieve data . /1341182587.Didn't retrieve data . /1341182537.Didn't retrieve data . /1341182501.Didn't retrieve data . /1341182403.Didn't retrieve data . /1341182334.Didn't retrieve data . /1341182328.Didn't retrieve data . /1341182324.Didn't retrieve data . /1341182320.Didn't retrieve data . /1341182315.Didn't retrieve data . /1341182292.Didn't retrieve data . /1341182262.Didn't retrieve data . /1341182258.Didn't retrieve data . /1341182248.Didn't retrieve data . /1341182245.Didn't retrieve data . /1341182230.Didn't retrieve data . /1341182225.Didn't retrieve data . /1341182220.Didn't retrieve data . /1341182214.Didn't retrieve data . /1341182211.Didn't retrieve data . /1341182131.Didn't retrieve data . /1341182126.Didn't retrieve data . /1341182121.Didn't retrieve data . /1341182116.Didn't retrieve data . /1341182114.Didn't retrieve data . /1341182089.Didn't retrieve data . /1341182085.Didn't retrieve data . /1341182082.Didn't retrieve data . /1341182077.Didn't retrieve data . /1341181986.Didn't retrieve data . /1341181968.Didn't retrieve data . /1341181787.Didn't retrieve data . /1341181783.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, '2646961') ('4302', '21103797', '1341182920', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 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', '21103797', '1341182920', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182887', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182879', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182872', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182870', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182863', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182851', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182845', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182612', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182587', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182537', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182501', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182403', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182334', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182328', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182324', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182320', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182315', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182292', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182262', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182258', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182248', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182245', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182230', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182225', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182220', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182214', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182211', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182131', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182126', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182121', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182116', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182114', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182089', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182085', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182082', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341182077', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341181986', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341181968', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341181787', '0.06284758607335356', None, None, None, None, '2646961'), ('4302', '21103797', '1341181783', '0.06284758607335356', None, None, None, None, '2646961')] time used for this insertion : 0.028148651123046875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07190060615539551 time spend to save output : 0.03013157844543457 total time spend for step 2 : 0.10203218460083008 step3:velours_tree Fri Mar 7 05:45:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21103797: [{'autre_refus': 21103801, 'kraft': 21103802, 'cartonnette': 21103803, 'papier': 21103804, 'environnement': 21103805, 'metal': 21103806, 'plastique': 21103807, 'Carton_gris': 21103808, 'mal_croppe': 21103809, 'flou': 21103810, 'Carton_brun': 21103811, 'Teint_Dans_La_Masse': 21103812}]} input_args_next_step : {21103797: ()} output_args : {21103797: [{'autre_refus': 21103801, 'kraft': 21103802, 'cartonnette': 21103803, 'papier': 21103804, 'environnement': 21103805, 'metal': 21103806, 'plastique': 21103807, 'Carton_gris': 21103808, 'mal_croppe': 21103809, 'flou': 21103810, 'Carton_brun': 21103811, 'Teint_Dans_La_Masse': 21103812}]} args : 21103797 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 : ({'autre_refus': 21103801, 'kraft': 21103802, 'cartonnette': 21103803, 'papier': 21103804, 'environnement': 21103805, 'metal': 21103806, 'plastique': 21103807, 'Carton_gris': 21103808, 'mal_croppe': 21103809, 'flou': 21103810, 'Carton_brun': 21103811, 'Teint_Dans_La_Masse': 21103812},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21103797) 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([21103797]) 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.3706233501434326 time spend to save output : 7.939338684082031e-05 total time spend for step 3 : 0.37070274353027344 step4:send_mail_cod Fri Mar 7 05:45:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} input_args_next_step : {1341182920: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182920 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182887 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182879 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182872 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182870 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182863 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182851 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182845 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182612 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182587 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182537 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182501 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182403 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182334 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182328 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182324 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182320 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182315 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182292 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182262 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182258 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182248 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182245 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182230 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182225 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182220 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182214 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182211 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182131 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182126 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182121 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182116 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182114 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182089 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182085 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182082 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341182077 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341181986 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341181968 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341181787 depend.output_id : 0 input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ()} output_args : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',)} args : 1341181783 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 : {21103797: [{'autre_refus': 21103801, 'kraft': 21103802, 'cartonnette': 21103803, 'papier': 21103804, 'environnement': 21103805, 'metal': 21103806, 'plastique': 21103807, 'Carton_gris': 21103808, 'mal_croppe': 21103809, 'flou': 21103810, 'Carton_brun': 21103811, 'Teint_Dans_La_Masse': 21103812}]} input_args_next_step : {1341182920: ('0.06284758607335356',), 1341182887: ('0.06284758607335356',), 1341182879: ('0.06284758607335356',), 1341182872: ('0.06284758607335356',), 1341182870: ('0.06284758607335356',), 1341182863: ('0.06284758607335356',), 1341182851: ('0.06284758607335356',), 1341182845: ('0.06284758607335356',), 1341182612: ('0.06284758607335356',), 1341182587: ('0.06284758607335356',), 1341182537: ('0.06284758607335356',), 1341182501: ('0.06284758607335356',), 1341182403: ('0.06284758607335356',), 1341182334: ('0.06284758607335356',), 1341182328: ('0.06284758607335356',), 1341182324: ('0.06284758607335356',), 1341182320: ('0.06284758607335356',), 1341182315: ('0.06284758607335356',), 1341182292: ('0.06284758607335356',), 1341182262: ('0.06284758607335356',), 1341182258: ('0.06284758607335356',), 1341182248: ('0.06284758607335356',), 1341182245: ('0.06284758607335356',), 1341182230: ('0.06284758607335356',), 1341182225: ('0.06284758607335356',), 1341182220: ('0.06284758607335356',), 1341182214: ('0.06284758607335356',), 1341182211: ('0.06284758607335356',), 1341182131: ('0.06284758607335356',), 1341182126: ('0.06284758607335356',), 1341182121: ('0.06284758607335356',), 1341182116: ('0.06284758607335356',), 1341182114: ('0.06284758607335356',), 1341182089: ('0.06284758607335356',), 1341182085: ('0.06284758607335356',), 1341182082: ('0.06284758607335356',), 1341182077: ('0.06284758607335356',), 1341181986: ('0.06284758607335356',), 1341181968: ('0.06284758607335356',), 1341181787: ('0.06284758607335356',), 1341181783: ('0.06284758607335356',), 21103797: ()} output_args : {21103797: [{'autre_refus': 21103801, 'kraft': 21103802, 'cartonnette': 21103803, 'papier': 21103804, 'environnement': 21103805, 'metal': 21103806, 'plastique': 21103807, 'Carton_gris': 21103808, 'mal_croppe': 21103809, 'flou': 21103810, 'Carton_brun': 21103811, 'Teint_Dans_La_Masse': 21103812}]} args : 21103797 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 :42, first value : ('0.06284758607335356',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21103797) 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 (1341182920,1341182887,1341182879,1341182872,1341182870,1341182863,1341182851,1341182845,1341182612,1341182587,1341182537,1341182501,1341182403,1341182334,1341182328,1341182324,1341182320,1341182315,1341182292,1341182262,1341182258,1341182248,1341182245,1341182230,1341182225,1341182220,1341182214,1341182211,1341182131,1341182126,1341182121,1341182116,1341182114,1341182089,1341182085,1341182082,1341182077,1341181986,1341181968,1341181787,1341181783) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1341181783 begin to download photo : 1341182116 begin to download photo : 1341182245 begin to download photo : 1341182334 begin to download photo : 1341182870 download finish for photo 1341181783 begin to download photo : 1341181787 download finish for photo 1341182116 begin to download photo : 1341182121 download finish for photo 1341182334 begin to download photo : 1341182403 download finish for photo 1341182245 begin to download photo : 1341182248 download finish for photo 1341182870 begin to download photo : 1341182872 download finish for photo 1341182403 begin to download photo : 1341182501 download finish for photo 1341182248 begin to download photo : 1341182258 download finish for photo 1341181787 begin to download photo : 1341181968 download finish for photo 1341182121 begin to download photo : 1341182126 download finish for photo 1341182501 begin to download photo : 1341182537 download finish for photo 1341182258 begin to download photo : 1341182262 download finish for photo 1341181968 begin to download photo : 1341181986 download finish for photo 1341182872 begin to download photo : 1341182879 download finish for photo 1341182126 begin to download photo : 1341182131 download finish for photo 1341182537 begin to download photo : 1341182587 download finish for photo 1341182262 begin to download photo : 1341182292 download finish for photo 1341181986 begin to download photo : 1341182077 download finish for photo 1341182131 begin to download photo : 1341182211 download finish for photo 1341182879 begin to download photo : 1341182887 download finish for photo 1341182587 begin to download photo : 1341182612 download finish for photo 1341182292 begin to download photo : 1341182315 download finish for photo 1341182077 begin to download photo : 1341182082 download finish for photo 1341182211 begin to download photo : 1341182214 download finish for photo 1341182887 begin to download photo : 1341182920 download finish for photo 1341182612 begin to download photo : 1341182845 download finish for photo 1341182214 begin to download photo : 1341182220 download finish for photo 1341182315 begin to download photo : 1341182320 download finish for photo 1341182082 begin to download photo : 1341182085 download finish for photo 1341182845 begin to download photo : 1341182851 download finish for photo 1341182920 download finish for photo 1341182320 begin to download photo : 1341182324 download finish for photo 1341182085 begin to download photo : 1341182089 download finish for photo 1341182220 begin to download photo : 1341182225 download finish for photo 1341182851 begin to download photo : 1341182863 download finish for photo 1341182089 begin to download photo : 1341182114 download finish for photo 1341182324 begin to download photo : 1341182328 download finish for photo 1341182225 begin to download photo : 1341182230 download finish for photo 1341182863 download finish for photo 1341182328 download finish for photo 1341182114 download finish for photo 1341182230 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P21103797_07-03-2025_05_46_00.pdf 21103801 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=21103801 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341183206: '1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445915_0.png', 1341186534: '1741242714_123725_1341181986_f4965385c5b418fe6c008c7080099135_rle_crop_3695466778_0.png', 1341186207: '1741242667_122720_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440366_0.png', 1341186206: '1741242667_122720_1341182131_f6181a3a8fbf676171c4afe9e6c6b30b_rle_crop_3695466314_0.png', 1341183570: '1741241175_101950_1341182887_28b1070cf8ec67ee6f47c102902660b7_rle_crop_3695447637_0.png', 1341183555: '1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_bib_crop_3695447622_0.jpg', 1341183554: '1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_rle_crop_3695448493_0.png', 1341183553: '1741241152_101469_1341182872_88439168079ad40bf316f0467b4d8d41_rle_crop_3695447607_0.png', 1341183552: '1741241152_101469_1341182872_88439168079ad40bf316f0467b4d8d41_rle_crop_3695447602_0.png', 1341183551: '1741241152_101469_1341182920_6d7affcaaf2df417b4b4a7d1c6452651_rle_crop_3695447526_0.png', 1341183259: '1741240873_96554_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444807_0.png', 1341183258: '1741240873_96554_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444787_0.png', 1341183257: '1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_bib_crop_3695443818_0.jpg', 1341183256: '1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695446162_0.png', 1341183209: '1741240861_96358_1341182403_69b4d22004758164ddf73179c71a7f97_rle_crop_3695445946_0.png', 1341183208: '1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445917_0.png', 1341182237: '1741240530_92287_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440366_0.png', 1341183205: '1741240861_96358_1341182587_087137887cb29c17bd17a4d71866cc23_rle_crop_3695445419_0.png', 1341182891: '1741240791_94912_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444807_0.png', 1341182890: '1741240791_94912_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444787_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/66eea03f2ee2842a069f5ee16a2667b2_24268034.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/de55ffd66e21672e7586c85fc81918fe_28911890.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1b9f7290f36c7813362f27ec9bf2dd65_98209620.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f4548b7a309b81238ca7f6b4668dcf16_60197946.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/83bcf073e04b5091c2b6a02a2b42b40a_25621350.png change filename to text .wget -O 6.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/326461ebc86eebac522fad7bdfe88ef2_25752897.jpg change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/10d3b707238e82eb3593fe8010980902_56359468.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/e9f8d59e58f26b06fabcfdc9dc68acaf_21989774.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c4d36fbd40db5ff06582ac93e6afee14_41444409.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9683814e2b61742f32b6a81688aec8b8_59107051.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/94aad61fbf4fbc5a3301e10972c4b589_16027955.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bb834cdff1035d3d568d686d33b969f8_53387902.png change filename to text .wget -O 13.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ffe334f0bf76cdb78130c55a39ff0539_12250951.jpg change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2e6f22323fd71aac171f27698485478d_37144401.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/78d82220d29f966f49f1110fba164b2e_43000750.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d2ad675b9268209be25c32e39db7b610_92767979.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1b9f7290f36c7813362f27ec9bf2dd65_65926295.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6210995ab45ebd9f85c1cc5bfba683d7_82806246.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/94aad61fbf4fbc5a3301e10972c4b589_74961840.png change filename to text .imagette211038011741322760/ imagette211038011741322760/1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445915_0.png.png imagette211038011741322760/1741240791_94912_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444787_0.png.png imagette211038011741322760/1741241152_101469_1341182872_88439168079ad40bf316f0467b4d8d41_rle_crop_3695447607_0.png.png imagette211038011741322760/1741241152_101469_1341182872_88439168079ad40bf316f0467b4d8d41_rle_crop_3695447602_0.png.png imagette211038011741322760/1741242714_123725_1341181986_f4965385c5b418fe6c008c7080099135_rle_crop_3695466778_0.png.png imagette211038011741322760/1741240861_96358_1341182403_69b4d22004758164ddf73179c71a7f97_rle_crop_3695445946_0.png.png imagette211038011741322760/1741240861_96358_1341182587_087137887cb29c17bd17a4d71866cc23_rle_crop_3695445419_0.png.png imagette211038011741322760/1741241175_101950_1341182887_28b1070cf8ec67ee6f47c102902660b7_rle_crop_3695447637_0.png.png imagette211038011741322760/1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695446162_0.png.png imagette211038011741322760/1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445917_0.png.png imagette211038011741322760/1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_bib_crop_3695443818_0.jpg.jpg imagette211038011741322760/1741241152_101469_1341182920_6d7affcaaf2df417b4b4a7d1c6452651_rle_crop_3695447526_0.png.png imagette211038011741322760/1741240791_94912_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444807_0.png.png imagette211038011741322760/1741240530_92287_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440366_0.png.png imagette211038011741322760/1741240873_96554_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444787_0.png.png imagette211038011741322760/1741242667_122720_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440366_0.png.png imagette211038011741322760/1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_bib_crop_3695447622_0.jpg.jpg imagette211038011741322760/1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_rle_crop_3695448493_0.png.png imagette211038011741322760/1741240873_96554_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444807_0.png.png imagette211038011741322760/1741242667_122720_1341182131_f6181a3a8fbf676171c4afe9e6c6b30b_rle_crop_3695466314_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bb834cdff1035d3d568d686d33b969f8_36123212.png imagette211038011741322760 21103802 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=21103802 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341182742: '1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442712_0.png'} change filename to text .imagette211038021741322762/ imagette211038021741322762/1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442712_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7f6a59cab27eb6357363daee6ea25573_13336935.png imagette211038021741322762 21103803 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=21103803 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341182337: '1741240622_93194_1341182214_88f9b6794a7c24cd1870bb7132e2b69c_rle_crop_3695442570_0.png', 1341182338: '1741240622_93194_1341182211_4ccb748eeab98cc030e692a5a7271474_rle_crop_3695442586_0.png', 1341182350: '1741240634_93376_1341182116_48280cf67222c10e3c95ab4a15f9b13f_rle_crop_3695442641_0.png', 1341182740: '1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442710_0.png', 1341182741: '1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442714_0.png', 1341182855: '1741240773_94669_1341182334_5eddf2bdd4a73d4141b9aa34f1c3bd3e_rle_crop_3695442865_0.png', 1341182856: '1741240773_94669_1341182258_f328e626ad8156229c77bdcb898a8540_rle_crop_3695442883_0.png', 1341182896: '1741240791_94912_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443780_0.png', 1341182897: '1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443809_0.png', 1341183217: '1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445910_0.png', 1341183268: '1741240873_96554_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443780_0.png', 1341183269: '1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443809_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/de2339cfa999d70914cf362ba9ca65da_26343991.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/12686d90ec7498e5c6ccdfb2b9f70672_36908125.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1f6dd74ebbf7c8d77df34f7a2f3862c0_23090150.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4e166249ed2f7588c65c0b94309d0fdc_11676552.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bcf697fd7983cbe91ee0ac41bd79be44_89303829.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6c909ac2ae2c859a0bb44127a46b1a01_47644215.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/cd60a35f74051b016dd0190544095a8c_44685077.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d72dc59e8902e6d6f2c3ae0bfba02c15_21476944.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bf975e47b432d06af2fcb763fd9a60b3_80751959.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f626b1769d3957c327567f79493244b6_57492904.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d72dc59e8902e6d6f2c3ae0bfba02c15_8139926.png change filename to text .imagette211038031741322763/ imagette211038031741322763/1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442710_0.png.png imagette211038031741322763/1741240622_93194_1341182214_88f9b6794a7c24cd1870bb7132e2b69c_rle_crop_3695442570_0.png.png imagette211038031741322763/1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445910_0.png.png imagette211038031741322763/1741240634_93376_1341182116_48280cf67222c10e3c95ab4a15f9b13f_rle_crop_3695442641_0.png.png imagette211038031741322763/1741240773_94669_1341182258_f328e626ad8156229c77bdcb898a8540_rle_crop_3695442883_0.png.png imagette211038031741322763/1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442714_0.png.png imagette211038031741322763/1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443809_0.png.png imagette211038031741322763/1741240791_94912_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443780_0.png.png imagette211038031741322763/1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443809_0.png.png imagette211038031741322763/1741240773_94669_1341182334_5eddf2bdd4a73d4141b9aa34f1c3bd3e_rle_crop_3695442865_0.png.png imagette211038031741322763/1741240622_93194_1341182211_4ccb748eeab98cc030e692a5a7271474_rle_crop_3695442586_0.png.png imagette211038031741322763/1741240873_96554_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443780_0.png.png imagette211038061741322764/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/bf975e47b432d06af2fcb763fd9a60b3_30072072.png imagette211038031741322763 21103806 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=21103806 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211038061741322764 21103807 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=21103807 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341182240: '1741240530_92287_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440370_0.png', 1341182351: '1741240634_93376_1341182116_48280cf67222c10e3c95ab4a15f9b13f_rle_crop_3695442652_0.png', 1341183575: '1741241175_101950_1341182851_8545d3dc92136bba99d38267f8028a49_rle_crop_3695447699_0.png', 1341186209: '1741242667_122720_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440370_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/fb96cb9c2d0a8692feeb28877f33f20d_28859475.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/97e5f0b4378688d4666b36d32dad2b73_48333752.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0baad96e2e6f0dc447c97b279ecc22c6_47273049.png change filename to text .imagette211038071741322764/ imagette211038071741322764/1741240634_93376_1341182116_48280cf67222c10e3c95ab4a15f9b13f_rle_crop_3695442652_0.png.png imagette211038071741322764/1741241175_101950_1341182851_8545d3dc92136bba99d38267f8028a49_rle_crop_3695447699_0.png.png imagette211038071741322764/1741240530_92287_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440370_0.png.png imagette211038071741322764/1741242667_122720_1341182082_8977aa0b4867e5c272360300866255f3_rle_crop_3695440370_0.png.png imagette211038091741322765/ imagette211038101741322765/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/fb96cb9c2d0a8692feeb28877f33f20d_19664579.png imagette211038071741322764 21103809 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=21103809 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211038091741322765 21103810 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=21103810 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211038101741322765 21103808 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=21103808 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341182348: '1741240634_93376_1341182121_06051cb0b4460133680227ecced87295_rle_crop_3695442626_0.png', 1341182349: '1741240634_93376_1341182116_48280cf67222c10e3c95ab4a15f9b13f_rle_crop_3695442648_0.png', 1341182739: '1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442717_0.png', 1341182892: '1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443807_0.png', 1341182893: '1741240791_94912_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444803_0.png', 1341183214: '1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445916_0.png', 1341183215: '1741240861_96358_1341182403_69b4d22004758164ddf73179c71a7f97_rle_crop_3695445938_0.png', 1341183262: '1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443807_0.png', 1341183263: '1741240873_96554_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444803_0.png', 1341183558: '1741241152_101469_1341182920_6d7affcaaf2df417b4b4a7d1c6452651_rle_crop_3695447517_0.png', 1341183559: '1741241152_101469_1341182879_b5cf669e897051c4495032f69d724c53_rle_crop_3695447585_0.png', 1341183560: '1741241152_101469_1341182872_88439168079ad40bf316f0467b4d8d41_rle_crop_3695447601_0.png', 1341183561: '1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_rle_crop_3695447620_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/22b020b1aa5c89d78f2145b1fd8c3b22_93196479.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4a1cb4d278c424213b06682ba0fefae2_94481469.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1d2ae033467ebd28dd57c8b8f05f1d11_45343866.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2891f4d957c99ebe598c93672bc92efb_42930402.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2a03eb30726849c9747860f6ebe704a9_13616123.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/aa23a9e3320564d6eeebac0df69bb205_3045271.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/b58b0e6c35c35c0444c73d89c73607a8_13594040.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2891f4d957c99ebe598c93672bc92efb_98963518.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/2a03eb30726849c9747860f6ebe704a9_79715883.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a7fc211797c7c5873a466381e85a42a0_40425699.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/493debe0a49ab63df4a606dbd705e6cb_61417752.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d8a2771c2d8ecc56ff8694a0bc327433_55426842.png change filename to text .imagette211038081741322765/ imagette211038081741322765/1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_rle_crop_3695447620_0.png.png imagette211038081741322765/1741240634_93376_1341182116_48280cf67222c10e3c95ab4a15f9b13f_rle_crop_3695442648_0.png.png imagette211038081741322765/1741240861_96358_1341182403_69b4d22004758164ddf73179c71a7f97_rle_crop_3695445938_0.png.png imagette211038081741322765/1741240873_96554_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444803_0.png.png imagette211038081741322765/1741240791_94912_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc_rle_crop_3695444803_0.png.png imagette211038081741322765/1741241152_101469_1341182872_88439168079ad40bf316f0467b4d8d41_rle_crop_3695447601_0.png.png imagette211038081741322765/1741241152_101469_1341182920_6d7affcaaf2df417b4b4a7d1c6452651_rle_crop_3695447517_0.png.png imagette211038081741322765/1741240752_94449_1341182262_79812eb21a7dd5aedddde3a62ccee28f_rle_crop_3695442717_0.png.png imagette211038081741322765/1741241152_101469_1341182879_b5cf669e897051c4495032f69d724c53_rle_crop_3695447585_0.png.png imagette211038081741322765/1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443807_0.png.png imagette211038081741322765/1741240634_93376_1341182121_06051cb0b4460133680227ecced87295_rle_crop_3695442626_0.png.png imagette211038081741322765/1741240861_96358_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d_rle_crop_3695445916_0.png.png imagette211038081741322765/1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443807_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/cf300ba6010fb66fb54ce97eeed62190_42137247.png imagette211038081741322765 21103811 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=21103811 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341182898: '1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443811_0.png', 1341183219: '1741240861_96358_1341182403_69b4d22004758164ddf73179c71a7f97_rle_crop_3695445945_0.png', 1341183271: '1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443811_0.png', 1341183564: '1741241152_101469_1341182920_6d7affcaaf2df417b4b4a7d1c6452651_rle_crop_3695447522_0.png', 1341183566: '1741241152_101469_1341182879_b5cf669e897051c4495032f69d724c53_rle_crop_3695447588_0.png', 1341183567: '1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_rle_crop_3695447619_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4921b201caabd068855660e29a2f6275_2474273.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/0806c700bcda9cbb8307ae2b167939e6_10908989.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/4921b201caabd068855660e29a2f6275_55476191.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d9fd83073d1f163f002d89198010d4ff_43306913.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/5f66ce193c9ab75923e9a864a12713bd_3906205.png change filename to text .imagette211038111741322766/ imagette211038111741322766/1741241152_101469_1341182879_b5cf669e897051c4495032f69d724c53_rle_crop_3695447588_0.png.png imagette211038111741322766/1741240861_96358_1341182403_69b4d22004758164ddf73179c71a7f97_rle_crop_3695445945_0.png.png imagette211038111741322766/1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443811_0.png.png imagette211038111741322766/1741241152_101469_1341182870_ecfb5b88631f8365a49156ef935e9d1d_rle_crop_3695447619_0.png.png imagette211038111741322766/1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443811_0.png.png imagette211038111741322766/1741241152_101469_1341182920_6d7affcaaf2df417b4b4a7d1c6452651_rle_crop_3695447522_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/10a1aaae40487df2aeed57bf19d8f1e7_43857485.png imagette211038111741322766 21103812 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=21103812 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341182103: '1741240412_90808_1341181783_6e4f2f2976a5c740bffcc8b34fedbdb7_rle_crop_3695440026_0.png', 1341182330: '1741240622_93194_1341182220_63a06f776ff5dd4c1fe44261ea4af2d6_rle_crop_3695442565_0.png', 1341182849: '1741240773_94669_1341182334_5eddf2bdd4a73d4141b9aa34f1c3bd3e_rle_crop_3695442867_0.png', 1341182850: '1741240773_94669_1341182258_f328e626ad8156229c77bdcb898a8540_rle_crop_3695442889_0.png', 1341182884: '1741240791_94912_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443788_0.png', 1341182885: '1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443819_0.png', 1341182886: '1741240791_94912_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444788_0.png', 1341183253: '1741240873_96554_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443788_0.png', 1341183254: '1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443819_0.png', 1341183255: '1741240873_96554_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444788_0.png', 1341183539: '1741241152_101469_1341182879_b5cf669e897051c4495032f69d724c53_rle_crop_3695447590_0.png', 1341186531: '1741242714_123725_1341181986_f4965385c5b418fe6c008c7080099135_rle_crop_3695466781_0.png', 1341186532: '1741242714_123725_1341181783_6e4f2f2976a5c740bffcc8b34fedbdb7_rle_crop_3695440026_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/fa201d6620560d2a263b9ecd2007b5c8_54895474.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3bcc056997063f4b3f7cfc620377f3a9_3171306.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1a0d2f3dd0a53559e1d6c85003f667df_56898427.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a0526566f0c279a148b757bee7cf757a_58901297.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ba408bfd9e01d870f17193df0d70bab2_37103651.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dd267af82d07200d13539ebb8cd17693_67282609.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6fb732a54c6aee8a5856d68c2b0d21a0_6669298.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ba408bfd9e01d870f17193df0d70bab2_50100399.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dd267af82d07200d13539ebb8cd17693_95094456.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6fb732a54c6aee8a5856d68c2b0d21a0_32058734.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/c4c20fc084c3c7cb993b36092d5cd82a_97527296.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/3a0f5d52c3ce62508ee483d1a75e8e45_81325896.png change filename to text .imagette211038121741322767/ imagette211038121741322767/1741242714_123725_1341181783_6e4f2f2976a5c740bffcc8b34fedbdb7_rle_crop_3695440026_0.png.png imagette211038121741322767/1741240791_94912_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443788_0.png.png imagette211038121741322767/1741240791_94912_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443819_0.png.png imagette211038121741322767/1741240773_94669_1341182334_5eddf2bdd4a73d4141b9aa34f1c3bd3e_rle_crop_3695442867_0.png.png imagette211038121741322767/1741240773_94669_1341182258_f328e626ad8156229c77bdcb898a8540_rle_crop_3695442889_0.png.png imagette211038121741322767/1741241152_101469_1341182879_b5cf669e897051c4495032f69d724c53_rle_crop_3695447590_0.png.png imagette211038121741322767/1741240873_96554_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444788_0.png.png imagette211038121741322767/1741240791_94912_1341182315_57fddda364f95efca789a8327c7690ac_rle_crop_3695444788_0.png.png imagette211038121741322767/1741240873_96554_1341182320_03ad9498142ccd90707902a6f280576b_rle_crop_3695443819_0.png.png imagette211038121741322767/1741242714_123725_1341181986_f4965385c5b418fe6c008c7080099135_rle_crop_3695466781_0.png.png imagette211038121741322767/1741240412_90808_1341181783_6e4f2f2976a5c740bffcc8b34fedbdb7_rle_crop_3695440026_0.png.png imagette211038121741322767/1741240622_93194_1341182220_63a06f776ff5dd4c1fe44261ea4af2d6_rle_crop_3695442565_0.png.png imagette211038121741322767/1741240873_96554_1341182328_55598b713e34904bc1b661a942275e73_rle_crop_3695443788_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/fa201d6620560d2a263b9ecd2007b5c8_27914518.png imagette211038121741322767 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21103797 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21103813,21103814,21103815,21103816,21103817,21103818,21103819,21103820,21103821,21103822,21103823,21103824?tags=autre_refus,kraft,cartonnette,papier,environnement,metal,plastique,Carton_gris,mal_croppe,flou,Carton_brun,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1341182920] : ('0.06284758607335356',) no score found for photo 1341182920 We are sending mail with results at report@fotonower.com args[1341182887] : ('0.06284758607335356',) no score found for photo 1341182887 We are sending mail with results at report@fotonower.com args[1341182879] : ('0.06284758607335356',) no score found for photo 1341182879 We are sending mail with results at report@fotonower.com args[1341182872] : ('0.06284758607335356',) no score found for photo 1341182872 We are sending mail with results at report@fotonower.com args[1341182870] : ('0.06284758607335356',) no score found for photo 1341182870 We are sending mail with results at report@fotonower.com args[1341182863] : ('0.06284758607335356',) no score found for photo 1341182863 We are sending mail with results at report@fotonower.com args[1341182851] : ('0.06284758607335356',) no score found for photo 1341182851 We are sending mail with results at report@fotonower.com args[1341182845] : ('0.06284758607335356',) no score found for photo 1341182845 We are sending mail with results at report@fotonower.com args[1341182612] : ('0.06284758607335356',) no score found for photo 1341182612 We are sending mail with results at report@fotonower.com args[1341182587] : ('0.06284758607335356',) no score found for photo 1341182587 We are sending mail with results at report@fotonower.com args[1341182537] : ('0.06284758607335356',) no score found for photo 1341182537 We are sending mail with results at report@fotonower.com args[1341182501] : ('0.06284758607335356',) no score found for photo 1341182501 We are sending mail with results at report@fotonower.com args[1341182403] : ('0.06284758607335356',) no score found for photo 1341182403 We are sending mail with results at report@fotonower.com args[1341182334] : ('0.06284758607335356',) no score found for photo 1341182334 We are sending mail with results at report@fotonower.com args[1341182328] : ('0.06284758607335356',) no score found for photo 1341182328 We are sending mail with results at report@fotonower.com args[1341182324] : ('0.06284758607335356',) no score found for photo 1341182324 We are sending mail with results at report@fotonower.com args[1341182320] : ('0.06284758607335356',) no score found for photo 1341182320 We are sending mail with results at report@fotonower.com args[1341182315] : ('0.06284758607335356',) no score found for photo 1341182315 We are sending mail with results at report@fotonower.com args[1341182292] : ('0.06284758607335356',) no score found for photo 1341182292 We are sending mail with results at report@fotonower.com args[1341182262] : ('0.06284758607335356',) no score found for photo 1341182262 We are sending mail with results at report@fotonower.com args[1341182258] : ('0.06284758607335356',) no score found for photo 1341182258 We are sending mail with results at report@fotonower.com args[1341182248] : ('0.06284758607335356',) no score found for photo 1341182248 We are sending mail with results at report@fotonower.com args[1341182245] : ('0.06284758607335356',) no score found for photo 1341182245 We are sending mail with results at report@fotonower.com args[1341182230] : ('0.06284758607335356',) no score found for photo 1341182230 We are sending mail with results at report@fotonower.com args[1341182225] : ('0.06284758607335356',) no score found for photo 1341182225 We are sending mail with results at report@fotonower.com args[1341182220] : ('0.06284758607335356',) no score found for photo 1341182220 We are sending mail with results at report@fotonower.com args[1341182214] : ('0.06284758607335356',) no score found for photo 1341182214 We are sending mail with results at report@fotonower.com args[1341182211] : ('0.06284758607335356',) no score found for photo 1341182211 We are sending mail with results at report@fotonower.com args[1341182131] : ('0.06284758607335356',) no score found for photo 1341182131 We are sending mail with results at report@fotonower.com args[1341182126] : ('0.06284758607335356',) no score found for photo 1341182126 We are sending mail with results at report@fotonower.com args[1341182121] : ('0.06284758607335356',) no score found for photo 1341182121 We are sending mail with results at report@fotonower.com args[1341182116] : ('0.06284758607335356',) no score found for photo 1341182116 We are sending mail with results at report@fotonower.com args[1341182114] : ('0.06284758607335356',) no score found for photo 1341182114 We are sending mail with results at report@fotonower.com args[1341182089] : ('0.06284758607335356',) no score found for photo 1341182089 We are sending mail with results at report@fotonower.com args[1341182085] : ('0.06284758607335356',) no score found for photo 1341182085 We are sending mail with results at report@fotonower.com args[1341182082] : ('0.06284758607335356',) no score found for photo 1341182082 We are sending mail with results at report@fotonower.com args[1341182077] : ('0.06284758607335356',) no score found for photo 1341182077 We are sending mail with results at report@fotonower.com args[1341181986] : ('0.06284758607335356',) no score found for photo 1341181986 We are sending mail with results at report@fotonower.com args[1341181968] : ('0.06284758607335356',) no score found for photo 1341181968 We are sending mail with results at report@fotonower.com args[1341181787] : ('0.06284758607335356',) no score found for photo 1341181787 We are sending mail with results at report@fotonower.com args[1341181783] : ('0.06284758607335356',) no score found for photo 1341181783 We are sending mail with results at report@fotonower.com refus_total : 0.06284758607335356 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=21103797 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_P21103797_07-03-2025_05_46_00.pdf results_Auto_P21103797_07-03-2025_05_46_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.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','21103797','results_Auto_P21103797_07-03-2025_05_46_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf','pdf','','0.44','0.06284758607335356') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21103797]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] map_info['map_portfolio_photo'] : {21103797: [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783]} final : False mtd_id 4302 list_pids : [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] 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, '2646961') ('4302', '21103797', '1341182920', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 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', '21103797', '1341182920', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961')] time used for this insertion : 0.023553848266601562 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.29927945137024 time spend to save output : 0.023996591567993164 total time spend for step 4 : 11.323276042938232 step5:split_time_score Fri Mar 7 05:46:10 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 : ['21103797'] 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 : [('21103797',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21103797) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1341182870: {'path': 'temp/1741322759_1133500_1341182870_ecfb5b88631f8365a49156ef935e9d1d.jpg', 'extension': 'jpg'}, 1341182872: {'path': 'temp/1741322759_1133500_1341182872_88439168079ad40bf316f0467b4d8d41.jpg', 'extension': 'jpg'}, 1341182879: {'path': 'temp/1741322759_1133500_1341182879_b5cf669e897051c4495032f69d724c53.jpg', 'extension': 'jpg'}, 1341182887: {'path': 'temp/1741322759_1133500_1341182887_28b1070cf8ec67ee6f47c102902660b7.jpg', 'extension': 'jpg'}, 1341182920: {'path': 'temp/1741322759_1133500_1341182920_6d7affcaaf2df417b4b4a7d1c6452651.jpg', 'extension': 'jpg'}, 1341182334: {'path': 'temp/1741322759_1133500_1341182334_5eddf2bdd4a73d4141b9aa34f1c3bd3e.jpg', 'extension': 'jpg'}, 1341182403: {'path': 'temp/1741322759_1133500_1341182403_69b4d22004758164ddf73179c71a7f97.jpg', 'extension': 'jpg'}, 1341182501: {'path': 'temp/1741322759_1133500_1341182501_c9fc3ebbf9cb0b14a280c93426b2fd7d.jpg', 'extension': 'jpg'}, 1341182537: {'path': 'temp/1741322759_1133500_1341182537_32ba32a53781e2783ff403b5d43944c4.jpg', 'extension': 'jpg'}, 1341182587: {'path': 'temp/1741322759_1133500_1341182587_087137887cb29c17bd17a4d71866cc23.jpg', 'extension': 'jpg'}, 1341182612: {'path': 'temp/1741322759_1133500_1341182612_f12e225e22aab8719bcf29dcfc20f910.jpg', 'extension': 'jpg'}, 1341182845: {'path': 'temp/1741322759_1133500_1341182845_091d391d22ef423b1f8b25a3a5ccb4ee.jpg', 'extension': 'jpg'}, 1341182851: {'path': 'temp/1741322759_1133500_1341182851_8545d3dc92136bba99d38267f8028a49.jpg', 'extension': 'jpg'}, 1341182863: {'path': 'temp/1741322759_1133500_1341182863_fb6ddf4a89b709fd692b1f50235e154a.jpg', 'extension': 'jpg'}, 1341182245: {'path': 'temp/1741322759_1133500_1341182245_c857ac76d86472f20210a73e0858b80c.jpg', 'extension': 'jpg'}, 1341182248: {'path': 'temp/1741322759_1133500_1341182248_b95503acc42ca833cdb69ffe73d08dbe.jpg', 'extension': 'jpg'}, 1341182258: {'path': 'temp/1741322759_1133500_1341182258_f328e626ad8156229c77bdcb898a8540.jpg', 'extension': 'jpg'}, 1341182262: {'path': 'temp/1741322759_1133500_1341182262_79812eb21a7dd5aedddde3a62ccee28f.jpg', 'extension': 'jpg'}, 1341182292: {'path': 'temp/1741322759_1133500_1341182292_d640f1d8df73c8ab550cb3ddde3cddbc.jpg', 'extension': 'jpg'}, 1341182315: {'path': 'temp/1741322759_1133500_1341182315_57fddda364f95efca789a8327c7690ac.jpg', 'extension': 'jpg'}, 1341182320: {'path': 'temp/1741322759_1133500_1341182320_03ad9498142ccd90707902a6f280576b.jpg', 'extension': 'jpg'}, 1341182324: {'path': 'temp/1741322759_1133500_1341182324_549e9fefc16a7e58c810595604c7df64.jpg', 'extension': 'jpg'}, 1341182328: {'path': 'temp/1741322759_1133500_1341182328_55598b713e34904bc1b661a942275e73.jpg', 'extension': 'jpg'}, 1341181783: {'path': 'temp/1741322759_1133500_1341181783_6e4f2f2976a5c740bffcc8b34fedbdb7.jpg', 'extension': 'jpg'}, 1341181787: {'path': 'temp/1741322759_1133500_1341181787_aec47d0926cc385b4d0cac905592dfb0.jpg', 'extension': 'jpg'}, 1341181968: {'path': 'temp/1741322759_1133500_1341181968_1643ae24a099e55c715d9fab67bb8a7e.jpg', 'extension': 'jpg'}, 1341181986: {'path': 'temp/1741322759_1133500_1341181986_f4965385c5b418fe6c008c7080099135.jpg', 'extension': 'jpg'}, 1341182077: {'path': 'temp/1741322759_1133500_1341182077_4099de597d9691be7974545bc3700f0e.jpg', 'extension': 'jpg'}, 1341182082: {'path': 'temp/1741322759_1133500_1341182082_8977aa0b4867e5c272360300866255f3.jpg', 'extension': 'jpg'}, 1341182085: {'path': 'temp/1741322759_1133500_1341182085_93864896cf9ac47ec2b5e500703b8418.jpg', 'extension': 'jpg'}, 1341182089: {'path': 'temp/1741322759_1133500_1341182089_7fbec6768aaafe83ff2b0bf95a204036.jpg', 'extension': 'jpg'}, 1341182114: {'path': 'temp/1741322759_1133500_1341182114_fdb07877bdb1952c49ae4771622e5bdb.jpg', 'extension': 'jpg'}, 1341182116: {'path': 'temp/1741322759_1133500_1341182116_48280cf67222c10e3c95ab4a15f9b13f.jpg', 'extension': 'jpg'}, 1341182121: {'path': 'temp/1741322759_1133500_1341182121_06051cb0b4460133680227ecced87295.jpg', 'extension': 'jpg'}, 1341182126: {'path': 'temp/1741322759_1133500_1341182126_2ca382cdc66d1f661921e1030f7683ca.jpg', 'extension': 'jpg'}, 1341182131: {'path': 'temp/1741322759_1133500_1341182131_f6181a3a8fbf676171c4afe9e6c6b30b.jpg', 'extension': 'jpg'}, 1341182211: {'path': 'temp/1741322759_1133500_1341182211_4ccb748eeab98cc030e692a5a7271474.jpg', 'extension': 'jpg'}, 1341182214: {'path': 'temp/1741322759_1133500_1341182214_88f9b6794a7c24cd1870bb7132e2b69c.jpg', 'extension': 'jpg'}, 1341182220: {'path': 'temp/1741322759_1133500_1341182220_63a06f776ff5dd4c1fe44261ea4af2d6.jpg', 'extension': 'jpg'}, 1341182225: {'path': 'temp/1741322759_1133500_1341182225_99922eee5b2ca041e12ec600ce7aaf66.jpg', 'extension': 'jpg'}, 1341182230: {'path': 'temp/1741322759_1133500_1341182230_31922424b07a3fd0f096df35f6ec4c22.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 = 21103797; (('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 = 21103797 group by h (('06', 41),) 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=21103797 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 (21103797) 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 (21103797) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21103797 Nombre de photos uploadées : 41 / 23040 (0%) 06032025 21103797 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 06032025 21103797 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1341181787, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/aec47d0926cc385b4d0cac905592dfb0.jpg', 'username': None, 'uploaded_at': 1741240226, 'text': 'image_06032025_06_49_24_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1341181783, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/6e4f2f2976a5c740bffcc8b34fedbdb7.jpg', 'username': None, 'uploaded_at': 1741240226, 'text': 'image_06032025_06_49_34_010142m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1341181986, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f4965385c5b418fe6c008c7080099135.jpg', 'username': None, 'uploaded_at': 1741240350, 'text': 'image_06032025_06_49_44_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1341181968, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1643ae24a099e55c715d9fab67bb8a7e.jpg', 'username': None, 'uploaded_at': 1741240350, 'text': 'image_06032025_06_51_44_010139m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021250247955322266 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21103797, '2025-03-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1643118,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.027805328369140625 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= 1643118 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21089189, 'dashboard_result_id': 9280880, '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_P21089189_07-03-2025_05_34_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21089816, 'dashboard_result_id': 9280881, '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_P21089816_07-03-2025_05_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21090352, 'dashboard_result_id': 9280882, '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_P21090352_07-03-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21090945, 'dashboard_result_id': 9280883, '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_P21090945_07-03-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21092289, 'dashboard_result_id': 9280884, '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_P21092289_07-03-2025_05_36_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21092977, 'dashboard_result_id': 9280885, '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_P21092977_07-03-2025_05_36_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21093291, 'dashboard_result_id': 9280886, '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_P21093291_07-03-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21093935, 'dashboard_result_id': 9280887, '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_P21093935_07-03-2025_05_38_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21094390, 'dashboard_result_id': 9280888, '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_P21094390_07-03-2025_05_38_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21095280, 'dashboard_result_id': 9280889, '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_P21095280_07-03-2025_05_39_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21095667, 'dashboard_result_id': 9280890, '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_P21095667_07-03-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21096248, 'dashboard_result_id': 9280891, '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_P21096248_07-03-2025_05_40_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21096666, 'dashboard_result_id': 9280892, '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_P21096666_07-03-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21097374, 'dashboard_result_id': 9280893, '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_P21097374_07-03-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21098051, 'dashboard_result_id': 9280894, '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_P21098051_07-03-2025_05_41_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21098769, 'dashboard_result_id': 9280895, '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_P21098769_07-03-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21099782, 'dashboard_result_id': 9280896, '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_P21099782_07-03-2025_05_42_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21099976, 'dashboard_result_id': 9280897, '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_P21099976_07-03-2025_05_43_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21100547, 'dashboard_result_id': 9280898, '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_P21100547_07-03-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21101038, 'dashboard_result_id': 9280899, '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_P21101038_07-03-2025_05_44_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21101489, 'dashboard_result_id': 9280900, '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_P21101489_07-03-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21102170, 'dashboard_result_id': 9280901, '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_P21102170_07-03-2025_05_45_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21102865, 'dashboard_result_id': 9280902, '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_P21102865_07-03-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21103797, 'dashboard_result_id': 9280903, '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_P21103797_06-03-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21104322, 'dashboard_result_id': 9280904, '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_P21104322_06-03-2025_07_22_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21104678, 'dashboard_result_id': 9280905, '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_P21104678_06-03-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21105437, 'dashboard_result_id': 9280906, '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_P21105437_06-03-2025_07_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21106093, 'dashboard_result_id': 9280907, '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_P21106093_06-03-2025_08_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21106656, 'dashboard_result_id': 9280908, '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_P21106656_06-03-2025_08_19_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21107494, 'dashboard_result_id': 9280909, '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_P21107494_06-03-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21108337, 'dashboard_result_id': 9280910, '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_P21108337_06-03-2025_08_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21109218, 'dashboard_result_id': 9280911, '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_P21109218_06-03-2025_09_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21110844, 'dashboard_result_id': 9280912, '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_P21110844_06-03-2025_09_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21111209, 'dashboard_result_id': 9280913, '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_P21111209_06-03-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21111884, 'dashboard_result_id': 9280914, '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_P21111884_06-03-2025_10_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21112480, 'dashboard_result_id': 9280915, '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_P21112480_06-03-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21113008, 'dashboard_result_id': 9280916, '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_P21113008_06-03-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21114013, 'dashboard_result_id': 9280917, '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_P21114013_07-03-2025_03_22_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21117388, 'dashboard_result_id': 9280918, '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_P21117388_06-03-2025_13_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21117674, 'dashboard_result_id': 9280919, '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_P21117674_07-03-2025_03_23_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133287, 'dashboard_result_id': 9280920, '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_P21133287_07-03-2025_03_23_34.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133288, 'dashboard_result_id': 9280921, '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_P21133288_07-03-2025_03_24_02.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133289, 'dashboard_result_id': 9280922, '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_P21133289_07-03-2025_03_24_33.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133290, 'dashboard_result_id': 9280923, '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_P21133290_07-03-2025_03_22_02.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133291, 'dashboard_result_id': 9280924, '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_P21133291_07-03-2025_03_21_35.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133292, 'dashboard_result_id': 9280925, '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_P21133292_07-03-2025_03_20_04.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133293, 'dashboard_result_id': 9280926, '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_P21133293_07-03-2025_03_20_33.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133294, 'dashboard_result_id': 9280927, '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_P21133294_07-03-2025_03_21_04.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133295, 'dashboard_result_id': 9280928, '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_P21133295_07-03-2025_03_19_02.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133296, 'dashboard_result_id': 9280929, '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_P21133296_07-03-2025_03_18_35.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21119031, 'dashboard_result_id': 9280930, '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_P21119031_07-03-2025_03_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118295, 'dashboard_result_id': 9280931, '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_P21118295_06-03-2025_17_23_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118076, 'dashboard_result_id': 9280932, '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_P21118076_06-03-2025_17_09_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118079, 'dashboard_result_id': 9280933, '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_P21118079_06-03-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118816, 'dashboard_result_id': 9280934, '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_P21118816_06-03-2025_18_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21120709, 'dashboard_result_id': 9280935, '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_P21120709_06-03-2025_18_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21121041, 'dashboard_result_id': 9280936, '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_P21121041_06-03-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21121351, 'dashboard_result_id': 9280937, '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_P21121351_06-03-2025_18_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21121836, 'dashboard_result_id': 9280938, '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_P21121836_06-03-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21122791, 'dashboard_result_id': 9280939, '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_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21123460, 'dashboard_result_id': 9280940, '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_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21124323, 'dashboard_result_id': 9280941, '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_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21124985, 'dashboard_result_id': 9280942, '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_P21124985_06-03-2025_20_02_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21126060, 'dashboard_result_id': 9280943, '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_P21126060_06-03-2025_20_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21127175, 'dashboard_result_id': 9280944, '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_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21127177, 'dashboard_result_id': 9280945, '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_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21128421, 'dashboard_result_id': 9280946, '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_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, '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 = 21089189 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': 2646938, 'mtr_portfolio_id': 21089189, 'created_at': datetime.datetime(2025, 3, 7, 5, 34, 32), 'result': '0.060906804969983644', 'result_long': None, 'result_double': None}] Qualite : 0.060906804969983644 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21089189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_07-03-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089189 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_P21089189_07-03-2025_05_34_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}" where mtr_portfolio_id = 21089189 and dashboard_run_id = 1653819 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`=21089189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280880, 0.060906804969983644, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_07-03-2025_05_34_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, '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 = 21089816 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': 2646939, 'mtr_portfolio_id': 21089816, 'created_at': datetime.datetime(2025, 3, 7, 5, 35), 'result': '0.06979594246379299', 'result_long': None, 'result_double': None}] Qualite : 0.06979594246379299 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21089816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_07-03-2025_05_35_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089816 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_P21089816_07-03-2025_05_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}" where mtr_portfolio_id = 21089816 and dashboard_run_id = 1653819 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`=21089816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280881, 0.06979594246379299, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_07-03-2025_05_35_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, '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 = 21090352 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': 2646940, 'mtr_portfolio_id': 21090352, 'created_at': datetime.datetime(2025, 3, 7, 5, 35, 28), 'result': '0.06105178643937013', 'result_long': None, 'result_double': None}] Qualite : 0.06105178643937013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21090352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_07-03-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21090352 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_P21090352_07-03-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}" where mtr_portfolio_id = 21090352 and dashboard_run_id = 1653819 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`=21090352 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280882, 0.06105178643937013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_07-03-2025_05_35_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, '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 = 21090945 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': 2646941, 'mtr_portfolio_id': 21090945, 'created_at': datetime.datetime(2025, 3, 7, 5, 36), 'result': '0.05947562599877101', 'result_long': None, 'result_double': None}] Qualite : 0.05947562599877101 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21090945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_07-03-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21090945 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_P21090945_07-03-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}" where mtr_portfolio_id = 21090945 and dashboard_run_id = 1653819 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`=21090945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280883, 0.05947562599877101, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_07-03-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, '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 = 21092289 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': 2646942, 'mtr_portfolio_id': 21092289, 'created_at': datetime.datetime(2025, 3, 7, 5, 36, 32), 'result': '0.07237684759005589', 'result_long': None, 'result_double': None}] Qualite : 0.07237684759005589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21092289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_07-03-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21092289 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_P21092289_07-03-2025_05_36_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}" where mtr_portfolio_id = 21092289 and dashboard_run_id = 1653819 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`=21092289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280884, 0.07237684759005589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_07-03-2025_05_36_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, '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 = 21092977 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': 2646943, 'mtr_portfolio_id': 21092977, 'created_at': datetime.datetime(2025, 3, 7, 5, 36, 56), 'result': '0.06620645123109237', 'result_long': None, 'result_double': None}] Qualite : 0.06620645123109237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21092977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_07-03-2025_05_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21092977 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_P21092977_07-03-2025_05_36_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}" where mtr_portfolio_id = 21092977 and dashboard_run_id = 1653819 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`=21092977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280885, 0.06620645123109237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_07-03-2025_05_36_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, '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 = 21093291 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': 2646944, 'mtr_portfolio_id': 21093291, 'created_at': datetime.datetime(2025, 3, 7, 5, 37, 29), 'result': '0.06004371758526245', 'result_long': None, 'result_double': None}] Qualite : 0.06004371758526245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21093291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_07-03-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21093291 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_P21093291_07-03-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}" where mtr_portfolio_id = 21093291 and dashboard_run_id = 1653819 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`=21093291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280886, 0.06004371758526245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_07-03-2025_05_37_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, '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 = 21093935 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': 2646945, 'mtr_portfolio_id': 21093935, 'created_at': datetime.datetime(2025, 3, 7, 5, 37, 56), 'result': '0.07581135822792454', 'result_long': None, 'result_double': None}] Qualite : 0.07581135822792454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21093935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_07-03-2025_05_38_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21093935 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_P21093935_07-03-2025_05_38_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}" where mtr_portfolio_id = 21093935 and dashboard_run_id = 1653819 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`=21093935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280887, 0.07581135822792454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_07-03-2025_05_38_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, '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 = 21094390 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': 2646946, 'mtr_portfolio_id': 21094390, 'created_at': datetime.datetime(2025, 3, 7, 5, 38, 32), 'result': '0.06546204572261519', 'result_long': None, 'result_double': None}] Qualite : 0.06546204572261519 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21094390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_07-03-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21094390 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_P21094390_07-03-2025_05_38_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}" where mtr_portfolio_id = 21094390 and dashboard_run_id = 1653819 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`=21094390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280888, 0.06546204572261519, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_07-03-2025_05_38_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, '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 = 21095280 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': 2646947, 'mtr_portfolio_id': 21095280, 'created_at': datetime.datetime(2025, 3, 7, 5, 38, 58), 'result': '0.06821424575317067', 'result_long': None, 'result_double': None}] Qualite : 0.06821424575317067 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21095280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_07-03-2025_05_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21095280 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_P21095280_07-03-2025_05_39_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}" where mtr_portfolio_id = 21095280 and dashboard_run_id = 1653819 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`=21095280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280889, 0.06821424575317067, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_07-03-2025_05_39_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, '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 = 21095667 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': 2646948, 'mtr_portfolio_id': 21095667, 'created_at': datetime.datetime(2025, 3, 7, 5, 39, 30), 'result': '0.0765212916559334', 'result_long': None, 'result_double': None}] Qualite : 0.0765212916559334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21095667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_07-03-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21095667 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_P21095667_07-03-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}" where mtr_portfolio_id = 21095667 and dashboard_run_id = 1653819 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`=21095667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280890, 0.0765212916559334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_07-03-2025_05_39_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, '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 = 21096248 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': 2646949, 'mtr_portfolio_id': 21096248, 'created_at': datetime.datetime(2025, 3, 7, 5, 39, 58), 'result': '0.08114347907216608', 'result_long': None, 'result_double': None}] Qualite : 0.08114347907216608 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_07-03-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096248 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_P21096248_07-03-2025_05_40_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}" where mtr_portfolio_id = 21096248 and dashboard_run_id = 1653819 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`=21096248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280891, 0.08114347907216608, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_07-03-2025_05_40_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, '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 = 21096666 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': 2646950, 'mtr_portfolio_id': 21096666, 'created_at': datetime.datetime(2025, 3, 7, 5, 40, 28), 'result': '0.0712562827533276', 'result_long': None, 'result_double': None}] Qualite : 0.0712562827533276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_07-03-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096666 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_P21096666_07-03-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}" where mtr_portfolio_id = 21096666 and dashboard_run_id = 1653819 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`=21096666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280892, 0.0712562827533276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_07-03-2025_05_40_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, '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 = 21097374 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': 2646951, 'mtr_portfolio_id': 21097374, 'created_at': datetime.datetime(2025, 3, 7, 5, 40, 58), 'result': '0.06956256276613842', 'result_long': None, 'result_double': None}] Qualite : 0.06956256276613842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21097374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_07-03-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21097374 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_P21097374_07-03-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}" where mtr_portfolio_id = 21097374 and dashboard_run_id = 1653819 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`=21097374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280893, 0.06956256276613842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_07-03-2025_05_41_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, '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 = 21098051 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': 2646952, 'mtr_portfolio_id': 21098051, 'created_at': datetime.datetime(2025, 3, 7, 5, 41, 31), 'result': '0.06383366117953419', 'result_long': None, 'result_double': None}] Qualite : 0.06383366117953419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21098051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_07-03-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21098051 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_P21098051_07-03-2025_05_41_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}" where mtr_portfolio_id = 21098051 and dashboard_run_id = 1653819 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`=21098051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280894, 0.06383366117953419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_07-03-2025_05_41_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, '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 = 21098769 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': 2646953, 'mtr_portfolio_id': 21098769, 'created_at': datetime.datetime(2025, 3, 7, 5, 41, 59), 'result': '0.054906766081155155', 'result_long': None, 'result_double': None}] Qualite : 0.054906766081155155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21098769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_07-03-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21098769 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_P21098769_07-03-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}" where mtr_portfolio_id = 21098769 and dashboard_run_id = 1653819 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`=21098769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280895, 0.054906766081155155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_07-03-2025_05_42_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, '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 = 21099782 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': 2646954, 'mtr_portfolio_id': 21099782, 'created_at': datetime.datetime(2025, 3, 7, 5, 42, 27), 'result': '0.041542594182946625', 'result_long': None, 'result_double': None}] Qualite : 0.041542594182946625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21099782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_07-03-2025_05_42_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21099782 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_P21099782_07-03-2025_05_42_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}" where mtr_portfolio_id = 21099782 and dashboard_run_id = 1653819 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`=21099782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280896, 0.041542594182946625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_07-03-2025_05_42_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, '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 = 21099976 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': 2646955, 'mtr_portfolio_id': 21099976, 'created_at': datetime.datetime(2025, 3, 7, 5, 43), 'result': '0.062439343071516364', 'result_long': None, 'result_double': None}] Qualite : 0.062439343071516364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21099976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_07-03-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21099976 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_P21099976_07-03-2025_05_43_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}" where mtr_portfolio_id = 21099976 and dashboard_run_id = 1653819 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`=21099976 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280897, 0.062439343071516364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_07-03-2025_05_43_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, '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 = 21100547 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': 2646956, 'mtr_portfolio_id': 21100547, 'created_at': datetime.datetime(2025, 3, 7, 5, 43, 31), 'result': '0.06112862754159098', 'result_long': None, 'result_double': None}] Qualite : 0.06112862754159098 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21100547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_07-03-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21100547 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_P21100547_07-03-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}" where mtr_portfolio_id = 21100547 and dashboard_run_id = 1653819 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`=21100547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280898, 0.06112862754159098, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_07-03-2025_05_43_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, '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 = 21101038 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': 2646957, 'mtr_portfolio_id': 21101038, 'created_at': datetime.datetime(2025, 3, 7, 5, 44), 'result': '0.0605461533857442', 'result_long': None, 'result_double': None}] Qualite : 0.0605461533857442 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21101038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_07-03-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21101038 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_P21101038_07-03-2025_05_44_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}" where mtr_portfolio_id = 21101038 and dashboard_run_id = 1653819 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`=21101038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280899, 0.0605461533857442, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_07-03-2025_05_44_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, '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 = 21101489 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': 2646958, 'mtr_portfolio_id': 21101489, 'created_at': datetime.datetime(2025, 3, 7, 5, 44, 30), 'result': '0.06877949137628171', 'result_long': None, 'result_double': None}] Qualite : 0.06877949137628171 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21101489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_07-03-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21101489 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_P21101489_07-03-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}" where mtr_portfolio_id = 21101489 and dashboard_run_id = 1653819 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`=21101489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280900, 0.06877949137628171, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_07-03-2025_05_44_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, '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 = 21102170 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': 2646959, 'mtr_portfolio_id': 21102170, 'created_at': datetime.datetime(2025, 3, 7, 5, 44, 59), 'result': '0.06778070335128422', 'result_long': None, 'result_double': None}] Qualite : 0.06778070335128422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21102170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_07-03-2025_05_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21102170 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_P21102170_07-03-2025_05_45_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}" where mtr_portfolio_id = 21102170 and dashboard_run_id = 1653819 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`=21102170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280901, 0.06778070335128422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_07-03-2025_05_45_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, '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 = 21102865 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': 2646960, 'mtr_portfolio_id': 21102865, 'created_at': datetime.datetime(2025, 3, 7, 5, 45, 31), 'result': '0.07809228134738991', 'result_long': None, 'result_double': None}] Qualite : 0.07809228134738991 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21102865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_07-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21102865 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_P21102865_07-03-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}" where mtr_portfolio_id = 21102865 and dashboard_run_id = 1653819 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`=21102865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280902, 0.07809228134738991, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_07-03-2025_05_45_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, '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 = 21103797 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': 2646961, 'mtr_portfolio_id': 21103797, 'created_at': datetime.datetime(2025, 3, 7, 5, 45, 59), 'result': '0.06284758607335356', 'result_long': None, 'result_double': None}] Qualite : 0.06284758607335356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21103797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21103797 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_P21103797_07-03-2025_05_46_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}" where mtr_portfolio_id = 21103797 and dashboard_run_id = 1653819 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`=21103797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280903, 0.06284758607335356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_07-03-2025_05_46_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, '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 = 21104322 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': 2641785, 'mtr_portfolio_id': 21104322, 'created_at': datetime.datetime(2025, 3, 6, 7, 22, 57), 'result': '0.06517772498512861', 'result_long': None, 'result_double': None}] Qualite : 0.06517772498512861 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21104322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_06-03-2025_07_22_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21104322 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_P21104322_06-03-2025_07_22_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}" where mtr_portfolio_id = 21104322 and dashboard_run_id = 1653819 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`=21104322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280904, 0.06517772498512861, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_06-03-2025_07_22_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, '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 = 21104678 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': 2641812, 'mtr_portfolio_id': 21104678, 'created_at': datetime.datetime(2025, 3, 6, 7, 32, 59), 'result': '0.06467233748992611', 'result_long': None, 'result_double': None}] Qualite : 0.06467233748992611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21104678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_06-03-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21104678 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_P21104678_06-03-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}" where mtr_portfolio_id = 21104678 and dashboard_run_id = 1653819 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`=21104678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280905, 0.06467233748992611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_06-03-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, '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 = 21105437 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': 2641862, 'mtr_portfolio_id': 21105437, 'created_at': datetime.datetime(2025, 3, 6, 7, 49), 'result': '0.07293368007084029', 'result_long': None, 'result_double': None}] Qualite : 0.07293368007084029 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21105437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_06-03-2025_07_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21105437 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_P21105437_06-03-2025_07_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}" where mtr_portfolio_id = 21105437 and dashboard_run_id = 1653819 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`=21105437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280906, 0.07293368007084029, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_06-03-2025_07_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, '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 = 21106093 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': 2641901, 'mtr_portfolio_id': 21106093, 'created_at': datetime.datetime(2025, 3, 6, 8, 2, 57), 'result': '0.06215558562207161', 'result_long': None, 'result_double': None}] Qualite : 0.06215558562207161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21106093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_06-03-2025_08_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21106093 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_P21106093_06-03-2025_08_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}" where mtr_portfolio_id = 21106093 and dashboard_run_id = 1653819 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`=21106093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280907, 0.06215558562207161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_06-03-2025_08_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, '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 = 21106656 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': 2641977, 'mtr_portfolio_id': 21106656, 'created_at': datetime.datetime(2025, 3, 6, 8, 19, 4), 'result': '0.054759828686366765', 'result_long': None, 'result_double': None}] Qualite : 0.054759828686366765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21106656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_06-03-2025_08_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21106656 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_P21106656_06-03-2025_08_19_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}" where mtr_portfolio_id = 21106656 and dashboard_run_id = 1653819 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`=21106656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280908, 0.054759828686366765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_06-03-2025_08_19_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, '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 = 21107494 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': 2642064, 'mtr_portfolio_id': 21107494, 'created_at': datetime.datetime(2025, 3, 6, 8, 32, 57), 'result': '0.05936012634514975', 'result_long': None, 'result_double': None}] Qualite : 0.05936012634514975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21107494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_06-03-2025_08_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21107494 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_P21107494_06-03-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}" where mtr_portfolio_id = 21107494 and dashboard_run_id = 1653819 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`=21107494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280909, 0.05936012634514975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_06-03-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, '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 = 21108337 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': 2642207, 'mtr_portfolio_id': 21108337, 'created_at': datetime.datetime(2025, 3, 6, 8, 49, 1), 'result': '0.054750353319182425', 'result_long': None, 'result_double': None}] Qualite : 0.054750353319182425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21108337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_06-03-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21108337 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_P21108337_06-03-2025_08_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}" where mtr_portfolio_id = 21108337 and dashboard_run_id = 1653819 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`=21108337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280910, 0.054750353319182425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_06-03-2025_08_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, '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 = 21109218 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': 2642449, 'mtr_portfolio_id': 21109218, 'created_at': datetime.datetime(2025, 3, 6, 9, 2, 57), 'result': '0.05735559781598683', 'result_long': None, 'result_double': None}] Qualite : 0.05735559781598683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21109218 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_06-03-2025_09_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21109218 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_P21109218_06-03-2025_09_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}" where mtr_portfolio_id = 21109218 and dashboard_run_id = 1653819 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`=21109218 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280911, 0.05735559781598683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_06-03-2025_09_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, '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 = 21110844 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': 2642579, 'mtr_portfolio_id': 21110844, 'created_at': datetime.datetime(2025, 3, 6, 9, 48, 57), 'result': '0.05691923899128756', 'result_long': None, 'result_double': None}] Qualite : 0.05691923899128756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21110844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_06-03-2025_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110844 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_P21110844_06-03-2025_09_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}" where mtr_portfolio_id = 21110844 and dashboard_run_id = 1653819 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`=21110844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280912, 0.05691923899128756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_06-03-2025_09_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, '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 = 21111209 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': 2642618, 'mtr_portfolio_id': 21111209, 'created_at': datetime.datetime(2025, 3, 6, 10, 3), 'result': '0.05443786496960303', 'result_long': None, 'result_double': None}] Qualite : 0.05443786496960303 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21111209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_06-03-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21111209 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_P21111209_06-03-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}" where mtr_portfolio_id = 21111209 and dashboard_run_id = 1653819 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`=21111209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280913, 0.05443786496960303, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_06-03-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, '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 = 21111884 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': 2642674, 'mtr_portfolio_id': 21111884, 'created_at': datetime.datetime(2025, 3, 6, 10, 19, 1), 'result': '0.07867521162819505', 'result_long': None, 'result_double': None}] Qualite : 0.07867521162819505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21111884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_06-03-2025_10_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21111884 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_P21111884_06-03-2025_10_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}" where mtr_portfolio_id = 21111884 and dashboard_run_id = 1653819 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`=21111884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280914, 0.07867521162819505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_06-03-2025_10_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, '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 = 21112480 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': 2642712, 'mtr_portfolio_id': 21112480, 'created_at': datetime.datetime(2025, 3, 6, 10, 32, 57), 'result': '0.07802342521236075', 'result_long': None, 'result_double': None}] Qualite : 0.07802342521236075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21112480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_06-03-2025_10_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21112480 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_P21112480_06-03-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}" where mtr_portfolio_id = 21112480 and dashboard_run_id = 1653819 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`=21112480 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280915, 0.07802342521236075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_06-03-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, '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 = 21113008 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': 2642767, 'mtr_portfolio_id': 21113008, 'created_at': datetime.datetime(2025, 3, 6, 10, 49), 'result': '0.06924745280902125', 'result_long': None, 'result_double': None}] Qualite : 0.06924745280902125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21113008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_06-03-2025_10_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21113008 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_P21113008_06-03-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}" where mtr_portfolio_id = 21113008 and dashboard_run_id = 1653819 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`=21113008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280916, 0.06924745280902125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_06-03-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, '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 = 21114013 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': 2642830, 'mtr_portfolio_id': 21114013, 'created_at': datetime.datetime(2025, 3, 7, 3, 22, 30), 'result': '0.05357207544897694', 'result_long': None, 'result_double': None}] Qualite : 0.05357207544897694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21114013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_07-03-2025_03_22_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21114013 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_P21114013_07-03-2025_03_22_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}" where mtr_portfolio_id = 21114013 and dashboard_run_id = 1653819 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`=21114013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280917, 0.05357207544897694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_07-03-2025_03_22_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, '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 = 21117388 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': 2643128, 'mtr_portfolio_id': 21117388, 'created_at': datetime.datetime(2025, 3, 6, 13, 32, 30), 'result': '0.05307519415755956', 'result_long': None, 'result_double': None}] Qualite : 0.05307519415755956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21117388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_06-03-2025_13_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21117388 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_P21117388_06-03-2025_13_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}" where mtr_portfolio_id = 21117388 and dashboard_run_id = 1653819 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`=21117388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280918, 0.05307519415755956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_06-03-2025_13_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, '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 = 21117674 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': 2643147, 'mtr_portfolio_id': 21117674, 'created_at': datetime.datetime(2025, 3, 7, 3, 22, 59), 'result': '0.06590036656231954', 'result_long': None, 'result_double': None}] Qualite : 0.06590036656231954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21117674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_07-03-2025_03_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21117674 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_P21117674_07-03-2025_03_23_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}" where mtr_portfolio_id = 21117674 and dashboard_run_id = 1653819 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`=21117674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280919, 0.06590036656231954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_07-03-2025_03_23_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, '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 = 21133287 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 = 21133287 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 = 21133287 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133287 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 = 21133287 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 = 21133287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133287_07-03-2025_03_23_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133287 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_P21133287_07-03-2025_03_23_34.pdf'}" where mtr_portfolio_id = 21133287 and dashboard_run_id = 1653819 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 = 21133288 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 = 21133288 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 = 21133288 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133288 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 = 21133288 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 = 21133288 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133288_07-03-2025_03_24_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133288 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_P21133288_07-03-2025_03_24_02.pdf'}" where mtr_portfolio_id = 21133288 and dashboard_run_id = 1653819 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 = 21133289 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 = 21133289 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 = 21133289 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133289 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 = 21133289 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 = 21133289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133289_07-03-2025_03_24_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133289 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_P21133289_07-03-2025_03_24_33.pdf'}" where mtr_portfolio_id = 21133289 and dashboard_run_id = 1653819 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 = 21133290 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 = 21133290 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 = 21133290 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133290 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 = 21133290 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 = 21133290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133290_07-03-2025_03_22_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133290 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_P21133290_07-03-2025_03_22_02.pdf'}" where mtr_portfolio_id = 21133290 and dashboard_run_id = 1653819 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 = 21133291 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 = 21133291 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 = 21133291 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133291 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 = 21133291 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 = 21133291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133291_07-03-2025_03_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133291 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_P21133291_07-03-2025_03_21_35.pdf'}" where mtr_portfolio_id = 21133291 and dashboard_run_id = 1653819 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 = 21133292 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 = 21133292 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 = 21133292 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133292 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 = 21133292 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 = 21133292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133292_07-03-2025_03_20_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133292 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_P21133292_07-03-2025_03_20_04.pdf'}" where mtr_portfolio_id = 21133292 and dashboard_run_id = 1653819 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 = 21133293 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 = 21133293 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 = 21133293 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133293 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 = 21133293 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 = 21133293 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133293_07-03-2025_03_20_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133293 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_P21133293_07-03-2025_03_20_33.pdf'}" where mtr_portfolio_id = 21133293 and dashboard_run_id = 1653819 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 = 21133294 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 = 21133294 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 = 21133294 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133294 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 = 21133294 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 = 21133294 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133294_07-03-2025_03_21_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133294 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_P21133294_07-03-2025_03_21_04.pdf'}" where mtr_portfolio_id = 21133294 and dashboard_run_id = 1653819 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 = 21133295 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 = 21133295 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 = 21133295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 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 = 21133295 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 = 21133295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_03_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133295 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_P21133295_07-03-2025_03_19_02.pdf'}" where mtr_portfolio_id = 21133295 and dashboard_run_id = 1653819 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 = 21133296 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 = 21133296 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 = 21133296 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 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 = 21133296 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 = 21133296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_03_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133296 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_P21133296_07-03-2025_03_18_35.pdf'}" where mtr_portfolio_id = 21133296 and dashboard_run_id = 1653819 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 = 21119031 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': 2643399, 'mtr_portfolio_id': 21119031, 'created_at': datetime.datetime(2025, 3, 7, 3, 19, 30), 'result': '0.06676300509256292', 'result_long': None, 'result_double': None}] Qualite : 0.06676300509256292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21119031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21119031 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_P21119031_07-03-2025_03_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}" where mtr_portfolio_id = 21119031 and dashboard_run_id = 1653819 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`=21119031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280930, 0.06676300509256292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, '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 = 21118295 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 = 21118295 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 = 21118295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118295 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 = 21118295 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 = 21118295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_06-03-2025_17_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118295 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_P21118295_06-03-2025_17_23_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}" where mtr_portfolio_id = 21118295 and dashboard_run_id = 1653819 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 = 21118076 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 = 21118076 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 = 21118076 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118076 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 = 21118076 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 = 21118076 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_06-03-2025_17_09_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118076 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_P21118076_06-03-2025_17_09_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}" where mtr_portfolio_id = 21118076 and dashboard_run_id = 1653819 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 = 21118079 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': 2643173, 'mtr_portfolio_id': 21118079, 'created_at': datetime.datetime(2025, 3, 6, 17, 18, 59), 'result': '0.05761263995900692', 'result_long': None, 'result_double': None}] Qualite : 0.05761263995900692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_06-03-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118079 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_P21118079_06-03-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}" where mtr_portfolio_id = 21118079 and dashboard_run_id = 1653819 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`=21118079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280933, 0.05761263995900692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_06-03-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, '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 = 21118816 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': 2643337, 'mtr_portfolio_id': 21118816, 'created_at': datetime.datetime(2025, 3, 6, 18, 5, 30), 'result': '0.07423542956347538', 'result_long': None, 'result_double': None}] Qualite : 0.07423542956347538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_06-03-2025_18_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118816 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_P21118816_06-03-2025_18_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}" where mtr_portfolio_id = 21118816 and dashboard_run_id = 1653819 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`=21118816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280934, 0.07423542956347538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_06-03-2025_18_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, '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 = 21120709 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 = 21120709 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 = 21120709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21120709 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 = 21120709 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 = 21120709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_06-03-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21120709 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_P21120709_06-03-2025_18_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}" where mtr_portfolio_id = 21120709 and dashboard_run_id = 1653819 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 = 21121041 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 = 21121041 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 = 21121041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121041 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 = 21121041 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 = 21121041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_06-03-2025_18_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121041 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_P21121041_06-03-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}" where mtr_portfolio_id = 21121041 and dashboard_run_id = 1653819 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 = 21121351 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': 2644125, 'mtr_portfolio_id': 21121351, 'created_at': datetime.datetime(2025, 3, 6, 18, 48, 58), 'result': '0.09293500579274373', 'result_long': None, 'result_double': None}] Qualite : 0.09293500579274373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_06-03-2025_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121351 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_P21121351_06-03-2025_18_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}" where mtr_portfolio_id = 21121351 and dashboard_run_id = 1653819 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`=21121351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280937, 0.09293500579274373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_06-03-2025_18_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, '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 = 21121836 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': 2644332, 'mtr_portfolio_id': 21121836, 'created_at': datetime.datetime(2025, 3, 6, 19, 3), 'result': '0.07079598081798515', 'result_long': None, 'result_double': None}] Qualite : 0.07079598081798515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_06-03-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121836 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_P21121836_06-03-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}" where mtr_portfolio_id = 21121836 and dashboard_run_id = 1653819 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`=21121836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280938, 0.07079598081798515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_06-03-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, '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 = 21122791 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': 2644726, 'mtr_portfolio_id': 21122791, 'created_at': datetime.datetime(2025, 3, 6, 19, 18, 57), 'result': '0.07052891195406308', 'result_long': None, 'result_double': None}] Qualite : 0.07052891195406308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21122791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21122791 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_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}" where mtr_portfolio_id = 21122791 and dashboard_run_id = 1653819 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`=21122791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280939, 0.07052891195406308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, '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 = 21123460 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': 2644924, 'mtr_portfolio_id': 21123460, 'created_at': datetime.datetime(2025, 3, 6, 19, 32, 59), 'result': '0.060882484143989515', 'result_long': None, 'result_double': None}] Qualite : 0.060882484143989515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21123460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21123460 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_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}" where mtr_portfolio_id = 21123460 and dashboard_run_id = 1653819 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`=21123460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280940, 0.060882484143989515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, '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 = 21124323 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': 2645042, 'mtr_portfolio_id': 21124323, 'created_at': datetime.datetime(2025, 3, 6, 19, 48, 57), 'result': '0.06873884812445752', 'result_long': None, 'result_double': None}] Qualite : 0.06873884812445752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124323 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_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}" where mtr_portfolio_id = 21124323 and dashboard_run_id = 1653819 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`=21124323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280941, 0.06873884812445752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, '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 = 21124985 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': 2645166, 'mtr_portfolio_id': 21124985, 'created_at': datetime.datetime(2025, 3, 6, 20, 2, 32), 'result': '0.06245721235769244', 'result_long': None, 'result_double': None}] Qualite : 0.06245721235769244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_20_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124985 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_P21124985_06-03-2025_20_02_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}" where mtr_portfolio_id = 21124985 and dashboard_run_id = 1653819 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`=21124985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280942, 0.06245721235769244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_20_02_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, '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 = 21126060 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': 2645311, 'mtr_portfolio_id': 21126060, 'created_at': datetime.datetime(2025, 3, 6, 20, 18, 56), 'result': '0.054046884490287966', 'result_long': None, 'result_double': None}] Qualite : 0.054046884490287966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21126060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_06-03-2025_20_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21126060 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_P21126060_06-03-2025_20_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}" where mtr_portfolio_id = 21126060 and dashboard_run_id = 1653819 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`=21126060 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280943, 0.054046884490287966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_06-03-2025_20_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, '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 = 21127175 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': 2645456, 'mtr_portfolio_id': 21127175, 'created_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'result': '0.0861933982914169', 'result_long': None, 'result_double': None}] Qualite : 0.0861933982914169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21127175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21127175 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_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}" where mtr_portfolio_id = 21127175 and dashboard_run_id = 1653819 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`=21127175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280944, 0.0861933982914169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, '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 = 21127177 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': 2645457, 'mtr_portfolio_id': 21127177, 'created_at': datetime.datetime(2025, 3, 6, 20, 50, 57), 'result': '0.0718712181856956', 'result_long': None, 'result_double': None}] Qualite : 0.0718712181856956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21127177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21127177 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_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}" where mtr_portfolio_id = 21127177 and dashboard_run_id = 1653819 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`=21127177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280945, 0.0718712181856956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, '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 = 21128421 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': 2645738, 'mtr_portfolio_id': 21128421, 'created_at': datetime.datetime(2025, 3, 6, 21, 21), 'result': '0.15239529250984896', 'result_long': None, 'result_double': None}] Qualite : 0.15239529250984896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21128421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21128421 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_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, 'pht': 3726}}" where mtr_portfolio_id = 21128421 and dashboard_run_id = 1653819 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`=21128421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280946, 0.15239529250984896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, '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 (21089189,21089816,21090352,21090945,21092289,21092977,21093291,21093935,21094390,21095280,21095667,21096248,21096666,21097374,21098051,21098769,21099782,21099976,21100547,21101038,21101489,21102170,21102865,21103797,21104322,21104678,21105437,21106093,21106656,21107494,21108337,21109218,21110844,21111209,21111884,21112480,21113008,21114013,21117388,21117674,21133287,21133288,21133289,21133290,21133291,21133292,21133293,21133294,21133295,21133296,21119031,21118295,21118076,21118079,21118816,21120709,21121041,21121351,21121836,21122791,21123460,21124323,21124985,21126060,21127175,21127177,21128421) result : ((1341123137,), (1341123142,), (1341123146,), (1341123310,), (1341123393,), (1341123408,), (1341123415,), (1341123417,), (1341123535,), (1341123556,), (1341123566,), (1341123571,), (1341123574,), (1341123577,), (1341123592,), (1341123597,), (1341123601,), (1341123603,), (1341123624,), (1341123628,), (1341123632,), (1341123642,), (1341123687,), (1341123689,), (1341123692,), (1341123694,), (1341123713,), (1341123715,), (1341123722,), (1341123761,), (1341123763,), (1341123766,), (1341123787,), (1341123790,), (1341123792,), (1341123947,), (1341123960,), (1341123973,), (1341123979,), (1341123983,), (1341124005,), (1341124007,), (1341124010,), (1341124012,), (1341124038,), (1341124042,), (1341124047,), (1341124049,), (1341124252,), (1341124256,), (1341124260,), (1341124262,), (1341124263,), (1341124273,), (1341124276,), (1341124280,), (1341124287,), (1341124292,), (1341124363,), (1341124322,), (1341124337,), (1341124339,), (1341124342,), (1341124386,), (1341124391,), (1341124395,), (1341124435,), (1341124454,), (1341124463,), (1341124477,), (1341124618,), (1341124804,), (1341125014,), (1341125021,), (1341125049,), (1341125067,), (1341125082,), (1341125087,), (1341125106,), (1341125108,), (1341125148,), (1341125155,), (1341125163,), (1341125169,), (1341125174,), (1341125194,), (1341125236,), (1341125239,), (1341125241,), (1341125246,), (1341125248,), (1341125250,), (1341125269,), (1341125304,), (1341125306,), (1341125310,), (1341125719,), (1341125776,), (1341125779,), (1341125782,), (1341125853,), (1341125855,), (1341125859,), (1341126164,), (1341126262,), (1341126346,), (1341126349,), (1341126352,), (1341126354,), (1341126376,), (1341126378,), (1341126381,), (1341126413,), (1341126421,), (1341126424,), (1341126426,), (1341126428,), (1341126430,), (1341126465,), (1341126467,), (1341126471,), (1341126966,), (1341126978,), (1341126984,), (1341127149,), (1341127096,), (1341127128,), (1341127132,), (1341127171,), (1341127229,), (1341127233,), (1341127237,), (1341127241,), (1341127311,), (1341127357,), (1341127376,), (1341127380,), (1341127489,), (1341127542,), (1341127548,), (1341127550,), (1341127561,), (1341127564,), (1341127570,), (1341128147,), (1341128204,), (1341128249,), (1341128257,), (1341128272,), (1341128324,), (1341128434,), (1341128436,), (1341128441,), (1341128505,), (1341128507,), (1341128512,), (1341128519,), (1341128525,), (1341128545,), (1341128650,), (1341128655,), (1341128659,), (1341128696,), (1341128766,), (1341128768,), (1341128775,), (1341128778,), (1341128841,), (1341128848,), (1341128856,), (1341128873,), (1341128900,), (1341129383,), (1341129387,), (1341129390,), (1341129393,), (1341129395,), (1341129397,), (1341129517,), (1341129520,), (1341129524,), (1341129527,), (1341129593,), (1341129598,), (1341129603,), (1341129612,), (1341129636,), (1341129645,), (1341129653,), (1341129658,), (1341129661,), (1341129687,), (1341129675,), (1341129677,), (1341129682,), (1341129713,), (1341129726,), (1341129736,), (1341129739,), (1341129742,), (1341129745,), (1341129782,), (1341129785,), (1341129790,), (1341129875,), (1341130680,), (1341130682,), (1341130695,), (1341130699,), (1341131135,), (1341131255,), (1341131376,), (1341131591,), (1341131602,), (1341131604,), (1341131608,), (1341131610,), (1341131722,), (1341131747,), (1341131776,), (1341132461,), (1341132479,), (1341132513,), (1341132521,), (1341132523,), (1341132530,), (1341132545,), (1341136901,), (1341136903,), (1341137177,), (1341137207,), (1341137223,), (1341137244,), (1341137255,), (1341137264,), (1341137506,), (1341137563,), (1341137566,), (1341137570,), (1341137571,), (1341137575,), (1341137578,), (1341137679,), (1341137686,), (1341137705,), (1341137717,), (1341137779,), (1341137782,), (1341137786,), (1341137789,), (1341137792,), (1341137795,), (1341137921,), (1341137923,), (1341137925,), (1341137950,), (1341137955,), (1341137966,), (1341138065,), (1341138127,), (1341138132,), (1341138461,), (1341138464,), (1341138484,), (1341138488,), (1341138564,), (1341138833,), (1341138846,), (1341138851,), (1341138865,), (1341138872,), (1341139013,), (1341139014,), (1341139019,), (1341139113,), (1341139115,), (1341139124,), (1341139131,), (1341139145,), (1341139181,), (1341139183,), (1341139194,), (1341139205,), (1341139249,), (1341139429,), (1341139457,), (1341139474,), (1341139478,), (1341139490,), (1341139498,), (1341139506,), (1341139509,), (1341139512,), (1341139705,), (1341139704,), (1341140211,), (1341140235,), (1341140338,), (1341140342,), (1341140347,), (1341140349,), (1341140420,), (1341140442,), (1341140461,), (1341140465,), (1341140470,), (1341140474,), (1341140490,), (1341140492,), (1341140528,), (1341140537,), (1341140540,), (1341140542,), (1341140545,), (1341140579,), (1341140582,), (1341140587,), (1341140631,), (1341140633,), (1341140867,), (1341140872,), (1341140886,), (1341140891,), (1341140894,), (1341140896,), (1341140945,), (1341140947,), (1341140950,), (1341140953,), (1341140956,), (1341140991,), (1341140993,), (1341141000,), (1341141027,), (1341141019,), (1341141021,), (1341141023,), (1341141026,), (1341141056,), (1341141058,), (1341141195,), (1341141364,), (1341141373,), (1341141376,), (1341141377,), (1341141384,), (1341141391,), (1341141393,), (1341141397,), (1341141399,), (1341141408,), (1341141412,), (1341141415,), (1341141437,), (1341141440,), (1341141450,), (1341141453,), (1341141456,), (1341141461,), (1341141474,), (1341141477,), (1341141481,), (1341141567,), (1341141569,), (1341141571,), (1341141574,), (1341141576,), (1341141578,), (1341141625,), (1341141640,), (1341141645,), (1341141656,), (1341141675,), (1341141678,), (1341141723,), (1341141839,), (1341141965,), (1341141967,), (1341142068,), (1341142115,), (1341142122,), (1341142133,), (1341142139,), (1341142149,), (1341142161,), (1341142163,), (1341142167,), (1341142170,), (1341142173,), (1341142215,), (1341142236,), (1341142238,), (1341142240,), (1341142272,), (1341142275,), (1341142279,), (1341142281,), (1341142294,), (1341142304,), (1341142310,), (1341142313,), (1341142349,), (1341142338,), (1341142341,), (1341142344,), (1341142347,), (1341142419,), (1341142467,), (1341142531,), (1341143558,), (1341143567,), (1341143668,), (1341143716,), (1341143718,), (1341144060,), (1341144127,), (1341144183,), (1341144187,), (1341144190,), (1341144217,), (1341144220,), (1341144223,), (1341144226,), (1341144229,), (1341144232,), (1341144631,), (1341144641,), (1341144650,), (1341144653,), (1341144657,), (1341144693,), (1341144702,), (1341144707,), (1341144711,), (1341144718,), (1341144774,), (1341144776,), (1341144779,), (1341144830,), (1341144832,), (1341144836,), (1341144891,), (1341144894,), (1341144932,), (1341144936,), (1341144940,), (1341144942,), (1341144944,), (1341145000,), (1341145094,), (1341145137,), (1341145139,), (1341145142,), (1341145151,), (1341145153,), (1341145155,), (1341145319,), (1341145404,), (1341145492,), (1341145575,), (1341145638,), (1341145612,), (1341145616,), (1341145632,), (1341145636,), (1341145658,), (1341145661,), (1341145670,), (1341145672,), (1341145962,), (1341145964,), (1341145968,), (1341145973,), (1341145980,), (1341146026,), (1341146031,), (1341146047,), (1341146060,), (1341146062,), (1341146066,), (1341146069,), (1341146071,), (1341146098,), (1341146130,), (1341146134,), (1341146136,), (1341146138,), (1341146165,), (1341146237,), (1341146271,), (1341146276,), (1341146281,), (1341146315,), (1341146317,), (1341146322,), (1341146330,), (1341146348,), (1341146351,), (1341146361,), (1341146363,), (1341146365,), (1341146370,), (1341146387,), (1341146486,), (1341146496,), (1341146501,), (1341146504,), (1341146512,), (1341146514,), (1341146518,), (1341146521,), (1341146525,), (1341146612,), (1341146627,), (1341146636,), (1341146799,), (1341146814,), (1341146818,), (1341146861,), (1341146896,), (1341147008,), (1341147010,), (1341147014,), (1341147016,), (1341147020,), (1341147024,), (1341147036,), (1341147565,), (1341149281,), (1341149285,), (1341149288,), (1341149291,), (1341149349,), (1341149356,), (1341149361,), (1341149365,), (1341149372,), (1341150143,), (1341150153,), (1341150157,), (1341150294,), (1341150439,), (1341150442,), (1341150464,), (1341150498,), (1341150499,), (1341150500,), (1341150501,), (1341150522,), (1341150527,), (1341150537,), (1341150538,), (1341150549,), (1341150565,), (1341150570,), (1341150572,), (1341150574,), (1341150575,), (1341150576,), (1341150619,), (1341150624,), (1341150633,), (1341150640,), (1341150641,), (1341150642,), (1341150667,), (1341150676,), (1341150680,), (1341150689,), (1341150690,), (1341150726,), (1341150733,), (1341150746,), (1341150756,), (1341150759,), (1341150762,), (1341150786,), (1341150789,), (1341150803,), (1341150809,), (1341150829,), (1341150835,), (1341150848,), (1341151231,), (1341151204,), (1341151207,), (1341151210,), (1341151289,), (1341151293,), (1341151296,), (1341151300,), (1341151303,), (1341151571,), (1341151576,), (1341151591,), (1341151617,), (1341151704,), (1341151705,), (1341151710,), (1341151714,), (1341151727,), (1341151751,), (1341151753,), (1341151757,), (1341151765,), (1341151773,), (1341151798,), (1341151801,), (1341151805,), (1341151808,), (1341151810,), (1341151869,), (1341151880,), (1341151884,), (1341151893,), (1341151897,), (1341152023,), (1341152076,), (1341152090,), (1341152106,), (1341152121,), (1341152128,), (1341152245,), (1341152252,), (1341152255,), (1341152258,), (1341152302,), (1341152322,), (1341152364,), (1341152368,), (1341152372,), (1341152376,), (1341152773,), (1341152852,), (1341152919,), (1341152995,), (1341153072,), (1341153120,), (1341153124,), (1341153127,), (1341153132,), (1341153475,), (1341153458,), (1341153463,), (1341153468,), (1341153472,), (1341153488,), (1341153490,), (1341153494,), (1341153497,), (1341153517,), (1341153520,), (1341153523,), (1341153528,), (1341153556,), (1341153558,), (1341154192,), (1341154205,), (1341154213,), (1341154222,), (1341154228,), (1341154361,), (1341154500,), (1341154502,), (1341154506,), (1341154510,), (1341154530,), (1341154538,), (1341154555,), (1341154559,), (1341154624,), (1341154626,), (1341154629,), (1341154632,), (1341154635,), (1341154659,), (1341154686,), (1341154691,), (1341154694,), (1341154698,), (1341154730,), (1341154732,), (1341154735,), (1341154738,), (1341154780,), (1341154783,), (1341154787,), (1341154791,), (1341154801,), (1341154812,), (1341154861,), (1341154863,), (1341154866,), (1341154869,), (1341154872,), (1341154952,), (1341154955,), (1341154959,), (1341154988,), (1341154992,), (1341155030,), (1341155032,), (1341155045,), (1341155046,), (1341155049,), (1341155051,), (1341155054,), (1341155060,), (1341155206,), (1341155082,), (1341155164,), (1341155200,), (1341155273,), (1341155275,), (1341155279,), (1341155283,), (1341155285,), (1341155290,), (1341155358,), (1341155372,), (1341155375,), (1341155377,), (1341155409,), (1341155417,), (1341155423,), (1341155427,), (1341155433,), (1341155490,), (1341155493,), (1341155496,), (1341155498,), (1341155574,), (1341155575,), (1341155610,), (1341155612,), (1341155615,), (1341155632,), (1341156024,), (1341156029,), (1341156036,), (1341156056,), (1341156061,), (1341156062,), (1341156108,), (1341156113,), (1341156118,), (1341156145,), (1341156149,), (1341156150,), (1341156171,), (1341156174,), (1341156177,), (1341156224,), (1341156227,), (1341156249,), (1341156284,), (1341156300,), (1341156307,), (1341156397,), (1341156407,), (1341156419,), (1341156421,), (1341156423,), (1341156434,), (1341156529,), (1341156532,), (1341156537,), (1341156543,), (1341156544,), (1341156568,), (1341156570,), (1341156572,), (1341156574,), (1341156575,), (1341156577,), (1341156629,), (1341156640,), (1341156646,), (1341156648,), (1341156650,), (1341156653,), (1341156660,), (1341156663,), (1341156666,), (1341156669,), (1341156713,), (1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,), (1341158395,), (1341158356,), (1341158358,), (1341158367,), (1341158375,), (1341158379,), (1341158405,), (1341158409,), (1341158414,), (1341158421,), (1341158616,), (1341158748,), (1341158751,), (1341158860,), (1341158866,), (1341158928,), (1341158931,), (1341158934,), (1341158976,), (1341158978,), (1341158983,), (1341159060,), (1341159063,), (1341159066,), (1341159160,), (1341159168,), (1341159170,), (1341159181,), (1341159189,), (1341159443,), (1341159463,), (1341159468,), (1341159561,), (1341159568,), (1341159604,), (1341159668,), (1341159679,), (1341159783,), (1341159788,), (1341159799,), (1341159805,), (1341159809,), (1341159833,), (1341159835,), (1341159840,), (1341159845,), (1341159887,), (1341159897,), (1341159901,), (1341159909,), (1341159911,), (1341159984,), (1341159993,), (1341159997,), (1341160020,), (1341160033,), (1341160041,), (1341160157,), (1341160159,), (1341160163,), (1341160167,), (1341160169,), (1341160172,), (1341160242,), (1341160275,), (1341160331,), (1341160336,), (1341160488,), (1341160502,), (1341160556,), (1341160560,), (1341160563,), (1341160566,), (1341160735,), (1341160575,), (1341160577,), (1341160581,), (1341160584,), (1341160611,), (1341160812,), (1341160823,), (1341160831,), (1341161214,), (1341161226,), (1341161244,), (1341161254,), (1341161266,), (1341161270,), (1341161358,), (1341161366,), (1341161370,), (1341161374,), (1341161423,), (1341161430,), (1341161441,), (1341161457,), (1341161464,), (1341161467,), (1341161571,), (1341161574,), (1341161577,), (1341161581,), (1341161584,), (1341161609,), (1341161611,), (1341161615,), (1341161620,), (1341161664,), (1341161668,), (1341161674,), (1341161677,), (1341161680,), (1341161684,), (1341161703,), (1341161719,), (1341161737,), (1341161749,), (1341161783,), (1341161877,), (1341161896,), (1341161929,), (1341161933,), (1341163696,), (1341163583,), (1341165607,), (1341165633,), (1341166755,), (1341166965,), (1341166969,), (1341166973,), (1341166990,), (1341167004,), (1341167070,), (1341167142,), (1341167210,), (1341167305,), (1341167309,), (1341167313,), (1341167318,), (1341167332,), (1341167335,), (1341167338,), (1341167342,), (1341167346,), (1341167349,), (1341167519,), (1341167375,), (1341167379,), (1341167383,), (1341167415,), (1341167623,), (1341167624,), (1341167629,), (1341167633,), (1341167692,), (1341167697,), (1341167724,), (1341167735,), (1341167737,), (1341167760,), (1341167769,), (1341167780,), (1341167790,), (1341167794,), (1341167798,), (1341167812,), (1341167822,), (1341167831,), (1341167856,), (1341167858,), (1341167863,), (1341167867,), (1341167870,), (1341167895,), (1341167896,), (1341167908,), (1341167936,), (1341167939,), (1341167943,), (1341167947,), (1341167949,), (1341167952,), (1341168018,), (1341168032,), (1341168035,), (1341168039,), (1341168085,), (1341168225,), (1341168280,), (1341168303,), (1341168308,), (1341168367,), (1341168372,), (1341168375,), (1341168377,), (1341168388,), (1341168390,), (1341168395,), (1341168398,), (1341168400,), (1341168435,), (1341168507,), (1341168511,), (1341168516,), (1341168523,), (1341168539,), (1341168547,), (1341168669,), (1341168689,), (1341168692,), (1341168900,), (1341169068,), (1341169072,), (1341169077,), (1341169118,), (1341169145,), (1341169361,), (1341169205,), (1341169216,), (1341169227,), (1341169279,), (1341169463,), (1341169474,), (1341169478,), (1341169482,), (1341169484,), (1341169486,), (1341169519,), (1341169526,), (1341169534,), (1341169563,), (1341169578,), (1341169579,), (1341169677,), (1341169679,), (1341169684,), (1341169687,), (1341169704,), (1341169707,), (1341169710,), (1341169729,), (1341169732,), (1341169750,), (1341169859,), (1341169872,), (1341169877,), (1341169882,), (1341169899,), (1341169901,), (1341169905,), (1341169908,), (1341169925,), (1341169932,), (1341170006,), (1341170009,), (1341170012,), (1341170014,), (1341170017,), (1341170036,), (1341170038,), (1341170042,), (1341170070,), (1341170075,), (1341170079,), (1341170096,), (1341170099,), (1341170104,), (1341170108,), (1341170111,), (1341170255,), (1341170258,), (1341170292,), (1341170301,), (1341170382,), (1341170386,), (1341170390,), (1341170394,), (1341170420,), (1341170423,), (1341170428,), (1341170430,), (1341170434,), (1341170447,), (1341170451,), (1341170455,), (1341170459,), (1341170461,), (1341170494,), (1341170486,), (1341170487,), (1341170491,), (1341170530,), (1341170533,), (1341170536,), (1341170617,), (1341170619,), (1341170624,), (1341170630,), (1341170638,), (1341170641,), (1341170654,), (1341170656,), (1341170660,), (1341170664,), (1341170667,), (1341170669,), (1341170733,), (1341170806,), (1341170924,), (1341170992,), (1341171375,), (1341171407,), (1341171480,), (1341171484,), (1341171487,), (1341171528,), (1341171575,), (1341171579,), (1341171584,), (1341171590,), (1341171601,), (1341171606,), (1341171681,), (1341171752,), (1341171845,), (1341171909,), (1341172246,), (1341172254,), (1341172260,), (1341172262,), (1341172265,), (1341172289,), (1341172292,), (1341172298,), (1341172310,), (1341172321,), (1341172669,), (1341172740,), (1341173397,), (1341173404,), (1341173483,), (1341173522,), (1341173995,), (1341174052,), (1341174085,), (1341174095,), (1341174426,), (1341174432,), (1341174435,), (1341174440,), (1341174444,), (1341174451,), (1341174453,), (1341174457,), (1341174488,), (1341174472,), (1341174476,), (1341174482,), (1341174485,), (1341174487,), (1341174534,), (1341174540,), (1341174546,), (1341174553,), (1341174564,), (1341174567,), (1341174626,), (1341174760,), (1341174830,), (1341174942,), (1341174944,), (1341174946,), (1341175101,), (1341175102,), (1341175108,), (1341175117,), (1341175120,), (1341175122,), (1341175157,), (1341175161,), (1341175166,), (1341175170,), (1341175174,), (1341175212,), (1341175216,), (1341175223,), (1341175226,), (1341175259,), (1341175262,), (1341175267,), (1341175272,), (1341175276,), (1341175279,), (1341175444,), (1341175454,), (1341175460,), (1341175464,), (1341175467,), (1341175491,), (1341175493,), (1341175497,), (1341175503,), (1341175510,), (1341175528,), (1341175531,), (1341175537,), (1341175541,), (1341175545,), (1341175560,), (1341175563,), (1341175592,), (1341175617,), (1341175641,), (1341175649,), (1341175690,), (1341175698,), (1341175701,), (1341175704,), (1341175730,), (1341175735,), (1341175740,), (1341175743,), (1341175746,), (1341175751,), (1341175772,), (1341175777,), (1341175781,), (1341175813,), (1341175817,), (1341175824,), (1341175827,), (1341175832,), (1341176064,), (1341175854,), (1341175863,), (1341175878,), (1341176007,), (1341176215,), (1341176218,), (1341176227,), (1341176239,), (1341176274,), (1341176279,), (1341176284,), (1341176291,), (1341176296,), (1341176348,), (1341176354,), (1341176358,), (1341176362,), (1341176365,), (1341176368,), (1341176395,), (1341176406,), (1341176421,), (1341176427,), (1341176459,), (1341176462,), (1341176466,), (1341176470,), (1341176511,), (1341176516,), (1341176524,), (1341176533,), (1341176536,), (1341176577,), (1341176579,), (1341176591,), (1341176596,), (1341176598,), (1341176608,), (1341176611,), (1341176618,), (1341176702,), (1341176711,), (1341176715,), (1341176719,), (1341176726,), (1341176731,), (1341176872,), (1341176882,), (1341176887,), (1341176892,), (1341176898,), (1341176912,), (1341176921,), (1341176925,), (1341176929,), (1341176942,), (1341176946,), (1341176953,), (1341176956,), (1341176960,), (1341177003,), (1341177008,), (1341177012,), (1341177067,), (1341177068,), (1341177113,), (1341177117,), (1341177122,), (1341177125,), (1341177126,), (1341177144,), (1341177137,), (1341177140,), (1341177693,), (1341177698,), (1341177724,), (1341177878,), (1341178030,), (1341178033,), (1341178038,), (1341178100,), (1341178170,), (1341178356,), (1341178361,), (1341178368,), (1341178390,), (1341178394,), (1341178426,), (1341178429,), (1341178434,), (1341178436,), (1341178441,), (1341178445,), (1341178681,), (1341178693,), (1341178700,), (1341178713,), (1341178716,), (1341178718,), (1341178762,), (1341178788,), (1341178855,), (1341179126,), (1341179131,), (1341180279,), (1341180698,), (1341180701,), (1341181792,), (1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,), (1341182902,), (1341182908,), (1341182913,), (1341182918,), (1341183218,), (1341183225,), (1341183236,), (1341183288,), (1341183301,), (1341183312,), (1341183317,), (1341183320,), (1341183324,), (1341183364,), (1341183368,), (1341183374,), (1341183377,), (1341183379,), (1341183384,), (1341183433,), (1341183438,), (1341183446,), (1341183451,), (1341183477,), (1341183487,), (1341183491,), (1341183494,), (1341183498,), (1341183501,), (1341183568,), (1341183576,), (1341183580,), (1341183591,), (1341183617,), (1341183646,), (1341183650,), (1341183655,), (1341183662,), (1341183671,), (1341183684,), (1341183857,), (1341183910,), (1341183914,), (1341183917,), (1341183925,), (1341183950,), (1341183961,), (1341183972,), (1341183981,), (1341183986,), (1341183989,), (1341183990,), (1341183992,), (1341183996,), (1341184000,), (1341184006,), (1341184056,), (1341184064,), (1341184068,), (1341184072,), (1341184079,), (1341184087,), (1341184094,), (1341184126,), (1341184129,), (1341184157,), (1341184164,), (1341184168,), (1341184172,), (1341184180,), (1341184200,), (1341184210,), (1341184216,), (1341184260,), (1341184262,), (1341184338,), (1341184340,), (1341184343,), (1341184350,), (1341184356,), (1341184032,), (1341184040,), (1341184045,), (1341184049,), (1341184052,), (1341184104,), (1341184108,), (1341184120,), (1341184122,), (1341184139,), (1341184144,), (1341184149,), (1341184152,), (1341184227,), (1341184229,), (1341184242,), (1341184244,), (1341184245,), (1341184246,), (1341184248,), (1341184249,), (1341184252,), (1341184253,), (1341184286,), (1341184289,), (1341184298,), (1341184304,), (1341184309,), (1341184330,), (1341184368,), (1341184370,), (1341184374,), (1341184376,), (1341184378,), (1341184379,), (1341184380,), (1341184382,), (1341184404,), (1341184409,), (1341184415,), (1341184425,), (1341184434,), (1341184444,), (1341184500,), (1341184512,), (1341184531,), (1341184591,), (1341184632,), (1341184779,), (1341184838,), (1341185001,), (1341185015,), (1341185020,), (1341185025,), (1341185090,), (1341185094,), (1341185098,), (1341185104,), (1341185282,), (1341185285,), (1341185290,), (1341185296,), (1341185302,), (1341185568,), (1341185569,), (1341185575,), (1341185715,), (1341185717,), (1341185721,), (1341185765,), (1341186060,), (1341186082,), (1341186086,), (1341186100,), (1341186114,), (1341186169,), (1341186157,), (1341186160,), (1341186165,), (1341186448,), (1341186452,), (1341186604,), (1341186614,), (1341186639,), (1341186642,), (1341186656,), (1341186745,), (1341186749,), (1341186754,), (1341186757,), (1341186774,), (1341186782,), (1341186822,), (1341186827,), (1341186832,), (1341186967,), (1341186975,), (1341187018,), (1341187028,), (1341187062,), (1341187111,), (1341187456,), (1341187479,), (1341187493,), (1341187515,), (1341187530,), (1341187579,), (1341187589,), (1341187596,), (1341187606,), (1341187718,), (1341187722,), (1341187729,), (1341187736,), (1341187771,), (1341187806,), (1341187811,), (1341187819,), (1341187852,), (1341187855,), (1341187861,), (1341188222,), (1341188231,), (1341188245,), (1341188252,), (1341188440,), (1341188443,), (1341188451,), (1341188462,), (1341188491,), (1341188494,), (1341188498,), (1341188502,), (1341188515,), (1341188540,), (1341188543,), (1341188554,), (1341188561,), (1341188565,), (1341188605,), (1341188594,), (1341188597,), (1341188601,), (1341188643,), (1341188651,), (1341188714,), (1341188804,), (1341188820,), (1341188970,), (1341188975,), (1341188980,), (1341188985,), (1341188991,), (1341189095,), (1341189108,), (1341189116,), (1341189123,), (1341189183,), (1341189193,), (1341189199,), (1341189205,), (1341189242,), (1341189245,), (1341189250,), (1341189254,), (1341189256,), (1341189260,), (1341189299,), (1341189300,), (1341189302,), (1341189310,), (1341189363,), (1341189367,), (1341189375,), (1341189380,), (1341189383,), (1341189427,), (1341189454,), (1341189457,), (1341189462,), (1341189467,), (1341189470,), (1341189506,), (1341189512,), (1341189518,), (1341189565,), (1341189569,), (1341189574,), (1341189580,), (1341189591,), (1341189599,), (1341189630,), (1341189633,), (1341189639,), (1341189843,), (1341189864,), (1341189873,), (1341189878,), (1341189881,), (1341189883,), (1341191364,), (1341191399,), (1341191469,), (1341191507,), (1341191991,), (1341191975,), (1341191979,), (1341191985,), (1341192295,), (1341192385,), (1341192424,), (1341192447,), (1341192538,), (1341192585,), (1341192625,), (1341192630,), (1341192662,), (1341192694,), (1341192717,), (1341192726,), (1341192792,), (1341192881,), (1341193356,), (1341193361,), (1341193370,), (1341193423,), (1341193604,), (1341193653,), (1341193741,), (1341193831,), (1341193909,), (1341193939,), (1341194101,), (1341194114,), (1341194124,), (1341194136,), (1341194140,), (1341194218,), (1341194225,), (1341194228,), (1341194236,), (1341194440,), (1341194555,), (1341194646,), (1341194846,), (1341194934,), (1341195469,), (1341195477,), (1341195481,), (1341195484,), (1341195486,), (1341195496,), (1341195719,), (1341195731,), (1341195808,), (1341195812,), (1341195911,), (1341195917,), (1341195923,), (1341195926,), (1341195929,), (1341195932,), (1341195973,), (1341195978,), (1341195986,), (1341195991,), (1341195993,), (1341196083,), (1341196088,), (1341196093,), (1341196122,), (1341196293,), (1341196242,), (1341196248,), (1341196394,), (1341196397,), (1341196402,), (1341196407,), (1341196420,), (1341196502,), (1341196508,), (1341196512,), (1341196553,), (1341196556,), (1341196560,), (1341196563,), (1341196567,), (1341196594,), (1341196598,), (1341196601,), (1341196631,), (1341196635,), (1341196659,), (1341196881,), (1341196895,), (1341196919,), (1341196932,), (1341196943,), (1341196952,), (1341196990,), (1341197000,), (1341197005,), (1341197195,), (1341197200,), (1341197239,), (1341197343,), (1341197347,), (1341197352,), (1341197367,), (1341197373,), (1341197405,), (1341197409,), (1341197452,), (1341197459,), (1341197468,), (1341197507,), (1341197521,), (1341197528,), (1341198456,), (1341198655,), (1341198762,), (1341198906,), (1341199069,), (1341199058,), (1341199064,), (1341199371,), (1341199392,), (1341199482,), (1341199487,), (1341199653,), (1341199656,), (1341199707,), (1341199713,), (1341199717,), (1341199932,), (1341199952,), (1341200010,), (1341200163,), (1341200384,), (1341200883,), (1341201010,), (1341201015,), (1341201019,), (1341201190,), (1341201194,), (1341201201,), (1341201207,), (1341201266,), (1341201288,), (1341201291,), (1341201297,), (1341201324,), (1341201328,), (1341201333,), (1341201366,), (1341201369,), (1341201374,), (1341201382,), (1341201614,), (1341201619,), (1341201638,), (1341201644,), (1341201647,), (1341201681,), (1341201685,), (1341201698,), (1341201704,), (1341201711,), (1341201772,), (1341201779,), (1341201785,), (1341201841,), (1341201816,), (1341201821,), (1341201829,), (1341201877,), (1341201885,), (1341201889,), (1341201892,), (1341201894,), (1341201914,), (1341201930,), (1341201940,), (1341201955,), (1341201965,), (1341201971,), (1341202149,), (1341202270,), (1341202308,), (1341202401,), (1341202632,), (1341202675,), (1341202754,), (1341202778,), (1341202788,), (1341202872,), (1341202902,), (1341202914,), (1341202932,), (1341202944,), (1341202972,), (1341202982,), (1341202984,), (1341203015,), (1341203018,), (1341203025,), (1341203030,), (1341203116,), (1341203121,), (1341203127,), (1341203129,), (1341203137,), (1341203176,), (1341203179,), (1341203198,), (1341203214,), (1341203248,), (1341203253,), (1341203267,), (1341203285,), (1341203292,), (1341203340,), (1341203343,), (1341203349,), (1341203354,), (1341203358,), (1341203391,), (1341203399,), (1341203406,), (1341203411,), (1341203535,), (1341203538,), (1341203546,), (1341203553,), (1341203557,), (1341203561,), (1341203592,), (1341208881,), (1341208982,), (1341208988,), (1341208994,), (1341209026,), (1341209028,), (1341209033,), (1341209038,), (1341209041,), (1341209113,), (1341209115,), (1341209153,), (1341209156,), (1341209161,), (1341209214,), (1341209217,), (1341209221,), (1341209298,), (1341209302,), (1341209307,), (1341209384,), (1341209386,), (1341209391,), (1341209397,), (1341209401,), (1341209507,), (1341209522,), (1341209563,), (1341209570,), (1341209876,), (1341209932,), (1341209938,), (1341209943,), (1341209948,), (1341209953,), (1341209981,), (1341210020,), (1341210032,), (1341210039,), (1341210224,), (1341210273,), (1341210346,), (1341210434,), (1341210507,), (1341210517,), (1341210783,), (1341210790,), (1341210794,), (1341210798,), (1341210802,), (1341210925,), (1341210826,), (1341210872,), (1341210891,), (1341210919,), (1341211027,), (1341211031,), (1341211054,), (1341211065,), (1341211169,), (1341211173,), (1341211181,), (1341211187,), (1341211190,), (1341211212,), (1341211219,), (1341211223,), (1341211228,), (1341211233,), (1341211238,), (1341211352,), (1341211354,), (1341211359,), (1341211362,), (1341211390,), (1341211613,), (1341211756,), (1341211905,), (1341212012,), (1341212177,), (1341213108,), (1341213279,), (1341213285,), (1341213291,), (1341213749,), (1341213752,), (1341213812,), (1341213817,), (1341213862,), (1341213875,), (1341213910,), (1341213917,), (1341213923,), (1341213929,), (1341213934,), (1341213940,), (1341213967,), (1341213972,), (1341213979,), (1341213984,), (1341214031,), (1341214034,), (1341214040,), (1341214046,), (1341214055,), (1341214066,), (1341214150,), (1341214153,), (1341214162,), (1341214172,), (1341214208,), (1341214215,), (1341214221,), (1341214227,), (1341214232,), (1341214243,), (1341214281,), (1341214287,), (1341214292,), (1341215078,), (1341214882,), (1341214984,), (1341215054,), (1341215059,), (1341215126,), (1341215221,), (1341215321,), (1341215355,), (1341215513,), (1341215518,), (1341215522,), (1341215873,), (1341215880,), (1341215885,), (1341215889,), (1341215892,), (1341215910,), (1341216629,), (1341216631,), (1341216637,), (1341216698,), (1341216732,), (1341217629,), (1341217744,), (1341217867,), (1341217954,), (1341218041,), (1341218127,), (1341218130,), (1341218134,), (1341218141,), (1341218154,), (1341218160,), (1341218239,), (1341218242,), (1341218250,), (1341218260,), (1341218266,), (1341218273,), (1341218292,), (1341218295,), (1341218312,), (1341218316,), (1341218323,), (1341218329,), (1341218333,), (1341218394,), (1341218420,), (1341218423,), (1341218427,), (1341218430,), (1341218452,), (1341218456,), (1341218462,), (1341218467,), (1341218758,), (1341218762,), (1341218768,), (1341218774,), (1341218796,), (1341218802,), (1341218864,), (1341218867,), (1341218872,), (1341218876,), (1341218878,), (1341218917,), (1341218920,), (1341218925,), (1341218928,), (1341218931,), (1341218992,), (1341218968,), (1341218972,), (1341218976,), (1341218979,), (1341218982,), (1341219072,), (1341219075,), (1341219101,), (1341219115,), (1341219125,), (1341219196,), (1341219199,), (1341219204,), (1341219207,), (1341219211,), (1341219213,), (1341219872,), (1341219890,), (1341219897,), (1341219901,), (1341220121,), (1341220126,), (1341220129,), (1341220133,), (1341220138,), (1341220156,), (1341220176,), (1341220225,), (1341220231,), (1341220234,), (1341220319,), (1341220321,), (1341220325,), (1341220330,), (1341220344,), (1341220356,), (1341220417,), (1341220420,), (1341220427,), (1341220464,), (1341220467,), (1341220754,), (1341220759,), (1341220765,), (1341220772,), (1341220883,), (1341220888,), (1341220894,), (1341220900,), (1341220913,), (1341221070,), (1341221073,), (1341221079,), (1341221084,), (1341221087,), (1341221121,), (1341221129,), (1341221159,), (1341221164,), (1341221179,), (1341221217,), (1341221221,), (1341221226,), (1341221288,), (1341221293,), (1341221298,), (1341221303,), (1341221306,), (1341221310,), (1341221431,), (1341221417,), (1341221423,), (1341221427,), (1341221461,), (1341221466,), (1341221473,), (1341221509,), (1341221582,), (1341221601,), (1341221631,), (1341221635,), (1341221640,), (1341221645,), (1341221647,), (1341221672,), (1341221677,), (1341221684,), (1341221747,), (1341221753,), (1341221758,), (1341221764,), (1341221769,), (1341221828,), (1341221832,), (1341221838,), (1341221843,), (1341222316,), (1341222523,), (1341222543,), (1341222632,), (1341223730,), (1341223733,), (1341223743,), (1341223759,), (1341223775,), (1341224245,), (1341224262,), (1341224288,), (1341224303,), (1341224390,), (1341224426,), (1341224540,), (1341224611,), (1341224628,), (1341224972,), (1341224988,), (1341225032,), (1341225046,), (1341225712,), (1341225798,), (1341225867,), (1341225871,), (1341225875,), (1341226072,), (1341226107,), (1341226135,), (1341226141,), (1341226221,), (1341226225,), (1341226230,), (1341226251,), (1341226342,), (1341226651,), (1341226654,), (1341226659,), (1341226666,), (1341226672,), (1341226810,), (1341226757,), (1341226761,), (1341226798,), (1341226881,), (1341226893,), (1341227043,), (1341227152,), (1341227219,), (1341227330,), (1341227410,), (1341227416,), (1341227547,), (1341227651,), (1341228140,), (1341228143,), (1341228179,), (1341228184,), (1341228222,), (1341228243,), (1341228274,), (1341228307,), (1341228333,), (1341228418,), (1341228422,), (1341228427,), (1341228430,), (1341228649,), (1341228672,), (1341228696,), (1341228713,), (1341228716,), (1341228720,), (1341228752,), (1341228757,), (1341228762,), (1341228767,), (1341228770,), (1341228926,), (1341228930,), (1341228959,), (1341228978,), (1341228983,), (1341229041,), (1341229099,), (1341229115,), (1341229119,), (1341229123,), (1341229298,), (1341229301,), (1341229307,), (1341229313,), (1341229363,), (1341229378,), (1341229480,), (1341229570,), (1341258101,), (1341260932,), (1341260938,), (1341261169,), (1341261175,), (1341261223,), (1341261240,), (1341261254,), (1341261281,), (1341261286,), (1341261291,), (1341261323,), (1341261327,), (1341261333,), (1341261344,), (1341261350,), (1341261382,), (1341261385,), (1341261391,), (1341261397,), (1341261615,), (1341261464,), (1341261588,), (1341261836,), (1341261840,), (1341261844,), (1341261862,), (1341261885,), (1341261909,), (1341261977,), (1341261980,), (1341261985,), (1341261989,), (1341262113,), (1341262118,), (1341262124,), (1341262129,), (1341262287,), (1341262293,), (1341262296,), (1341262340,), (1341262346,), (1341262350,), (1341262355,), (1341262390,), (1341262534,), (1341262584,), (1341262591,), (1341262633,), (1341262640,), (1341262650,), (1341262654,), (1341262679,), (1341262683,), (1341262727,), (1341262732,), (1341262789,), (1341262795,), (1341262944,), (1341262947,), (1341262955,), (1341262963,), (1341262967,), (1341262991,), (1341262996,), (1341263002,), (1341263010,), (1341263017,), (1341263023,), (1341263085,), (1341263090,), (1341263107,), (1341263114,), (1341263136,), (1341264473,), (1341264474,), (1341264476,), (1341264478,), (1341264480,), (1341264482,), (1341264543,), (1341264550,), (1341264558,), (1341264564,), (1341264569,), (1341264574,), (1341264600,), (1341264611,), (1341264618,), (1341264628,), (1341264634,), (1341264638,), (1341264668,), (1341264673,), (1341264697,), (1341264704,), (1341264714,), (1341264718,), (1341264722,), (1341264728,), (1341264771,), (1341264779,), (1341264809,), (1341264833,), (1341264839,), (1341264843,), (1341264846,), (1341264851,), (1341264857,), (1341264952,), (1341264966,), (1341264974,), (1341264983,), (1341264989,), (1341264996,), (1341265002,), (1341265030,), (1341265034,), (1341265039,), (1341265058,), (1341265063,), (1341264651,), (1341264656,), (1341264661,), (1341264664,), (1341264736,), (1341264743,), (1341264749,), (1341264763,), (1341264793,), (1341264797,), (1341264800,), (1341264803,), (1341264806,), (1341264869,), (1341264872,), (1341264874,), (1341264876,), (1341264881,), (1341264882,), (1341264886,), (1341264889,), (1341264895,), (1341264897,), (1341264902,), (1341264903,), (1341264923,), (1341264928,), (1341264935,), (1341264942,), (1341264948,), (1341265014,), (1341265019,), (1341265025,), (1341265099,), (1341265102,), (1341265106,), (1341265107,), (1341265110,), (1341265113,), (1341265116,), (1341265120,), (1341265124,), (1341265132,), (1341265137,), (1341265144,), (1341265155,), (1341265160,), (1341265165,), (1341265169,), (1341265174,), (1341265234,), (1341265236,), (1341265240,), (1341265243,), (1341265249,), (1341265259,), (1341265281,), (1341265288,), (1341265340,), (1341265353,), (1341265362,), (1341265368,), (1341265371,), (1341265446,), (1341265454,), (1341265459,), (1341265464,), (1341265507,), (1341265511,), (1341265523,), (1341265529,), (1341265540,), (1341265548,), (1341265565,), (1341265606,), (1341265669,), (1341265720,), (1341266072,), (1341266105,), (1341266116,), (1341266123,), (1341266158,), (1341266190,), (1341266196,), (1341266201,), (1341266206,), (1341266217,), (1341266221,), (1341266614,), (1341265069,), (1341265075,), (1341265080,), (1341265084,), (1341265178,), (1341265200,), (1341265205,), (1341265210,), (1341265212,), (1341265217,), (1341265220,), (1341265289,), (1341265297,), (1341265298,), (1341265316,), (1341265377,), (1341265391,), (1341265409,), (1341265413,), (1341265418,), (1341265422,), (1341265436,), (1341265470,), (1341265475,), (1341265773,), (1341265839,), (1341265936,), (1341265941,), (1341265952,), (1341265962,), (1341265978,), (1341265985,), (1341266172,), (1341266248,), (1341266252,), (1341266261,), (1341266268,), (1341266308,), (1341266403,), (1341266619,), (1341266623,), (1341266642,), (1341266660,), (1341266666,), (1341266671,), (1341266674,), (1341266679,), (1341266767,), (1341266795,), (1341266799,), (1341266813,), (1341266815,), (1341266877,), (1341266880,), (1341266895,), (1341266555,), (1341266578,), (1341266609,), (1341266692,), (1341266728,), (1341266744,), (1341266754,), (1341266761,), (1341266782,), (1341266788,), (1341266827,), (1341266855,), (1341266859,), (1341266867,), (1341266944,), (1341266950,), (1341266954,), (1341266959,), (1341266961,), (1341266965,), (1341267018,), (1341267020,), (1341267024,), (1341267027,), (1341267031,), (1341267214,), (1341267228,), (1341267234,), (1341267239,), (1341267427,), (1341267432,), (1341267471,), (1341267502,), (1341267506,), (1341267570,), (1341267575,), (1341267578,), (1341267582,), (1341267597,), (1341267603,), (1341267607,), (1341267796,), (1341267797,), (1341267809,), (1341267819,), (1341267841,), (1341267854,), (1341267861,), (1341267862,), (1341267865,), (1341267867,), (1341267917,), (1341267924,), (1341267927,), (1341267950,), (1341267954,), (1341267964,), (1341268048,), (1341268062,), (1341268071,), (1341268259,), (1341268272,), (1341268276,), (1341268305,), (1341268308,), (1341272878,), (1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,), (1341272871,), (1341272875,), (1341272876,), (1341272941,), (1341272944,), (1341272949,), (1341272954,), (1341272958,), (1341273611,), (1341273613,), (1341273617,), (1341273682,), (1341274017,), (1341274053,), (1341274056,), (1341274062,), (1341274085,), (1341274088,), (1341274132,), (1341274135,), (1341274143,), (1341274532,), (1341274534,), (1341274538,), (1341274579,), (1341274664,), (1341274690,), (1341274712,), (1341274717,), (1341274747,), (1341274859,), (1341274862,), (1341274864,), (1341274867,), (1341274871,), (1341274891,), (1341274895,), (1341274900,), (1341274908,), (1341274915,), (1341274918,), (1341274982,), (1341274985,), (1341274988,), (1341274991,), (1341274995,), (1341275025,), (1341275030,), (1341275035,), (1341275039,), (1341275041,), (1341275047,), (1341275090,), (1341275094,), (1341275112,), (1341275155,), (1341275159,), (1341275162,), (1341275164,), (1341275167,), (1341275169,), (1341275238,), (1341275243,), (1341275248,), (1341275252,), (1341275257,), (1341275313,), (1341275300,), (1341275304,), (1341275342,), (1341275345,), (1341275351,), (1341275355,), (1341275359,), (1341275399,), (1341275404,), (1341275409,), (1341275434,), (1341275442,), (1341275447,), (1341275456,), (1341275467,), (1341275473,), (1341275478,), (1341275562,), (1341275567,), (1341275574,), (1341275590,), (1341275627,), (1341275644,), (1341275648,), (1341275651,), (1341275655,), (1341275659,), (1341275895,), (1341275940,), (1341275948,), (1341275983,), (1341276069,), (1341276072,), (1341276078,), (1341276083,), (1341276107,), (1341276109,), (1341276112,), (1341276116,), (1341276130,), (1341276134,), (1341276522,), (1341276524,), (1341276526,), (1341276529,), (1341276553,), (1341276561,), (1341276567,), (1341276574,), (1341276578,), (1341276626,), (1341276628,), (1341276631,), (1341276634,), (1341276637,), (1341276639,), (1341276683,), (1341276686,), (1341276691,), (1341276696,), (1341276700,), (1341276714,), (1341276717,), (1341276723,), (1341276855,), (1341276864,), (1341276867,), (1341276871,), (1341276874,), (1341276941,), (1341276924,), (1341276930,), (1341276935,), (1341276938,), (1341277195,), (1341277271,), (1341277277,), (1341277279,), (1341277283,), (1341277287,), (1341277375,), (1341277398,), (1341277402,), (1341277420,), (1341277425,), (1341277936,), (1341277940,), (1341277941,), (1341277945,), (1341277950,), (1341277956,), (1341277963,), (1341277966,), (1341277974,), (1341277979,), (1341277992,), (1341278061,), (1341278067,), (1341278089,), (1341278107,), (1341278112,), (1341278115,), (1341278119,), (1341278164,), (1341278168,), (1341278172,), (1341278225,), (1341278229,), (1341278233,), (1341278236,), (1341278240,), (1341278263,), (1341278266,), (1341278351,), (1341278362,), (1341278366,), (1341278370,), (1341278524,), (1341278528,), (1341278533,), (1341278538,), (1341278545,), (1341278560,), (1341278744,), (1341278749,), (1341278755,), (1341278764,), (1341278773,), (1341278789,), (1341278791,), (1341278845,), (1341278850,), (1341278856,), (1341278860,), (1341278865,), (1341278904,), (1341278886,), (1341278892,), (1341278898,), (1341279052,), (1341279055,), (1341279100,), (1341279111,), (1341279134,), (1341279322,), (1341279458,), (1341279562,), (1341279712,), (1341280255,), (1341280378,), (1341280417,), (1341280422,), (1341280437,), (1341280445,), (1341280790,), (1341280864,), (1341280870,), (1341280887,), (1341280902,), (1341280907,), (1341280926,), (1341280930,), (1341280935,), (1341280971,), (1341280992,), (1341280999,), (1341281009,), (1341281067,), (1341281072,), (1341281079,), (1341281083,), (1341281088,), (1341281093,), (1341281114,), (1341281116,), (1341281123,), (1341281132,), (1341281437,), (1341281442,), (1341281455,), (1341281461,), (1341281556,), (1341281593,), (1341281600,), (1341281621,), (1341281649,), (1341281652,), (1341281659,), (1341281793,), (1341281805,), (1341281807,), (1341281922,), (1341281850,), (1341281915,), (1341282051,), (1341282055,), (1341282061,), (1341282100,), (1341282103,), (1341282106,), (1341282109,), (1341282113,), (1341282163,), (1341282168,), (1341282171,), (1341282174,), (1341282176,), (1341282199,), (1341282204,), (1341282208,), (1341282239,), (1341282243,), (1341282248,), (1341282263,), (1341282265,), (1341282282,), (1341282670,), (1341282943,), (1341283155,), (1341283260,), (1341283263,), (1341283340,), (1341283347,), (1341283352,), (1341283356,), (1341283360,), (1341283640,), (1341283643,), (1341283687,), (1341283698,), (1341283701,), (1341283724,), (1341283740,), (1341283745,), (1341283750,), (1341283775,), (1341283778,), (1341283782,), (1341283787,), (1341283795,), (1341283963,), (1341283969,), (1341283973,), (1341283977,), (1341283981,), (1341284007,), (1341284024,), (1341284027,), (1341284080,), (1341284091,), (1341284098,), (1341284102,), (1341284106,), (1341284110,), (1341284465,), (1341284538,), (1341284545,), (1341284548,), (1341284553,), (1341284786,), (1341284701,), (1341284704,), (1341284723,), (1341284969,), (1341284973,), (1341284978,), (1341284982,), (1341285098,), (1341285498,), (1341285507,), (1341285510,), (1341285514,), (1341285550,), (1341285555,), (1341285558,), (1341285561,), (1341285647,), (1341285655,), (1341285666,), (1341285672,), (1341285716,), (1341285720,), (1341285726,), (1341285731,), (1341285753,), (1341285762,), (1341285768,), (1341285772,), (1341285795,), (1341285798,), (1341285842,), (1341285847,), (1341285850,), (1341285854,), (1341285860,), (1341285864,), (1341285893,), (1341285947,), (1341286138,), (1341286241,), (1341286249,), (1341286266,), (1341286290,), (1341286296,), (1341286304,), (1341286366,), (1341286373,), (1341286378,), (1341286383,), (1341286392,), (1341286396,), (1341286428,), (1341286436,), (1341286440,), (1341286447,), (1341286471,), (1341286474,), (1341286482,), (1341286487,), (1341286493,), (1341286497,), (1341286535,), (1341286539,), (1341286545,), (1341286548,), (1341286554,), (1341286559,), (1341286601,), (1341286589,), (1341286592,), (1341286596,), (1341286737,), (1341286782,), (1341286800,), (1341286812,), (1341286845,), (1341286888,), (1341286893,), (1341286897,), (1341286902,), (1341286907,), (1341286926,), (1341286929,), (1341286936,), (1341286944,), (1341286978,), (1341286981,), (1341286987,), (1341286992,), (1341286997,), (1341287016,), (1341287294,), (1341287296,), (1341287332,), (1341287422,), (1341287523,), (1341288418,), (1341288592,), (1341288602,), (1341288612,), (1341288630,), (1341288644,), (1341288659,), (1341288673,), (1341288682,), (1341288710,), (1341288724,), (1341288772,), (1341288798,), (1341288890,), (1341288936,), (1341289243,), (1341289251,), (1341289257,), (1341289554,), (1341289626,), (1341289629,), (1341289653,), (1341289666,), (1341289807,), (1341289820,), (1341289832,), (1341289870,), (1341289893,), (1341290036,), (1341290039,), (1341290050,), (1341290066,), (1341290076,), (1341290232,), (1341290255,), (1341290263,), (1341290355,), (1341290358,), (1341290365,), (1341290371,), (1341290378,), (1341290386,), (1341290541,), (1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,), (1341292546,), (1341292554,), (1341292562,), (1341292566,), (1341292570,), (1341292618,), (1341292628,), (1341292637,), (1341292700,), (1341292708,), (1341292719,), (1341292723,), (1341292731,), (1341292733,), (1341292959,), (1341292965,), (1341292972,), (1341292983,), (1341292985,), (1341292995,), (1341293019,), (1341293027,), (1341293033,), (1341293063,), (1341293044,), (1341293048,), (1341293053,), (1341293057,), (1341293060,), (1341293134,), (1341293216,), (1341293397,), (1341293481,), (1341293570,), (1341293907,), (1341293910,), (1341293915,), (1341293919,), (1341294195,), (1341294205,), (1341294207,), (1341294210,), (1341294276,), (1341294286,), (1341294347,), (1341294349,), (1341294353,), (1341294356,), (1341294359,), (1341294614,), (1341294646,), (1341294677,), (1341294735,), (1341294742,), (1341294747,), (1341294751,), (1341294755,), (1341295360,), (1341295460,), (1341295607,), (1341295611,), (1341295620,), (1341295643,), (1341295647,), (1341295650,), (1341295826,), (1341295928,), (1341295935,), (1341295938,), (1341295946,), (1341296010,), (1341296015,), (1341296022,), (1341296029,), (1341296032,), (1341296058,), (1341296061,), (1341296066,), (1341296096,), (1341296100,), (1341296107,), (1341296111,), (1341296115,), (1341296121,), (1341296154,), (1341296161,), (1341296168,), (1341296174,), (1341296180,), (1341296234,), (1341296237,), (1341296327,), (1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,), (1341298938,), (1341298945,), (1341298949,), (1341298984,), (1341298986,), (1341298991,), (1341298996,), (1341299000,), (1341299004,), (1341299252,), (1341299255,), (1341299261,), (1341299334,), (1341299389,), (1341299392,), (1341299397,), (1341299402,), (1341299405,), (1341299410,), (1341299461,), (1341299465,), (1341299470,), (1341299501,), (1341299589,), (1341299674,), (1341300659,), (1341300696,), (1341300700,), (1341300711,), (1341300796,), (1341300802,), (1341300808,), (1341300816,), (1341300821,), (1341300857,), (1341300859,), (1341300864,), (1341300869,), (1341301087,), (1341301172,), (1341301539,), (1341301540,), (1341301544,), (1341301566,), (1341301776,), (1341301797,), (1341301808,), (1341301816,), (1341301821,), (1341301834,), (1341301876,), (1341301881,), (1341301895,), (1341302571,), (1341305988,), (1341305991,), (1341306471,), (1341306626,), (1341306670,), (1341306673,), (1341306807,), (1341306812,), (1341307213,), (1341263798,), (1341263846,), (1341263851,), (1341263892,), (1341263897,), (1341263903,), (1341263908,), (1341263941,), (1341263947,), (1341263951,), (1341263957,), (1341263962,), (1341263970,), (1341263989,), (1341263994,), (1341264042,), (1341264045,), (1341264048,), (1341264112,), (1341264123,), (1341264130,), (1341264135,), (1341264148,), (1341264151,), (1341264153,), (1341264154,), (1341264158,), (1341264161,), (1341264165,), (1341264167,), (1341264172,), (1341264174,), (1341264191,), (1341264183,), (1341264187,), (1341264230,), (1341264233,), (1341264241,), (1341264245,), (1341264280,), (1341264282,), (1341264291,), (1341264296,), (1341264301,), (1341264306,), (1341264327,), (1341264332,), (1341264345,), (1341264350,), (1341264354,), (1341264377,), (1341264382,), (1341264389,), (1341264420,), (1341264424,), (1341264432,), (1341264436,), (1341264442,), (1341278202,), (1341278204,), (1341278210,), (1341278215,), (1341278246,), (1341278289,), (1341278300,), (1341278306,), (1341278312,), (1341278323,), (1341278326,), (1341278330,), (1341278332,), (1341278334,), (1341278336,), (1341278376,), (1341278379,), (1341278700,), (1341278706,), (1341278713,), (1341278719,), (1341278721,), (1341278729,), (1341278777,), (1341278796,), (1341278800,), (1341278804,), (1341278809,), (1341278814,), (1341278819,), (1341278822,), (1341278825,), (1341278831,), (1341278834,), (1341278869,), (1341278874,), (1341278877,), (1341276583,), (1341276590,), (1341276594,), (1341276600,), (1341276603,), (1341276610,), (1341276615,), (1341276652,), (1341276657,), (1341276663,), (1341276666,), (1341276670,), (1341276673,), (1341276706,), (1341276749,), (1341276753,), (1341276756,), (1341276789,), (1341276798,), (1341276808,), (1341276816,), (1341276823,), (1341276838,), (1341276883,), (1341276944,), (1341276997,), (1341277002,), (1341277006,), (1341277017,), (1341277021,), (1341277023,), (1341277431,), (1341277740,), (1341277742,), (1341277745,), (1341277749,), (1341277750,), (1341277754,), (1341277999,), (1341278023,), (1341278028,), (1341278034,), (1341278038,), (1341278040,), (1341278050,), (1341278092,), (1341278095,), (1341278098,), (1341278123,), (1341278127,), (1341278136,), (1341278139,), (1341278143,), (1341278146,), (1341278149,), (1341278153,), (1341278176,), (1341278180,), (1341278185,), (1341278193,), (1341278197,), (1341275274,), (1341275278,), (1341275285,), (1341275289,), (1341275291,), (1341275316,), (1341275321,), (1341275325,), (1341275363,), (1341275370,), (1341275373,), (1341275377,), (1341275380,), (1341275385,), (1341275390,), (1341275488,), (1341275495,), (1341275506,), (1341275510,), (1341275514,), (1341275517,), (1341275527,), (1341275546,), (1341275633,), (1341275663,), (1341275670,), (1341275674,), (1341275677,), (1341275681,), (1341275719,), (1341275829,), (1341276007,), (1341276012,), (1341276024,), (1341276031,), (1341276039,), (1341276043,), (1341276046,), (1341276049,), (1341276088,), (1341276093,), (1341276475,), (1341276486,), (1341276491,), (1341276495,), (1341276501,), (1341276506,), (1341276534,), (1341276539,), (1341272706,), (1341272713,), (1341272740,), (1341272751,), (1341272757,), (1341272764,), (1341272768,), (1341272772,), (1341272832,), (1341272883,), (1341272888,), (1341272962,), (1341273152,), (1341273240,), (1341273337,), (1341273426,), (1341273516,), (1341273603,), (1341273714,), (1341273718,), (1341273766,), (1341273771,), (1341273782,), (1341273790,), (1341273881,), (1341273964,), (1341274067,), (1341274072,), (1341274145,), (1341274160,), (1341274281,), (1341274497,), (1341274503,), (1341274514,), (1341274517,), (1341274670,), (1341274751,), (1341274761,), (1341274817,), (1341274821,), (1341274826,), (1341274830,), (1341274838,), (1341274842,), (1341274878,), (1341274937,), (1341274942,), (1341274951,), (1341274955,), (1341274964,), (1341274969,), (1341275007,), (1341275055,), (1341275060,), (1341275067,), (1341275071,), (1341275079,), (1341275080,), (1341275124,), (1341275137,), (1341275140,), (1341275261,), (1341275270,), (1341272069,), (1341272074,), (1341272085,), (1341272111,), (1341272113,), (1341272114,), (1341272117,), (1341272120,), (1341272129,), (1341272133,), (1341272136,), (1341272138,), (1341272141,), (1341272148,), (1341272154,), (1341272157,), (1341272160,), (1341272161,), (1341272163,), (1341272167,), (1341272180,), (1341272183,), (1341272195,), (1341272241,), (1341272256,), (1341272305,), (1341272343,), (1341272353,), (1341272390,), (1341272398,), (1341272413,), (1341272418,), (1341272447,), (1341272484,), (1341272486,), (1341272500,), (1341272510,), (1341272518,), (1341272549,), (1341272552,), (1341272555,), (1341272558,), (1341272561,), (1341272563,), (1341272578,), (1341272583,), (1341272587,), (1341272588,), (1341272591,), (1341272622,), (1341272631,), (1341272640,), (1341272643,), (1341272646,), (1341272655,), (1341272659,), (1341272665,), (1341272669,), (1341272672,), (1341272675,), (1341272678,), (1341272690,), (1341272695,), (1341272701,), (1341270467,), (1341270472,), (1341270478,), (1341270483,), (1341270487,), (1341270496,), (1341270498,), (1341270500,), (1341270501,), (1341270504,), (1341270505,), (1341270516,), (1341270522,), (1341270659,), (1341270721,), (1341270779,), (1341270790,), (1341271002,), (1341271081,), (1341271139,), (1341271144,), (1341271147,), (1341271199,), (1341271252,), (1341271293,), (1341271304,), (1341271307,), (1341271332,), (1341271436,), (1341271439,), (1341271471,), (1341271484,), (1341271486,), (1341271542,), (1341271551,), (1341271554,), (1341271556,), (1341271560,), (1341271621,), (1341271639,), (1341271694,), (1341271699,), (1341271722,), (1341271725,), (1341271728,), (1341271735,), (1341271745,), (1341271749,), (1341271751,), (1341271752,), (1341271753,), (1341271756,), (1341271757,), (1341271761,), (1341271762,), (1341271778,), (1341271779,), (1341271782,), (1341271787,), (1341271851,), (1341271854,), (1341271871,), (1341271879,), (1341271886,), (1341271932,), (1341271946,), (1341271955,), (1341271965,), (1341271986,), (1341271989,), (1341272003,), (1341272006,), (1341272013,), (1341272060,), (1341270070,), (1341270073,), (1341270077,), (1341270080,), (1341270087,), (1341270099,), (1341270104,), (1341270108,), (1341270116,), (1341270119,), (1341270124,), (1341270134,), (1341270140,), (1341270145,), (1341270151,), (1341270155,), (1341270160,), (1341270171,), (1341270179,), (1341270183,), (1341270187,), (1341270194,), (1341270201,), (1341270216,), (1341270227,), (1341270240,), (1341270249,), (1341270256,), (1341270259,), (1341270283,), (1341270288,), (1341270292,), (1341270339,), (1341270356,), (1341270360,), (1341270377,), (1341270379,), (1341270384,), (1341270387,), (1341270391,), (1341270408,), (1341270436,), (1341270437,), (1341270442,), (1341270443,), (1341270444,), (1341270445,), (1341270447,), (1341270448,), (1341270449,), (1341270450,), (1341270451,), (1341270453,), (1341270462,), (1341269578,), (1341269625,), (1341269643,), (1341269668,), (1341269671,), (1341269672,), (1341269757,), (1341269761,), (1341269768,), (1341269770,), (1341269774,), (1341269777,), (1341269795,), (1341269798,), (1341269804,), (1341269810,), (1341269813,), (1341269820,), (1341269824,), (1341269831,), (1341269838,), (1341269845,), (1341269852,), (1341269863,), (1341269870,), (1341269873,), (1341269876,), (1341269879,), (1341269883,), (1341269898,), (1341269902,), (1341269909,), (1341270023,), (1341270048,), (1341270054,), (1341270066,), (1341268332,), (1341268337,), (1341268340,), (1341268347,), (1341268361,), (1341268365,), (1341268385,), (1341268395,), (1341268408,), (1341268413,), (1341268417,), (1341268423,), (1341268451,), (1341268460,), (1341268467,), (1341268471,), (1341268475,), (1341268479,), (1341268512,), (1341268514,), (1341268519,), (1341268521,), (1341268522,), (1341268524,), (1341268525,), (1341268530,), (1341268531,), (1341268535,), (1341268536,), (1341268541,), (1341268550,), (1341268552,), (1341268555,), (1341268558,), (1341268561,), (1341268567,), (1341268580,), (1341268594,), (1341268602,), (1341268605,), (1341268613,), (1341268626,), (1341268958,), (1341268969,), (1341268974,), (1341268983,), (1341268986,), (1341268991,), (1341269136,), (1341269154,), (1341269159,), (1341269164,), (1341269167,), (1341269195,), (1341269209,), (1341269216,), (1341269222,), (1341269226,), (1341269230,), (1341269234,), (1341269378,), (1341269379,), (1341269383,), (1341269384,), (1341269387,), (1341269388,), (1341269392,), (1341269399,), (1341269403,), (1341269406,), (1341269410,), (1341269411,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21103797]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] map_info['map_portfolio_photo'] : {21103797: [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783]} final : True mtd_id 4302 list_pids : [1341182920, 1341182887, 1341182879, 1341182872, 1341182870, 1341182863, 1341182851, 1341182845, 1341182612, 1341182587, 1341182537, 1341182501, 1341182403, 1341182334, 1341182328, 1341182324, 1341182320, 1341182315, 1341182292, 1341182262, 1341182258, 1341182248, 1341182245, 1341182230, 1341182225, 1341182220, 1341182214, 1341182211, 1341182131, 1341182126, 1341182121, 1341182116, 1341182114, 1341182089, 1341182085, 1341182082, 1341182077, 1341181986, 1341181968, 1341181787, 1341181783] Looping around the photos to save general results len do output : 1 /21103797Didn'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, '2646961') ('4302', '21103797', '1341182920', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961') ('4302', None, None, None, None, None, None, None, '2646961') ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '21103797', 'None', None, None, None, None, '2646961'), ('4302', '21103797', '1341182920', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182887', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182879', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182872', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182870', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182863', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182851', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182845', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182612', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182587', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182537', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182501', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182403', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182334', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182328', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182324', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182320', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182315', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182292', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182262', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182258', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182248', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182245', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182230', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182225', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182220', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182214', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182211', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182131', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182126', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182121', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182116', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182114', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182089', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182085', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182082', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341182077', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181986', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181968', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181787', None, None, None, None, None, '2646961'), ('4302', '21103797', '1341181783', None, None, None, None, None, '2646961')] time used for this insertion : 0.08812117576599121 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.563979387283325 time spend to save output : 0.08850598335266113 total time spend for step 5 : 3.6524853706359863 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 (2646961) 3.61user 2.16system 0:19.65elapsed 29%CPU (0avgtext+0avgdata 165440maxresident)k 160inputs+31072outputs (13major+89090minor)pagefaults 0swaps