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 : 2703748 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 (2938994) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2938994) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23281952 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2938994'] with mtr_portfolio_ids : ['23281952'] and first list_photo_ids : [] new path : /proc/2703748/ Name: python3 Umask: 0002 State: R (running) Tgid: 2703748 Ngid: 0 Pid: 2703748 PPid: 2703747 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2703748 NSpid: 2703748 NSpgid: 2701365 NSsid: 2701365 VmPeak: 1107324 kB VmSize: 1107324 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99556 kB VmRSS: 99556 kB RssAnon: 60216 kB RssFile: 39340 kB RssShmem: 0 kB VmData: 866072 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 576 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 48 nonvoluntary_ctxt_switches: 124 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2703748', 'Ngid': '0', 'Pid': '2703748', 'PPid': '2703747', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2703748', 'NSpid': '2703748', 'NSpgid': '2701365', 'NSsid': '2701365', 'VmPeak': '1107324 kB', 'VmSize': '1107324 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99556 kB', 'VmRSS': '99556 kB', 'RssAnon': '60216 kB', 'RssFile': '39340 kB', 'RssShmem': '0 kB', 'VmData': '866072 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '576 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '48', 'nonvoluntary_ctxt_switches': '124'} ('datou_batch_current', '2703748', '1107324', '0', '1107324', '866072', '99556', b'', 'marlene', '2938994') 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 (23281952) 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 (2938994 ) ) 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 (23281952) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1360680901, 'portfolio_id': 23281952}, {'photo_id': 1360680900, 'portfolio_id': 23281952}, {'photo_id': 1360680841, 'portfolio_id': 23281952}, {'photo_id': 1360680837, 'portfolio_id': 23281952}, {'photo_id': 1360680833, 'portfolio_id': 23281952}, {'photo_id': 1360680828, 'portfolio_id': 23281952}, {'photo_id': 1360680826, 'portfolio_id': 23281952}, {'photo_id': 1360680795, 'portfolio_id': 23281952}, {'photo_id': 1360680790, 'portfolio_id': 23281952}, {'photo_id': 1360680785, 'portfolio_id': 23281952}, {'photo_id': 1360680779, 'portfolio_id': 23281952}, {'photo_id': 1360680773, 'portfolio_id': 23281952}, {'photo_id': 1360680748, 'portfolio_id': 23281952}, {'photo_id': 1360680742, 'portfolio_id': 23281952}, {'photo_id': 1360680737, 'portfolio_id': 23281952}, {'photo_id': 1360680724, 'portfolio_id': 23281952}, {'photo_id': 1360680720, 'portfolio_id': 23281952}, {'photo_id': 1360680714, 'portfolio_id': 23281952}, {'photo_id': 1360680707, 'portfolio_id': 23281952}, {'photo_id': 1360680701, 'portfolio_id': 23281952}, {'photo_id': 1360680696, 'portfolio_id': 23281952}, {'photo_id': 1360680676, 'portfolio_id': 23281952}, {'photo_id': 1360680672, 'portfolio_id': 23281952}, {'photo_id': 1360680667, 'portfolio_id': 23281952}, {'photo_id': 1360680663, 'portfolio_id': 23281952}, {'photo_id': 1360680659, 'portfolio_id': 23281952}, {'photo_id': 1360680628, 'portfolio_id': 23281952}, {'photo_id': 1360680622, 'portfolio_id': 23281952}, {'photo_id': 1360680617, 'portfolio_id': 23281952}, {'photo_id': 1360680595, 'portfolio_id': 23281952}, {'photo_id': 1360680590, 'portfolio_id': 23281952}, {'photo_id': 1360680585, 'portfolio_id': 23281952}, {'photo_id': 1360680581, 'portfolio_id': 23281952}, {'photo_id': 1360680559, 'portfolio_id': 23281952}, {'photo_id': 1360680555, 'portfolio_id': 23281952}, {'photo_id': 1360680549, 'portfolio_id': 23281952}, {'photo_id': 1360680543, 'portfolio_id': 23281952}, {'photo_id': 1360680537, 'portfolio_id': 23281952}, {'photo_id': 1360680508, 'portfolio_id': 23281952}, {'photo_id': 1360680505, 'portfolio_id': 23281952}, {'photo_id': 1360680501, 'portfolio_id': 23281952}, {'photo_id': 1360680496, 'portfolio_id': 23281952}, {'photo_id': 1360680490, 'portfolio_id': 23281952}, {'photo_id': 1360680486, 'portfolio_id': 23281952}, {'photo_id': 1360680445, 'portfolio_id': 23281952}, {'photo_id': 1360680441, 'portfolio_id': 23281952}, {'photo_id': 1360680413, 'portfolio_id': 23281952}, {'photo_id': 1360680408, 'portfolio_id': 23281952}, {'photo_id': 1360680404, 'portfolio_id': 23281952}, {'photo_id': 1360680399, 'portfolio_id': 23281952}, {'photo_id': 1360680393, 'portfolio_id': 23281952}, {'photo_id': 1360680388, 'portfolio_id': 23281952}, {'photo_id': 1360680362, 'portfolio_id': 23281952}, {'photo_id': 1360680356, 'portfolio_id': 23281952}, {'photo_id': 1360680348, 'portfolio_id': 23281952}, {'photo_id': 1360680344, 'portfolio_id': 23281952}, {'photo_id': 1360680340, 'portfolio_id': 23281952}, {'photo_id': 1360680311, 'portfolio_id': 23281952}, {'photo_id': 1360680306, 'portfolio_id': 23281952}, {'photo_id': 1360680302, 'portfolio_id': 23281952}, {'photo_id': 1360680279, 'portfolio_id': 23281952}, {'photo_id': 1360680274, 'portfolio_id': 23281952}, {'photo_id': 1360680270, 'portfolio_id': 23281952}, {'photo_id': 1360680262, 'portfolio_id': 23281952}, {'photo_id': 1360680258, 'portfolio_id': 23281952}] map_portfolio_id_photo_id: {23281952: [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537, 1360680508, 1360680505, 1360680501, 1360680496, 1360680490, 1360680486, 1360680445, 1360680441, 1360680413, 1360680408, 1360680404, 1360680399, 1360680393, 1360680388, 1360680362, 1360680356, 1360680348, 1360680344, 1360680340, 1360680311, 1360680306, 1360680302, 1360680279, 1360680274, 1360680270, 1360680262, 1360680258]} ##### 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.020112276077270508 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed May 28 19:25: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 (23281952) 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 : 23281952 get user id for portfolio 23281952 get sub ptf for main ptf 23281952, type 3726 and hashtags ['cartonnette', 'plastique', 'metal', 'Carton_brun', 'environnement', 'kraft', 'flou', 'Carton_gris', 'Teint_Dans_La_Masse', 'papier', 'mal_croppe', 'autre_refus'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23281952 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','plastique','metal','Carton_brun','environnement','kraft','flou','Carton_gris','Teint_Dans_La_Masse','papier','mal_croppe','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23281952 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','plastique','metal','Carton_brun','environnement','kraft','flou','Carton_gris','Teint_Dans_La_Masse','papier','mal_croppe','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 23281952, 'sub_port_id': 23336884, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565976, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'Carton_brun': {'main_port_id': 23281952, 'sub_port_id': 23336885, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565977, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'autre_refus': {'main_port_id': 23281952, 'sub_port_id': 23336886, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565978, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'plastique': {'main_port_id': 23281952, 'sub_port_id': 23336887, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565979, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'mal_croppe': {'main_port_id': 23281952, 'sub_port_id': 23336888, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565980, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'environnement': {'main_port_id': 23281952, 'sub_port_id': 23336889, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565981, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 23281952, 'sub_port_id': 23336890, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565982, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'Carton_gris': {'main_port_id': 23281952, 'sub_port_id': 23336891, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565983, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'kraft': {'main_port_id': 23281952, 'sub_port_id': 23336892, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565984, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'metal': {'main_port_id': 23281952, 'sub_port_id': 23336893, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565985, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'cartonnette': {'main_port_id': 23281952, 'sub_port_id': 23336894, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565986, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}, 'flou': {'main_port_id': 23281952, 'sub_port_id': 23336895, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565987, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336884 , 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=23281952 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 (23336884) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336885 , 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=23281952 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 (23336885) result : ((1360681043,), (1360681044,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336886 , 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=23281952 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 (23336886) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336887 , 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=23281952 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 (23336887) result : ((1360681047,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336888 , 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=23281952 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 (23336888) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336889 , 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=23281952 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 (23336889) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336890 , 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=23281952 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 (23336890) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336891 , 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=23281952 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 (23336891) result : ((1360681036,), (1360681037,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336892 , 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=23281952 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 (23336892) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336893 , 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=23281952 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 (23336893) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336894 , 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=23281952 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 (23336894) result : ((1360681040,), (1360681041,), (1360681042,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23336895 , 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=23281952 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 (23336895) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23281952) result : ((1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,)) 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 (1360680900) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23281952 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','plastique','metal','Carton_brun','environnement','kraft','flou','Carton_gris','Teint_Dans_La_Masse','papier','mal_croppe','autre_refus')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23281952 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','plastique','metal','Carton_brun','environnement','kraft','flou','Carton_gris','Teint_Dans_La_Masse','papier','mal_croppe','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 23281952, 'sub_port_id': 23336897, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565988, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'Carton_brun': {'main_port_id': 23281952, 'sub_port_id': 23336898, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565989, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'autre_refus': {'main_port_id': 23281952, 'sub_port_id': 23336899, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565990, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'plastique': {'main_port_id': 23281952, 'sub_port_id': 23336900, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565991, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'mal_croppe': {'main_port_id': 23281952, 'sub_port_id': 23336901, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565992, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'environnement': {'main_port_id': 23281952, 'sub_port_id': 23336902, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565993, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 23281952, 'sub_port_id': 23336903, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565994, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'Carton_gris': {'main_port_id': 23281952, 'sub_port_id': 23336904, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565995, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'kraft': {'main_port_id': 23281952, 'sub_port_id': 23336905, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565996, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'metal': {'main_port_id': 23281952, 'sub_port_id': 23336906, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565997, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'cartonnette': {'main_port_id': 23281952, 'sub_port_id': 23336907, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565998, 'last_updated_at': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 14, 8, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}, 'flou': {'main_port_id': 23281952, 'sub_port_id': 23336908, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15565999, 'last_updated_at': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 26, 17, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 26, 14, 8, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336898,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336899,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336886 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336900,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336887 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336901,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336888 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336902,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336889 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336903,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336890 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336904,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336891 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336905,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336892 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336906,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336893 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336907,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336894 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23336908,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23336895 lien utilise dans velours : https://www.fotonower.com/velours/23336897,23336898,23336899,23336900,23336901,23336902,23336903,23336904,23336905,23336906,23336907,23336908?tags=papier,Carton_brun,autre_refus,plastique,mal_croppe,environnement,Teint_Dans_La_Masse,Carton_gris,kraft,metal,cartonnette,flou After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23281952]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] map_info['map_portfolio_photo'] : {23281952: [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537, 1360680508, 1360680505, 1360680501, 1360680496, 1360680490, 1360680486, 1360680445, 1360680441, 1360680413, 1360680408, 1360680404, 1360680399, 1360680393, 1360680388, 1360680362, 1360680356, 1360680348, 1360680344, 1360680340, 1360680311, 1360680306, 1360680302, 1360680279, 1360680274, 1360680270, 1360680262, 1360680258]} final : False mtd_id 4302 list_pids : [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] Looping around the photos to save general results len do output : 1 /23281952. 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, '2938994') ('4302', '23281952', '1360680901', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '23281952', "{'papier': 23336884, 'Carton_brun': 23336885, 'autre_refus': 23336886, 'plastique': 23336887, 'mal_croppe': 23336888, 'environnement': 23336889, 'Teint_Dans_La_Masse': 23336890, 'Carton_gris': 23336891, 'kraft': 23336892, 'metal': 23336893, 'cartonnette': 23336894, 'flou': 23336895}", None, None, None, None, '2938994'), ('4302', '23281952', '1360680901', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994')] time used for this insertion : 0.02113628387451172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.45383524894714355 time spend to save output : 0.021728992462158203 total time spend for step 1 : 0.47556424140930176 step2:final Wed May 28 19:25:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (23281952) 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 23281952 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1360680279,1360680274,1360680270,1360680262,1360680258,1360680311,1360680306,1360680302,1360680362,1360680356,1360680348,1360680344,1360680340,1360680413,1360680408,1360680404,1360680399,1360680393,1360680388,1360680445,1360680441,1360680508,1360680505,1360680501,1360680496,1360680490,1360680486,1360680559,1360680555,1360680549,1360680543,1360680537,1360680595,1360680590,1360680585,1360680581,1360680628,1360680622,1360680617,1360680676,1360680672,1360680667,1360680663,1360680659,1360680724,1360680720,1360680714,1360680707,1360680701,1360680696,1360680748,1360680742,1360680737,1360680795,1360680790,1360680785,1360680779,1360680773,1360680841,1360680837,1360680833,1360680828,1360680826,1360680900,1360680901); 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([23281952]) Inside saveOutput : final : False verbose : True original output for save of step final : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} new output for save of step final : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] map_info['map_portfolio_photo'] : {23281952: [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537, 1360680508, 1360680505, 1360680501, 1360680496, 1360680490, 1360680486, 1360680445, 1360680441, 1360680413, 1360680408, 1360680404, 1360680399, 1360680393, 1360680388, 1360680362, 1360680356, 1360680348, 1360680344, 1360680340, 1360680311, 1360680306, 1360680302, 1360680279, 1360680274, 1360680270, 1360680262, 1360680258]} final : False mtd_id 4302 list_pids : [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] Looping around the photos to save general results len do output : 38 /1360680901.Didn't retrieve data . /1360680900.Didn't retrieve data . /1360680841.Didn't retrieve data . /1360680837.Didn't retrieve data . /1360680833.Didn't retrieve data . /1360680828.Didn't retrieve data . /1360680826.Didn't retrieve data . /1360680795.Didn't retrieve data . /1360680790.Didn't retrieve data . /1360680785.Didn't retrieve data . /1360680779.Didn't retrieve data . /1360680773.Didn't retrieve data . /1360680748.Didn't retrieve data . /1360680742.Didn't retrieve data . /1360680737.Didn't retrieve data . /1360680724.Didn't retrieve data . /1360680720.Didn't retrieve data . /1360680714.Didn't retrieve data . /1360680707.Didn't retrieve data . /1360680701.Didn't retrieve data . /1360680696.Didn't retrieve data . /1360680676.Didn't retrieve data . /1360680672.Didn't retrieve data . /1360680667.Didn't retrieve data . /1360680663.Didn't retrieve data . /1360680659.Didn't retrieve data . /1360680628.Didn't retrieve data . /1360680622.Didn't retrieve data . /1360680617.Didn't retrieve data . /1360680595.Didn't retrieve data . /1360680590.Didn't retrieve data . /1360680585.Didn't retrieve data . /1360680581.Didn't retrieve data . /1360680559.Didn't retrieve data . /1360680555.Didn't retrieve data . /1360680549.Didn't retrieve data . /1360680543.Didn't retrieve data . /1360680537.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, '2938994') ('4302', '23281952', '1360680901', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '23281952', '1360680901', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680900', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680841', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680837', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680833', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680828', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680826', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680795', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680790', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680785', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680779', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680773', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680748', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680742', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680737', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680724', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680720', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680714', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680707', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680701', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680696', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680676', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680672', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680667', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680663', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680659', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680628', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680622', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680617', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680595', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680590', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680585', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680581', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680559', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680555', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680549', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680543', '0.04504337043710903', None, None, None, None, '2938994'), ('4302', '23281952', '1360680537', '0.04504337043710903', None, None, None, None, '2938994')] time used for this insertion : 0.021727561950683594 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06696891784667969 time spend to save output : 0.022945165634155273 total time spend for step 2 : 0.08991408348083496 step3:velours_tree Wed May 28 19:25:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {23281952: [{'papier': 23336884, 'Carton_brun': 23336885, 'autre_refus': 23336886, 'plastique': 23336887, 'mal_croppe': 23336888, 'environnement': 23336889, 'Teint_Dans_La_Masse': 23336890, 'Carton_gris': 23336891, 'kraft': 23336892, 'metal': 23336893, 'cartonnette': 23336894, 'flou': 23336895}]} input_args_next_step : {23281952: ()} output_args : {23281952: [{'papier': 23336884, 'Carton_brun': 23336885, 'autre_refus': 23336886, 'plastique': 23336887, 'mal_croppe': 23336888, 'environnement': 23336889, 'Teint_Dans_La_Masse': 23336890, 'Carton_gris': 23336891, 'kraft': 23336892, 'metal': 23336893, 'cartonnette': 23336894, 'flou': 23336895}]} args : 23281952 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'papier': 23336884, 'Carton_brun': 23336885, 'autre_refus': 23336886, 'plastique': 23336887, 'mal_croppe': 23336888, 'environnement': 23336889, 'Teint_Dans_La_Masse': 23336890, 'Carton_gris': 23336891, 'kraft': 23336892, 'metal': 23336893, 'cartonnette': 23336894, 'flou': 23336895},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23281952) 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([23281952]) 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.43165063858032227 time spend to save output : 7.653236389160156e-05 total time spend for step 3 : 0.43172717094421387 step4:send_mail_cod Wed May 28 19:25:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} input_args_next_step : {1360680901: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680901 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680900 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680841 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680837 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680833 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680828 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680826 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680795 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680790 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680785 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680779 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680773 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680748 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680742 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680737 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680724 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680720 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680714 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680707 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680701 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680696 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680676 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680672 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680667 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680663 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680659 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680628 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680622 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680617 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680595 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680590 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680585 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680581 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680559 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680555 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680549 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680543 depend.output_id : 0 input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ()} output_args : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',)} args : 1360680537 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 : {23281952: [{'papier': 23336884, 'Carton_brun': 23336885, 'autre_refus': 23336886, 'plastique': 23336887, 'mal_croppe': 23336888, 'environnement': 23336889, 'Teint_Dans_La_Masse': 23336890, 'Carton_gris': 23336891, 'kraft': 23336892, 'metal': 23336893, 'cartonnette': 23336894, 'flou': 23336895}]} input_args_next_step : {1360680901: ('0.04504337043710903',), 1360680900: ('0.04504337043710903',), 1360680841: ('0.04504337043710903',), 1360680837: ('0.04504337043710903',), 1360680833: ('0.04504337043710903',), 1360680828: ('0.04504337043710903',), 1360680826: ('0.04504337043710903',), 1360680795: ('0.04504337043710903',), 1360680790: ('0.04504337043710903',), 1360680785: ('0.04504337043710903',), 1360680779: ('0.04504337043710903',), 1360680773: ('0.04504337043710903',), 1360680748: ('0.04504337043710903',), 1360680742: ('0.04504337043710903',), 1360680737: ('0.04504337043710903',), 1360680724: ('0.04504337043710903',), 1360680720: ('0.04504337043710903',), 1360680714: ('0.04504337043710903',), 1360680707: ('0.04504337043710903',), 1360680701: ('0.04504337043710903',), 1360680696: ('0.04504337043710903',), 1360680676: ('0.04504337043710903',), 1360680672: ('0.04504337043710903',), 1360680667: ('0.04504337043710903',), 1360680663: ('0.04504337043710903',), 1360680659: ('0.04504337043710903',), 1360680628: ('0.04504337043710903',), 1360680622: ('0.04504337043710903',), 1360680617: ('0.04504337043710903',), 1360680595: ('0.04504337043710903',), 1360680590: ('0.04504337043710903',), 1360680585: ('0.04504337043710903',), 1360680581: ('0.04504337043710903',), 1360680559: ('0.04504337043710903',), 1360680555: ('0.04504337043710903',), 1360680549: ('0.04504337043710903',), 1360680543: ('0.04504337043710903',), 1360680537: ('0.04504337043710903',), 23281952: ()} output_args : {23281952: [{'papier': 23336884, 'Carton_brun': 23336885, 'autre_refus': 23336886, 'plastique': 23336887, 'mal_croppe': 23336888, 'environnement': 23336889, 'Teint_Dans_La_Masse': 23336890, 'Carton_gris': 23336891, 'kraft': 23336892, 'metal': 23336893, 'cartonnette': 23336894, 'flou': 23336895}]} args : 23281952 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 :39, first value : ('0.04504337043710903',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23281952) 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 (1360680901,1360680900,1360680841,1360680837,1360680833,1360680828,1360680826,1360680795,1360680790,1360680785,1360680779,1360680773,1360680748,1360680742,1360680737,1360680724,1360680720,1360680714,1360680707,1360680701,1360680696,1360680676,1360680672,1360680667,1360680663,1360680659,1360680628,1360680622,1360680617,1360680595,1360680590,1360680585,1360680581,1360680559,1360680555,1360680549,1360680543,1360680537) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1360680537 begin to download photo : 1360680595 begin to download photo : 1360680676 begin to download photo : 1360680742 begin to download photo : 1360680828 download finish for photo 1360680676 begin to download photo : 1360680696 download finish for photo 1360680595 begin to download photo : 1360680617 download finish for photo 1360680828 begin to download photo : 1360680833 download finish for photo 1360680742 begin to download photo : 1360680748 download finish for photo 1360680537 begin to download photo : 1360680543 download finish for photo 1360680696 begin to download photo : 1360680701 download finish for photo 1360680617 begin to download photo : 1360680622 download finish for photo 1360680833 begin to download photo : 1360680837 download finish for photo 1360680543 begin to download photo : 1360680549 download finish for photo 1360680748 begin to download photo : 1360680773 download finish for photo 1360680701 begin to download photo : 1360680707 download finish for photo 1360680622 begin to download photo : 1360680628 download finish for photo 1360680549 begin to download photo : 1360680555 download finish for photo 1360680837 begin to download photo : 1360680841 download finish for photo 1360680555 begin to download photo : 1360680559 download finish for photo 1360680628 begin to download photo : 1360680659 download finish for photo 1360680707 begin to download photo : 1360680714 download finish for photo 1360680773 begin to download photo : 1360680779 download finish for photo 1360680841 begin to download photo : 1360680900 download finish for photo 1360680559 begin to download photo : 1360680581 download finish for photo 1360680659 begin to download photo : 1360680663 download finish for photo 1360680779 begin to download photo : 1360680785 download finish for photo 1360680714 begin to download photo : 1360680720 download finish for photo 1360680900 begin to download photo : 1360680901 download finish for photo 1360680581 begin to download photo : 1360680585 download finish for photo 1360680785 begin to download photo : 1360680790 download finish for photo 1360680720 begin to download photo : 1360680724 download finish for photo 1360680663 begin to download photo : 1360680667 download finish for photo 1360680901 download finish for photo 1360680585 begin to download photo : 1360680590 download finish for photo 1360680724 begin to download photo : 1360680737 download finish for photo 1360680790 begin to download photo : 1360680795 download finish for photo 1360680667 begin to download photo : 1360680672 download finish for photo 1360680737 download finish for photo 1360680590 download finish for photo 1360680795 begin to download photo : 1360680826 download finish for photo 1360680672 download finish for photo 1360680826 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette233368861748453160/ length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P23281952_28-05-2025_19_26_00.pdf 23336886 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=23336886 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233368861748453160 23336887 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=23336887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360681047: '1747951467_2550968_1360680720_c921bb293fcec813f6e01e09f2582fca_rle_crop_3810889266_0.png'} change filename to text .imagette233368871748453160/ imagette233368871748453160/1747951467_2550968_1360680720_c921bb293fcec813f6e01e09f2582fca_rle_crop_3810889266_0.png.png imagette233368881748453160/ imagette233368921748453160/ imagette233368931748453160/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/c34ac88d79bfd032a6112dedb9574dc3_59257240.png imagette233368871748453160 23336888 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=23336888 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233368881748453160 23336892 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=23336892 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233368921748453160 23336893 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=23336893 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233368931748453160 23336894 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=23336894 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360681040: '1747951467_2550968_1360680720_c921bb293fcec813f6e01e09f2582fca_rle_crop_3810889271_0.png', 1360681041: '1747951467_2550968_1360680714_d407c1daa304ea2aa932f05c689c719a_rle_crop_3810889284_0.png', 1360681042: '1747951467_2550968_1360680707_76c3e4f59e034bfa7968669c2af39886_rle_crop_3810889292_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/b143e2d329a633bf95ff01edf5c58dd8_87404404.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/c9652d2bba3e4827488f4cbcf8e5f513_55769249.png change filename to text .imagette233368941748453160/ imagette233368941748453160/1747951467_2550968_1360680720_c921bb293fcec813f6e01e09f2582fca_rle_crop_3810889271_0.png.png imagette233368941748453160/1747951467_2550968_1360680714_d407c1daa304ea2aa932f05c689c719a_rle_crop_3810889284_0.png.png imagette233368941748453160/1747951467_2550968_1360680707_76c3e4f59e034bfa7968669c2af39886_rle_crop_3810889292_0.png.png imagette233368951748453160/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/50ee620cd336b25eb8a341295584058c_18186989.png imagette233368941748453160 23336895 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=23336895 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233368951748453160 23336885 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=23336885 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360681043: '1747951467_2550968_1360680748_b71db54bc9065732ec46950951b2382c_rle_crop_3810889255_0.png', 1360681044: '1747951467_2550968_1360680720_c921bb293fcec813f6e01e09f2582fca_rle_crop_3810889268_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/48da9e5a6c42df5448c70b9ec3a5f4c7_19786284.png change filename to text .imagette233368851748453160/ imagette233368851748453160/1747951467_2550968_1360680748_b71db54bc9065732ec46950951b2382c_rle_crop_3810889255_0.png.png imagette233368851748453160/1747951467_2550968_1360680720_c921bb293fcec813f6e01e09f2582fca_rle_crop_3810889268_0.png.png imagette233368901748453160/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/af78b0adf64ded34f01955a5efb908e6_72397741.png imagette233368851748453160 23336890 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=23336890 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233368901748453160 23336891 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=23336891 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360681036: '1747951467_2550968_1360680714_d407c1daa304ea2aa932f05c689c719a_rle_crop_3810889278_0.png', 1360681037: '1747951467_2550968_1360680701_f88a7e4948cd84cb66f7eee85fa76112_rle_crop_3810889310_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/2713aba0afe4e868cba1a7c34a0603f6_57284688.png change filename to text .imagette233368911748453160/ imagette233368911748453160/1747951467_2550968_1360680701_f88a7e4948cd84cb66f7eee85fa76112_rle_crop_3810889310_0.png.png imagette233368911748453160/1747951467_2550968_1360680714_d407c1daa304ea2aa932f05c689c719a_rle_crop_3810889278_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/5838cc88813645c44005f865160feec1_32639125.png imagette233368911748453160 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23281952 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23336897,23336898,23336899,23336900,23336901,23336902,23336903,23336904,23336905,23336906,23336907,23336908?tags=papier,Carton_brun,autre_refus,plastique,mal_croppe,environnement,Teint_Dans_La_Masse,Carton_gris,kraft,metal,cartonnette,flou your option no_mail is active, we will not send the real mail to your client args[1360680901] : ('0.04504337043710903',) no score found for photo 1360680901 We are sending mail with results at report@fotonower.com args[1360680900] : ('0.04504337043710903',) no score found for photo 1360680900 We are sending mail with results at report@fotonower.com args[1360680841] : ('0.04504337043710903',) no score found for photo 1360680841 We are sending mail with results at report@fotonower.com args[1360680837] : ('0.04504337043710903',) no score found for photo 1360680837 We are sending mail with results at report@fotonower.com args[1360680833] : ('0.04504337043710903',) no score found for photo 1360680833 We are sending mail with results at report@fotonower.com args[1360680828] : ('0.04504337043710903',) no score found for photo 1360680828 We are sending mail with results at report@fotonower.com args[1360680826] : ('0.04504337043710903',) no score found for photo 1360680826 We are sending mail with results at report@fotonower.com args[1360680795] : ('0.04504337043710903',) no score found for photo 1360680795 We are sending mail with results at report@fotonower.com args[1360680790] : ('0.04504337043710903',) no score found for photo 1360680790 We are sending mail with results at report@fotonower.com args[1360680785] : ('0.04504337043710903',) no score found for photo 1360680785 We are sending mail with results at report@fotonower.com args[1360680779] : ('0.04504337043710903',) no score found for photo 1360680779 We are sending mail with results at report@fotonower.com args[1360680773] : ('0.04504337043710903',) no score found for photo 1360680773 We are sending mail with results at report@fotonower.com args[1360680748] : ('0.04504337043710903',) no score found for photo 1360680748 We are sending mail with results at report@fotonower.com args[1360680742] : ('0.04504337043710903',) no score found for photo 1360680742 We are sending mail with results at report@fotonower.com args[1360680737] : ('0.04504337043710903',) no score found for photo 1360680737 We are sending mail with results at report@fotonower.com args[1360680724] : ('0.04504337043710903',) no score found for photo 1360680724 We are sending mail with results at report@fotonower.com args[1360680720] : ('0.04504337043710903',) no score found for photo 1360680720 We are sending mail with results at report@fotonower.com args[1360680714] : ('0.04504337043710903',) no score found for photo 1360680714 We are sending mail with results at report@fotonower.com args[1360680707] : ('0.04504337043710903',) no score found for photo 1360680707 We are sending mail with results at report@fotonower.com args[1360680701] : ('0.04504337043710903',) no score found for photo 1360680701 We are sending mail with results at report@fotonower.com args[1360680696] : ('0.04504337043710903',) no score found for photo 1360680696 We are sending mail with results at report@fotonower.com args[1360680676] : ('0.04504337043710903',) no score found for photo 1360680676 We are sending mail with results at report@fotonower.com args[1360680672] : ('0.04504337043710903',) no score found for photo 1360680672 We are sending mail with results at report@fotonower.com args[1360680667] : ('0.04504337043710903',) no score found for photo 1360680667 We are sending mail with results at report@fotonower.com args[1360680663] : ('0.04504337043710903',) no score found for photo 1360680663 We are sending mail with results at report@fotonower.com args[1360680659] : ('0.04504337043710903',) no score found for photo 1360680659 We are sending mail with results at report@fotonower.com args[1360680628] : ('0.04504337043710903',) no score found for photo 1360680628 We are sending mail with results at report@fotonower.com args[1360680622] : ('0.04504337043710903',) no score found for photo 1360680622 We are sending mail with results at report@fotonower.com args[1360680617] : ('0.04504337043710903',) no score found for photo 1360680617 We are sending mail with results at report@fotonower.com args[1360680595] : ('0.04504337043710903',) no score found for photo 1360680595 We are sending mail with results at report@fotonower.com args[1360680590] : ('0.04504337043710903',) no score found for photo 1360680590 We are sending mail with results at report@fotonower.com args[1360680585] : ('0.04504337043710903',) no score found for photo 1360680585 We are sending mail with results at report@fotonower.com args[1360680581] : ('0.04504337043710903',) no score found for photo 1360680581 We are sending mail with results at report@fotonower.com args[1360680559] : ('0.04504337043710903',) no score found for photo 1360680559 We are sending mail with results at report@fotonower.com args[1360680555] : ('0.04504337043710903',) no score found for photo 1360680555 We are sending mail with results at report@fotonower.com args[1360680549] : ('0.04504337043710903',) no score found for photo 1360680549 We are sending mail with results at report@fotonower.com args[1360680543] : ('0.04504337043710903',) no score found for photo 1360680543 We are sending mail with results at report@fotonower.com args[1360680537] : ('0.04504337043710903',) no score found for photo 1360680537 We are sending mail with results at report@fotonower.com refus_total : 0.04504337043710903 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=23281952 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_P23281952_28-05-2025_19_26_00.pdf results_Auto_P23281952_28-05-2025_19_26_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281952_28-05-2025_19_26_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','23281952','results_Auto_P23281952_28-05-2025_19_26_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281952_28-05-2025_19_26_00.pdf','pdf','','0.29','0.04504337043710903') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23281952]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] map_info['map_portfolio_photo'] : {23281952: [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537, 1360680508, 1360680505, 1360680501, 1360680496, 1360680490, 1360680486, 1360680445, 1360680441, 1360680413, 1360680408, 1360680404, 1360680399, 1360680393, 1360680388, 1360680362, 1360680356, 1360680348, 1360680344, 1360680340, 1360680311, 1360680306, 1360680302, 1360680279, 1360680274, 1360680270, 1360680262, 1360680258]} final : False mtd_id 4302 list_pids : [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] 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, '2938994') ('4302', '23281952', '1360680901', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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', '23281952', '1360680901', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994')] time used for this insertion : 0.01824784278869629 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.481063604354858 time spend to save output : 0.018772125244140625 total time spend for step 4 : 4.499835729598999 step5:split_time_score Wed May 28 19:26:03 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 : ['23281952'] 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 : [('23281952',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23281952) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1360680828: {'path': 'temp/1748453158_2703748_1360680828_7327398476293e0a5c93a6ac472cecf7.jpg', 'extension': 'jpg'}, 1360680833: {'path': 'temp/1748453158_2703748_1360680833_5b0bf977b04c5ca20a355f4ffe6440c9.jpg', 'extension': 'jpg'}, 1360680837: {'path': 'temp/1748453158_2703748_1360680837_f83040431de586f5e01a4e61240bfe45.jpg', 'extension': 'jpg'}, 1360680841: {'path': 'temp/1748453158_2703748_1360680841_7195bec827366d52f5b9d8aa7b1328e7.jpg', 'extension': 'jpg'}, 1360680900: {'path': 'temp/1748453158_2703748_1360680900_5a3312cb3e8f1cb3ce9b64f3a9eb9861.jpg', 'extension': 'jpg'}, 1360680901: {'path': 'temp/1748453158_2703748_1360680901_b27e06a2ab7e1a320d845d687981185c.jpg', 'extension': 'jpg'}, 1360680676: {'path': 'temp/1748453158_2703748_1360680676_b873cc26c52e8ad11eccd359bee445e2.jpg', 'extension': 'jpg'}, 1360680696: {'path': 'temp/1748453158_2703748_1360680696_e1d4c244fe81c8f91191b49ec529f890.jpg', 'extension': 'jpg'}, 1360680701: {'path': 'temp/1748453158_2703748_1360680701_f88a7e4948cd84cb66f7eee85fa76112.jpg', 'extension': 'jpg'}, 1360680707: {'path': 'temp/1748453158_2703748_1360680707_76c3e4f59e034bfa7968669c2af39886.jpg', 'extension': 'jpg'}, 1360680714: {'path': 'temp/1748453158_2703748_1360680714_d407c1daa304ea2aa932f05c689c719a.jpg', 'extension': 'jpg'}, 1360680720: {'path': 'temp/1748453158_2703748_1360680720_c921bb293fcec813f6e01e09f2582fca.jpg', 'extension': 'jpg'}, 1360680724: {'path': 'temp/1748453158_2703748_1360680724_00aed30e99dec2cf8f43166c4baa2b18.jpg', 'extension': 'jpg'}, 1360680737: {'path': 'temp/1748453158_2703748_1360680737_a6840ca469bad695a2d80522950acbdb.jpg', 'extension': 'jpg'}, 1360680537: {'path': 'temp/1748453158_2703748_1360680537_5625f6aa0d4b2094cbb4e26813e0f249.jpg', 'extension': 'jpg'}, 1360680543: {'path': 'temp/1748453158_2703748_1360680543_cb21b16c9abe1532e935fd3e0cf220e5.jpg', 'extension': 'jpg'}, 1360680549: {'path': 'temp/1748453158_2703748_1360680549_be4a9689a500fda45698ad49970b6145.jpg', 'extension': 'jpg'}, 1360680555: {'path': 'temp/1748453158_2703748_1360680555_22d0c9380f5e42b7293796f2d0ef01ac.jpg', 'extension': 'jpg'}, 1360680559: {'path': 'temp/1748453158_2703748_1360680559_7caf42bee900c0da7db01e55df25ffe0.jpg', 'extension': 'jpg'}, 1360680581: {'path': 'temp/1748453158_2703748_1360680581_e426ca83409af54fb2aaea74446850c4.jpg', 'extension': 'jpg'}, 1360680585: {'path': 'temp/1748453158_2703748_1360680585_953605d3364fd322780cc2b679efa17e.jpg', 'extension': 'jpg'}, 1360680590: {'path': 'temp/1748453158_2703748_1360680590_5bae96d616abab77be911088fbd94618.jpg', 'extension': 'jpg'}, 1360680595: {'path': 'temp/1748453158_2703748_1360680595_da268c00fbbf40bea1ecb68ca78cb262.jpg', 'extension': 'jpg'}, 1360680617: {'path': 'temp/1748453158_2703748_1360680617_6d1246485993541ab00d94a14508f4b1.jpg', 'extension': 'jpg'}, 1360680622: {'path': 'temp/1748453158_2703748_1360680622_34f1ddfd31be4290b5ab7d92d0b31b04.jpg', 'extension': 'jpg'}, 1360680628: {'path': 'temp/1748453158_2703748_1360680628_e287b404a4b1c08a0a58b06d5ca2001c.jpg', 'extension': 'jpg'}, 1360680659: {'path': 'temp/1748453158_2703748_1360680659_cd3e30760459c6744ed9e0cffa5c3140.jpg', 'extension': 'jpg'}, 1360680663: {'path': 'temp/1748453158_2703748_1360680663_b20bb7fced0e27f748e546f01c0d9ee0.jpg', 'extension': 'jpg'}, 1360680667: {'path': 'temp/1748453158_2703748_1360680667_80dd7057054a542b5af62f217ab30654.jpg', 'extension': 'jpg'}, 1360680672: {'path': 'temp/1748453158_2703748_1360680672_8123a13709d38b41ce2c2cf45a3b9e6a.jpg', 'extension': 'jpg'}, 1360680742: {'path': 'temp/1748453158_2703748_1360680742_553bc8eabcf80d62ec83d7e24f618e73.jpg', 'extension': 'jpg'}, 1360680748: {'path': 'temp/1748453158_2703748_1360680748_b71db54bc9065732ec46950951b2382c.jpg', 'extension': 'jpg'}, 1360680773: {'path': 'temp/1748453158_2703748_1360680773_dbe80a07d21f2ff9bb9e66e244c7a54b.jpg', 'extension': 'jpg'}, 1360680779: {'path': 'temp/1748453158_2703748_1360680779_a3c3533698d5e87a92562abeee2ec59a.jpg', 'extension': 'jpg'}, 1360680785: {'path': 'temp/1748453158_2703748_1360680785_0863a456910ad8f50f5351a5758ce1d7.jpg', 'extension': 'jpg'}, 1360680790: {'path': 'temp/1748453158_2703748_1360680790_6fd584df529401744e41f9d68d2a4978.jpg', 'extension': 'jpg'}, 1360680795: {'path': 'temp/1748453158_2703748_1360680795_cb2f115bde9a48313aa00d8be8ff5ad9.jpg', 'extension': 'jpg'}, 1360680826: {'path': 'temp/1748453158_2703748_1360680826_38047be9885e6c41eb4891fc10c1dcf8.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 = 23281952; (('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 = 23281952 group by h (('23', 65),) 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=23281952 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 (23281952) 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 (23281952) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22052025 23281952 Nombre de photos uploadées : 65 / 23040 (0%) 22052025 23281952 Nombre de photos taguées (types de déchets): 0 / 65 (0%) 22052025 23281952 Nombre de photos taguées (volume) : 0 / 65 (0%) [{'photo_id': 1360680279, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/31e62fe33438750c55f33d288d76cd07.jpg', 'username': None, 'uploaded_at': 1747950367, 'text': 'image_22052025_23_45_04_10155.jpg'}, {'photo_id': 1360680274, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/4833881a0a61aac3ee32fab8eecbc38e.jpg', 'username': None, 'uploaded_at': 1747950367, 'text': 'image_22052025_23_45_14_10143.jpg'}, {'photo_id': 1360680270, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/b0f742706bdf82b0240e8451a1c4d575.jpg', 'username': None, 'uploaded_at': 1747950367, 'text': 'image_22052025_23_45_24_10143.jpg'}, {'photo_id': 1360680262, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/22/38d102a64595057a565bc4e4a691aafa.jpg', 'username': None, 'uploaded_at': 1747950367, 'text': 'image_22052025_23_45_33_9128.jpg'}] 0 [] elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0013580322265625e-05 ????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002290010452270508 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23281952, '2025-05-22' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1828582,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022720813751220703 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= 1828582 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23245647, 'dashboard_result_id': 11004304, '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_P23245647_26-05-2025_15_22_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23245667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23245668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23245669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23245670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23245671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23245672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23245673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23245674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23245675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23245676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23245677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23245678, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23246295, 'dashboard_result_id': 11004305, '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_P23246295_26-05-2025_15_21_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246347, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23246834, 'dashboard_result_id': 11004306, '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_P23246834_26-05-2025_15_20_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246888, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23247440, 'dashboard_result_id': 11004307, '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_P23247440_26-05-2025_15_20_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23247486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23247487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23247488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23247489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23247490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23247491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23247492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23247493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23247494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23247495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23247496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23247497, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23248080, 'dashboard_result_id': 11004308, '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_P23248080_26-05-2025_15_19_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23248123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23248124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23248125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23248126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23248127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23248128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23248129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23248130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23248131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23248132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23248133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23248134, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23249066, 'dashboard_result_id': 11004309, '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_P23249066_26-05-2025_15_19_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23249101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249109, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23249917, 'dashboard_result_id': 11004310, '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_P23249917_26-05-2025_15_18_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23249931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249942, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23250582, 'dashboard_result_id': 11004311, '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_P23250582_26-05-2025_15_18_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23250655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23250657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23250658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23250659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23250660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23250661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23250662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23250663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23250664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23250665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23250666, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23251214, 'dashboard_result_id': 11004312, '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_P23251214_26-05-2025_15_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23251323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23251324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23251325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23251326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23251327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23251328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23251329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23251330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23251331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23251332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23251333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23251334, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23252105, 'dashboard_result_id': 11004313, '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_P23252105_26-05-2025_15_16_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23252143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252154, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23252796, 'dashboard_result_id': 11004314, '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_P23252796_26-05-2025_15_16_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23252853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252857, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23253453, 'dashboard_result_id': 11004315, '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_P23253453_26-05-2025_15_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23253535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23253536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23253537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23253538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23253539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23253540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23253541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23253542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23253543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23253544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23253545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23253546, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23254154, 'dashboard_result_id': 11004316, '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_P23254154_26-05-2025_15_14_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23254219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23254223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23254228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254230, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23254922, 'dashboard_result_id': 11004317, '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_P23254922_26-05-2025_15_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23254994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255001, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23255622, 'dashboard_result_id': 11004318, '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_P23255622_26-05-2025_15_13_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23255683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23255684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23255685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23255686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23255688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23255689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23255690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23255691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23255692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23255694, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23256653, 'dashboard_result_id': 11004319, '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_P23256653_26-05-2025_15_13_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23256735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23256736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23256737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23256738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23256739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23256740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23256741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23256742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23256743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23256744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23256745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23256746, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23259112, 'dashboard_result_id': 11004320, '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_P23259112_26-05-2025_15_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23259119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23259124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259130, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23259665, 'dashboard_result_id': 11004321, '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_P23259665_26-05-2025_15_11_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23259674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23259685, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23260337, 'dashboard_result_id': 11004322, '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_P23260337_26-05-2025_15_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23260382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23260383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23260384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23260385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23260386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23260387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23260388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23260389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23260390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23260391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23260392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23260393, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23261270, 'dashboard_result_id': 11004323, '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_P23261270_26-05-2025_18_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23261301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23261303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23261304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23261305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23261307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23261308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23261310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23261311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23261312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23261313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23261315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23261316, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282051, 'dashboard_result_id': 11004324, '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_P23282051_26-05-2025_16_59_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346508, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282054, 'dashboard_result_id': 11004325, '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_P23282054_26-05-2025_16_59_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346476, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282057, 'dashboard_result_id': 11004326, '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_P23282057_26-05-2025_16_57_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346406, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282061, 'dashboard_result_id': 11004327, '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_P23282061_26-05-2025_16_58_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23346427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346438, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282066, 'dashboard_result_id': 11004328, '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_P23282066_26-05-2025_16_57_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23346356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346367, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282069, 'dashboard_result_id': 11004329, '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_P23282069_26-05-2025_16_56_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346288, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282073, 'dashboard_result_id': 11004330, '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_P23282073_26-05-2025_16_55_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346256, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23282078, 'dashboard_result_id': 11004331, '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_P23282078_26-05-2025_16_54_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346139, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23269886, 'dashboard_result_id': 11004332, '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_P23269886_26-05-2025_18_04_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336716, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336718, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23269887, 'dashboard_result_id': 11004333, '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_P23269887_26-05-2025_18_03_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336753, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23269888, 'dashboard_result_id': 11004334, '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_P23269888_26-05-2025_18_03_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336802, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23269089, 'dashboard_result_id': 11004335, '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_P23269089_26-05-2025_15_09_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269123, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23269889, 'dashboard_result_id': 11004336, '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_P23269889_26-05-2025_15_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269903, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23270275, 'dashboard_result_id': 11004337, '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_P23270275_22-05-2025_18_19_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270294, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23270548, 'dashboard_result_id': 11004338, '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_P23270548_26-05-2025_18_00_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270617, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23271926, 'dashboard_result_id': 11004339, '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_P23271926_26-05-2025_17_59_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350482, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23272439, 'dashboard_result_id': 11004340, '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_P23272439_26-05-2025_17_57_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350369, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23272928, 'dashboard_result_id': 11004341, '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_P23272928_26-05-2025_17_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350136, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23273815, 'dashboard_result_id': 11004342, '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_P23273815_26-05-2025_17_42_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23349516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349518, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23274402, 'dashboard_result_id': 11004343, '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_P23274402_26-05-2025_17_40_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23349401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349412, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23274404, 'dashboard_result_id': 11004344, '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_P23274404_26-05-2025_17_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23274412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23274413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23274414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23274415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23274416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23274417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23274418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23274419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23274420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23274421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23274422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23274423, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23275361, 'dashboard_result_id': 11004345, '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_P23275361_26-05-2025_17_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23275371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23275372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23275373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23275374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23275375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23275376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23275377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23275378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23275379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23275380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23275381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23275382, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23275852, 'dashboard_result_id': 11004346, '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_P23275852_26-05-2025_17_36_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23349085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349087, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23276710, 'dashboard_result_id': 11004347, '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_P23276710_26-05-2025_17_28_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23276733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23276734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23276735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23276736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23276737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23276738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23276739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23276740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23276741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23276742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23276743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23276744, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23277380, 'dashboard_result_id': 11004348, '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_P23277380_22-05-2025_21_19_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23277452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277469, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23277400, 'dashboard_result_id': 11004349, '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_P23277400_26-05-2025_17_26_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23277459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277463, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23278326, 'dashboard_result_id': 11004350, '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_P23278326_26-05-2025_17_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23278354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23278355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23278356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23278357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23278358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23278359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23278360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23278361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23278362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23278363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23278364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23278365, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23279013, 'dashboard_result_id': 11004351, '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_P23279013_26-05-2025_17_22_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23348112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23348113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23348114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23348115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23348116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23348117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23348118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23348119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23348120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23348121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23348122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23348123, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23279461, 'dashboard_result_id': 11004352, '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_P23279461_22-05-2025_22_19_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279502, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23279464, 'dashboard_result_id': 11004353, '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_P23279464_26-05-2025_17_16_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279522, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23280323, 'dashboard_result_id': 11004354, '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_P23280323_26-05-2025_17_15_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23347554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23347562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347565, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23280961, 'dashboard_result_id': 11004355, '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_P23280961_26-05-2025_17_12_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23347370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23347376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347378, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347381, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23281951, 'dashboard_result_id': 11004356, '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_P23281951_26-05-2025_17_01_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336841, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23281586, 'dashboard_result_id': 11004357, '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_P23281586_26-05-2025_15_08_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281599, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23281587, 'dashboard_result_id': 11004358, '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_P23281587_26-05-2025_15_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281637, 'pht': 3726}}"}, {'dashboat_entry_day': 1828582, 'dashboard_run_id': 1851507, 'mtr_portfolio_id': 23281952, 'dashboard_result_id': 11004359, '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_P23281952_26-05-2025_17_01_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23336884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336895, '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 = 23245647 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': 2943527, 'mtr_portfolio_id': 23245647, 'created_at': datetime.datetime(2025, 5, 26, 15, 21, 58), 'result': '0.10100379997966319', 'result_long': None, 'result_double': None}] Qualite : 0.10100379997966319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23245647 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23245647_26-05-2025_15_22_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23245647 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_P23245647_26-05-2025_15_22_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23245667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23245668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23245669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23245670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23245671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23245672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23245673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23245674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23245675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23245676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23245677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23245678, 'pht': 3726}}" where mtr_portfolio_id = 23245647 and dashboard_run_id = 1851507 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`=23245647 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004304, 0.10100379997966319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23245647_26-05-2025_15_22_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23245667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23245668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23245669, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23245670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23245671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23245672, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23245673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23245674, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23245675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23245676, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23245677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23245678, '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 = 23246295 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': 2943528, 'mtr_portfolio_id': 23246295, 'created_at': datetime.datetime(2025, 5, 26, 15, 21, 29), 'result': '0.054065384250483774', 'result_long': None, 'result_double': None}] Qualite : 0.054065384250483774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23246295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246295_26-05-2025_15_21_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23246295 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_P23246295_26-05-2025_15_21_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246347, 'pht': 3726}}" where mtr_portfolio_id = 23246295 and dashboard_run_id = 1851507 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`=23246295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004305, 0.054065384250483774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246295_26-05-2025_15_21_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246340, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246347, '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 = 23246834 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': 2943529, 'mtr_portfolio_id': 23246834, 'created_at': datetime.datetime(2025, 5, 26, 15, 20, 31), 'result': '0.044629349084889115', 'result_long': None, 'result_double': None}] Qualite : 0.044629349084889115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23246834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246834_26-05-2025_15_20_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23246834 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_P23246834_26-05-2025_15_20_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246888, 'pht': 3726}}" where mtr_portfolio_id = 23246834 and dashboard_run_id = 1851507 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`=23246834 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004306, 0.044629349084889115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23246834_26-05-2025_15_20_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23246877, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23246878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23246879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23246880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23246881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23246882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23246883, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23246884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23246885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23246886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23246887, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23246888, '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 = 23247440 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': 2943530, 'mtr_portfolio_id': 23247440, 'created_at': datetime.datetime(2025, 5, 26, 15, 19, 59), 'result': '0.0592328504272115', 'result_long': None, 'result_double': None}] Qualite : 0.0592328504272115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23247440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23247440_26-05-2025_15_20_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23247440 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_P23247440_26-05-2025_15_20_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23247486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23247487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23247488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23247489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23247490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23247491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23247492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23247493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23247494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23247495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23247496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23247497, 'pht': 3726}}" where mtr_portfolio_id = 23247440 and dashboard_run_id = 1851507 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`=23247440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004307, 0.0592328504272115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23247440_26-05-2025_15_20_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23247486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23247487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23247488, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23247489, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23247490, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23247491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23247492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23247493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23247494, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23247495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23247496, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23247497, '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 = 23248080 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': 2943531, 'mtr_portfolio_id': 23248080, 'created_at': datetime.datetime(2025, 5, 26, 15, 19, 30), 'result': '0.052921725712199746', 'result_long': None, 'result_double': None}] Qualite : 0.052921725712199746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23248080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23248080_26-05-2025_15_19_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23248080 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_P23248080_26-05-2025_15_19_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23248123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23248124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23248125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23248126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23248127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23248128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23248129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23248130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23248131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23248132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23248133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23248134, 'pht': 3726}}" where mtr_portfolio_id = 23248080 and dashboard_run_id = 1851507 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`=23248080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004308, 0.052921725712199746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23248080_26-05-2025_15_19_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23248123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23248124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23248125, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23248126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23248127, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23248128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23248129, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23248130, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23248131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23248132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23248133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23248134, '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 = 23249066 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': 2943532, 'mtr_portfolio_id': 23249066, 'created_at': datetime.datetime(2025, 5, 26, 15, 19), 'result': '0.04428440747969766', 'result_long': None, 'result_double': None}] Qualite : 0.04428440747969766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23249066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249066_26-05-2025_15_19_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23249066 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_P23249066_26-05-2025_15_19_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23249101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249109, 'pht': 3726}}" where mtr_portfolio_id = 23249066 and dashboard_run_id = 1851507 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`=23249066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004309, 0.04428440747969766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249066_26-05-2025_15_19_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23249101, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249102, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249105, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249109, '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 = 23249917 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': 2943533, 'mtr_portfolio_id': 23249917, 'created_at': datetime.datetime(2025, 5, 26, 15, 18, 29), 'result': '0.05253510826825477', 'result_long': None, 'result_double': None}] Qualite : 0.05253510826825477 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23249917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249917_26-05-2025_15_18_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23249917 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_P23249917_26-05-2025_15_18_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23249931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249942, 'pht': 3726}}" where mtr_portfolio_id = 23249917 and dashboard_run_id = 1851507 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`=23249917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004310, 0.05253510826825477, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23249917_26-05-2025_15_18_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23249931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23249932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23249933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23249934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23249935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23249936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23249937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23249938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23249939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23249940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23249941, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23249942, '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 = 23250582 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': 2943534, 'mtr_portfolio_id': 23250582, 'created_at': datetime.datetime(2025, 5, 26, 15, 17, 57), 'result': '0.0500163317029337', 'result_long': None, 'result_double': None}] Qualite : 0.0500163317029337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23250582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23250582_26-05-2025_15_18_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23250582 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_P23250582_26-05-2025_15_18_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23250655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23250657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23250658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23250659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23250660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23250661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23250662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23250663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23250664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23250665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23250666, 'pht': 3726}}" where mtr_portfolio_id = 23250582 and dashboard_run_id = 1851507 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`=23250582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004311, 0.0500163317029337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23250582_26-05-2025_15_18_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23250655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23250656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23250657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23250658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23250659, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23250660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23250661, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23250662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23250663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23250664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23250665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23250666, '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 = 23251214 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': 2943535, 'mtr_portfolio_id': 23251214, 'created_at': datetime.datetime(2025, 5, 26, 15, 17, 29), 'result': '0.059918003580651455', 'result_long': None, 'result_double': None}] Qualite : 0.059918003580651455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23251214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23251214_26-05-2025_15_17_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23251214 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_P23251214_26-05-2025_15_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23251323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23251324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23251325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23251326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23251327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23251328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23251329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23251330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23251331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23251332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23251333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23251334, 'pht': 3726}}" where mtr_portfolio_id = 23251214 and dashboard_run_id = 1851507 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`=23251214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004312, 0.059918003580651455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23251214_26-05-2025_15_17_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23251323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23251324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23251325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23251326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23251327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23251328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23251329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23251330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23251331, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23251332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23251333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23251334, '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 = 23252105 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': 2943536, 'mtr_portfolio_id': 23252105, 'created_at': datetime.datetime(2025, 5, 26, 15, 16, 27), 'result': '0.028639904214449053', 'result_long': None, 'result_double': None}] Qualite : 0.028639904214449053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23252105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252105_26-05-2025_15_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23252105 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_P23252105_26-05-2025_15_16_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23252143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252154, 'pht': 3726}}" where mtr_portfolio_id = 23252105 and dashboard_run_id = 1851507 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`=23252105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004313, 0.028639904214449053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252105_26-05-2025_15_16_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23252143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252146, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252148, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252152, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252153, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252154, '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 = 23252796 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': 2943537, 'mtr_portfolio_id': 23252796, 'created_at': datetime.datetime(2025, 5, 26, 15, 16), 'result': '0.03565716411333141', 'result_long': None, 'result_double': None}] Qualite : 0.03565716411333141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23252796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252796_26-05-2025_15_16_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23252796 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_P23252796_26-05-2025_15_16_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23252853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252857, 'pht': 3726}}" where mtr_portfolio_id = 23252796 and dashboard_run_id = 1851507 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`=23252796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004314, 0.03565716411333141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23252796_26-05-2025_15_16_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23252846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23252847, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23252848, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23252849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23252850, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23252851, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23252852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23252853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23252854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23252855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23252856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23252857, '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 = 23253453 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': 2943538, 'mtr_portfolio_id': 23253453, 'created_at': datetime.datetime(2025, 5, 26, 15, 15, 29), 'result': '0.04770613171271178', 'result_long': None, 'result_double': None}] Qualite : 0.04770613171271178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23253453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23253453_26-05-2025_15_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23253453 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_P23253453_26-05-2025_15_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23253535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23253536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23253537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23253538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23253539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23253540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23253541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23253542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23253543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23253544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23253545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23253546, 'pht': 3726}}" where mtr_portfolio_id = 23253453 and dashboard_run_id = 1851507 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`=23253453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004315, 0.04770613171271178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23253453_26-05-2025_15_15_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23253535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23253536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23253537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23253538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23253539, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23253540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23253541, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23253542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23253543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23253544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23253545, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23253546, '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 = 23254154 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': 2943539, 'mtr_portfolio_id': 23254154, 'created_at': datetime.datetime(2025, 5, 26, 15, 14, 28), 'result': '0.07078247548082922', 'result_long': None, 'result_double': None}] Qualite : 0.07078247548082922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23254154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254154_26-05-2025_15_14_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23254154 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_P23254154_26-05-2025_15_14_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23254219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23254223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23254228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254230, 'pht': 3726}}" where mtr_portfolio_id = 23254154 and dashboard_run_id = 1851507 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`=23254154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004316, 0.07078247548082922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254154_26-05-2025_15_14_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23254219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254220, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254222, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23254223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254225, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23254228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254229, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254230, '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 = 23254922 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': 2943540, 'mtr_portfolio_id': 23254922, 'created_at': datetime.datetime(2025, 5, 26, 15, 13, 58), 'result': '0.014647166999379284', 'result_long': None, 'result_double': None}] Qualite : 0.014647166999379284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23254922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254922_26-05-2025_15_14_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23254922 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_P23254922_26-05-2025_15_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23254994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255001, 'pht': 3726}}" where mtr_portfolio_id = 23254922 and dashboard_run_id = 1851507 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`=23254922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004317, 0.014647166999379284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23254922_26-05-2025_15_14_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23254990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23254991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23254992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23254993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23254994, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23254995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23254996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23254997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23254998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23254999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255001, '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 = 23255622 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': 2943541, 'mtr_portfolio_id': 23255622, 'created_at': datetime.datetime(2025, 5, 26, 15, 13, 30), 'result': '0.03619544528677854', 'result_long': None, 'result_double': None}] Qualite : 0.03619544528677854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23255622 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23255622_26-05-2025_15_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23255622 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_P23255622_26-05-2025_15_13_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23255683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23255684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23255685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23255686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23255688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23255689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23255690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23255691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23255692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23255694, 'pht': 3726}}" where mtr_portfolio_id = 23255622 and dashboard_run_id = 1851507 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`=23255622 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004318, 0.03619544528677854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23255622_26-05-2025_15_13_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23255683, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23255684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23255685, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23255686, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23255687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23255688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23255689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23255690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23255691, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23255692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23255693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23255694, '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 = 23256653 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': 2943542, 'mtr_portfolio_id': 23256653, 'created_at': datetime.datetime(2025, 5, 26, 15, 13, 1), 'result': '0.048326595070986834', 'result_long': None, 'result_double': None}] Qualite : 0.048326595070986834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23256653 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23256653_26-05-2025_15_13_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23256653 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_P23256653_26-05-2025_15_13_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23256735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23256736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23256737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23256738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23256739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23256740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23256741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23256742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23256743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23256744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23256745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23256746, 'pht': 3726}}" where mtr_portfolio_id = 23256653 and dashboard_run_id = 1851507 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`=23256653 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004319, 0.048326595070986834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23256653_26-05-2025_15_13_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23256735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23256736, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23256737, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23256738, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23256739, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23256740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23256741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23256742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23256743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23256744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23256745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23256746, '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 = 23259112 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': 2943543, 'mtr_portfolio_id': 23259112, 'created_at': datetime.datetime(2025, 5, 26, 15, 11, 58), 'result': '0.05469361269119823', 'result_long': None, 'result_double': None}] Qualite : 0.05469361269119823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23259112 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259112_26-05-2025_15_12_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23259112 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_P23259112_26-05-2025_15_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23259119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23259124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259130, 'pht': 3726}}" where mtr_portfolio_id = 23259112 and dashboard_run_id = 1851507 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`=23259112 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004320, 0.05469361269119823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259112_26-05-2025_15_12_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23259119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23259124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259126, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259130, '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 = 23259665 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': 2943544, 'mtr_portfolio_id': 23259665, 'created_at': datetime.datetime(2025, 5, 26, 15, 11, 29), 'result': '0.07223669877008895', 'result_long': None, 'result_double': None}] Qualite : 0.07223669877008895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23259665 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259665_26-05-2025_15_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23259665 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_P23259665_26-05-2025_15_11_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23259674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23259685, 'pht': 3726}}" where mtr_portfolio_id = 23259665 and dashboard_run_id = 1851507 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`=23259665 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004321, 0.07223669877008895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23259665_26-05-2025_15_11_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23259674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23259675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23259676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23259677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23259678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23259679, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23259680, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23259681, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23259682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23259683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23259684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23259685, '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 = 23260337 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': 2943545, 'mtr_portfolio_id': 23260337, 'created_at': datetime.datetime(2025, 5, 26, 15, 10, 28), 'result': '0.09234260603013078', 'result_long': None, 'result_double': None}] Qualite : 0.09234260603013078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23260337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23260337_26-05-2025_15_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23260337 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_P23260337_26-05-2025_15_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23260382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23260383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23260384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23260385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23260386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23260387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23260388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23260389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23260390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23260391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23260392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23260393, 'pht': 3726}}" where mtr_portfolio_id = 23260337 and dashboard_run_id = 1851507 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`=23260337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004322, 0.09234260603013078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23260337_26-05-2025_15_10_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23260382, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23260383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23260384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23260385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23260386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23260387, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23260388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23260389, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23260390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23260391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23260392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23260393, '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 = 23261270 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': 2934933, 'mtr_portfolio_id': 23261270, 'created_at': datetime.datetime(2025, 5, 26, 18, 5, 28), 'result': '0.04746640492635845', 'result_long': None, 'result_double': None}] Qualite : 0.04746640492635845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23261270 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23261270_26-05-2025_18_05_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23261270 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_P23261270_26-05-2025_18_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23261301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23261303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23261304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23261305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23261307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23261308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23261310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23261311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23261312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23261313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23261315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23261316, 'pht': 3726}}" where mtr_portfolio_id = 23261270 and dashboard_run_id = 1851507 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`=23261270 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004323, 0.04746640492635845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23261270_26-05-2025_18_05_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23261301, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23261303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23261304, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23261305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23261307, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23261308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23261310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23261311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23261312, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23261313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23261315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23261316, '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 = 23282051 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 = 23282051 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 = 23282051 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282051 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 = 23282051 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 = 23282051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282051_26-05-2025_16_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282051 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_P23282051_26-05-2025_16_59_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346500, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346501, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346506, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346508, 'pht': 3726}}" where mtr_portfolio_id = 23282051 and dashboard_run_id = 1851507 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 = 23282054 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 = 23282054 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 = 23282054 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282054 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 = 23282054 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 = 23282054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282054_26-05-2025_16_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282054 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_P23282054_26-05-2025_16_59_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346466, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346469, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346476, 'pht': 3726}}" where mtr_portfolio_id = 23282054 and dashboard_run_id = 1851507 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 = 23282057 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 = 23282057 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 = 23282057 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282057 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 = 23282057 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 = 23282057 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282057_26-05-2025_16_57_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282057 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_P23282057_26-05-2025_16_57_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346406, 'pht': 3726}}" where mtr_portfolio_id = 23282057 and dashboard_run_id = 1851507 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 = 23282061 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 = 23282061 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 = 23282061 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282061 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 = 23282061 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 = 23282061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282061_26-05-2025_16_58_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282061 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_P23282061_26-05-2025_16_58_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23346427, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346430, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346432, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346434, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346438, 'pht': 3726}}" where mtr_portfolio_id = 23282061 and dashboard_run_id = 1851507 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 = 23282066 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 = 23282066 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 = 23282066 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282066 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 = 23282066 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 = 23282066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282066_26-05-2025_16_57_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282066 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_P23282066_26-05-2025_16_57_04.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23346356, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346361, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346365, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346367, 'pht': 3726}}" where mtr_portfolio_id = 23282066 and dashboard_run_id = 1851507 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 = 23282069 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 = 23282069 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 = 23282069 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282069 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 = 23282069 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 = 23282069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282069_26-05-2025_16_56_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282069 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_P23282069_26-05-2025_16_56_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346278, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346279, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346287, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346288, 'pht': 3726}}" where mtr_portfolio_id = 23282069 and dashboard_run_id = 1851507 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 = 23282073 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 = 23282073 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 = 23282073 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282073 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 = 23282073 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 = 23282073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282073_26-05-2025_16_55_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282073 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_P23282073_26-05-2025_16_55_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346245, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346246, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346247, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346248, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346249, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346250, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346251, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346256, 'pht': 3726}}" where mtr_portfolio_id = 23282073 and dashboard_run_id = 1851507 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 = 23282078 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 = 23282078 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 = 23282078 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23282078 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 = 23282078 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 = 23282078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282078_26-05-2025_16_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282078 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_P23282078_26-05-2025_16_54_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23346134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346136, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346138, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346139, 'pht': 3726}}" where mtr_portfolio_id = 23282078 and dashboard_run_id = 1851507 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 = 23269886 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 = 23269886 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 = 23269886 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23269886 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 = 23269886 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 = 23269886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269886_26-05-2025_18_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269886 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_P23269886_26-05-2025_18_04_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336708, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336709, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336716, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336718, 'pht': 3726}}" where mtr_portfolio_id = 23269886 and dashboard_run_id = 1851507 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 = 23269887 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 = 23269887 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 = 23269887 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23269887 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 = 23269887 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 = 23269887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269887_26-05-2025_18_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269887 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_P23269887_26-05-2025_18_03_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336740, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336747, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336750, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336753, 'pht': 3726}}" where mtr_portfolio_id = 23269887 and dashboard_run_id = 1851507 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 = 23269888 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 = 23269888 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 = 23269888 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23269888 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 = 23269888 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 = 23269888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269888_26-05-2025_18_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269888 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_P23269888_26-05-2025_18_03_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336791, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336796, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336798, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336799, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336802, 'pht': 3726}}" where mtr_portfolio_id = 23269888 and dashboard_run_id = 1851507 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 = 23269089 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': 2943547, 'mtr_portfolio_id': 23269089, 'created_at': datetime.datetime(2025, 5, 26, 15, 9, 29), 'result': '0.04527225514494934', 'result_long': None, 'result_double': None}] Qualite : 0.04527225514494934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23269089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269089_26-05-2025_15_09_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269089 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_P23269089_26-05-2025_15_09_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269123, 'pht': 3726}}" where mtr_portfolio_id = 23269089 and dashboard_run_id = 1851507 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`=23269089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004335, 0.04527225514494934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269089_26-05-2025_15_09_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269112, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269113, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269118, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269120, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269122, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269123, '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 = 23269889 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': 2943548, 'mtr_portfolio_id': 23269889, 'created_at': datetime.datetime(2025, 5, 26, 15, 8, 29), 'result': '0.06745656622144479', 'result_long': None, 'result_double': None}] Qualite : 0.06745656622144479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23269889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269889_26-05-2025_15_08_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23269889 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_P23269889_26-05-2025_15_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269903, 'pht': 3726}}" where mtr_portfolio_id = 23269889 and dashboard_run_id = 1851507 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`=23269889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004336, 0.06745656622144479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23269889_26-05-2025_15_08_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23269892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23269893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23269894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23269895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23269896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23269897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23269898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23269899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23269900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23269901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23269902, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23269903, '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 = 23270275 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': 2935969, 'mtr_portfolio_id': 23270275, 'created_at': datetime.datetime(2025, 5, 22, 18, 19, 34), 'result': '0.06971386548504033', 'result_long': None, 'result_double': None}] Qualite : 0.06971386548504033 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23270275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270275_22-05-2025_18_19_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23270275 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_P23270275_22-05-2025_18_19_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270294, 'pht': 3726}}" where mtr_portfolio_id = 23270275 and dashboard_run_id = 1851507 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`=23270275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004337, 0.06971386548504033, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270275_22-05-2025_18_19_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270284, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270292, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270294, '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 = 23270548 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': 2936022, 'mtr_portfolio_id': 23270548, 'created_at': datetime.datetime(2025, 5, 26, 17, 59, 58), 'result': '0.010222684435238065', 'result_long': None, 'result_double': None}] Qualite : 0.010222684435238065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23270548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270548_26-05-2025_18_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23270548 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_P23270548_26-05-2025_18_00_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270617, 'pht': 3726}}" where mtr_portfolio_id = 23270548 and dashboard_run_id = 1851507 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`=23270548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004338, 0.010222684435238065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23270548_26-05-2025_18_00_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23270606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23270607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23270608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23270609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23270610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23270611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23270612, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23270613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23270614, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23270615, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23270616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23270617, '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 = 23271926 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': 2936246, 'mtr_portfolio_id': 23271926, 'created_at': datetime.datetime(2025, 5, 26, 17, 58, 58), 'result': '0.0320976134169396', 'result_long': None, 'result_double': None}] Qualite : 0.0320976134169396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23271926 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23271926_26-05-2025_17_59_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23271926 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_P23271926_26-05-2025_17_59_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350482, 'pht': 3726}}" where mtr_portfolio_id = 23271926 and dashboard_run_id = 1851507 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`=23271926 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004339, 0.0320976134169396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23271926_26-05-2025_17_59_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350471, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350472, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350482, '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 = 23272439 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': 2936339, 'mtr_portfolio_id': 23272439, 'created_at': datetime.datetime(2025, 5, 26, 17, 57, 29), 'result': '0.051976447343119424', 'result_long': None, 'result_double': None}] Qualite : 0.051976447343119424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23272439 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23272439_26-05-2025_17_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23272439 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_P23272439_26-05-2025_17_57_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350369, 'pht': 3726}}" where mtr_portfolio_id = 23272439 and dashboard_run_id = 1851507 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`=23272439 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004340, 0.051976447343119424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23272439_26-05-2025_17_57_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350358, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350360, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350366, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350369, '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 = 23272928 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': 2936531, 'mtr_portfolio_id': 23272928, 'created_at': datetime.datetime(2025, 5, 26, 17, 53), 'result': '0.0489590709323675', 'result_long': None, 'result_double': None}] Qualite : 0.0489590709323675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23272928 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23272928_26-05-2025_17_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23272928 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_P23272928_26-05-2025_17_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350136, 'pht': 3726}}" where mtr_portfolio_id = 23272928 and dashboard_run_id = 1851507 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`=23272928 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004341, 0.0489590709323675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23272928_26-05-2025_17_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350128, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350135, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350136, '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 = 23273815 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': 2936680, 'mtr_portfolio_id': 23273815, 'created_at': datetime.datetime(2025, 5, 26, 17, 42), 'result': '0.05144627454832934', 'result_long': None, 'result_double': None}] Qualite : 0.05144627454832934 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23273815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23273815_26-05-2025_17_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23273815 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_P23273815_26-05-2025_17_42_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23349516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349518, 'pht': 3726}}" where mtr_portfolio_id = 23273815 and dashboard_run_id = 1851507 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`=23273815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004342, 0.05144627454832934, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23273815_26-05-2025_17_42_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349509, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349512, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349514, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23349516, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349518, '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 = 23274402 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': 2936817, 'mtr_portfolio_id': 23274402, 'created_at': datetime.datetime(2025, 5, 26, 17, 40, 30), 'result': '0.04399458014650973', 'result_long': None, 'result_double': None}] Qualite : 0.04399458014650973 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23274402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274402_26-05-2025_17_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23274402 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_P23274402_26-05-2025_17_40_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23349401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349412, 'pht': 3726}}" where mtr_portfolio_id = 23274402 and dashboard_run_id = 1851507 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`=23274402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004343, 0.04399458014650973, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274402_26-05-2025_17_40_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23349401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349412, '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 = 23274404 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': 2936819, 'mtr_portfolio_id': 23274404, 'created_at': datetime.datetime(2025, 5, 26, 17, 38, 30), 'result': '0.030456146903797752', 'result_long': None, 'result_double': None}] Qualite : 0.030456146903797752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23274404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23274404 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_P23274404_26-05-2025_17_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23274412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23274413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23274414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23274415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23274416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23274417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23274418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23274419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23274420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23274421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23274422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23274423, 'pht': 3726}}" where mtr_portfolio_id = 23274404 and dashboard_run_id = 1851507 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`=23274404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004344, 0.030456146903797752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23274404_26-05-2025_17_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23274412, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23274413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23274414, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23274415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23274416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23274417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23274418, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23274419, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23274420, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23274421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23274422, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23274423, '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 = 23275361 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': 2937081, 'mtr_portfolio_id': 23275361, 'created_at': datetime.datetime(2025, 5, 26, 17, 36, 31), 'result': '0.053197138221637214', 'result_long': None, 'result_double': None}] Qualite : 0.053197138221637214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23275361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275361_26-05-2025_17_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23275361 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_P23275361_26-05-2025_17_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23275371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23275372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23275373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23275374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23275375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23275376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23275377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23275378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23275379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23275380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23275381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23275382, 'pht': 3726}}" where mtr_portfolio_id = 23275361 and dashboard_run_id = 1851507 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`=23275361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004345, 0.053197138221637214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275361_26-05-2025_17_36_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23275371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23275372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23275373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23275374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23275375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23275376, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23275377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23275378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23275379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23275380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23275381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23275382, '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 = 23275852 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 = 23275852 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 = 23275852 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23275852 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 = 23275852 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 = 23275852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23275852_26-05-2025_17_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23275852 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_P23275852_26-05-2025_17_36_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23349076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23349077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23349078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23349079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23349080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23349081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23349082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23349083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23349084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23349085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23349086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23349087, 'pht': 3726}}" where mtr_portfolio_id = 23275852 and dashboard_run_id = 1851507 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 = 23276710 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': 2937428, 'mtr_portfolio_id': 23276710, 'created_at': datetime.datetime(2025, 5, 26, 17, 28, 28), 'result': '0.04866169687367247', 'result_long': None, 'result_double': None}] Qualite : 0.04866169687367247 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23276710 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23276710_26-05-2025_17_28_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23276710 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_P23276710_26-05-2025_17_28_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23276733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23276734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23276735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23276736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23276737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23276738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23276739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23276740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23276741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23276742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23276743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23276744, 'pht': 3726}}" where mtr_portfolio_id = 23276710 and dashboard_run_id = 1851507 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`=23276710 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004347, 0.04866169687367247, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23276710_26-05-2025_17_28_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23276733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23276734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23276735, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23276736, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23276737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23276738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23276739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23276740, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23276741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23276742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23276743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23276744, '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 = 23277380 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': 2937561, 'mtr_portfolio_id': 23277380, 'created_at': datetime.datetime(2025, 5, 22, 21, 19, 38), 'result': '0.07422307677641428', 'result_long': None, 'result_double': None}] Qualite : 0.07422307677641428 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23277380 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277380_22-05-2025_21_19_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23277380 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_P23277380_22-05-2025_21_19_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23277452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277469, 'pht': 3726}}" where mtr_portfolio_id = 23277380 and dashboard_run_id = 1851507 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`=23277380 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004348, 0.07422307677641428, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277380_22-05-2025_21_19_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23277452, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277460, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277462, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277464, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277465, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277466, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277467, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277468, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277469, '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 = 23277400 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': 2937562, 'mtr_portfolio_id': 23277400, 'created_at': datetime.datetime(2025, 5, 26, 17, 26, 29), 'result': '0.025226170746530805', 'result_long': None, 'result_double': None}] Qualite : 0.025226170746530805 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23277400 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277400_26-05-2025_17_26_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23277400 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_P23277400_26-05-2025_17_26_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23277459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277463, 'pht': 3726}}" where mtr_portfolio_id = 23277400 and dashboard_run_id = 1851507 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`=23277400 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004349, 0.025226170746530805, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23277400_26-05-2025_17_26_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23277446, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23277447, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23277448, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23277449, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23277450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23277451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23277453, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23277455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23277457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23277459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23277461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23277463, '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 = 23278326 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': 2937648, 'mtr_portfolio_id': 23278326, 'created_at': datetime.datetime(2025, 5, 26, 17, 23, 29), 'result': '0.09227424269451073', 'result_long': None, 'result_double': None}] Qualite : 0.09227424269451073 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23278326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23278326_26-05-2025_17_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23278326 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_P23278326_26-05-2025_17_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23278354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23278355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23278356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23278357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23278358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23278359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23278360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23278361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23278362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23278363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23278364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23278365, 'pht': 3726}}" where mtr_portfolio_id = 23278326 and dashboard_run_id = 1851507 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`=23278326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004350, 0.09227424269451073, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23278326_26-05-2025_17_23_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23278354, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23278355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23278356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23278357, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23278358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23278359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23278360, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23278361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23278362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23278363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23278364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23278365, '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 = 23279013 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': 2937814, 'mtr_portfolio_id': 23279013, 'created_at': datetime.datetime(2025, 5, 26, 17, 22, 30), 'result': '0.03417530932110935', 'result_long': None, 'result_double': None}] Qualite : 0.03417530932110935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23279013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279013_26-05-2025_17_22_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23279013 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_P23279013_26-05-2025_17_22_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23348112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23348113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23348114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23348115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23348116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23348117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23348118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23348119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23348120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23348121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23348122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23348123, 'pht': 3726}}" where mtr_portfolio_id = 23279013 and dashboard_run_id = 1851507 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`=23279013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004351, 0.03417530932110935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279013_26-05-2025_17_22_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23348112, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23348113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23348114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23348115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23348116, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23348117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23348118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23348119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23348120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23348121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23348122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23348123, '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 = 23279461 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 = 23279461 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 = 23279461 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23279461 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 = 23279461 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 = 23279461 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279461_22-05-2025_22_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23279461 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_P23279461_22-05-2025_22_19_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279489, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279494, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279500, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279502, 'pht': 3726}}" where mtr_portfolio_id = 23279461 and dashboard_run_id = 1851507 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 = 23279464 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': 2937886, 'mtr_portfolio_id': 23279464, 'created_at': datetime.datetime(2025, 5, 26, 17, 16, 29), 'result': '0.05398705976255448', 'result_long': None, 'result_double': None}] Qualite : 0.05398705976255448 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23279464 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279464_26-05-2025_17_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23279464 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_P23279464_26-05-2025_17_16_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279522, 'pht': 3726}}" where mtr_portfolio_id = 23279464 and dashboard_run_id = 1851507 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`=23279464 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004353, 0.05398705976255448, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23279464_26-05-2025_17_16_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23279499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23279501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23279503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23279504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23279505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23279507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23279509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23279512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23279514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23279516, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23279519, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23279522, '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 = 23280323 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': 2938145, 'mtr_portfolio_id': 23280323, 'created_at': datetime.datetime(2025, 5, 26, 17, 15), 'result': '0.03882072472329532', 'result_long': None, 'result_double': None}] Qualite : 0.03882072472329532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23280323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23280323_26-05-2025_17_15_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23280323 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_P23280323_26-05-2025_17_15_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23347554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23347562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347565, 'pht': 3726}}" where mtr_portfolio_id = 23280323 and dashboard_run_id = 1851507 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`=23280323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004354, 0.03882072472329532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23280323_26-05-2025_17_15_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23347554, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347557, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23347562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347565, '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 = 23280961 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': 2938390, 'mtr_portfolio_id': 23280961, 'created_at': datetime.datetime(2025, 5, 26, 17, 11, 59), 'result': '0.05351547444923987', 'result_long': None, 'result_double': None}] Qualite : 0.05351547444923987 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23280961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23280961_26-05-2025_17_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23280961 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_P23280961_26-05-2025_17_12_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23347370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23347376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347378, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347381, 'pht': 3726}}" where mtr_portfolio_id = 23280961 and dashboard_run_id = 1851507 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`=23280961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004355, 0.05351547444923987, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23280961_26-05-2025_17_12_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23347370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347373, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23347376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347377, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347378, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347381, '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 = 23281951 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': 2938993, 'mtr_portfolio_id': 23281951, 'created_at': datetime.datetime(2025, 5, 26, 17, 1, 28), 'result': '0.06507131108022403', 'result_long': None, 'result_double': None}] Qualite : 0.06507131108022403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23281951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281951_26-05-2025_17_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281951 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_P23281951_26-05-2025_17_01_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336841, 'pht': 3726}}" where mtr_portfolio_id = 23281951 and dashboard_run_id = 1851507 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`=23281951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004356, 0.06507131108022403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281951_26-05-2025_17_01_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336834, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336835, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336838, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336841, '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 = 23281586 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': 2943549, 'mtr_portfolio_id': 23281586, 'created_at': datetime.datetime(2025, 5, 26, 15, 7, 58), 'result': '0.079444681347225', 'result_long': None, 'result_double': None}] Qualite : 0.079444681347225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23281586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281586_26-05-2025_15_08_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281586 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_P23281586_26-05-2025_15_08_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281599, 'pht': 3726}}" where mtr_portfolio_id = 23281586 and dashboard_run_id = 1851507 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`=23281586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004357, 0.079444681347225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281586_26-05-2025_15_08_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281594, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281595, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281596, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281597, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281599, '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 = 23281587 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 = 23281587 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 = 23281587 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23281587 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 = 23281587 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 = 23281587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281587_26-05-2025_15_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281587 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_P23281587_26-05-2025_15_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23281626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23281627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23281628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23281629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23281630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23281631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23281632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23281633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23281634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23281635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23281636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23281637, 'pht': 3726}}" where mtr_portfolio_id = 23281587 and dashboard_run_id = 1851507 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 = 23281952 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': 2938994, 'mtr_portfolio_id': 23281952, 'created_at': datetime.datetime(2025, 5, 28, 19, 25, 58), 'result': '0.04504337043710903', 'result_long': None, 'result_double': None}] Qualite : 0.04504337043710903 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23281952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281952_28-05-2025_19_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23281952 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_P23281952_28-05-2025_19_26_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23336884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336895, 'pht': 3726}}" where mtr_portfolio_id = 23281952 and dashboard_run_id = 1851507 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`=23281952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11004359, 0.04504337043710903, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23281952_28-05-2025_19_26_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23336884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336886, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336895, '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 (23245647,23246295,23246834,23247440,23248080,23249066,23249917,23250582,23251214,23252105,23252796,23253453,23254154,23254922,23255622,23256653,23259112,23259665,23260337,23261270,23282051,23282054,23282057,23282061,23282066,23282069,23282073,23282078,23269886,23269887,23269888,23269089,23269889,23270275,23270548,23271926,23272439,23272928,23273815,23274402,23274404,23275361,23275852,23276710,23277380,23277400,23278326,23279013,23279461,23279464,23280323,23280961,23281951,23281586,23281587,23281952) result : ((1360388548,), (1360388617,), (1360389081,), (1360389201,), (1360389524,), (1360389555,), (1360389591,), (1360389641,), (1360389643,), (1360389740,), (1360389747,), (1360389907,), (1360389909,), (1360389975,), (1360390055,), (1360390069,), (1360390089,), (1360390097,), (1360390098,), (1360390469,), (1360390332,), (1360390366,), (1360390393,), (1360390418,), (1360390445,), (1360390842,), (1360390845,), (1360390861,), (1360391098,), (1360391122,), (1360391154,), (1360391182,), (1360391211,), (1360391235,), (1360391363,), (1360391365,), (1360391387,), (1360391392,), (1360391421,), (1360391448,), (1360391473,), (1360391715,), (1360391718,), (1360391720,), (1360391722,), (1360391724,), (1360391750,), (1360392022,), (1360392048,), (1360392112,), (1360392232,), (1360392250,), (1360392278,), (1360392286,), (1360392288,), (1360392294,), (1360392339,), (1360392346,), (1360392350,), (1360392354,), (1360392358,), (1360392597,), (1360392620,), (1360392644,), (1360392691,), (1360392734,), (1360392779,), (1360393197,), (1360393238,), (1360393257,), (1360393259,), (1360393283,), (1360393307,), (1360393600,), (1360393608,), (1360393610,), (1360393774,), (1360393777,), (1360393801,), (1360393817,), (1360393894,), (1360393906,), (1360393910,), (1360393927,), (1360393929,), (1360393930,), (1360393947,), (1360393950,), (1360393953,), (1360393956,), (1360393958,), (1360394024,), (1360393974,), (1360393976,), (1360393982,), (1360393987,), (1360394085,), (1360394091,), (1360394094,), (1360394097,), (1360394099,), (1360394218,), (1360394245,), (1360394250,), (1360394335,), (1360394338,), (1360394350,), (1360394352,), (1360394353,), (1360394355,), (1360394357,), (1360394508,), (1360394518,), (1360394543,), (1360394550,), (1360394755,), (1360394757,), (1360394760,), (1360394762,), (1360394854,), (1360394865,), (1360394867,), (1360394869,), (1360394871,), (1360394872,), (1360394882,), (1360394884,), (1360394886,), (1360394888,), (1360394890,), (1360394891,), (1360394901,), (1360394902,), (1360394904,), (1360394969,), (1360394994,), (1360395020,), (1360395044,), (1360395094,), (1360395154,), (1360395691,), (1360395723,), (1360395774,), (1360395799,), (1360395861,), (1360395863,), (1360395865,), (1360396116,), (1360396139,), (1360396146,), (1360396148,), (1360396155,), (1360396201,), (1360396372,), (1360396404,), (1360396407,), (1360396411,), (1360396563,), (1360396504,), (1360396529,), (1360396965,), (1360397034,), (1360397067,), (1360397099,), (1360397116,), (1360397241,), (1360397244,), (1360397247,), (1360397249,), (1360397251,), (1360397253,), (1360397270,), (1360397272,), (1360397275,), (1360397289,), (1360397297,), (1360397300,), (1360397328,), (1360397357,), (1360397382,), (1360397701,), (1360397730,), (1360397733,), (1360397744,), (1360397774,), (1360397786,), (1360397813,), (1360397850,), (1360397875,), (1360397904,), (1360397935,), (1360398132,), (1360398173,), (1360398206,), (1360398223,), (1360398397,), (1360398399,), (1360398402,), (1360398405,), (1360398407,), (1360398409,), (1360398425,), (1360398428,), (1360398431,), (1360398434,), (1360398588,), (1360398606,), (1360398849,), (1360398864,), (1360398869,), (1360398871,), (1360398874,), (1360398875,), (1360398926,), (1360398961,), (1360399020,), (1360399754,), (1360399560,), (1360399616,), (1360399680,), (1360399726,), (1360400195,), (1360400209,), (1360400210,), (1360400239,), (1360400314,), (1360400511,), (1360400559,), (1360400605,), (1360400916,), (1360400950,), (1360400974,), (1360401000,), (1360401036,), (1360401059,), (1360401080,), (1360401082,), (1360401085,), (1360401087,), (1360401089,), (1360401090,), (1360401209,), (1360401794,), (1360402025,), (1360402050,), (1360402055,), (1360402058,), (1360402083,), (1360402106,), (1360402122,), (1360402128,), (1360402131,), (1360402134,), (1360402135,), (1360402136,), (1360402151,), (1360402158,), (1360402278,), (1360403178,), (1360403033,), (1360403058,), (1360403122,), (1360403600,), (1360403679,), (1360403781,), (1360403806,), (1360403941,), (1360403947,), (1360403970,), (1360403976,), (1360404000,), (1360404478,), (1360404526,), (1360404581,), (1360404633,), (1360404687,), (1360404735,), (1360405141,), (1360405143,), (1360405154,), (1360405459,), (1360405461,), (1360405463,), (1360405465,), (1360405467,), (1360405472,), (1360405636,), (1360405655,), (1360405681,), (1360405713,), (1360405736,), (1360405760,), (1360406249,), (1360406294,), (1360406319,), (1360406663,), (1360406667,), (1360406670,), (1360406686,), (1360407048,), (1360407060,), (1360407123,), (1360407125,), (1360407127,), (1360407199,), (1360407233,), (1360407306,), (1360407318,), (1360407344,), (1360407471,), (1360407474,), (1360407476,), (1360407478,), (1360407479,), (1360407480,), (1360407620,), (1360407653,), (1360407685,), (1360408160,), (1360408177,), (1360408201,), (1360408224,), (1360408253,), (1360408279,), (1360408537,), (1360408554,), (1360408572,), (1360408579,), (1360408678,), (1360408690,), (1360408715,), (1360408707,), (1360408709,), (1360408712,), (1360408736,), (1360408740,), (1360408742,), (1360408744,), (1360408746,), (1360408757,), (1360408910,), (1360408928,), (1360408942,), (1360408948,), (1360408979,), (1360408994,), (1360409016,), (1360409019,), (1360409021,), (1360409046,), (1360409048,), (1360409050,), (1360409070,), (1360409587,), (1360409846,), (1360409900,), (1360410094,), (1360410119,), (1360410145,), (1360410903,), (1360410978,), (1360411032,), (1360411084,), (1360411140,), (1360411422,), (1360411426,), (1360411450,), (1360411480,), (1360411509,), (1360411938,), (1360411942,), (1360411944,), (1360411946,), (1360411949,), (1360412173,), (1360412175,), (1360412177,), (1360412179,), (1360412200,), (1360412368,), (1360412396,), (1360412424,), (1360412448,), (1360412804,), (1360412807,), (1360412821,), (1360412846,), (1360413101,), (1360413097,), (1360413098,), (1360413099,), (1360413100,), (1360413109,), (1360413516,), (1360413603,), (1360413690,), (1360414174,), (1360414187,), (1360414189,), (1360414215,), (1360414237,), (1360414477,), (1360414478,), (1360414480,), (1360414483,), (1360414710,), (1360414724,), (1360414739,), (1360414756,), (1360414759,), (1360414761,), (1360414763,), (1360414765,), (1360414769,), (1360414973,), (1360414992,), (1360414997,), (1360415319,), (1360415347,), (1360415378,), (1360415406,), (1360415432,), (1360415456,), (1360415723,), (1360415748,), (1360415772,), (1360415797,), (1360416108,), (1360416142,), (1360416190,), (1360416217,), (1360416233,), (1360416234,), (1360416246,), (1360416248,), (1360416249,), (1360416250,), (1360416251,), (1360416252,), (1360416377,), (1360416388,), (1360416398,), (1360416413,), (1360417044,), (1360417092,), (1360417152,), (1360417198,), (1360417276,), (1360417327,), (1360418450,), (1360418547,), (1360418930,), (1360419006,), (1360419064,), (1360419116,), (1360419591,), (1360419445,), (1360419472,), (1360419505,), (1360419553,), (1360419835,), (1360419836,), (1360419849,), (1360419880,), (1360420477,), (1360420516,), (1360420542,), (1360420571,), (1360420597,), (1360420908,), (1360420912,), (1360420946,), (1360420947,), (1360420949,), (1360420952,), (1360420976,), (1360420979,), (1360420983,), (1360421159,), (1360421163,), (1360421168,), (1360421173,), (1360421227,), (1360421294,), (1360421297,), (1360421299,), (1360421302,), (1360421307,), (1360421310,), (1360421644,), (1360421672,), (1360421701,), (1360421729,), (1360421768,), (1360422093,), (1360422100,), (1360422103,), (1360422122,), (1360422149,), (1360422397,), (1360422400,), (1360422404,), (1360422407,), (1360422414,), (1360422585,), (1360422590,), (1360422594,), (1360422620,), (1360422936,), (1360422938,), (1360422942,), (1360422945,), (1360422947,), (1360422950,), (1360423051,), (1360423066,), (1360423070,), (1360423205,), (1360423206,), (1360423209,), (1360423212,), (1360423215,), (1360423381,), (1360423384,), (1360423387,), (1360423431,), (1360423422,), (1360423425,), (1360423427,), (1360423503,), (1360423508,), (1360423513,), (1360423518,), (1360423900,), (1360424307,), (1360424337,), (1360424364,), (1360424391,), (1360424552,), (1360424580,), (1360424582,), (1360424604,), (1360424791,), (1360424945,), (1360424982,), (1360424984,), (1360425131,), (1360425132,), (1360425143,), (1360425739,), (1360425832,), (1360425942,), (1360426000,), (1360426875,), (1360426978,), (1360427092,), (1360427237,), (1360428155,), (1360428252,), (1360428318,), (1360428399,), (1360428890,), (1360428906,), (1360428947,), (1360429292,), (1360429317,), (1360429343,), (1360429785,), (1360429811,), (1360429859,), (1360429909,), (1360430193,), (1360430221,), (1360430250,), (1360430405,), (1360430419,), (1360430614,), (1360430573,), (1360430586,), (1360430607,), (1360430910,), (1360430938,), (1360431209,), (1360431216,), (1360431248,), (1360431288,), (1360431317,), (1360431476,), (1360431504,), (1360431537,), (1360431565,), (1360431595,), (1360431981,), (1360432038,), (1360432093,), (1360432146,), (1360432203,), (1360432274,), (1360432668,), (1360432695,), (1360432920,), (1360432923,), (1360432945,), (1360432975,), (1360432992,), (1360433247,), (1360433294,), (1360433337,), (1360433605,), (1360433608,), (1360433613,), (1360433617,), (1360433812,), (1360433816,), (1360433819,), (1360433860,), (1360434092,), (1360434120,), (1360434150,), (1360434180,), (1360434207,), (1360434319,), (1360434322,), (1360434361,), (1360434362,), (1360434364,), (1360434366,), (1360434367,), (1360434369,), (1360434393,), (1360434396,), (1360434401,), (1360434406,), (1360434410,), (1360434414,), (1360434441,), (1360434435,), (1360434438,), (1360434481,), (1360434483,), (1360434486,), (1360434490,), (1360434494,), (1360434497,), (1360434561,), (1360434573,), (1360434578,), (1360434582,), (1360434586,), (1360434590,), (1360434942,), (1360434969,), (1360435415,), (1360435497,), (1360435574,), (1360435626,), (1360436178,), (1360436207,), (1360436235,), (1360436263,), (1360436291,), (1360436320,), (1360436757,), (1360436781,), (1360436807,), (1360436839,), (1360437399,), (1360438072,), (1360438101,), (1360438128,), (1360438164,), (1360438197,), (1360438227,), (1360438513,), (1360438539,), (1360438552,), (1360438556,), (1360438560,), (1360438616,), (1360438618,), (1360438621,), (1360438630,), (1360438823,), (1360438833,), (1360438838,), (1360438852,), (1360438881,), (1360439042,), (1360439075,), (1360439172,), (1360439219,), (1360439282,), (1360439345,), (1360439563,), (1360439567,), (1360439574,), (1360439579,), (1360439584,), (1360439641,), (1360439643,), (1360439647,), (1360439651,), (1360439654,), (1360439665,), (1360439622,), (1360439626,), (1360439632,), (1360439638,), (1360439679,), (1360439682,), (1360439686,), (1360439709,), (1360439715,), (1360439724,), (1360439729,), (1360439734,), (1360439765,), (1360439771,), (1360439777,), (1360439784,), (1360439799,), (1360439805,), (1360439814,), (1360439887,), (1360439926,), (1360439955,), (1360440098,), (1360440148,), (1360440198,), (1360440250,), (1360440281,), (1360440564,), (1360440649,), (1360440717,), (1360440875,), (1360440890,), (1360440917,), (1360440957,), (1360440990,), (1360441155,), (1360441160,), (1360441165,), (1360441174,), (1360441178,), (1360441180,), (1360441212,), (1360441214,), (1360441285,), (1360441288,), (1360441302,), (1360441306,), (1360441370,), (1360441374,), (1360441377,), (1360441432,), (1360441449,), (1360441453,), (1360441458,), (1360441462,), (1360441537,), (1360441570,), (1360441602,), (1360441719,), (1360441722,), (1360441724,), (1360441729,), (1360441732,), (1360441768,), (1360441762,), (1360441764,), (1360441765,), (1360441863,), (1360441896,), (1360441931,), (1360441961,), (1360441997,), (1360442229,), (1360442285,), (1360442711,), (1360443008,), (1360443030,), (1360443043,), (1360443057,), (1360443265,), (1360443294,), (1360443580,), (1360443629,), (1360443723,), (1360443787,), (1360444357,), (1360444360,), (1360444363,), (1360444549,), (1360444551,), (1360444554,), (1360444557,), (1360444755,), (1360444761,), (1360444768,), (1360445113,), (1360445115,), (1360445125,), (1360445191,), (1360445193,), (1360445199,), (1360445414,), (1360445453,), (1360445463,), (1360445472,), (1360445476,), (1360445795,), (1360445803,), (1360445806,), (1360446146,), (1360446171,), (1360446203,), (1360446219,), (1360446226,), (1360446254,), (1360446410,), (1360446373,), (1360446376,), (1360446380,), (1360446384,), (1360446388,), (1360446512,), (1360446539,), (1360446550,), (1360446598,), (1360446670,), (1360446696,), (1360446701,), (1360446722,), (1360446786,), (1360446789,), (1360446811,), (1360446879,), (1360446882,), (1360446885,), (1360446888,), (1360447024,), (1360447027,), (1360447031,), (1360447108,), (1360447133,), (1360447174,), (1360447178,), (1360447201,), (1360447215,), (1360447315,), (1360447389,), (1360447440,), (1360447471,), (1360447501,), (1360447529,), (1360447678,), (1360447713,), (1360447743,), (1360447887,), (1360447892,), (1360447897,), (1360447924,), (1360447933,), (1360447938,), (1360447961,), (1360447967,), (1360447971,), (1360447974,), (1360448003,), (1360448008,), (1360448014,), (1360448020,), (1360448024,), (1360448053,), (1360448056,), (1360448060,), (1360448118,), (1360448137,), (1360448164,), (1360448189,), (1360448198,), (1360448202,), (1360448268,), (1360448235,), (1360448258,), (1360448261,), (1360448264,), (1360448265,), (1360448284,), (1360448302,), (1360448307,), (1360448711,), (1360448757,), (1360448790,), (1360448819,), (1360448826,), (1360448850,), (1360449032,), (1360449063,), (1360449093,), (1360449123,), (1360449275,), (1360449285,), (1360449310,), (1360449366,), (1360449370,), (1360449374,), (1360449379,), (1360449384,), (1360449387,), (1360449426,), (1360449430,), (1360449435,), (1360449448,), (1360449725,), (1360449729,), (1360449734,), (1360449739,), (1360449759,), (1360449793,), (1360450123,), (1360450181,), (1360450232,), (1360450899,), (1360450953,), (1360451569,), (1360451596,), (1360451622,), (1360451956,), (1360451968,), (1360451978,), (1360452009,), (1360452060,), (1360452578,), (1360452615,), (1360452736,), (1360452766,), (1360453987,), (1360453993,), (1360454354,), (1360463965,), (1360464329,), (1360464358,), (1360464372,), (1360464376,), (1360464411,), (1360464419,), (1360464420,), (1360464423,), (1360464456,), (1360464483,), (1360464516,), (1360464673,), (1360464676,), (1360464678,), (1360464694,), (1360464723,), (1360464752,), (1360464829,), (1360464831,), (1360464838,), (1360464842,), (1360464845,), (1360464848,), (1360464945,), (1360464972,), (1360465002,), (1360465376,), (1360465404,), (1360465433,), (1360465467,), (1360465554,), (1360466418,), (1360466495,), (1360466566,), (1360466619,), (1360467245,), (1360467376,), (1360467407,), (1360467440,), (1360467478,), (1360467713,), (1360467715,), (1360467721,), (1360467726,), (1360467755,), (1360467758,), (1360467761,), (1360467784,), (1360467811,), (1360467839,), (1360468428,), (1360468470,), (1360468500,), (1360468548,), (1360468616,), (1360469010,), (1360469065,), (1360469119,), (1360469859,), (1360470521,), (1360471224,), (1360471263,), (1360471291,), (1360471415,), (1360471442,), (1360471477,), (1360471526,), (1360471592,), (1360472087,), (1360472256,), (1360472309,), (1360472362,), (1360472409,), (1360473357,), (1360473433,), (1360473488,), (1360473542,), (1360474124,), (1360474207,), (1360474293,), (1360474376,), (1360474439,), (1360475134,), (1360475182,), (1360475244,), (1360475297,), (1360475345,), (1360475394,), (1360475731,), (1360475780,), (1360475836,), (1360475891,), (1360475943,), (1360475991,), (1360476738,), (1360476809,), (1360476889,), (1360476976,), (1360477634,), (1360477684,), (1360477729,), (1360477778,), (1360477830,), (1360477880,), (1360478509,), (1360478585,), (1360478730,), (1360478812,), (1360478913,), (1360479673,), (1360479675,), (1360479688,), (1360479709,), (1360479711,), (1360479972,), (1360480056,), (1360480093,), (1360480126,), (1360480164,), (1360480196,), (1360480393,), (1360480480,), (1360480533,), (1360480591,), (1360480952,), (1360480757,), (1360480805,), (1360480856,), (1360480905,), (1360481593,), (1360481630,), (1360481673,), (1360481714,), (1360481751,), (1360481785,), (1360482351,), (1360482379,), (1360482426,), (1360482470,), (1360482870,), (1360482896,), (1360482923,), (1360482929,), (1360483386,), (1360483441,), (1360483509,), (1360483595,), (1360483692,), (1360484126,), (1360484139,), (1360484166,), (1360484171,), (1360484177,), (1360484233,), (1360484261,), (1360484292,), (1360484305,), (1360484321,), (1360484350,), (1360484481,), (1360484536,), (1360484598,), (1360485063,), (1360485104,), (1360485149,), (1360485195,), (1360485611,), (1360485644,), (1360486038,), (1360486068,), (1360486156,), (1360486501,), (1360487149,), (1360491076,), (1360489546,), (1360490985,), (1360491023,), (1360491843,), (1360491890,), (1360491929,), (1360491955,), (1360491996,), (1360492021,), (1360492162,), (1360492187,), (1360492249,), (1360492384,), (1360492773,), (1360492802,), (1360492830,), (1360492880,), (1360492916,), (1360493047,), (1360493412,), (1360493861,), (1360493951,), (1360494589,), (1360494683,), (1360494798,), (1360494969,), (1360495500,), (1360495721,), (1360495814,), (1360495988,), (1360496077,), (1360496170,), (1360496196,), (1360496265,), (1360496280,), (1360496284,), (1360496590,), (1360496639,), (1360496669,), (1360496690,), (1360496703,), (1360497034,), (1360497061,), (1360497092,), (1360497120,), (1360574419,), (1360575080,), (1360575087,), (1360575091,), (1360575093,), (1360575097,), (1360575101,), (1360575149,), (1360575174,), (1360575206,), (1360575236,), (1360575258,), (1360575341,), (1360575352,), (1360575357,), (1360575362,), (1360575386,), (1360575409,), (1360575467,), (1360575477,), (1360575481,), (1360575503,), (1360575528,), (1360575555,), (1360575591,), (1360575618,), (1360575638,), (1360575664,), (1360575699,), (1360575721,), (1360575824,), (1360575862,), (1360575901,), (1360575961,), (1360576023,), (1360576074,), (1360576280,), (1360576337,), (1360576397,), (1360576469,), (1360576555,), (1360576624,), (1360576760,), (1360576802,), (1360579312,), (1360579327,), (1360579337,), (1360579345,), (1360579353,), (1360579365,), (1360579366,), (1360579369,), (1360579374,), (1360579380,), (1360579383,), (1360579452,), (1360579476,), (1360579500,), (1360579521,), (1360579560,), (1360579648,), (1360579662,), (1360579693,), (1360579721,), (1360579730,), (1360578521,), (1360578530,), (1360578536,), (1360578543,), (1360578551,), (1360578583,), (1360578606,), (1360578622,), (1360578634,), (1360578656,), (1360578675,), (1360578702,), (1360578705,), (1360578707,), (1360578720,), (1360578724,), (1360578740,), (1360578748,), (1360578763,), (1360578768,), (1360578775,), (1360578782,), (1360578842,), (1360578847,), (1360578850,), (1360578856,), (1360578877,), (1360578907,), (1360578982,), (1360579001,), (1360579017,), (1360579023,), (1360579069,), (1360579097,), (1360579170,), (1360579190,), (1360579200,), (1360579206,), (1360579211,), (1360579216,), (1360579229,), (1360579233,), (1360579237,), (1360579240,), (1360579246,), (1360579252,), (1360579274,), (1360579280,), (1360579283,), (1360579287,), (1360579288,), (1360579290,), (1360579298,), (1360576838,), (1360576872,), (1360576898,), (1360576939,), (1360577029,), (1360577053,), (1360577081,), (1360577105,), (1360577126,), (1360577147,), (1360577191,), (1360577199,), (1360577207,), (1360577220,), (1360577225,), (1360577229,), (1360577313,), (1360577357,), (1360577405,), (1360577451,), (1360577494,), (1360577536,), (1360577657,), (1360577710,), (1360577726,), (1360577752,), (1360577756,), (1360577760,), (1360577869,), (1360577892,), (1360577903,), (1360577908,), (1360577912,), (1360577918,), (1360577929,), (1360577933,), (1360577939,), (1360577944,), (1360577980,), (1360578027,), (1360578189,), (1360578235,), (1360578277,), (1360578309,), (1360578345,), (1360578372,), (1360578441,), (1360578444,), (1360578448,), (1360578451,), (1360578456,), (1360578476,), (1360578482,), (1360578488,), (1360578493,), (1360578497,), (1360578499,), (1360578510,), (1360574679,), (1360574685,), (1360574687,), (1360574691,), (1360574696,), (1360574701,), (1360574706,), (1360574707,), (1360574710,), (1360574713,), (1360574716,), (1360574719,), (1360574727,), (1360574730,), (1360574737,), (1360574744,), (1360574751,), (1360574756,), (1360574775,), (1360574778,), (1360574780,), (1360574785,), (1360574788,), (1360574791,), (1360574806,), (1360574812,), (1360574817,), (1360574821,), (1360574824,), (1360574827,), (1360574844,), (1360574849,), (1360574854,), (1360574859,), (1360574862,), (1360574866,), (1360574881,), (1360574888,), (1360574893,), (1360574897,), (1360574902,), (1360574905,), (1360574909,), (1360574913,), (1360574920,), (1360574927,), (1360574933,), (1360574940,), (1360574951,), (1360574955,), (1360574959,), (1360574964,), (1360574969,), (1360574974,), (1360574986,), (1360574990,), (1360574996,), (1360575001,), (1360575007,), (1360575013,), (1360575028,), (1360575045,), (1360575047,), (1360575052,), (1360575056,), (1360575063,), (1360580909,), (1360580935,), (1360580964,), (1360580990,), (1360581011,), (1360581380,), (1360581419,), (1360581459,), (1360581497,), (1360581752,), (1360582284,), (1360582334,), (1360582381,), (1360582427,), (1360582467,), (1360582578,), (1360582584,), (1360582601,), (1360582621,), (1360582647,), (1360582972,), (1360582987,), (1360582995,), (1360583050,), (1360583055,), (1360583059,), (1360583095,), (1360583099,), (1360583105,), (1360583109,), (1360583115,), (1360583196,), (1360583197,), (1360583203,), (1360583204,), (1360583208,), (1360583209,), (1360583364,), (1360583389,), (1360583412,), (1360583437,), (1360583477,), (1360583522,), (1360583812,), (1360583859,), (1360583903,), (1360584043,), (1360584057,), (1360584062,), (1360584304,), (1360584313,), (1360584316,), (1360584318,), (1360584335,), (1360584361,), (1360584453,), (1360584412,), (1360584439,), (1360584442,), (1360584445,), (1360584449,), (1360584629,), (1360584663,), (1360584692,), (1360584869,), (1360584881,), (1360584886,), (1360584911,), (1360584934,), (1360584939,), (1360585045,), (1360585070,), (1360585096,), (1360585120,), (1360585126,), (1360585131,), (1360585241,), (1360585266,), (1360585294,), (1360585405,), (1360585421,), (1360585433,), (1360585438,), (1360585546,), (1360585590,), (1360585620,), (1360585646,), (1360585676,), (1360585691,), (1360585819,), (1360585824,), (1360585827,), (1360585895,), (1360585919,), (1360585942,), (1360585965,), (1360585992,), (1360586014,), (1360586185,), (1360586208,), (1360586214,), (1360586218,), (1360586227,), (1360586301,), (1360586305,), (1360586309,), (1360586313,), (1360586412,), (1360586434,), (1360586438,), (1360586442,), (1360586447,), (1360586519,), (1360586544,), (1360586568,), (1360586592,), (1360586614,), (1360586636,), (1360586930,), (1360586989,), (1360587045,), (1360587614,), (1360587639,), (1360587654,), (1360587658,), (1360587820,), (1360587706,), (1360587731,), (1360587753,), (1360587780,), (1360588221,), (1360588243,), (1360588247,), (1360588261,), (1360588283,), (1360588298,), (1360588407,), (1360588428,), (1360588450,), (1360588454,), (1360588512,), (1360588514,), (1360588536,), (1360588538,), (1360588560,), (1360588569,), (1360588586,), (1360588594,), (1360588609,), (1360588617,), (1360588673,), (1360588678,), (1360588683,), (1360588688,), (1360588692,), (1360588729,), (1360588730,), (1360588732,), (1360588733,), (1360588736,), (1360588738,), (1360588740,), (1360588742,), (1360588762,), (1360588768,), (1360588774,), (1360588778,), (1360588837,), (1360588838,), (1360588841,), (1360588843,), (1360588845,), (1360588846,), (1360588848,), (1360588849,), (1360588851,), (1360588852,), (1360588854,), (1360588855,), (1360588882,), (1360588920,), (1360588961,), (1360589489,), (1360589524,), (1360589553,), (1360589575,), (1360589599,), (1360589620,), (1360589892,), (1360589956,), (1360589981,), (1360590003,), (1360590030,), (1360590062,), (1360590186,), (1360590352,), (1360590367,), (1360590373,), (1360590544,), (1360590587,), (1360592696,), (1360592697,), (1360592966,), (1360592989,), (1360593012,), (1360593036,), (1360593060,), (1360593270,), (1360593295,), (1360593320,), (1360593342,), (1360593414,), (1360593428,), (1360593454,), (1360593482,), (1360593603,), (1360593608,), (1360593611,), (1360593613,), (1360593616,), (1360593656,), (1360593659,), (1360593662,), (1360593665,), (1360593669,), (1360593675,), (1360593689,), (1360593693,), (1360593697,), (1360594319,), (1360594373,), (1360594415,), (1360594464,), (1360594512,), (1360594611,), (1360594716,), (1360594757,), (1360594798,), (1360594848,), (1360594874,), (1360594992,), (1360595000,), (1360595017,), (1360595045,), (1360595566,), (1360595608,), (1360595632,), (1360595894,), (1360595905,), (1360596002,), (1360595992,), (1360595997,), (1360596557,), (1360596588,), (1360596616,), (1360596746,), (1360596760,), (1360596790,), (1360596817,), (1360596845,), (1360596871,), (1360597057,), (1360597081,), (1360597102,), (1360597123,), (1360597146,), (1360597437,), (1360597439,), (1360597442,), (1360597444,), (1360597446,), (1360597447,), (1360597458,), (1360597941,), (1360598334,), (1360598354,), (1360598390,), (1360598446,), (1360598750,), (1360598800,), (1360598871,), (1360598920,), (1360599547,), (1360600006,), (1360601014,), (1360601084,), (1360601146,), (1360601179,), (1360601201,), (1360601220,), (1360601291,), (1360601276,), (1360601806,), (1360601809,), (1360601854,), (1360601860,), (1360601898,), (1360601914,), (1360601940,), (1360601956,), (1360601990,), (1360602011,), (1360602034,), (1360602045,), (1360602140,), (1360602166,), (1360602175,), (1360602565,), (1360602567,), (1360602589,), (1360602591,), (1360602632,), (1360602633,), (1360602675,), (1360602681,), (1360602744,), (1360602757,), (1360603057,), (1360603124,), (1360603179,), (1360603239,), (1360603300,), (1360603783,), (1360603815,), (1360603845,), (1360603882,), (1360603927,), (1360603977,), (1360604100,), (1360604141,), (1360604185,), (1360604226,), (1360604270,), (1360604311,), (1360605031,), (1360605060,), (1360605084,), (1360605122,), (1360605310,), (1360605342,), (1360605375,), (1360605402,), (1360605741,), (1360605744,), (1360605748,), (1360605752,), (1360605757,), (1360605794,), (1360605830,), (1360605852,), (1360606236,), (1360606259,), (1360606282,), (1360606303,), (1360606328,), (1360606524,), (1360606565,), (1360606592,), (1360606614,), (1360606620,), (1360606628,), (1360606882,), (1360606903,), (1360606927,), (1360606955,), (1360607187,), (1360607190,), (1360607193,), (1360607199,), (1360607210,), (1360607215,), (1360607523,), (1360607411,), (1360607436,), (1360607463,), (1360607495,), (1360607893,), (1360607941,), (1360607984,), (1360608011,), (1360608033,), (1360608445,), (1360608499,), (1360608564,), (1360608616,), (1360608658,), (1360608700,), (1360609102,), (1360609127,), (1360609149,), (1360609171,), (1360609575,), (1360609613,), (1360609655,), (1360609700,), (1360609882,), (1360609907,), (1360609936,), (1360609972,), (1360610049,), (1360610490,), (1360610537,), (1360610577,), (1360610612,), (1360610635,), (1360610988,), (1360611036,), (1360611102,), (1360611154,), (1360611209,), (1360611440,), (1360611462,), (1360611487,), (1360611510,), (1360611755,), (1360611780,), (1360611804,), (1360611829,), (1360611854,), (1360611876,), (1360612008,), (1360612031,), (1360612055,), (1360612079,), (1360612464,), (1360612530,), (1360612599,), (1360612643,), (1360612696,), (1360612757,), (1360613139,), (1360613203,), (1360613260,), (1360613326,), (1360613384,), (1360613443,), (1360613795,), (1360613834,), (1360613884,), (1360613912,), (1360614384,), (1360614462,), (1360614540,), (1360614614,), (1360614699,), (1360615266,), (1360615161,), (1360615198,), (1360615223,), (1360615246,), (1360615649,), (1360615706,), (1360615756,), (1360615823,), (1360615861,), (1360616165,), (1360616189,), (1360616217,), (1360616240,), (1360616399,), (1360616442,), (1360616481,), (1360616632,), (1360616665,), (1360616710,), (1360616767,), (1360616834,), (1360617204,), (1360617243,), (1360617278,), (1360617286,), (1360617301,), (1360617303,), (1360617307,), (1360617309,), (1360617312,), (1360617337,), (1360617341,), (1360617346,), (1360617351,), (1360617356,), (1360617358,), (1360617384,), (1360617389,), (1360617410,), (1360617415,), (1360617419,), (1360617487,), (1360617512,), (1360617538,), (1360617564,), (1360617928,), (1360617951,), (1360617975,), (1360617998,), (1360618024,), (1360618047,), (1360618196,), (1360618241,), (1360618286,), (1360618313,), (1360618354,), (1360618632,), (1360618636,), (1360618640,), (1360618903,), (1360618937,), (1360618966,), (1360618993,), (1360619268,), (1360619235,), (1360619239,), (1360619244,), (1360619489,), (1360619512,), (1360619534,), (1360619542,), (1360619706,), (1360619712,), (1360619717,), (1360619721,), (1360619724,), (1360619750,), (1360619754,), (1360619760,), (1360619803,), (1360619816,), (1360619820,), (1360619824,), (1360619828,), (1360619935,), (1360619983,), (1360620026,), (1360620069,), (1360620449,), (1360620508,), (1360620564,), (1360620638,), (1360620695,), (1360620741,), (1360621108,), (1360621162,), (1360621675,), (1360621713,), (1360621734,), (1360621749,), (1360621900,), (1360621904,), (1360621910,), (1360621931,), (1360621955,), (1360621967,), (1360622237,), (1360622291,), (1360622323,), (1360622347,), (1360622371,), (1360622718,), (1360622748,), (1360622769,), (1360622993,), (1360623019,), (1360623040,), (1360623064,), (1360623076,), (1360623084,), (1360623119,), (1360623123,), (1360623128,), (1360623151,), (1360623174,), (1360623194,), (1360623374,), (1360623401,), (1360623425,), (1360623441,), (1360623509,), (1360623487,), (1360623493,), (1360623496,), (1360623501,), (1360623506,), (1360623595,), (1360623621,), (1360623631,), (1360623643,), (1360623964,), (1360623971,), (1360623977,), (1360623983,), (1360623988,), (1360623993,), (1360624157,), (1360624164,), (1360624169,), (1360624174,), (1360624334,), (1360624363,), (1360624381,), (1360624386,), (1360624393,), (1360624555,), (1360624560,), (1360624566,), (1360624571,), (1360624578,), (1360624584,), (1360624699,), (1360624719,), (1360624724,), (1360624871,), (1360624876,), (1360624880,), (1360624884,), (1360624889,), (1360624893,), (1360624917,), (1360624926,), (1360624932,), (1360624938,), (1360624943,), (1360624961,), (1360624972,), (1360624974,), (1360624984,), (1360625001,), (1360625004,), (1360625030,), (1360625226,), (1360625422,), (1360627287,), (1360627087,), (1360627148,), (1360627202,), (1360627251,), (1360627679,), (1360627724,), (1360627742,), (1360627771,), (1360627800,), (1360627840,), (1360628160,), (1360628203,), (1360628249,), (1360628707,), (1360628767,), (1360628832,), (1360628881,), (1360628922,), (1360628969,), (1360629386,), (1360629448,), (1360629513,), (1360629559,), (1360629609,), (1360629990,), (1360630040,), (1360630085,), (1360630425,), (1360630450,), (1360630472,), (1360630486,), (1360630489,), (1360630490,), (1360630653,), (1360630696,), (1360630732,), (1360630769,), (1360630794,), (1360630834,), (1360631247,), (1360631307,), (1360631357,), (1360631812,), (1360631852,), (1360631885,), (1360631909,), (1360631932,), (1360632289,), (1360632333,), (1360632360,), (1360638461,), (1360638324,), (1360638394,), (1360641955,), (1360641998,), (1360642651,), (1360643738,), (1360643762,), (1360644770,), (1360644777,), (1360644784,), (1360644805,), (1360644829,), (1360645087,), (1360645133,), (1360645178,), (1360645224,), (1360645273,), (1360645724,), (1360646512,), (1360647336,), (1360647417,), (1360647554,), (1360648004,), (1360648071,), (1360648122,), (1360648165,), (1360648592,), (1360648431,), (1360648484,), (1360648531,), (1360648568,), (1360648900,), (1360648936,), (1360648968,), (1360648996,), (1360649039,), (1360649295,), (1360649362,), (1360649423,), (1360649499,), (1360650024,), (1360650094,), (1360650164,), (1360650229,), (1360650289,), (1360650325,), (1360650672,), (1360650720,), (1360650773,), (1360650828,), (1360651327,), (1360651372,), (1360651416,), (1360651456,), (1360652041,), (1360652116,), (1360652195,), (1360652277,), (1360652334,), (1360652414,), (1360652880,), (1360652925,), (1360653021,), (1360653187,), (1360653454,), (1360653531,), (1360653566,), (1360653596,), (1360653605,), (1360653611,), (1360653750,), (1360653798,), (1360653826,), (1360653868,), (1360654800,), (1360654820,), (1360654846,), (1360655036,), (1360655041,), (1360655047,), (1360655053,), (1360655327,), (1360655370,), (1360655412,), (1360655449,), (1360655852,), (1360655841,), (1360655846,), (1360656065,), (1360656090,), (1360656129,), (1360656169,), (1360656201,), (1360656344,), (1360656371,), (1360656380,), (1360656384,), (1360656417,), (1360656423,), (1360656430,), (1360656436,), (1360656440,), (1360656463,), (1360656467,), (1360656516,), (1360656543,), (1360656574,), (1360656685,), (1360656695,), (1360656754,), (1360656774,), (1360656877,), (1360656881,), (1360656887,), (1360656896,), (1360657134,), (1360657138,), (1360657143,), (1360657153,), (1360657164,), (1360657180,), (1360657348,), (1360657357,), (1360657363,), (1360657369,), (1360657590,), (1360657598,), (1360657607,), (1360657618,), (1360657631,), (1360657636,), (1360657680,), (1360657685,), (1360657689,), (1360657694,), (1360657699,), (1360657702,), (1360657807,), (1360657832,), (1360657850,), (1360657854,), (1360657882,), (1360657886,), (1360657892,), (1360657913,), (1360657936,), (1360658394,), (1360658579,), (1360658687,), (1360659029,), (1360659095,), (1360659197,), (1360659991,), (1360660678,), (1360659348,), (1360659518,), (1360659694,), (1360659821,), (1360659886,), (1360660056,), (1360660098,), (1360660197,), (1360660271,), (1360660308,), (1360660351,), (1360660508,), (1360660526,), (1360660561,), (1360660598,), (1360660612,), (1360660619,), (1360660661,), (1360660666,), (1360660799,), (1360660801,), (1360660820,), (1360660821,), (1360660849,), (1360660859,), (1360660876,), (1360660883,), (1360660904,), (1360660914,), (1360661086,), (1360661128,), (1360661183,), (1360661752,), (1360661791,), (1360661822,), (1360661843,), (1360661864,), (1360662047,), (1360662052,), (1360662080,), (1360662107,), (1360662134,), (1360662336,), (1360662367,), (1360662402,), (1360662779,), (1360662840,), (1360662905,), (1360662961,), (1360663017,), (1360663366,), (1360663439,), (1360663497,), (1360663563,), (1360663626,), (1360663691,), (1360663739,), (1360663774,), (1360663819,), (1360663861,), (1360663902,), (1360663962,), (1360664260,), (1360664327,), (1360664574,), (1360664638,), (1360664675,), (1360664697,), (1360664726,), (1360664763,), (1360664928,), (1360664974,), (1360665006,), (1360665033,), (1360665055,), (1360665861,), (1360665881,), (1360665906,), (1360665937,), (1360666117,), (1360666145,), (1360666168,), (1360667024,), (1360666927,), (1360667645,), (1360667679,), (1360667703,), (1360667718,), (1360667742,), (1360667894,), (1360667901,), (1360667908,), (1360667913,), (1360668007,), (1360668046,), (1360668091,), (1360668129,), (1360668409,), (1360668434,), (1360668459,), (1360668482,), (1360668497,), (1360668608,), (1360668620,), (1360668636,), (1360668644,), (1360668701,), (1360668705,), (1360668726,), (1360668792,), (1360668853,), (1360668924,), (1360668927,), (1360668971,), (1360669023,), (1360669049,), (1360669055,), (1360669101,), (1360669124,), (1360669131,), (1360669134,), (1360669138,), (1360669154,), (1360669168,), (1360669172,), (1360669190,), (1360669214,), (1360669236,), (1360669257,), (1360669299,), (1360669328,), (1360669369,), (1360669393,), (1360669433,), (1360669444,), (1360669505,), (1360669524,), (1360669544,), (1360669555,), (1360669557,), (1360669580,), (1360669587,), (1360669593,), (1360669600,), (1360669628,), (1360669633,), (1360669638,), (1360669642,), (1360669663,), (1360669727,), (1360669755,), (1360669795,), (1360669816,), (1360669839,), (1360669860,), (1360669880,), (1360669885,), (1360669909,), (1360669930,), (1360669955,), (1360669974,), (1360669984,), (1360670083,), (1360670124,), (1360670155,), (1360670003,), (1360670039,), (1360670207,), (1360670238,), (1360670287,), (1360670522,), (1360670546,), (1360670561,), (1360670567,), (1360670577,), (1360670602,), (1360670709,), (1360670715,), (1360670744,), (1360670770,), (1360670784,), (1360670797,), (1360670803,), (1360670812,), (1360670891,), (1360671000,), (1360671026,), (1360671068,), (1360671099,), (1360671101,), (1360671113,), (1360671196,), (1360671238,), (1360671266,), (1360671304,), (1360671320,), (1360671328,), (1360671355,), (1360671358,), (1360671361,), (1360671380,), (1360671386,), (1360671389,), (1360671394,), (1360671409,), (1360671414,), (1360671420,), (1360671425,), (1360671430,), (1360671434,), (1360671451,), (1360671454,), (1360671458,), (1360671462,), (1360671486,), (1360671490,), (1360671495,), (1360671501,), (1360671506,), (1360671523,), (1360671528,), (1360671534,), (1360671539,), (1360671545,), (1360671549,), (1360671597,), (1360671625,), (1360671654,), (1360671681,), (1360672087,), (1360672112,), (1360672153,), (1360672185,), (1360672212,), (1360672257,), (1360672566,), (1360672619,), (1360672683,), (1360672747,), (1360673314,), (1360673191,), (1360673227,), (1360673255,), (1360673284,), (1360673513,), (1360673587,), (1360673659,), (1360673719,), (1360673769,), (1360673772,), (1360673775,), (1360673779,), (1360673784,), (1360673789,), (1360673794,), (1360673799,), (1360673800,), (1360673809,), (1360673816,), (1360673823,), (1360673829,), (1360673839,), (1360673958,), (1360674031,), (1360674100,), (1360674126,), (1360674150,), (1360674174,), (1360674248,), (1360674269,), (1360674292,), (1360674312,), (1360674336,), (1360674358,), (1360674429,), (1360674452,), (1360674465,), (1360674477,), (1360674484,), (1360674487,), (1360674503,), (1360674528,), (1360674552,), (1360674575,), (1360674597,), (1360674618,), (1360674629,), (1360674633,), (1360674637,), (1360674640,), (1360674644,), (1360674670,), (1360674678,), (1360674702,), (1360674724,), (1360674968,), (1360675003,), (1360675032,), (1360675061,), (1360675086,), (1360675312,), (1360675318,), (1360675334,), (1360675348,), (1360675393,), (1360675416,), (1360675532,), (1360675584,), (1360675831,), (1360675833,), (1360675837,), (1360675841,), (1360675845,), (1360675871,), (1360675874,), (1360675877,), (1360675880,), (1360675939,), (1360675942,), (1360675945,), (1360676106,), (1360676043,), (1360676064,), (1360676086,), (1360676152,), (1360676155,), (1360676158,), (1360676162,), (1360676221,), (1360676224,), (1360676244,), (1360676258,), (1360676341,), (1360676343,), (1360676346,), (1360676373,), (1360676376,), (1360676381,), (1360676384,), (1360676388,), (1360676446,), (1360676450,), (1360676452,), (1360676456,), (1360676458,), (1360676507,), (1360676510,), (1360676527,), (1360676539,), (1360676543,), (1360676547,), (1360676597,), (1360676620,), (1360676642,), (1360676672,), (1360676675,), (1360676680,), (1360676684,), (1360676714,), (1360676738,), (1360676757,), (1360676763,), (1360676771,), (1360676802,), (1360676851,), (1360676859,), (1360676866,), (1360676877,), (1360676900,), (1360676931,), (1360676934,), (1360676937,), (1360676941,), (1360676944,), (1360676950,), (1360676963,), (1360676967,), (1360676968,), (1360676975,), (1360676980,), (1360676984,), (1360676988,), (1360676993,), (1360676998,), (1360677038,), (1360677042,), (1360677047,), (1360677065,), (1360677070,), (1360677073,), (1360677076,), (1360677079,), (1360677292,), (1360679106,), (1360679109,), (1360679116,), (1360679120,), (1360679123,), (1360679140,), (1360679145,), (1360679151,), (1360679156,), (1360679160,), (1360679162,), (1360679167,), (1360679169,), (1360679172,), (1360679201,), (1360679206,), (1360679210,), (1360679212,), (1360679214,), (1360679216,), (1360679232,), (1360679238,), (1360679244,), (1360679249,), (1360679289,), (1360679295,), (1360679300,), (1360679306,), (1360679311,), (1360679330,), (1360679334,), (1360679340,), (1360679346,), (1360679372,), (1360679380,), (1360679409,), (1360679414,), (1360679439,), (1360679444,), (1360679450,), (1360679455,), (1360679459,), (1360679481,), (1360679484,), (1360679489,), (1360679493,), (1360679496,), (1360679515,), (1360679520,), (1360679525,), (1360679529,), (1360679533,), (1360679551,), (1360679556,), (1360679561,), (1360679585,), (1360679590,), (1360679594,), (1360679602,), (1360679625,), (1360679656,), (1360679662,), (1360679667,), (1360679699,), (1360679770,), (1360679774,), (1360679779,), (1360679783,), (1360679806,), (1360679808,), (1360679811,), (1360679814,), (1360679816,), (1360679841,), (1360679843,), (1360679846,), (1360679870,), (1360679872,), (1360679875,), (1360679878,), (1360679881,), (1360679883,), (1360679903,), (1360679905,), (1360679908,), (1360679912,), (1360679915,), (1360679938,), (1360679943,), (1360679947,), (1360679984,), (1360679990,), (1360679996,), (1360680031,), (1360680036,), (1360680042,), (1360680048,), (1360680053,), (1360680057,), (1360680076,), (1360680082,), (1360680088,), (1360680094,), (1360680117,), (1360680123,), (1360680127,), (1360680134,), (1360680155,), (1360680160,), (1360680169,), (1360680193,), (1360680218,), (1360680224,), (1360680230,), (1360680283,), (1360677191,), (1360677217,), (1360677242,), (1360677267,), (1360677480,), (1360677524,), (1360677575,), (1360677609,), (1360677638,), (1360677856,), (1360677870,), (1360677876,), (1360677882,), (1360677899,), (1360678141,), (1360678171,), (1360678199,), (1360678225,), (1360678245,), (1360678250,), (1360678379,), (1360678392,), (1360678420,), (1360678559,), (1360678564,), (1360678569,), (1360678574,), (1360678581,), (1360678586,), (1360678601,), (1360678605,), (1360678611,), (1360678617,), (1360678622,), (1360678652,), (1360678658,), (1360678665,), (1360678671,), (1360678676,), (1360678680,), (1360678696,), (1360678700,), (1360678707,), (1360678714,), (1360678748,), (1360678752,), (1360678757,), (1360678764,), (1360678770,), (1360678775,), (1360678808,), (1360678814,), (1360678820,), (1360678826,), (1360678831,), (1360678873,), (1360678889,), (1360678913,), (1360678920,), (1360678989,), (1360678995,), (1360679000,), (1360679007,), (1360679014,), (1360679020,), (1360679036,), (1360679041,), (1360679047,), (1360679069,), (1360679079,), (1360679085,), (1360679093,), (1360679104,), (1360679108,), (1360679127,), (1360679176,), (1360679182,), (1360679188,), (1360679255,), (1360679260,), (1360679268,), (1360679271,), (1360680258,), (1360680262,), (1360680270,), (1360680274,), (1360680279,), (1360680302,), (1360680306,), (1360680311,), (1360680340,), (1360680344,), (1360680348,), (1360680356,), (1360680362,), (1360680388,), (1360680393,), (1360680399,), (1360680404,), (1360680408,), (1360680413,), (1360680441,), (1360680445,), (1360680486,), (1360680490,), (1360680496,), (1360680501,), (1360680505,), (1360680508,), (1360680537,), (1360680543,), (1360680549,), (1360680555,), (1360680559,), (1360680581,), (1360680585,), (1360680590,), (1360680595,), (1360680617,), (1360680622,), (1360680628,), (1360680659,), (1360680663,), (1360680667,), (1360680672,), (1360680676,), (1360680696,), (1360680701,), (1360680707,), (1360680714,), (1360680720,), (1360680724,), (1360680737,), (1360680742,), (1360680748,), (1360680773,), (1360680779,), (1360680785,), (1360680790,), (1360680795,), (1360680826,), (1360680828,), (1360680833,), (1360680837,), (1360680841,), (1360680900,), (1360680901,), (1360600644,), (1360600715,), (1360600777,), (1360601295,), (1360601297,), (1360601309,), (1360601331,), (1360601447,), (1360601499,), (1360601541,), (1360601567,), (1360601591,), (1360601634,), (1360602191,), (1360602215,), (1360602240,), (1360602341,), (1360602383,), (1360602415,), (1360602436,), (1360602459,), (1360602484,), (1360602820,), (1360602831,), (1360603351,), (1360603552,), (1360603598,), (1360603624,), (1360603651,), (1360603675,), (1360603697,), (1360604475,), (1360604528,), (1360604582,), (1360604668,), (1360604739,), (1360604881,), (1360605155,), (1360605177,), (1360605428,), (1360605449,), (1360605586,), (1360605624,), (1360605667,), (1360605708,), (1360605725,), (1360605728,), (1360605762,), (1360605881,), (1360605906,), (1360605930,), (1360606014,), (1360606038,), (1360606065,), (1360606091,), (1360606110,), (1360606133,), (1360606369,), (1360606719,), (1360606724,), (1360606735,), (1360597913,), (1360597920,), (1360597924,), (1360597949,), (1360597975,), (1360597997,), (1360598019,), (1360598058,), (1360598134,), (1360598157,), (1360598181,), (1360598205,), (1360598229,), (1360598253,), (1360598510,), (1360598572,), (1360598986,), (1360599038,), (1360599165,), (1360599210,), (1360599249,), (1360599291,), (1360599335,), (1360599376,), (1360599607,), (1360599652,), (1360599699,), (1360599758,), (1360599818,), (1360600055,), (1360600101,), (1360600155,), (1360600205,), (1360600250,), (1360600437,), (1360600509,), (1360600576,), (1360595911,), (1360595917,), (1360595923,), (1360595930,), (1360595944,), (1360595960,), (1360595967,), (1360595971,), (1360595977,), (1360595981,), (1360596010,), (1360596036,), (1360596063,), (1360596217,), (1360596274,), (1360596329,), (1360596364,), (1360596394,), (1360596451,), (1360596643,), (1360596669,), (1360596693,), (1360596891,), (1360596911,), (1360596934,), (1360596955,), (1360596972,), (1360596978,), (1360597169,), (1360597245,), (1360597262,), (1360597269,), (1360597284,), (1360597320,), (1360597356,), (1360597462,), (1360597465,), (1360597469,), (1360597472,), (1360597474,), (1360597480,), (1360597483,), (1360597487,), (1360597491,), (1360597497,), (1360597502,), (1360597515,), (1360597517,), (1360597520,), (1360597526,), (1360597531,), (1360597538,), (1360597559,), (1360597586,), (1360597609,), (1360597629,), (1360597648,), (1360597668,), (1360597729,), (1360597750,), (1360597762,), (1360597769,), (1360597779,), (1360597820,), (1360597868,), (1360597872,), (1360597893,), (1360592792,), (1360592812,), (1360592841,), (1360592855,), (1360592866,), (1360592880,), (1360593084,), (1360593136,), (1360593154,), (1360593164,), (1360593182,), (1360593194,), (1360593201,), (1360593380,), (1360593406,), (1360593507,), (1360593533,), (1360593550,), (1360593554,), (1360593558,), (1360593563,), (1360593571,), (1360593583,), (1360593618,), (1360593626,), (1360593632,), (1360593637,), (1360593642,), (1360593647,), (1360593651,), (1360593719,), (1360593741,), (1360593761,), (1360593894,), (1360593936,), (1360593981,), (1360594025,), (1360594070,), (1360594113,), (1360594556,), (1360595082,), (1360595114,), (1360595317,), (1360595358,), (1360595408,), (1360595448,), (1360595487,), (1360595511,), (1360595654,), (1360595683,), (1360595721,), (1360588791,), (1360588795,), (1360588801,), (1360588811,), (1360588816,), (1360588823,), (1360588987,), (1360589010,), (1360589031,), (1360589161,), (1360589202,), (1360589247,), (1360589283,), (1360589309,), (1360589333,), (1360590237,), (1360590277,), (1360590300,), (1360590325,), (1360590337,), (1360590377,), (1360590388,), (1360590412,), (1360590630,), (1360590654,), (1360590676,), (1360590701,), (1360590712,), (1360590723,), (1360590743,), (1360590768,), (1360590793,), (1360590819,), (1360590906,), (1360590926,), (1360590960,), (1360590998,), (1360591039,), (1360591090,), (1360591240,), (1360591267,), (1360591292,), (1360591315,), (1360591339,), (1360591363,), (1360591423,), (1360591447,), (1360591469,), (1360591491,), (1360591516,), (1360591540,), (1360591566,), (1360591570,), (1360591592,), (1360591616,), (1360591637,), (1360591666,), (1360591829,), (1360591871,), (1360591924,), (1360591975,), (1360592018,), (1360592075,), (1360592294,), (1360592351,), (1360592415,), (1360592480,), (1360592523,), (1360592565,), (1360592731,), (1360592741,), (1360592753,), (1360592769,), (1360585363,), (1360585445,), (1360585468,), (1360585728,), (1360585749,), (1360585760,), (1360585767,), (1360585789,), (1360585801,), (1360585831,), (1360585836,), (1360585839,), (1360586061,), (1360586095,), (1360586113,), (1360586126,), (1360586130,), (1360586133,), (1360586252,), (1360586316,), (1360586320,), (1360586335,), (1360586341,), (1360586349,), (1360586363,), (1360586368,), (1360586370,), (1360586450,), (1360586690,), (1360586692,), (1360586708,), (1360586740,), (1360586782,), (1360586807,), (1360587097,), (1360587144,), (1360587197,), (1360587356,), (1360587388,), (1360587410,), (1360587442,), (1360587486,), (1360587511,), (1360587661,), (1360587666,), (1360587841,), (1360587903,), (1360587921,), (1360587927,), (1360587954,), (1360587994,), (1360588036,), (1360588457,), (1360588461,), (1360588471,), (1360588475,), (1360588482,), (1360588489,), (1360588494,), (1360588501,), (1360588618,), (1360588630,), (1360588695,), (1360588701,), (1360588702,), (1360588705,), (1360588709,), (1360588713,), (1360588717,), (1360588747,), (1360588748,), (1360588750,), (1360588751,), (1360588783,), (1360588786,), (1360582851,), (1360582888,), (1360582999,), (1360583003,), (1360583007,), (1360583016,), (1360583022,), (1360583028,), (1360583033,), (1360583038,), (1360583042,), (1360583065,), (1360583077,), (1360583083,), (1360583122,), (1360583144,), (1360583148,), (1360583152,), (1360583159,), (1360583166,), (1360583178,), (1360583218,), (1360583221,), (1360583243,), (1360583245,), (1360583270,), (1360583272,), (1360583637,), (1360583661,), (1360583694,), (1360583720,), (1360583750,), (1360583781,), (1360583931,), (1360583952,), (1360583982,), (1360584067,), (1360584073,), (1360584078,), (1360584122,), (1360584145,), (1360584168,), (1360584189,), (1360584213,), (1360584238,), (1360584466,), (1360584472,), (1360584477,), (1360584481,), (1360584502,), (1360584525,), (1360584713,), (1360584752,), (1360584790,), (1360585001,), (1360585008,), (1360585013,), (1360585027,), (1360585033,), (1360585036,), (1360585143,), (1360585148,), (1360585154,), (1360585160,), (1360585166,), (1360585173,), (1360585315,), (1360585341,), (1360579752,), (1360579780,), (1360579784,), (1360579785,), (1360579788,), (1360579789,), (1360579793,), (1360579794,), (1360579798,), (1360579800,), (1360579803,), (1360579804,), (1360579809,), (1360579826,), (1360579835,), (1360579840,), (1360579848,), (1360579878,), (1360579915,), (1360579942,), (1360579954,), (1360579964,), (1360579971,), (1360579982,), (1360579985,), (1360580101,), (1360580136,), (1360580163,), (1360580190,), (1360580212,), (1360580217,), (1360580266,), (1360580293,), (1360580304,), (1360580318,), (1360580321,), (1360580328,), (1360580404,), (1360580411,), (1360580423,), (1360580451,), (1360580485,), (1360580514,), (1360580561,), (1360580578,), (1360580604,), (1360580630,), (1360580641,), (1360580648,), (1360580686,), (1360580711,), (1360580736,), (1360580764,), (1360580790,), (1360580820,), (1360581123,), (1360581147,), (1360581175,), (1360581201,), (1360581226,), (1360581250,), (1360581539,), (1360581579,), (1360581804,), (1360581857,), (1360581908,), (1360581951,), (1360581994,), (1360582128,), (1360582161,), (1360582165,), (1360582170,), (1360582193,), (1360582210,), (1360582501,), (1360582670,), (1360582777,), (1360582797,), (1360582811,), (1360582822,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22052025': {'nb_upload': 65, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23281952]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] map_info['map_portfolio_photo'] : {23281952: [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537, 1360680508, 1360680505, 1360680501, 1360680496, 1360680490, 1360680486, 1360680445, 1360680441, 1360680413, 1360680408, 1360680404, 1360680399, 1360680393, 1360680388, 1360680362, 1360680356, 1360680348, 1360680344, 1360680340, 1360680311, 1360680306, 1360680302, 1360680279, 1360680274, 1360680270, 1360680262, 1360680258]} final : True mtd_id 4302 list_pids : [1360680901, 1360680900, 1360680841, 1360680837, 1360680833, 1360680828, 1360680826, 1360680795, 1360680790, 1360680785, 1360680779, 1360680773, 1360680748, 1360680742, 1360680737, 1360680724, 1360680720, 1360680714, 1360680707, 1360680701, 1360680696, 1360680676, 1360680672, 1360680667, 1360680663, 1360680659, 1360680628, 1360680622, 1360680617, 1360680595, 1360680590, 1360680585, 1360680581, 1360680559, 1360680555, 1360680549, 1360680543, 1360680537] Looping around the photos to save general results len do output : 1 /23281952Didn'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, '2938994') ('4302', '23281952', '1360680901', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994') ('4302', None, None, None, None, None, None, None, '2938994') ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '23281952', 'None', None, None, None, None, '2938994'), ('4302', '23281952', '1360680901', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680900', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680841', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680837', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680833', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680828', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680826', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680795', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680790', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680785', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680779', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680773', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680748', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680742', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680737', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680724', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680720', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680714', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680707', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680701', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680696', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680676', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680672', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680667', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680663', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680659', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680628', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680622', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680617', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680595', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680590', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680585', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680581', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680559', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680555', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680549', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680543', None, None, None, None, None, '2938994'), ('4302', '23281952', '1360680537', None, None, None, None, None, '2938994')] time used for this insertion : 0.01581430435180664 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2343356609344482 time spend to save output : 0.01621270179748535 total time spend for step 5 : 3.2505483627319336 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 (2938994) 3.38user 2.04system 0:12.20elapsed 44%CPU (0avgtext+0avgdata 161824maxresident)k 3008inputs+21624outputs (27major+87741minor)pagefaults 0swaps