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 : 3423454 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 (2568584) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2568584) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359621 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2568584'] with mtr_portfolio_ids : ['20359621'] and first list_photo_ids : [] new path : /proc/3423454/ Name: python3 Umask: 0002 State: R (running) Tgid: 3423454 Ngid: 0 Pid: 3423454 PPid: 3423449 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3423454 NSpid: 3423454 NSpgid: 3422246 NSsid: 3422246 VmPeak: 1106580 kB VmSize: 1106556 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98900 kB VmRSS: 98900 kB RssAnon: 59736 kB RssFile: 39164 kB RssShmem: 0 kB VmData: 865308 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 532 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: 60 nonvoluntary_ctxt_switches: 147 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3423454', 'Ngid': '0', 'Pid': '3423454', 'PPid': '3423449', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3423454', 'NSpid': '3423454', 'NSpgid': '3422246', 'NSsid': '3422246', 'VmPeak': '1106580 kB', 'VmSize': '1106556 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98900 kB', 'VmRSS': '98900 kB', 'RssAnon': '59736 kB', 'RssFile': '39164 kB', 'RssShmem': '0 kB', 'VmData': '865308 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '532 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': '60', 'nonvoluntary_ctxt_switches': '147'} ('datou_batch_current', '3423454', '1106580', '0', '1106556', '865308', '98900', b'', 'marlene', '2568584') 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 (20359621) 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 (2568584 ) ) 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 (20359621) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1334737203, 'portfolio_id': 20359621}, {'photo_id': 1334737133, 'portfolio_id': 20359621}, {'photo_id': 1334737056, 'portfolio_id': 20359621}, {'photo_id': 1334736915, 'portfolio_id': 20359621}, {'photo_id': 1334736913, 'portfolio_id': 20359621}, {'photo_id': 1334736910, 'portfolio_id': 20359621}, {'photo_id': 1334736866, 'portfolio_id': 20359621}, {'photo_id': 1334736861, 'portfolio_id': 20359621}, {'photo_id': 1334736858, 'portfolio_id': 20359621}, {'photo_id': 1334736813, 'portfolio_id': 20359621}, {'photo_id': 1334736810, 'portfolio_id': 20359621}, {'photo_id': 1334736760, 'portfolio_id': 20359621}, {'photo_id': 1334736701, 'portfolio_id': 20359621}, {'photo_id': 1334736700, 'portfolio_id': 20359621}, {'photo_id': 1334736672, 'portfolio_id': 20359621}, {'photo_id': 1334736351, 'portfolio_id': 20359621}, {'photo_id': 1334736286, 'portfolio_id': 20359621}, {'photo_id': 1334736222, 'portfolio_id': 20359621}, {'photo_id': 1334736113, 'portfolio_id': 20359621}, {'photo_id': 1334736007, 'portfolio_id': 20359621}, {'photo_id': 1334735927, 'portfolio_id': 20359621}, {'photo_id': 1334735546, 'portfolio_id': 20359621}, {'photo_id': 1334735474, 'portfolio_id': 20359621}, {'photo_id': 1334735405, 'portfolio_id': 20359621}, {'photo_id': 1334735343, 'portfolio_id': 20359621}, {'photo_id': 1334735191, 'portfolio_id': 20359621}, {'photo_id': 1334735055, 'portfolio_id': 20359621}, {'photo_id': 1334734190, 'portfolio_id': 20359621}, {'photo_id': 1334733948, 'portfolio_id': 20359621}, {'photo_id': 1334733775, 'portfolio_id': 20359621}, {'photo_id': 1334733714, 'portfolio_id': 20359621}, {'photo_id': 1334733711, 'portfolio_id': 20359621}, {'photo_id': 1334733708, 'portfolio_id': 20359621}, {'photo_id': 1334733330, 'portfolio_id': 20359621}, {'photo_id': 1334733326, 'portfolio_id': 20359621}, {'photo_id': 1334733325, 'portfolio_id': 20359621}, {'photo_id': 1334733324, 'portfolio_id': 20359621}, {'photo_id': 1334733323, 'portfolio_id': 20359621}, {'photo_id': 1334733313, 'portfolio_id': 20359621}, {'photo_id': 1334733295, 'portfolio_id': 20359621}, {'photo_id': 1334733292, 'portfolio_id': 20359621}, {'photo_id': 1334733289, 'portfolio_id': 20359621}, {'photo_id': 1334733258, 'portfolio_id': 20359621}, {'photo_id': 1334733246, 'portfolio_id': 20359621}, {'photo_id': 1334733244, 'portfolio_id': 20359621}, {'photo_id': 1334733201, 'portfolio_id': 20359621}, {'photo_id': 1334733198, 'portfolio_id': 20359621}, {'photo_id': 1334733189, 'portfolio_id': 20359621}, {'photo_id': 1334733187, 'portfolio_id': 20359621}, {'photo_id': 1334733174, 'portfolio_id': 20359621}, {'photo_id': 1334733172, 'portfolio_id': 20359621}, {'photo_id': 1334731857, 'portfolio_id': 20359621}, {'photo_id': 1334731850, 'portfolio_id': 20359621}] map_portfolio_id_photo_id: {20359621: [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850]} ##### 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.017153263092041016 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Feb 8 10:35:30 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 (20359621) 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 : 20359621 get user id for portfolio 20359621 get sub ptf for main ptf 20359621, type 3726 and hashtags ['papier', 'Teint_Dans_La_Masse', 'mal_croppe', 'plastique', 'Carton_gris', 'metal', 'flou', 'environnement', 'Carton_brun', 'cartonnette', 'kraft', '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`=20359621 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','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`=20359621 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','autre_refus')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_3726_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20359621, 20359623, 3726, 0.5, 492668766, 979], [20359621, 20359624, 3726, 0.5, 2107752385, 979], [20359621, 20359625, 3726, 0.5, 2107755527, 979], [20359621, 20359626, 3726, 0.5, 492725882, 979], [20359621, 20359627, 3726, 0.5, 2107753020, 979], [20359621, 20359628, 3726, 0.5, 492628673, 979], [20359621, 20359629, 3726, 0.5, 492777938, 979], [20359621, 20359630, 3726, 0.5, 493012381, 979], [20359621, 20359631, 3726, 0.5, 2107753024, 979], [20359621, 20359632, 3726, 0.5, 702398920, 979], [20359621, 20359633, 3726, 0.5, 493202403, 979], [20359621, 20359634, 3726, 0.5, 2107752406, 979]] 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`=20359621 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','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`=20359621 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 20359621, 'sub_port_id': 20359623, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041425, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 20359621, 'sub_port_id': 20359624, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041426, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'mal_croppe': {'main_port_id': 20359621, 'sub_port_id': 20359625, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041427, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'plastique': {'main_port_id': 20359621, 'sub_port_id': 20359626, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041428, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'Carton_gris': {'main_port_id': 20359621, 'sub_port_id': 20359627, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041429, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'metal': {'main_port_id': 20359621, 'sub_port_id': 20359628, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041430, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'flou': {'main_port_id': 20359621, 'sub_port_id': 20359629, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041431, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'environnement': {'main_port_id': 20359621, 'sub_port_id': 20359630, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041432, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'Carton_brun': {'main_port_id': 20359621, 'sub_port_id': 20359631, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041433, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'cartonnette': {'main_port_id': 20359621, 'sub_port_id': 20359632, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041434, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'kraft': {'main_port_id': 20359621, 'sub_port_id': 20359633, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041435, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}, 'autre_refus': {'main_port_id': 20359621, 'sub_port_id': 20359634, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041436, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 30), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20359623 , 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=20359621 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 (20359623) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359624 , 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=20359621 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 (20359624) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359625 , 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=20359621 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 (20359625) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359626 , 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=20359621 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 (20359626) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359627 , 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=20359621 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 (20359627) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359628 , 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=20359621 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 (20359628) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359629 , 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=20359621 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 (20359629) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359630 , 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=20359621 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 (20359630) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359631 , 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=20359621 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 (20359631) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359632 , 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=20359621 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 (20359632) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359633 , 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=20359621 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 (20359633) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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 20359634 , 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=20359621 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 (20359634) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20359621) result : ((1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) 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 (1334736700) 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`=20359621 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','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`=20359621 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','autre_refus')) AND mptpi.`min_score`=0.5 To do To do query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_papier_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_Teint_Dans_La_Masse_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_mal_croppe_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_plastique_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_Carton_gris_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_metal_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_flou_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_environnement_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_Carton_brun_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_cartonnette_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_kraft_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio query : SELECT id FROM MTRUser.mtr_portfolios WHERE name="JRM_diff_batch__04022025_23_45_04_009135_4417_autre_refus_0.5_chtin_0" AND mtr_user_id=979 Creating new portfolio INSERT IGNORE INTO MTRPhoto.mtr_port_to_port_ids (`mtr_portfolio_id_1`, `mtr_portfolio_id_2`, `type`, `min_score`, `hashtag_id`, `mtr_user_id`) VALUES (%s,%s,%s,%s,%s,%s)[[20359621, 20359635, 4417, 0.5, 492668766, 979], [20359621, 20359636, 4417, 0.5, 2107752385, 979], [20359621, 20359637, 4417, 0.5, 2107755527, 979], [20359621, 20359638, 4417, 0.5, 492725882, 979], [20359621, 20359639, 4417, 0.5, 2107753020, 979], [20359621, 20359640, 4417, 0.5, 492628673, 979], [20359621, 20359641, 4417, 0.5, 492777938, 979], [20359621, 20359642, 4417, 0.5, 493012381, 979], [20359621, 20359643, 4417, 0.5, 2107753024, 979], [20359621, 20359644, 4417, 0.5, 702398920, 979], [20359621, 20359645, 4417, 0.5, 493202403, 979], [20359621, 20359646, 4417, 0.5, 2107752406, 979]] 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`=20359621 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','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`=20359621 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','Teint_Dans_La_Masse','mal_croppe','plastique','Carton_gris','metal','flou','environnement','Carton_brun','cartonnette','kraft','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 20359621, 'sub_port_id': 20359635, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041437, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 20359621, 'sub_port_id': 20359636, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041438, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'mal_croppe': {'main_port_id': 20359621, 'sub_port_id': 20359637, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041439, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'plastique': {'main_port_id': 20359621, 'sub_port_id': 20359638, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041440, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'Carton_gris': {'main_port_id': 20359621, 'sub_port_id': 20359639, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041441, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'metal': {'main_port_id': 20359621, 'sub_port_id': 20359640, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041442, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'flou': {'main_port_id': 20359621, 'sub_port_id': 20359641, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041443, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'environnement': {'main_port_id': 20359621, 'sub_port_id': 20359642, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041444, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'Carton_brun': {'main_port_id': 20359621, 'sub_port_id': 20359643, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041445, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'cartonnette': {'main_port_id': 20359621, 'sub_port_id': 20359644, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041446, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'kraft': {'main_port_id': 20359621, 'sub_port_id': 20359645, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041447, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}, 'autre_refus': {'main_port_id': 20359621, 'sub_port_id': 20359646, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13041448, 'last_updated_at': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 10, 35, 31), 'last_updated_at_asc': datetime.datetime(2025, 2, 8, 10, 35, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359635,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359623 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359636,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359624 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359637,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359625 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359638,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359626 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359639,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359627 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359640,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359628 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359641,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359629 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359642,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359630 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359643,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359631 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359644,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359632 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359645,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359633 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20359646,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20359634 lien utilise dans velours : https://www.fotonower.com/velours/20359635,20359636,20359637,20359638,20359639,20359640,20359641,20359642,20359643,20359644,20359645,20359646?tags=papier,Teint_Dans_La_Masse,mal_croppe,plastique,Carton_gris,metal,flou,environnement,Carton_brun,cartonnette,kraft,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20359621]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] map_info['map_portfolio_photo'] : {20359621: [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850]} final : False mtd_id 4302 list_pids : [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] Looping around the photos to save general results len do output : 1 /20359621. 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, '2568584') ('4302', '20359621', '1334737203', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 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, '20359621', "{'papier': 20359623, 'Teint_Dans_La_Masse': 20359624, 'mal_croppe': 20359625, 'plastique': 20359626, 'Carton_gris': 20359627, 'metal': 20359628, 'flou': 20359629, 'environnement': 20359630, 'Carton_brun': 20359631, 'cartonnette': 20359632, 'kraft': 20359633, 'autre_refus': 20359634}", None, None, None, None, '2568584'), ('4302', '20359621', '1334737203', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584')] time used for this insertion : 0.02236318588256836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3505504131317139 time spend to save output : 0.023009777069091797 total time spend for step 1 : 1.3735601902008057 step2:final Sat Feb 8 10:35:31 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 (20359621) 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 20359621 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1334737203,1334737133,1334737056,1334736915,1334736913,1334736910,1334736866,1334736861,1334736858,1334736813,1334733201,1334733198,1334733189,1334733187,1334733174,1334733172,1334736810,1334731857,1334736760,1334736701,1334736700,1334736672,1334736351,1334736286,1334736222,1334736113,1334736007,1334735927,1334735546,1334735474,1334735405,1334735343,1334735191,1334735055,1334733330,1334733326,1334733325,1334733324,1334733323,1334733313,1334733295,1334733292,1334733289,1334733258,1334733246,1334733244,1334734190,1334733948,1334733775,1334731850,1334733714,1334733711,1334733708); After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20359621]) Inside saveOutput : final : False verbose : True original output for save of step final : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} new output for save of step final : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] map_info['map_portfolio_photo'] : {20359621: [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850]} final : False mtd_id 4302 list_pids : [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] Looping around the photos to save general results len do output : 53 /1334737203.Didn't retrieve data . /1334737133.Didn't retrieve data . /1334737056.Didn't retrieve data . /1334736915.Didn't retrieve data . /1334736913.Didn't retrieve data . /1334736910.Didn't retrieve data . /1334736866.Didn't retrieve data . /1334736861.Didn't retrieve data . /1334736858.Didn't retrieve data . /1334736813.Didn't retrieve data . /1334736810.Didn't retrieve data . /1334736760.Didn't retrieve data . /1334736701.Didn't retrieve data . /1334736700.Didn't retrieve data . /1334736672.Didn't retrieve data . /1334736351.Didn't retrieve data . /1334736286.Didn't retrieve data . /1334736222.Didn't retrieve data . /1334736113.Didn't retrieve data . /1334736007.Didn't retrieve data . /1334735927.Didn't retrieve data . /1334735546.Didn't retrieve data . /1334735474.Didn't retrieve data . /1334735405.Didn't retrieve data . /1334735343.Didn't retrieve data . /1334735191.Didn't retrieve data . /1334735055.Didn't retrieve data . /1334734190.Didn't retrieve data . /1334733948.Didn't retrieve data . /1334733775.Didn't retrieve data . /1334733714.Didn't retrieve data . /1334733711.Didn't retrieve data . /1334733708.Didn't retrieve data . /1334733330.Didn't retrieve data . /1334733326.Didn't retrieve data . /1334733325.Didn't retrieve data . /1334733324.Didn't retrieve data . /1334733323.Didn't retrieve data . /1334733313.Didn't retrieve data . /1334733295.Didn't retrieve data . /1334733292.Didn't retrieve data . /1334733289.Didn't retrieve data . /1334733258.Didn't retrieve data . /1334733246.Didn't retrieve data . /1334733244.Didn't retrieve data . /1334733201.Didn't retrieve data . /1334733198.Didn't retrieve data . /1334733189.Didn't retrieve data . /1334733187.Didn't retrieve data . /1334733174.Didn't retrieve data . /1334733172.Didn't retrieve data . /1334731857.Didn't retrieve data . /1334731850.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, '2568584') ('4302', '20359621', '1334737203', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 159 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', '20359621', '1334737203', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334737133', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334737056', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736915', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736913', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736910', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736866', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736861', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736858', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736813', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736810', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736760', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736701', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736700', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736672', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736351', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736286', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736222', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736113', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334736007', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735927', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735546', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735474', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735405', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735343', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735191', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334735055', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334734190', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733948', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733775', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733714', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733711', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733708', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733330', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733326', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733325', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733324', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733323', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733313', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733295', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733292', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733289', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733258', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733246', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733244', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733201', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733198', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733189', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733187', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733174', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334733172', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334731857', '0.0', None, None, None, None, '2568584'), ('4302', '20359621', '1334731850', '0.0', None, None, None, None, '2568584')] time used for this insertion : 0.02279949188232422 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.358253002166748 time spend to save output : 0.024806499481201172 total time spend for step 2 : 3.383059501647949 step3:velours_tree Sat Feb 8 10:35:35 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 : {20359621: [{'papier': 20359623, 'Teint_Dans_La_Masse': 20359624, 'mal_croppe': 20359625, 'plastique': 20359626, 'Carton_gris': 20359627, 'metal': 20359628, 'flou': 20359629, 'environnement': 20359630, 'Carton_brun': 20359631, 'cartonnette': 20359632, 'kraft': 20359633, 'autre_refus': 20359634}]} input_args_next_step : {20359621: ()} output_args : {20359621: [{'papier': 20359623, 'Teint_Dans_La_Masse': 20359624, 'mal_croppe': 20359625, 'plastique': 20359626, 'Carton_gris': 20359627, 'metal': 20359628, 'flou': 20359629, 'environnement': 20359630, 'Carton_brun': 20359631, 'cartonnette': 20359632, 'kraft': 20359633, 'autre_refus': 20359634}]} args : 20359621 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': 20359623, 'Teint_Dans_La_Masse': 20359624, 'mal_croppe': 20359625, 'plastique': 20359626, 'Carton_gris': 20359627, 'metal': 20359628, 'flou': 20359629, 'environnement': 20359630, 'Carton_brun': 20359631, 'cartonnette': 20359632, 'kraft': 20359633, 'autre_refus': 20359634},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20359621) 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([20359621]) 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.6605918407440186 time spend to save output : 7.367134094238281e-05 total time spend for step 3 : 0.6606655120849609 step4:send_mail_cod Sat Feb 8 10:35:35 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 : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} input_args_next_step : {1334737203: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334737203 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334737133 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334737056 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736915 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736913 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736910 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736866 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736861 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736858 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736813 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736810 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736760 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736701 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736700 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736672 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736351 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736286 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736222 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736113 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334736007 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735927 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735546 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735474 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735405 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735343 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735191 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334735055 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334734190 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733948 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733775 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733714 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733711 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733708 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733330 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733326 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733325 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733324 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733323 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733313 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733295 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733292 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733289 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733258 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733246 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733244 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733201 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733198 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733189 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733187 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733174 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334733172 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334731857 depend.output_id : 0 input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ()} output_args : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',)} args : 1334731850 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 : {20359621: [{'papier': 20359623, 'Teint_Dans_La_Masse': 20359624, 'mal_croppe': 20359625, 'plastique': 20359626, 'Carton_gris': 20359627, 'metal': 20359628, 'flou': 20359629, 'environnement': 20359630, 'Carton_brun': 20359631, 'cartonnette': 20359632, 'kraft': 20359633, 'autre_refus': 20359634}]} input_args_next_step : {1334737203: ('0.0',), 1334737133: ('0.0',), 1334737056: ('0.0',), 1334736915: ('0.0',), 1334736913: ('0.0',), 1334736910: ('0.0',), 1334736866: ('0.0',), 1334736861: ('0.0',), 1334736858: ('0.0',), 1334736813: ('0.0',), 1334736810: ('0.0',), 1334736760: ('0.0',), 1334736701: ('0.0',), 1334736700: ('0.0',), 1334736672: ('0.0',), 1334736351: ('0.0',), 1334736286: ('0.0',), 1334736222: ('0.0',), 1334736113: ('0.0',), 1334736007: ('0.0',), 1334735927: ('0.0',), 1334735546: ('0.0',), 1334735474: ('0.0',), 1334735405: ('0.0',), 1334735343: ('0.0',), 1334735191: ('0.0',), 1334735055: ('0.0',), 1334734190: ('0.0',), 1334733948: ('0.0',), 1334733775: ('0.0',), 1334733714: ('0.0',), 1334733711: ('0.0',), 1334733708: ('0.0',), 1334733330: ('0.0',), 1334733326: ('0.0',), 1334733325: ('0.0',), 1334733324: ('0.0',), 1334733323: ('0.0',), 1334733313: ('0.0',), 1334733295: ('0.0',), 1334733292: ('0.0',), 1334733289: ('0.0',), 1334733258: ('0.0',), 1334733246: ('0.0',), 1334733244: ('0.0',), 1334733201: ('0.0',), 1334733198: ('0.0',), 1334733189: ('0.0',), 1334733187: ('0.0',), 1334733174: ('0.0',), 1334733172: ('0.0',), 1334731857: ('0.0',), 1334731850: ('0.0',), 20359621: ()} output_args : {20359621: [{'papier': 20359623, 'Teint_Dans_La_Masse': 20359624, 'mal_croppe': 20359625, 'plastique': 20359626, 'Carton_gris': 20359627, 'metal': 20359628, 'flou': 20359629, 'environnement': 20359630, 'Carton_brun': 20359631, 'cartonnette': 20359632, 'kraft': 20359633, 'autre_refus': 20359634}]} args : 20359621 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 :54, first value : ('0.0',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20359621) 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 (1334737203,1334737133,1334737056,1334736915,1334736913,1334736910,1334736866,1334736861,1334736858,1334736813,1334736810,1334736760,1334736701,1334736700,1334736672,1334736351,1334736286,1334736222,1334736113,1334736007,1334735927,1334735546,1334735474,1334735405,1334735343,1334735191,1334735055,1334734190,1334733948,1334733775,1334733714,1334733711,1334733708,1334733330,1334733326,1334733325,1334733324,1334733323,1334733313,1334733295,1334733292,1334733289,1334733258,1334733246,1334733244,1334733201,1334733198,1334733189,1334733187,1334733174,1334733172,1334731857,1334731850) Found this number of photos: 53 ##### Call download_photos : nb_thread : 5 begin to download photo : 1334731850 begin to download photo : 1334733289 begin to download photo : 1334733714 begin to download photo : 1334736007 begin to download photo : 1334736858 download finish for photo 1334736858 begin to download photo : 1334736861 download finish for photo 1334731850 begin to download photo : 1334731857 download finish for photo 1334736007 begin to download photo : 1334736113 download finish for photo 1334733289 begin to download photo : 1334733292 download finish for photo 1334733714 begin to download photo : 1334733775 download finish for photo 1334731857 begin to download photo : 1334733172 download finish for photo 1334736861 begin to download photo : 1334736866 download finish for photo 1334736113 begin to download photo : 1334736222 download finish for photo 1334733775 begin to download photo : 1334733948 download finish for photo 1334733292 begin to download photo : 1334733295 download finish for photo 1334733172 begin to download photo : 1334733174 download finish for photo 1334736222 begin to download photo : 1334736286 download finish for photo 1334733948 begin to download photo : 1334734190 download finish for photo 1334736866 begin to download photo : 1334736910 download finish for photo 1334733295 begin to download photo : 1334733313 download finish for photo 1334736286 begin to download photo : 1334736351 download finish for photo 1334734190 begin to download photo : 1334735055 download finish for photo 1334733174 begin to download photo : 1334733187 download finish for photo 1334736910 begin to download photo : 1334736913 download finish for photo 1334735055 begin to download photo : 1334735191 download finish for photo 1334736351 begin to download photo : 1334736672 download finish for photo 1334733313 begin to download photo : 1334733323 download finish for photo 1334733187 begin to download photo : 1334733189 download finish for photo 1334736913 begin to download photo : 1334736915 download finish for photo 1334733323 begin to download photo : 1334733324 download finish for photo 1334735191 begin to download photo : 1334735343 download finish for photo 1334736672 begin to download photo : 1334736700 download finish for photo 1334736915 begin to download photo : 1334737056 download finish for photo 1334733189 begin to download photo : 1334733198 download finish for photo 1334733324 begin to download photo : 1334733325 download finish for photo 1334735343 begin to download photo : 1334735405 download finish for photo 1334737056 begin to download photo : 1334737133 download finish for photo 1334736700 begin to download photo : 1334736701 download finish for photo 1334733325 begin to download photo : 1334733326 download finish for photo 1334733198 begin to download photo : 1334733201 download finish for photo 1334735405 begin to download photo : 1334735474 download finish for photo 1334737133 begin to download photo : 1334737203 download finish for photo 1334736701 begin to download photo : 1334736760 download finish for photo 1334733326 begin to download photo : 1334733330 download finish for photo 1334733201 begin to download photo : 1334733244 download finish for photo 1334737203 download finish for photo 1334735474 begin to download photo : 1334735546 download finish for photo 1334733330 begin to download photo : 1334733708 download finish for photo 1334736760 begin to download photo : 1334736810 download finish for photo 1334733244 begin to download photo : 1334733246 download finish for photo 1334735546 begin to download photo : 1334735927 download finish for photo 1334733246 begin to download photo : 1334733258 download finish for photo 1334733708 begin to download photo : 1334733711 download finish for photo 1334736810 begin to download photo : 1334736813 download finish for photo 1334735927 download finish for photo 1334733711 download finish for photo 1334733258 download finish for photo 1334736813 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette203596251739007337/ imagette203596261739007337/ imagette203596281739007337/ imagette203596291739007337/ imagette203596321739007337/ imagette203596331739007337/ imagette203596341739007337/ imagette203596241739007337/ imagette203596271739007337/ imagette203596311739007337/ length of list_filenames : 53 ; length of list_pids : 53 ; length of list_args : 53 results_Auto_P20359621_08-02-2025_10_35_37.pdf 20359625 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=20359625 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596251739007337 20359626 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=20359626 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596261739007337 20359628 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=20359628 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596281739007337 20359629 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=20359629 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596291739007337 20359632 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=20359632 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596321739007337 20359633 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=20359633 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596331739007337 20359634 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=20359634 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596341739007337 20359624 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=20359624 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596241739007337 20359627 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=20359627 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596271739007337 20359631 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=20359631 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette203596311739007337 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20359621 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20359635,20359636,20359637,20359638,20359639,20359640,20359641,20359642,20359643,20359644,20359645,20359646?tags=papier,Teint_Dans_La_Masse,mal_croppe,plastique,Carton_gris,metal,flou,environnement,Carton_brun,cartonnette,kraft,autre_refus your option no_mail is active, we will not send the real mail to your client args[1334737203] : ('0.0',) no score found for photo 1334737203 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334737133] : ('0.0',) no score found for photo 1334737133 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334737056] : ('0.0',) no score found for photo 1334737056 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736915] : ('0.0',) no score found for photo 1334736915 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736913] : ('0.0',) no score found for photo 1334736913 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736910] : ('0.0',) no score found for photo 1334736910 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736866] : ('0.0',) no score found for photo 1334736866 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736861] : ('0.0',) no score found for photo 1334736861 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736858] : ('0.0',) no score found for photo 1334736858 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736813] : ('0.0',) no score found for photo 1334736813 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736810] : ('0.0',) no score found for photo 1334736810 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736760] : ('0.0',) no score found for photo 1334736760 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736701] : ('0.0',) no score found for photo 1334736701 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736700] : ('0.0',) no score found for photo 1334736700 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736672] : ('0.0',) no score found for photo 1334736672 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736351] : ('0.0',) no score found for photo 1334736351 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736286] : ('0.0',) no score found for photo 1334736286 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736222] : ('0.0',) no score found for photo 1334736222 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736113] : ('0.0',) no score found for photo 1334736113 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334736007] : ('0.0',) no score found for photo 1334736007 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735927] : ('0.0',) no score found for photo 1334735927 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735546] : ('0.0',) no score found for photo 1334735546 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735474] : ('0.0',) no score found for photo 1334735474 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735405] : ('0.0',) no score found for photo 1334735405 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735343] : ('0.0',) no score found for photo 1334735343 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735191] : ('0.0',) no score found for photo 1334735191 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334735055] : ('0.0',) no score found for photo 1334735055 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334734190] : ('0.0',) no score found for photo 1334734190 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733948] : ('0.0',) no score found for photo 1334733948 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733775] : ('0.0',) no score found for photo 1334733775 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733714] : ('0.0',) no score found for photo 1334733714 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733711] : ('0.0',) no score found for photo 1334733711 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733708] : ('0.0',) no score found for photo 1334733708 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733330] : ('0.0',) no score found for photo 1334733330 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733326] : ('0.0',) no score found for photo 1334733326 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733325] : ('0.0',) no score found for photo 1334733325 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733324] : ('0.0',) no score found for photo 1334733324 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733323] : ('0.0',) no score found for photo 1334733323 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733313] : ('0.0',) no score found for photo 1334733313 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733295] : ('0.0',) no score found for photo 1334733295 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733292] : ('0.0',) no score found for photo 1334733292 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733289] : ('0.0',) no score found for photo 1334733289 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733258] : ('0.0',) no score found for photo 1334733258 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733246] : ('0.0',) no score found for photo 1334733246 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733244] : ('0.0',) no score found for photo 1334733244 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733201] : ('0.0',) no score found for photo 1334733201 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733198] : ('0.0',) no score found for photo 1334733198 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733189] : ('0.0',) no score found for photo 1334733189 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733187] : ('0.0',) no score found for photo 1334733187 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733174] : ('0.0',) no score found for photo 1334733174 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334733172] : ('0.0',) no score found for photo 1334733172 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334731857] : ('0.0',) no score found for photo 1334731857 apple ('0.0',) We are sending mail with results at report@fotonower.com args[1334731850] : ('0.0',) no score found for photo 1334731850 apple ('0.0',) We are sending mail with results at report@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20359621 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_P20359621_08-02-2025_10_35_37.pdf results_Auto_P20359621_08-02-2025_10_35_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20359621_08-02-2025_10_35_37.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','20359621','results_Auto_P20359621_08-02-2025_10_35_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20359621_08-02-2025_10_35_37.pdf','pdf','','0.39','0.0') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20359621]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] map_info['map_portfolio_photo'] : {20359621: [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850]} final : False mtd_id 4302 list_pids : [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] 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, '2568584') ('4302', '20359621', '1334737203', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 53 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', '20359621', '1334737203', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584')] time used for this insertion : 0.025221824645996094 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.090228796005249 time spend to save output : 0.025899410247802734 total time spend for step 4 : 6.116128206253052 step5:split_time_score Sat Feb 8 10:35:41 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 : ['20359621'] 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 : [('20359621',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20359621) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1334736858: {'path': 'temp/1739007335_3423454_1334736858_ae8f77948ad82538bae8e3d23d7aa19b.jpg', 'extension': 'jpg'}, 1334736861: {'path': 'temp/1739007335_3423454_1334736861_b08bc7c96823c9f9df36f22f030dff7b.jpg', 'extension': 'jpg'}, 1334736866: {'path': 'temp/1739007335_3423454_1334736866_aa632c05bc1aae9f8ff43e644ccd2c37.jpg', 'extension': 'jpg'}, 1334736910: {'path': 'temp/1739007335_3423454_1334736910_d1f1feae3f08b98dedc3918cbf7d0a2a.jpg', 'extension': 'jpg'}, 1334736913: {'path': 'temp/1739007335_3423454_1334736913_ed2ddafdbee5985201592d3e26626116.jpg', 'extension': 'jpg'}, 1334736915: {'path': 'temp/1739007335_3423454_1334736915_c710716f073b0549060a104e92043b3a.jpg', 'extension': 'jpg'}, 1334737056: {'path': 'temp/1739007335_3423454_1334737056_b342bab1dee2d93cb9832bf90bc1d035.jpg', 'extension': 'jpg'}, 1334737133: {'path': 'temp/1739007335_3423454_1334737133_dccaaff4425fecc8a139912ba41ac99b.jpg', 'extension': 'jpg'}, 1334737203: {'path': 'temp/1739007335_3423454_1334737203_b95dc8fc8e35ec952b728e3389b5cbcb.jpg', 'extension': 'jpg'}, 1334733714: {'path': 'temp/1739007335_3423454_1334733714_5def05ecfe0d64a3f43a432debe09947.jpg', 'extension': 'jpg'}, 1334733775: {'path': 'temp/1739007335_3423454_1334733775_2d05ed0e56ff630d292d587ebdb2f8b7.jpg', 'extension': 'jpg'}, 1334733948: {'path': 'temp/1739007335_3423454_1334733948_1ad92299eb56cd76c33f77d1ce8f8e86.jpg', 'extension': 'jpg'}, 1334734190: {'path': 'temp/1739007335_3423454_1334734190_c587cf89302e390bd1de07b42e8d06c2.jpg', 'extension': 'jpg'}, 1334735055: {'path': 'temp/1739007335_3423454_1334735055_49af1038695521339c9f175462851f39.jpg', 'extension': 'jpg'}, 1334735191: {'path': 'temp/1739007335_3423454_1334735191_4aa5f8648a665a42f044c2674ac50258.jpg', 'extension': 'jpg'}, 1334735343: {'path': 'temp/1739007335_3423454_1334735343_f03a89c0ae3c7aa56f951fe9bb0659be.jpg', 'extension': 'jpg'}, 1334735405: {'path': 'temp/1739007335_3423454_1334735405_f1917ad7ce5b614d83752e0bb841d884.jpg', 'extension': 'jpg'}, 1334735474: {'path': 'temp/1739007335_3423454_1334735474_9100c6788f9ca9a149962f73f4192ee6.jpg', 'extension': 'jpg'}, 1334735546: {'path': 'temp/1739007335_3423454_1334735546_ed421171f8d1a54967e766cb59f4a805.jpg', 'extension': 'jpg'}, 1334735927: {'path': 'temp/1739007335_3423454_1334735927_0975d700d8b32833928cf6b8ae3fd89b.jpg', 'extension': 'jpg'}, 1334733289: {'path': 'temp/1739007335_3423454_1334733289_f5b24a05e8a553413ee68cca564d6da8.jpg', 'extension': 'jpg'}, 1334733292: {'path': 'temp/1739007335_3423454_1334733292_660e158326d3be10c852ae339888c184.jpg', 'extension': 'jpg'}, 1334733295: {'path': 'temp/1739007335_3423454_1334733295_e37a99d1aacf974dd236d6083a1d3c48.jpg', 'extension': 'jpg'}, 1334733313: {'path': 'temp/1739007335_3423454_1334733313_0aa34c283455176f9cfbbdd98d7512b5.jpg', 'extension': 'jpg'}, 1334733323: {'path': 'temp/1739007335_3423454_1334733323_6b6c1c905aa948f794c30bb6842d930d.jpg', 'extension': 'jpg'}, 1334733324: {'path': 'temp/1739007335_3423454_1334733324_5879b681f42e2baf9146e058ea5ddb81.jpg', 'extension': 'jpg'}, 1334733325: {'path': 'temp/1739007335_3423454_1334733325_d51ae34a06260d726df56f38215677dd.jpg', 'extension': 'jpg'}, 1334733326: {'path': 'temp/1739007335_3423454_1334733326_d2f41d41186a60557cd81fe0eab669b4.jpg', 'extension': 'jpg'}, 1334733330: {'path': 'temp/1739007335_3423454_1334733330_40c9c1bf8b890225efb22f3d98ab0137.jpg', 'extension': 'jpg'}, 1334733708: {'path': 'temp/1739007335_3423454_1334733708_85e95d21c9f93ab437fe881cd78135d7.jpg', 'extension': 'jpg'}, 1334733711: {'path': 'temp/1739007335_3423454_1334733711_f5003269cf62858ed7f20e6cc6874c35.jpg', 'extension': 'jpg'}, 1334731850: {'path': 'temp/1739007335_3423454_1334731850_59acc77087c5016c97fd283db3c4f9cb.jpg', 'extension': 'jpg'}, 1334731857: {'path': 'temp/1739007335_3423454_1334731857_12004c2b02e7ddc0a2269d446a3f6f0c.jpg', 'extension': 'jpg'}, 1334733172: {'path': 'temp/1739007335_3423454_1334733172_59ac83d10141f24eee1967030cbfbbfd.jpg', 'extension': 'jpg'}, 1334733174: {'path': 'temp/1739007335_3423454_1334733174_7f1f4c66da7e6ef45a52669d5d3aef80.jpg', 'extension': 'jpg'}, 1334733187: {'path': 'temp/1739007335_3423454_1334733187_375de47f45a6ffa6354edf017c6bfd6a.jpg', 'extension': 'jpg'}, 1334733189: {'path': 'temp/1739007335_3423454_1334733189_fbb888dd51d62f0b72b5347f4c226b94.jpg', 'extension': 'jpg'}, 1334733198: {'path': 'temp/1739007335_3423454_1334733198_055c183f3a6e808a520d64658c899c80.jpg', 'extension': 'jpg'}, 1334733201: {'path': 'temp/1739007335_3423454_1334733201_3ecb374377f71c9586c0e4bed1bb99f8.jpg', 'extension': 'jpg'}, 1334733244: {'path': 'temp/1739007335_3423454_1334733244_764a5edf4acc4faedf7b543d8230b72b.jpg', 'extension': 'jpg'}, 1334733246: {'path': 'temp/1739007335_3423454_1334733246_c15b20052c3584e9cb8432d77e321f06.jpg', 'extension': 'jpg'}, 1334733258: {'path': 'temp/1739007335_3423454_1334733258_a8a1e6a02477f9b46f04b1e268498348.jpg', 'extension': 'jpg'}, 1334736007: {'path': 'temp/1739007335_3423454_1334736007_b3cce5dfcd2992047b7166e9aa5ce97f.jpg', 'extension': 'jpg'}, 1334736113: {'path': 'temp/1739007335_3423454_1334736113_d9dcfe0495f0d3b5cb05101cf8bdd473.jpg', 'extension': 'jpg'}, 1334736222: {'path': 'temp/1739007335_3423454_1334736222_9cc29fecbdaab903aab1916e567fb1d7.jpg', 'extension': 'jpg'}, 1334736286: {'path': 'temp/1739007335_3423454_1334736286_484e49191c9d85929e607e7ad377ad76.jpg', 'extension': 'jpg'}, 1334736351: {'path': 'temp/1739007335_3423454_1334736351_ff74ac28af6962a3417650c34d63cbcf.jpg', 'extension': 'jpg'}, 1334736672: {'path': 'temp/1739007335_3423454_1334736672_2c9e2950150c4ee4fcd3e2b97499f4a0.jpg', 'extension': 'jpg'}, 1334736700: {'path': 'temp/1739007335_3423454_1334736700_3121a4ef9107d49533ae83a33805391e.jpg', 'extension': 'jpg'}, 1334736701: {'path': 'temp/1739007335_3423454_1334736701_2aa2f4911816a17f30cc073634564762.jpg', 'extension': 'jpg'}, 1334736760: {'path': 'temp/1739007335_3423454_1334736760_6f74ab1508738136e941f05ab3496b1d.jpg', 'extension': 'jpg'}, 1334736810: {'path': 'temp/1739007335_3423454_1334736810_178e816e6036f84005f943a88611679a.jpg', 'extension': 'jpg'}, 1334736813: {'path': 'temp/1739007335_3423454_1334736813_e8acb902a048e6b2a9e6aecab3b109a6.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 = 20359621; (('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 = 20359621 group by h (('23', 53),) 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=20359621 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 (20359621) 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 (20359621) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04022025 20359621 Nombre de photos uploadées : 53 / 23040 (0%) 04022025 20359621 Nombre de photos taguées (types de déchets): 0 / 53 (0%) 04022025 20359621 Nombre de photos taguées (volume) : 0 / 53 (0%) [{'photo_id': 1334737203, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/5/b95dc8fc8e35ec952b728e3389b5cbcb.jpg', 'username': None, 'uploaded_at': 1738718103, 'text': 'image_04022025_23_45_04_9135.jpg'}, {'photo_id': 1334737133, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/5/dccaaff4425fecc8a139912ba41ac99b.jpg', 'username': None, 'uploaded_at': 1738718103, 'text': 'image_04022025_23_45_14_10137.jpg'}, {'photo_id': 1334737056, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/5/b342bab1dee2d93cb9832bf90bc1d035.jpg', 'username': None, 'uploaded_at': 1738718103, 'text': 'image_04022025_23_45_44_10136.jpg'}, {'photo_id': 1334736915, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/5/c710716f073b0549060a104e92043b3a.jpg', 'username': None, 'uploaded_at': 1738718068, 'text': 'image_04022025_23_45_54_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00180816650390625 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20359621, '2025-02-04' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1575286,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.03245258331298828 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= 1575286 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20200617, 'dashboard_result_id': 8775824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200617_04-02-2025_08_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20200621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20200622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20200623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20200624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20200625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20200626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20200627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20200628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20200629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20200630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20200631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20200632, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20200932, 'dashboard_result_id': 8775825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200932_04-02-2025_08_46_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20200938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20200939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20200940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20200941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20200942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20200943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20200944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20200945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20200946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20200947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20200948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20200949, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20201187, 'dashboard_result_id': 8775826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20201187_04-02-2025_09_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20201196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20201197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20201198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20201199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20201200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20201201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20201202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20201203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20201204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20201205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20201206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20201207, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20203010, 'dashboard_result_id': 8775827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203010_04-02-2025_09_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20203012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20203023, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20203352, 'dashboard_result_id': 8775828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203352_04-02-2025_10_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20203361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20203369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203372, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20203720, 'dashboard_result_id': 8775829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203720_04-02-2025_10_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20203737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20203739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203740, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20204389, 'dashboard_result_id': 8775830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204389_04-02-2025_10_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20204444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20204445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20204446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20204447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20204448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20204449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20204450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20204451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20204452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20204453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20204454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20204455, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20204996, 'dashboard_result_id': 8775831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204996_04-02-2025_10_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20205052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20205053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20205054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20205055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20205056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20205057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20205058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20205059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20205060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20205061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20205062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20205063, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20205929, 'dashboard_result_id': 8775832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20205929_04-02-2025_11_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20205934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20205935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20205936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20205937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20205938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20205939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20205940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20205941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20205942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20205943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20205944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20205945, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20206399, 'dashboard_result_id': 8775833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206399_04-02-2025_11_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20206406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20206407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20206408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20206409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20206410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20206411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20206412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20206413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20206414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20206415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20206416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20206417, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20206709, 'dashboard_result_id': 8775834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206709_04-02-2025_11_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20206718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20206719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20206720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20206721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20206722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20206723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20206724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20206725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20206726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20206727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20206728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20206729, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20207132, 'dashboard_result_id': 8775835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20207132_04-02-2025_11_50_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20207223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20207224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20207225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20207226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20207227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20207228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20207229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20207230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20207231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20207232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20207233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20207234, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20210404, 'dashboard_result_id': 8775836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210404_04-02-2025_13_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210416, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20210620, 'dashboard_result_id': 8775837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210620_04-02-2025_14_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210633, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20210882, 'dashboard_result_id': 8775838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210882_04-02-2025_14_16_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210901, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20211089, 'dashboard_result_id': 8775839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211089_04-02-2025_14_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20211098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20211099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20211100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20211101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20211102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20211103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20211104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20211105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20211106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20211107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20211108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20211109, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20211676, 'dashboard_result_id': 8775840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211676_04-02-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20211678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20211679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20211680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20211681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20211682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20211683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20211684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20211685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20211686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20211687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20211688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20211689, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20212336, 'dashboard_result_id': 8775841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20212336_04-02-2025_15_03_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20212404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20212406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20212407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20212408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20212409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20212410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20212411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20212412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20212413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20212414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20212415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20212416, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20213225, 'dashboard_result_id': 8775842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213225_04-02-2025_15_19_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20213233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20213234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20213235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20213236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20213237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20213238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20213239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20213240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20213241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20213242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20213243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20213244, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20213877, 'dashboard_result_id': 8775843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213877_04-02-2025_15_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20213957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20213958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20213959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20213960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20213961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20213962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20213963, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20213964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20213965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20213966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20213967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20213968, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20214615, 'dashboard_result_id': 8775844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20214615_04-02-2025_15_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20214622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20214623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20214624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20214625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20214626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20214627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20214628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20214629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20214630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20214631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20214632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20214633, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20215220, 'dashboard_result_id': 8775845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215220_04-02-2025_16_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20215225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20215226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20215227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20215228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20215229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20215230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20215231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20215232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20215233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20215234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20215235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20215236, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20215739, 'dashboard_result_id': 8775846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215739_04-02-2025_16_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20215792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20215793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20215794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20215795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20215796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20215797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20215798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20215799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20215800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20215801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20215802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20215803, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20216292, 'dashboard_result_id': 8775847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20216292_04-02-2025_16_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20216333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20216334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20216335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20216336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20216337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20216338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20216339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20216340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20216341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20216342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20216343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20216344, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20217004, 'dashboard_result_id': 8775848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217004_04-02-2025_16_48_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20217014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20217015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20217016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20217017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20217018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20217019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20217020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20217021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20217022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20217023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20217024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20217025, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20217792, 'dashboard_result_id': 8775849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217792_04-02-2025_17_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20217801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20217802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20217803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20217804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20217805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20217806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20217807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20217808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20217809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20217810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20217811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20217812, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20218534, 'dashboard_result_id': 8775850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218534_04-02-2025_17_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20218538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20218539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20218540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20218541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20218542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20218543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20218544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20218545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20218546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20218547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20218548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20218549, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20218946, 'dashboard_result_id': 8775851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218946_04-02-2025_17_50_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20218979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20218980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20218981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20218982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20218983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20218984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20218985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20218986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20218987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20218988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20218989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20218990, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20220417, 'dashboard_result_id': 8775852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220417_04-02-2025_18_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20220445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20220446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20220447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20220448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20220449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20220450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20220451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20220452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20220453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20220454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20220455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20220456, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20220809, 'dashboard_result_id': 8775853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220809_04-02-2025_18_32_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20220850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20220851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20220852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20220853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20220854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20220855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20220856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20220857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20220858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20220859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20220860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20220861, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20221425, 'dashboard_result_id': 8775854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20221425_04-02-2025_18_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20221515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20221516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20221517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20221518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20221519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20221520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20221521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20221522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20221523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20221524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20221525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20221526, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20222000, 'dashboard_result_id': 8775855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222000_04-02-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20222016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20222017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20222018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20222019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20222020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20222021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20222022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20222023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20222024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20222025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20222026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20222027, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20222746, 'dashboard_result_id': 8775856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222746_04-02-2025_19_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20222815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20222816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20222817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20222818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20222819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20222820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20222821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20222822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20222823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20222824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20222826, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20223512, 'dashboard_result_id': 8775857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20223512_04-02-2025_19_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20223568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20223569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20223570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20223571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20223572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20223573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20223574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20223575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20223576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20223577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20223578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20223579, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20224457, 'dashboard_result_id': 8775858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20224457_04-02-2025_19_46_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20224499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20224500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20224501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20224502, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20224503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20224504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20224505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20224506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20224507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20224508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20224509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20224510, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20225220, 'dashboard_result_id': 8775859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225220_04-02-2025_20_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20225224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20225225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20225226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20225227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20225228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20225229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20225230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20225231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20225232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20225233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20225234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20225235, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20225760, 'dashboard_result_id': 8775860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225760_04-02-2025_20_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20225769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20225770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20225771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20225772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20225773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20225774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20225775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20225776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20225777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20225778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20225779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20225780, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20226944, 'dashboard_result_id': 8775861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226944_04-02-2025_20_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20226951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20226952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20226953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20226954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20226955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20226956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20226957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20226958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20226959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20226960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20226961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20226962, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20226990, 'dashboard_result_id': 8775862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226990_04-02-2025_21_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20226999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20227000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20227001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20227002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20227003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20227004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20227005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20227006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20227007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20227008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20227009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20227010, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20228358, 'dashboard_result_id': 8775863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228358_04-02-2025_21_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20228360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20228361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20228362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20228363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20228364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20228365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20228366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20228367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20228368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20228369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20228370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20228371, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20228641, 'dashboard_result_id': 8775864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228641_04-02-2025_22_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20228645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20228646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20228647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20228648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20228649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20228650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20228651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20228652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20228653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20228654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20228655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20228656, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20229074, 'dashboard_result_id': 8775865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229074_04-02-2025_22_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20229115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20229116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20229117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20229118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20229119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20229120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20229121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20229122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20229123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20229124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20229125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20229126, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20229623, 'dashboard_result_id': 8775866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229623_04-02-2025_22_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20229631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20229632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20229633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20229634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20229635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20229636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20229637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20229638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20229639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20229640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20229641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20229642, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20230358, 'dashboard_result_id': 8775867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20230358_04-02-2025_22_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20230403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20230404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20230405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20230406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20230407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20230408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20230409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20230410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20230411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20230412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20230413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20230414, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20231025, 'dashboard_result_id': 8775868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20231025_04-02-2025_23_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20231034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20231035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20231036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20231037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20231038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20231039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20231040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20231041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20231042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20231043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20231044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20231045, 'pht': 3726}}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20359619, 'dashboard_result_id': 8775869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20359620, 'dashboard_result_id': 8775870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}, {'dashboat_entry_day': 1575286, 'dashboard_run_id': 1596238, 'mtr_portfolio_id': 20359621, 'dashboard_result_id': 8775871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20200617 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 = 20200617 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 = 20200617 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20200617 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 = 20200617 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 = 20200617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200617_04-02-2025_08_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20200617 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200617_04-02-2025_08_19_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20200621, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20200622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20200623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20200624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20200625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20200626, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20200627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20200628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20200629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20200630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20200631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20200632, 'pht': 3726}}" where mtr_portfolio_id = 20200617 and dashboard_run_id = 1596238 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20200932 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': 2543332, 'mtr_portfolio_id': 20200932, 'created_at': datetime.datetime(2025, 2, 4, 8, 46, 30), 'result': '0.05916659667235159', 'result_long': None, 'result_double': None}] Qualite : 0.05916659667235159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20200932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200932_04-02-2025_08_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20200932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200932_04-02-2025_08_46_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20200938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20200939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20200940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20200941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20200942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20200943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20200944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20200945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20200946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20200947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20200948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20200949, 'pht': 3726}}" where mtr_portfolio_id = 20200932 and dashboard_run_id = 1596238 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`=20200932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775825, 0.05916659667235159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20200932_04-02-2025_08_46_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20200938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20200939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20200940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20200941, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20200942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20200943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20200944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20200945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20200946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20200947, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20200948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20200949, '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 = 20201187 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': 2543400, 'mtr_portfolio_id': 20201187, 'created_at': datetime.datetime(2025, 2, 4, 9, 2, 58), 'result': '0.0635840022857794', 'result_long': None, 'result_double': None}] Qualite : 0.0635840022857794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20201187 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20201187_04-02-2025_09_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20201187 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20201187_04-02-2025_09_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20201196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20201197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20201198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20201199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20201200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20201201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20201202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20201203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20201204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20201205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20201206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20201207, 'pht': 3726}}" where mtr_portfolio_id = 20201187 and dashboard_run_id = 1596238 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`=20201187 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775826, 0.0635840022857794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20201187_04-02-2025_09_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20201196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20201197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20201198, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20201199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20201200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20201201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20201202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20201203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20201204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20201205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20201206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20201207, '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 = 20203010 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': 2543749, 'mtr_portfolio_id': 20203010, 'created_at': datetime.datetime(2025, 2, 4, 9, 49, 2), 'result': '0.09337427178253399', 'result_long': None, 'result_double': None}] Qualite : 0.09337427178253399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20203010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203010_04-02-2025_09_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20203010 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203010_04-02-2025_09_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20203012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20203023, 'pht': 3726}}" where mtr_portfolio_id = 20203010 and dashboard_run_id = 1596238 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`=20203010 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775827, 0.09337427178253399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203010_04-02-2025_09_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20203012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203013, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203014, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20203023, '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 = 20203352 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': 2543788, 'mtr_portfolio_id': 20203352, 'created_at': datetime.datetime(2025, 2, 4, 10, 3), 'result': '0.06393767045625236', 'result_long': None, 'result_double': None}] Qualite : 0.06393767045625236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20203352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203352_04-02-2025_10_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20203352 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203352_04-02-2025_10_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20203361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20203369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203372, 'pht': 3726}}" where mtr_portfolio_id = 20203352 and dashboard_run_id = 1596238 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`=20203352 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775828, 0.06393767045625236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203352_04-02-2025_10_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20203361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203364, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20203369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203371, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203372, '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 = 20203720 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': 2543930, 'mtr_portfolio_id': 20203720, 'created_at': datetime.datetime(2025, 2, 4, 10, 18, 58), 'result': '0.03798284246689678', 'result_long': None, 'result_double': None}] Qualite : 0.03798284246689678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20203720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203720_04-02-2025_10_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20203720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203720_04-02-2025_10_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20203737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20203739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203740, 'pht': 3726}}" where mtr_portfolio_id = 20203720 and dashboard_run_id = 1596238 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`=20203720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775829, 0.03798284246689678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20203720_04-02-2025_10_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20203729, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20203730, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20203731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20203732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20203733, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20203734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20203735, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20203736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20203737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20203738, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20203739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20203740, '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 = 20204389 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': 2544078, 'mtr_portfolio_id': 20204389, 'created_at': datetime.datetime(2025, 2, 4, 10, 32, 58), 'result': '0.03919166521860279', 'result_long': None, 'result_double': None}] Qualite : 0.03919166521860279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20204389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204389_04-02-2025_10_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20204389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204389_04-02-2025_10_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20204444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20204445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20204446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20204447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20204448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20204449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20204450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20204451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20204452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20204453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20204454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20204455, 'pht': 3726}}" where mtr_portfolio_id = 20204389 and dashboard_run_id = 1596238 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`=20204389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775830, 0.03919166521860279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204389_04-02-2025_10_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20204444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20204445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20204446, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20204447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20204448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20204449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20204450, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20204451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20204452, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20204453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20204454, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20204455, '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 = 20204996 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': 2544198, 'mtr_portfolio_id': 20204996, 'created_at': datetime.datetime(2025, 2, 4, 10, 46, 59), 'result': '0.04426650733035826', 'result_long': None, 'result_double': None}] Qualite : 0.04426650733035826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20204996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204996_04-02-2025_10_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20204996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204996_04-02-2025_10_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20205052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20205053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20205054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20205055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20205056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20205057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20205058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20205059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20205060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20205061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20205062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20205063, 'pht': 3726}}" where mtr_portfolio_id = 20204996 and dashboard_run_id = 1596238 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`=20204996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775831, 0.04426650733035826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20204996_04-02-2025_10_47_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20205052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20205053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20205054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20205055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20205056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20205057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20205058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20205059, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20205060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20205061, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20205062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20205063, '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 = 20205929 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': 2544312, 'mtr_portfolio_id': 20205929, 'created_at': datetime.datetime(2025, 2, 4, 11, 2, 58), 'result': '0.04488027930434235', 'result_long': None, 'result_double': None}] Qualite : 0.04488027930434235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20205929 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20205929_04-02-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20205929 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20205929_04-02-2025_11_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20205934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20205935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20205936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20205937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20205938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20205939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20205940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20205941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20205942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20205943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20205944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20205945, 'pht': 3726}}" where mtr_portfolio_id = 20205929 and dashboard_run_id = 1596238 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`=20205929 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775832, 0.04488027930434235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20205929_04-02-2025_11_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20205934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20205935, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20205936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20205937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20205938, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20205939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20205940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20205941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20205942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20205943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20205944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20205945, '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 = 20206399 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 = 20206399 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 = 20206399 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20206399 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 = 20206399 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 = 20206399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206399_04-02-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20206399 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206399_04-02-2025_11_16_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20206406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20206407, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20206408, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20206409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20206410, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20206411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20206412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20206413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20206414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20206415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20206416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20206417, 'pht': 3726}}" where mtr_portfolio_id = 20206399 and dashboard_run_id = 1596238 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20206709 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': 2544468, 'mtr_portfolio_id': 20206709, 'created_at': datetime.datetime(2025, 2, 4, 11, 33), 'result': '0.04108067827319418', 'result_long': None, 'result_double': None}] Qualite : 0.04108067827319418 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20206709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206709_04-02-2025_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20206709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206709_04-02-2025_11_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20206718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20206719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20206720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20206721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20206722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20206723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20206724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20206725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20206726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20206727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20206728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20206729, 'pht': 3726}}" where mtr_portfolio_id = 20206709 and dashboard_run_id = 1596238 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`=20206709 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775834, 0.04108067827319418, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20206709_04-02-2025_11_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20206718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20206719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20206720, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20206721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20206722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20206723, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20206724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20206725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20206726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20206727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20206728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20206729, '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 = 20207132 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': 2544603, 'mtr_portfolio_id': 20207132, 'created_at': datetime.datetime(2025, 2, 4, 11, 50, 30), 'result': '0.032070021769827595', 'result_long': None, 'result_double': None}] Qualite : 0.032070021769827595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20207132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20207132_04-02-2025_11_50_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20207132 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20207132_04-02-2025_11_50_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20207223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20207224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20207225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20207226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20207227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20207228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20207229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20207230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20207231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20207232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20207233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20207234, 'pht': 3726}}" where mtr_portfolio_id = 20207132 and dashboard_run_id = 1596238 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`=20207132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775835, 0.032070021769827595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20207132_04-02-2025_11_50_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20207223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20207224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20207225, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20207226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20207227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20207228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20207229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20207230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20207231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20207232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20207233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20207234, '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 = 20210404 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': 2545019, 'mtr_portfolio_id': 20210404, 'created_at': datetime.datetime(2025, 2, 4, 13, 49), 'result': '0.03843257297422166', 'result_long': None, 'result_double': None}] Qualite : 0.03843257297422166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20210404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210404_04-02-2025_13_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20210404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210404_04-02-2025_13_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210416, 'pht': 3726}}" where mtr_portfolio_id = 20210404 and dashboard_run_id = 1596238 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`=20210404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775836, 0.03843257297422166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210404_04-02-2025_13_49_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210408, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210412, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210416, '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 = 20210620 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': 2545042, 'mtr_portfolio_id': 20210620, 'created_at': datetime.datetime(2025, 2, 4, 14, 2, 59), 'result': '0.03889481833300162', 'result_long': None, 'result_double': None}] Qualite : 0.03889481833300162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20210620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210620_04-02-2025_14_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20210620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210620_04-02-2025_14_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210633, 'pht': 3726}}" where mtr_portfolio_id = 20210620 and dashboard_run_id = 1596238 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`=20210620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775837, 0.03889481833300162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210620_04-02-2025_14_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210623, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210633, '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 = 20210882 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': 2545078, 'mtr_portfolio_id': 20210882, 'created_at': datetime.datetime(2025, 2, 4, 14, 16, 31), 'result': '0.10240062902150908', 'result_long': None, 'result_double': None}] Qualite : 0.10240062902150908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20210882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210882_04-02-2025_14_16_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20210882 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210882_04-02-2025_14_16_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210901, 'pht': 3726}}" where mtr_portfolio_id = 20210882 and dashboard_run_id = 1596238 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`=20210882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775838, 0.10240062902150908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20210882_04-02-2025_14_16_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20210890, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20210891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20210892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20210893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20210894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20210895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20210896, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20210897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20210898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20210899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20210900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20210901, '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 = 20211089 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': 2545158, 'mtr_portfolio_id': 20211089, 'created_at': datetime.datetime(2025, 2, 4, 14, 32, 57), 'result': '0.053707048311202495', 'result_long': None, 'result_double': None}] Qualite : 0.053707048311202495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20211089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211089_04-02-2025_14_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20211089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211089_04-02-2025_14_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20211098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20211099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20211100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20211101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20211102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20211103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20211104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20211105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20211106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20211107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20211108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20211109, 'pht': 3726}}" where mtr_portfolio_id = 20211089 and dashboard_run_id = 1596238 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`=20211089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775839, 0.053707048311202495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211089_04-02-2025_14_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20211098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20211099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20211100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20211101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20211102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20211103, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20211104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20211105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20211106, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20211107, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20211108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20211109, '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 = 20211676 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': 2545329, 'mtr_portfolio_id': 20211676, 'created_at': datetime.datetime(2025, 2, 4, 14, 46, 58), 'result': '0.04127843289012307', 'result_long': None, 'result_double': None}] Qualite : 0.04127843289012307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20211676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211676_04-02-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20211676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211676_04-02-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20211678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20211679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20211680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20211681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20211682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20211683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20211684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20211685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20211686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20211687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20211688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20211689, 'pht': 3726}}" where mtr_portfolio_id = 20211676 and dashboard_run_id = 1596238 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`=20211676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775840, 0.04127843289012307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20211676_04-02-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20211678, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20211679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20211680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20211681, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20211682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20211683, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20211684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20211685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20211686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20211687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20211688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20211689, '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 = 20212336 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': 2545419, 'mtr_portfolio_id': 20212336, 'created_at': datetime.datetime(2025, 2, 4, 15, 3, 2), 'result': '0.05705715123471774', 'result_long': None, 'result_double': None}] Qualite : 0.05705715123471774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20212336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20212336_04-02-2025_15_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20212336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20212336_04-02-2025_15_03_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20212404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20212406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20212407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20212408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20212409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20212410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20212411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20212412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20212413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20212414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20212415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20212416, 'pht': 3726}}" where mtr_portfolio_id = 20212336 and dashboard_run_id = 1596238 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`=20212336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775841, 0.05705715123471774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20212336_04-02-2025_15_03_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20212404, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20212406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20212407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20212408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20212409, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20212410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20212411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20212412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20212413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20212414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20212415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20212416, '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 = 20213225 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': 2545558, 'mtr_portfolio_id': 20213225, 'created_at': datetime.datetime(2025, 2, 4, 15, 19, 5), 'result': '0.05344258298077514', 'result_long': None, 'result_double': None}] Qualite : 0.05344258298077514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20213225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213225_04-02-2025_15_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20213225 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213225_04-02-2025_15_19_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20213233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20213234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20213235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20213236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20213237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20213238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20213239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20213240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20213241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20213242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20213243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20213244, 'pht': 3726}}" where mtr_portfolio_id = 20213225 and dashboard_run_id = 1596238 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`=20213225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775842, 0.05344258298077514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213225_04-02-2025_15_19_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20213233, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20213234, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20213235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20213236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20213237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20213238, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20213239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20213240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20213241, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20213242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20213243, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20213244, '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 = 20213877 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': 2545633, 'mtr_portfolio_id': 20213877, 'created_at': datetime.datetime(2025, 2, 4, 15, 33, 2), 'result': '0.06666851618069478', 'result_long': None, 'result_double': None}] Qualite : 0.06666851618069478 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20213877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213877_04-02-2025_15_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20213877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213877_04-02-2025_15_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20213957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20213958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20213959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20213960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20213961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20213962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20213963, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20213964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20213965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20213966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20213967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20213968, 'pht': 3726}}" where mtr_portfolio_id = 20213877 and dashboard_run_id = 1596238 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`=20213877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775843, 0.06666851618069478, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20213877_04-02-2025_15_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20213957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20213958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20213959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20213960, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20213961, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20213962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20213963, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20213964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20213965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20213966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20213967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20213968, '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 = 20214615 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': 2545685, 'mtr_portfolio_id': 20214615, 'created_at': datetime.datetime(2025, 2, 4, 15, 46, 59), 'result': '0.037335801129740304', 'result_long': None, 'result_double': None}] Qualite : 0.037335801129740304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20214615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20214615_04-02-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20214615 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20214615_04-02-2025_15_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20214622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20214623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20214624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20214625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20214626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20214627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20214628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20214629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20214630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20214631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20214632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20214633, 'pht': 3726}}" where mtr_portfolio_id = 20214615 and dashboard_run_id = 1596238 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`=20214615 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775844, 0.037335801129740304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20214615_04-02-2025_15_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20214622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20214623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20214624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20214625, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20214626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20214627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20214628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20214629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20214630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20214631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20214632, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20214633, '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 = 20215220 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': 2545738, 'mtr_portfolio_id': 20215220, 'created_at': datetime.datetime(2025, 2, 4, 16, 2, 59), 'result': '0.04466626224677005', 'result_long': None, 'result_double': None}] Qualite : 0.04466626224677005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20215220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215220_04-02-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20215220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215220_04-02-2025_16_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20215225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20215226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20215227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20215228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20215229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20215230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20215231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20215232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20215233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20215234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20215235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20215236, 'pht': 3726}}" where mtr_portfolio_id = 20215220 and dashboard_run_id = 1596238 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`=20215220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775845, 0.04466626224677005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215220_04-02-2025_16_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20215225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20215226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20215227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20215228, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20215229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20215230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20215231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20215232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20215233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20215234, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20215235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20215236, '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 = 20215739 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': 2545870, 'mtr_portfolio_id': 20215739, 'created_at': datetime.datetime(2025, 2, 4, 16, 18, 58), 'result': '0.03969955624109504', 'result_long': None, 'result_double': None}] Qualite : 0.03969955624109504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20215739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215739_04-02-2025_16_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20215739 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215739_04-02-2025_16_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20215792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20215793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20215794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20215795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20215796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20215797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20215798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20215799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20215800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20215801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20215802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20215803, 'pht': 3726}}" where mtr_portfolio_id = 20215739 and dashboard_run_id = 1596238 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`=20215739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775846, 0.03969955624109504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20215739_04-02-2025_16_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20215792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20215793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20215794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20215795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20215796, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20215797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20215798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20215799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20215800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20215801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20215802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20215803, '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 = 20216292 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': 2546009, 'mtr_portfolio_id': 20216292, 'created_at': datetime.datetime(2025, 2, 4, 16, 32, 59), 'result': '0.03426208288726555', 'result_long': None, 'result_double': None}] Qualite : 0.03426208288726555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20216292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20216292_04-02-2025_16_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20216292 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20216292_04-02-2025_16_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20216333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20216334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20216335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20216336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20216337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20216338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20216339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20216340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20216341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20216342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20216343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20216344, 'pht': 3726}}" where mtr_portfolio_id = 20216292 and dashboard_run_id = 1596238 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`=20216292 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775847, 0.03426208288726555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20216292_04-02-2025_16_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20216333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20216334, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20216335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20216336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20216337, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20216338, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20216339, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20216340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20216341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20216342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20216343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20216344, '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 = 20217004 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': 2546154, 'mtr_portfolio_id': 20217004, 'created_at': datetime.datetime(2025, 2, 4, 16, 48, 29), 'result': '0.04381054829015026', 'result_long': None, 'result_double': None}] Qualite : 0.04381054829015026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20217004 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217004_04-02-2025_16_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20217004 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217004_04-02-2025_16_48_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20217014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20217015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20217016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20217017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20217018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20217019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20217020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20217021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20217022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20217023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20217024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20217025, 'pht': 3726}}" where mtr_portfolio_id = 20217004 and dashboard_run_id = 1596238 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`=20217004 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775848, 0.04381054829015026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217004_04-02-2025_16_48_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20217014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20217015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20217016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20217017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20217018, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20217019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20217020, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20217021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20217022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20217023, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20217024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20217025, '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 = 20217792 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': 2546293, 'mtr_portfolio_id': 20217792, 'created_at': datetime.datetime(2025, 2, 4, 17, 4, 59), 'result': '0.04919631100370392', 'result_long': None, 'result_double': None}] Qualite : 0.04919631100370392 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20217792 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217792_04-02-2025_17_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20217792 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217792_04-02-2025_17_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20217801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20217802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20217803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20217804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20217805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20217806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20217807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20217808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20217809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20217810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20217811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20217812, 'pht': 3726}}" where mtr_portfolio_id = 20217792 and dashboard_run_id = 1596238 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`=20217792 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775849, 0.04919631100370392, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20217792_04-02-2025_17_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20217801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20217802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20217803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20217804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20217805, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20217806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20217807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20217808, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20217809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20217810, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20217811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20217812, '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 = 20218534 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': 2546358, 'mtr_portfolio_id': 20218534, 'created_at': datetime.datetime(2025, 2, 4, 17, 16, 58), 'result': '0.04513547917510593', 'result_long': None, 'result_double': None}] Qualite : 0.04513547917510593 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20218534 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218534_04-02-2025_17_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20218534 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218534_04-02-2025_17_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20218538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20218539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20218540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20218541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20218542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20218543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20218544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20218545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20218546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20218547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20218548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20218549, 'pht': 3726}}" where mtr_portfolio_id = 20218534 and dashboard_run_id = 1596238 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`=20218534 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775850, 0.04513547917510593, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218534_04-02-2025_17_16_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20218538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20218539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20218540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20218541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20218542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20218543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20218544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20218545, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20218546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20218547, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20218548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20218549, '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 = 20218946 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': 2546408, 'mtr_portfolio_id': 20218946, 'created_at': datetime.datetime(2025, 2, 4, 17, 50, 31), 'result': '0.03845835826924127', 'result_long': None, 'result_double': None}] Qualite : 0.03845835826924127 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20218946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218946_04-02-2025_17_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20218946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218946_04-02-2025_17_50_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20218979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20218980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20218981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20218982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20218983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20218984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20218985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20218986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20218987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20218988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20218989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20218990, 'pht': 3726}}" where mtr_portfolio_id = 20218946 and dashboard_run_id = 1596238 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`=20218946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775851, 0.03845835826924127, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20218946_04-02-2025_17_50_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20218979, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20218980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20218981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20218982, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20218983, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20218984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20218985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20218986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20218987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20218988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20218989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20218990, '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 = 20220417 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': 2546568, 'mtr_portfolio_id': 20220417, 'created_at': datetime.datetime(2025, 2, 4, 18, 16, 30), 'result': '0.020368892525314826', 'result_long': None, 'result_double': None}] Qualite : 0.020368892525314826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20220417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220417_04-02-2025_18_16_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20220417 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220417_04-02-2025_18_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20220445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20220446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20220447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20220448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20220449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20220450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20220451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20220452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20220453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20220454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20220455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20220456, 'pht': 3726}}" where mtr_portfolio_id = 20220417 and dashboard_run_id = 1596238 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`=20220417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775852, 0.020368892525314826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220417_04-02-2025_18_16_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20220445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20220446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20220447, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20220448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20220449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20220450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20220451, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20220452, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20220453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20220454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20220455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20220456, '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 = 20220809 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': 2546592, 'mtr_portfolio_id': 20220809, 'created_at': datetime.datetime(2025, 2, 4, 18, 32, 29), 'result': '0.05601854052192548', 'result_long': None, 'result_double': None}] Qualite : 0.05601854052192548 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20220809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220809_04-02-2025_18_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20220809 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220809_04-02-2025_18_32_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20220850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20220851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20220852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20220853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20220854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20220855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20220856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20220857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20220858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20220859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20220860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20220861, 'pht': 3726}}" where mtr_portfolio_id = 20220809 and dashboard_run_id = 1596238 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`=20220809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775853, 0.05601854052192548, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20220809_04-02-2025_18_32_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20220850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20220851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20220852, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20220853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20220854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20220855, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20220856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20220857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20220858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20220859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20220860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20220861, '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 = 20221425 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': 2546672, 'mtr_portfolio_id': 20221425, 'created_at': datetime.datetime(2025, 2, 4, 18, 49), 'result': '0.04940695978021586', 'result_long': None, 'result_double': None}] Qualite : 0.04940695978021586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20221425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20221425_04-02-2025_18_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20221425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20221425_04-02-2025_18_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20221515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20221516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20221517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20221518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20221519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20221520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20221521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20221522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20221523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20221524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20221525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20221526, 'pht': 3726}}" where mtr_portfolio_id = 20221425 and dashboard_run_id = 1596238 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`=20221425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775854, 0.04940695978021586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20221425_04-02-2025_18_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20221515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20221516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20221517, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20221518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20221519, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20221520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20221521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20221522, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20221523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20221524, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20221525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20221526, '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 = 20222000 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': 2546739, 'mtr_portfolio_id': 20222000, 'created_at': datetime.datetime(2025, 2, 4, 19, 2, 59), 'result': '0.051020148178206416', 'result_long': None, 'result_double': None}] Qualite : 0.051020148178206416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20222000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222000_04-02-2025_19_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20222000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222000_04-02-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20222016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20222017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20222018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20222019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20222020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20222021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20222022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20222023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20222024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20222025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20222026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20222027, 'pht': 3726}}" where mtr_portfolio_id = 20222000 and dashboard_run_id = 1596238 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`=20222000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775855, 0.051020148178206416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222000_04-02-2025_19_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20222016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20222017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20222018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20222019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20222020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20222021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20222022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20222023, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20222024, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20222025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20222026, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20222027, '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 = 20222746 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': 2546890, 'mtr_portfolio_id': 20222746, 'created_at': datetime.datetime(2025, 2, 4, 19, 16, 57), 'result': '0.06140528025411868', 'result_long': None, 'result_double': None}] Qualite : 0.06140528025411868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20222746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222746_04-02-2025_19_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20222746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222746_04-02-2025_19_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20222815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20222816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20222817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20222818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20222819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20222820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20222821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20222822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20222823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20222824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20222826, 'pht': 3726}}" where mtr_portfolio_id = 20222746 and dashboard_run_id = 1596238 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`=20222746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775856, 0.06140528025411868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20222746_04-02-2025_19_16_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20222815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20222816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20222817, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20222818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20222819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20222820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20222821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20222822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20222823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20222824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20222825, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20222826, '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 = 20223512 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': 2547017, 'mtr_portfolio_id': 20223512, 'created_at': datetime.datetime(2025, 2, 4, 19, 33), 'result': '0.04283688118345528', 'result_long': None, 'result_double': None}] Qualite : 0.04283688118345528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20223512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20223512_04-02-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20223512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20223512_04-02-2025_19_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20223568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20223569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20223570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20223571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20223572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20223573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20223574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20223575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20223576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20223577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20223578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20223579, 'pht': 3726}}" where mtr_portfolio_id = 20223512 and dashboard_run_id = 1596238 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`=20223512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775857, 0.04283688118345528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20223512_04-02-2025_19_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20223568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20223569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20223570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20223571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20223572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20223573, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20223574, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20223575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20223576, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20223577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20223578, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20223579, '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 = 20224457 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': 2547090, 'mtr_portfolio_id': 20224457, 'created_at': datetime.datetime(2025, 2, 4, 19, 46, 56), 'result': '0.06538809418647462', 'result_long': None, 'result_double': None}] Qualite : 0.06538809418647462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20224457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20224457_04-02-2025_19_46_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20224457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20224457_04-02-2025_19_46_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20224499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20224500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20224501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20224502, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20224503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20224504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20224505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20224506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20224507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20224508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20224509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20224510, 'pht': 3726}}" where mtr_portfolio_id = 20224457 and dashboard_run_id = 1596238 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`=20224457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775858, 0.06538809418647462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20224457_04-02-2025_19_46_56.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20224499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20224500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20224501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20224502, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20224503, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20224504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20224505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20224506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20224507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20224508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20224509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20224510, '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 = 20225220 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': 2547139, 'mtr_portfolio_id': 20225220, 'created_at': datetime.datetime(2025, 2, 4, 20, 2, 58), 'result': '0.044674668040750154', 'result_long': None, 'result_double': None}] Qualite : 0.044674668040750154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20225220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225220_04-02-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20225220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225220_04-02-2025_20_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20225224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20225225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20225226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20225227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20225228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20225229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20225230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20225231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20225232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20225233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20225234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20225235, 'pht': 3726}}" where mtr_portfolio_id = 20225220 and dashboard_run_id = 1596238 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`=20225220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775859, 0.044674668040750154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225220_04-02-2025_20_02_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20225224, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20225225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20225226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20225227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20225228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20225229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20225230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20225231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20225232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20225233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20225234, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20225235, '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 = 20225760 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': 2547196, 'mtr_portfolio_id': 20225760, 'created_at': datetime.datetime(2025, 2, 4, 20, 16, 57), 'result': '0.054689581535175', 'result_long': None, 'result_double': None}] Qualite : 0.054689581535175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20225760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225760_04-02-2025_20_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20225760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225760_04-02-2025_20_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20225769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20225770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20225771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20225772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20225773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20225774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20225775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20225776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20225777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20225778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20225779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20225780, 'pht': 3726}}" where mtr_portfolio_id = 20225760 and dashboard_run_id = 1596238 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`=20225760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775860, 0.054689581535175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20225760_04-02-2025_20_16_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20225769, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20225770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20225771, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20225772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20225773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20225774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20225775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20225776, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20225777, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20225778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20225779, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20225780, '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 = 20226944 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': 2547291, 'mtr_portfolio_id': 20226944, 'created_at': datetime.datetime(2025, 2, 4, 20, 32, 59), 'result': '0.04726836040860561', 'result_long': None, 'result_double': None}] Qualite : 0.04726836040860561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20226944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226944_04-02-2025_20_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20226944 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226944_04-02-2025_20_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20226951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20226952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20226953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20226954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20226955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20226956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20226957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20226958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20226959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20226960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20226961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20226962, 'pht': 3726}}" where mtr_portfolio_id = 20226944 and dashboard_run_id = 1596238 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`=20226944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775861, 0.04726836040860561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226944_04-02-2025_20_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20226951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20226952, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20226953, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20226954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20226955, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20226956, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20226957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20226958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20226959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20226960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20226961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20226962, '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 = 20226990 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': 2547302, 'mtr_portfolio_id': 20226990, 'created_at': datetime.datetime(2025, 2, 4, 21, 3, 1), 'result': '0.04886923428151959', 'result_long': None, 'result_double': None}] Qualite : 0.04886923428151959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20226990 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226990_04-02-2025_21_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20226990 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226990_04-02-2025_21_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20226999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20227000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20227001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20227002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20227003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20227004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20227005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20227006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20227007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20227008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20227009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20227010, 'pht': 3726}}" where mtr_portfolio_id = 20226990 and dashboard_run_id = 1596238 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`=20226990 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775862, 0.04886923428151959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20226990_04-02-2025_21_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20226999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20227000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20227001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20227002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20227003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20227004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20227005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20227006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20227007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20227008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20227009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20227010, '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 = 20228358 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': 2547450, 'mtr_portfolio_id': 20228358, 'created_at': datetime.datetime(2025, 2, 4, 21, 46, 30), 'result': '0.07426422700914743', 'result_long': None, 'result_double': None}] Qualite : 0.07426422700914743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20228358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228358_04-02-2025_21_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20228358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228358_04-02-2025_21_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20228360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20228361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20228362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20228363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20228364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20228365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20228366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20228367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20228368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20228369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20228370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20228371, 'pht': 3726}}" where mtr_portfolio_id = 20228358 and dashboard_run_id = 1596238 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`=20228358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775863, 0.07426422700914743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228358_04-02-2025_21_46_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20228360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20228361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20228362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20228363, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20228364, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20228365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20228366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20228367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20228368, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20228369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20228370, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20228371, '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 = 20228641 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': 2547467, 'mtr_portfolio_id': 20228641, 'created_at': datetime.datetime(2025, 2, 4, 22, 3), 'result': '0.04859038435192075', 'result_long': None, 'result_double': None}] Qualite : 0.04859038435192075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20228641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228641_04-02-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20228641 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228641_04-02-2025_22_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20228645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20228646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20228647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20228648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20228649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20228650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20228651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20228652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20228653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20228654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20228655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20228656, 'pht': 3726}}" where mtr_portfolio_id = 20228641 and dashboard_run_id = 1596238 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`=20228641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775864, 0.04859038435192075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20228641_04-02-2025_22_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20228645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20228646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20228647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20228648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20228649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20228650, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20228651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20228652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20228653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20228654, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20228655, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20228656, '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 = 20229074 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': 2547560, 'mtr_portfolio_id': 20229074, 'created_at': datetime.datetime(2025, 2, 4, 22, 18, 58), 'result': '0.05440618296793001', 'result_long': None, 'result_double': None}] Qualite : 0.05440618296793001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20229074 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229074_04-02-2025_22_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20229074 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229074_04-02-2025_22_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20229115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20229116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20229117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20229118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20229119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20229120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20229121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20229122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20229123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20229124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20229125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20229126, 'pht': 3726}}" where mtr_portfolio_id = 20229074 and dashboard_run_id = 1596238 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`=20229074 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775865, 0.05440618296793001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229074_04-02-2025_22_18_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20229115, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20229116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20229117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20229118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20229119, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20229120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20229121, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20229122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20229123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20229124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20229125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20229126, '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 = 20229623 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': 2547635, 'mtr_portfolio_id': 20229623, 'created_at': datetime.datetime(2025, 2, 4, 22, 32, 59), 'result': '0.05637617296749027', 'result_long': None, 'result_double': None}] Qualite : 0.05637617296749027 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20229623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229623_04-02-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20229623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229623_04-02-2025_22_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20229631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20229632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20229633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20229634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20229635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20229636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20229637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20229638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20229639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20229640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20229641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20229642, 'pht': 3726}}" where mtr_portfolio_id = 20229623 and dashboard_run_id = 1596238 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`=20229623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775866, 0.05637617296749027, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20229623_04-02-2025_22_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20229631, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20229632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20229633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20229634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20229635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20229636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20229637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20229638, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20229639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20229640, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20229641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20229642, '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 = 20230358 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': 2547685, 'mtr_portfolio_id': 20230358, 'created_at': datetime.datetime(2025, 2, 4, 22, 49), 'result': '0.03557061406784582', 'result_long': None, 'result_double': None}] Qualite : 0.03557061406784582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20230358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20230358_04-02-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20230358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20230358_04-02-2025_22_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20230403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20230404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20230405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20230406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20230407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20230408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20230409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20230410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20230411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20230412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20230413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20230414, 'pht': 3726}}" where mtr_portfolio_id = 20230358 and dashboard_run_id = 1596238 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`=20230358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775867, 0.03557061406784582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20230358_04-02-2025_22_49_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20230403, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20230404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20230405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20230406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20230407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20230408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20230409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20230410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20230411, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20230412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20230413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20230414, '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 = 20231025 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': 2547759, 'mtr_portfolio_id': 20231025, 'created_at': datetime.datetime(2025, 2, 4, 23, 0, 32), 'result': '0.05299331153044125', 'result_long': None, 'result_double': None}] Qualite : 0.05299331153044125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20231025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20231025_04-02-2025_23_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20231025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20231025_04-02-2025_23_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20231034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20231035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20231036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20231037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20231038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20231039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20231040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20231041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20231042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20231043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20231044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20231045, 'pht': 3726}}" where mtr_portfolio_id = 20231025 and dashboard_run_id = 1596238 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`=20231025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8775868, 0.05299331153044125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20231025_04-02-2025_23_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20231034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20231035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20231036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20231037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20231038, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20231039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20231040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20231041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20231042, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20231043, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20231044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20231045, '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 = 20359619 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 = 20359619 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20359619 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20359619%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20359619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20359619 and dashboard_run_id = 1596238 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20359620 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 = 20359620 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20359620 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%20359620%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20359620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 20359620 and dashboard_run_id = 1596238 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20359621 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 = 20359621 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 = 20359621 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20359621 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 = 20359621 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 = 20359621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20359621_08-02-2025_10_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20359621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20359621_08-02-2025_10_35_37.pdf'}" where mtr_portfolio_id = 20359621 and dashboard_run_id = 1596238 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20200617,20200932,20201187,20203010,20203352,20203720,20204389,20204996,20205929,20206399,20206709,20207132,20210404,20210620,20210882,20211089,20211676,20212336,20213225,20213877,20214615,20215220,20215739,20216292,20217004,20217792,20218534,20218946,20220417,20220809,20221425,20222000,20222746,20223512,20224457,20225220,20225760,20226944,20226990,20228358,20228641,20229074,20229623,20230358,20231025,20359619,20359620,20359621) result : ((1334473326,), (1334475174,), (1334475240,), (1334475242,), (1334475488,), (1334475520,), (1334475522,), (1334475853,), (1334475854,), (1334476101,), (1334478915,), (1334478992,), (1334479567,), (1334479660,), (1334479681,), (1334479683,), (1334479684,), (1334479785,), (1334479787,), (1334480237,), (1334480238,), (1334480241,), (1334480274,), (1334480276,), (1334480286,), (1334481238,), (1334481239,), (1334481273,), (1334481289,), (1334481902,), (1334481918,), (1334481945,), (1334482053,), (1334482055,), (1334482058,), (1334482062,), (1334482065,), (1334482099,), (1334482100,), (1334482103,), (1334482106,), (1334482261,), (1334482262,), (1334482266,), (1334482290,), (1334482310,), (1334482358,), (1334482359,), (1334482398,), (1334482401,), (1334482404,), (1334482407,), (1334482411,), (1334482468,), (1334482457,), (1334482458,), (1334482461,), (1334482685,), (1334482687,), (1334482691,), (1334482695,), (1334482720,), (1334482731,), (1334482738,), (1334483203,), (1334483209,), (1334483213,), (1334483215,), (1334483218,), (1334483254,), (1334483255,), (1334483391,), (1334483408,), (1334483410,), (1334483446,), (1334483449,), (1334483453,), (1334483786,), (1334483787,), (1334483790,), (1334483792,), (1334483844,), (1334483847,), (1334483851,), (1334483855,), (1334483858,), (1334483888,), (1334483891,), (1334483894,), (1334483954,), (1334484183,), (1334484289,), (1334484292,), (1334484295,), (1334484349,), (1334484351,), (1334484354,), (1334484357,), (1334484359,), (1334484363,), (1334484577,), (1334484581,), (1334484586,), (1334484590,), (1334484593,), (1334484622,), (1334484624,), (1334484627,), (1334484630,), (1334484924,), (1334484928,), (1334484934,), (1334484948,), (1334484955,), (1334484962,), (1334484964,), (1334484967,), (1334484988,), (1334495295,), (1334495652,), (1334495655,), (1334495658,), (1334495720,), (1334495725,), (1334495728,), (1334495731,), (1334495775,), (1334495803,), (1334495805,), (1334495839,), (1334495844,), (1334495848,), (1334495852,), (1334495858,), (1334495898,), (1334495913,), (1334495950,), (1334496937,), (1334496964,), (1334496969,), (1334496974,), (1334496978,), (1334497023,), (1334497025,), (1334497077,), (1334497413,), (1334497420,), (1334497423,), (1334497426,), (1334497430,), (1334497448,), (1334497451,), (1334497452,), (1334497456,), (1334497585,), (1334497625,), (1334497632,), (1334497636,), (1334497674,), (1334497677,), (1334497959,), (1334497962,), (1334497965,), (1334497968,), (1334497972,), (1334498137,), (1334498145,), (1334498152,), (1334498291,), (1334498273,), (1334498277,), (1334498282,), (1334498285,), (1334499055,), (1334499108,), (1334499251,), (1334499299,), (1334499633,), (1334499635,), (1334499638,), (1334499643,), (1334499645,), (1334499960,), (1334499964,), (1334500230,), (1334500238,), (1334500241,), (1334500244,), (1334500248,), (1334500566,), (1334500570,), (1334500572,), (1334500582,), (1334500662,), (1334500773,), (1334500776,), (1334500779,), (1334500782,), (1334500814,), (1334500819,), (1334500821,), (1334500922,), (1334500923,), (1334500925,), (1334500927,), (1334500929,), (1334500936,), (1334500985,), (1334500987,), (1334500990,), (1334500996,), (1334501001,), (1334501141,), (1334501150,), (1334501154,), (1334501157,), (1334501161,), (1334501247,), (1334501250,), (1334501254,), (1334501275,), (1334501354,), (1334501357,), (1334501360,), (1334501362,), (1334501365,), (1334501494,), (1334501500,), (1334501505,), (1334501665,), (1334501636,), (1334501638,), (1334501649,), (1334501660,), (1334501694,), (1334501698,), (1334501703,), (1334502611,), (1334502696,), (1334502781,), (1334502784,), (1334502790,), (1334502819,), (1334502821,), (1334502824,), (1334502828,), (1334502905,), (1334502973,), (1334503188,), (1334503194,), (1334503198,), (1334503201,), (1334503203,), (1334503447,), (1334503450,), (1334503455,), (1334503459,), (1334503462,), (1334504363,), (1334504427,), (1334504499,), (1334504586,), (1334504674,), (1334504679,), (1334504974,), (1334505036,), (1334505098,), (1334506051,), (1334506053,), (1334506063,), (1334506070,), (1334506083,), (1334506115,), (1334506602,), (1334506604,), (1334506609,), (1334506674,), (1334506678,), (1334506687,), (1334507058,), (1334507062,), (1334507066,), (1334507070,), (1334507615,), (1334507696,), (1334507780,), (1334507868,), (1334507951,), (1334507999,), (1334508254,), (1334508257,), (1334508275,), (1334508277,), (1334508298,), (1334508299,), (1334508714,), (1334508717,), (1334508803,), (1334509104,), (1334509106,), (1334509108,), (1334509458,), (1334509445,), (1334509446,), (1334509449,), (1334509452,), (1334509455,), (1334509785,), (1334509897,), (1334510037,), (1334510787,), (1334510788,), (1334510791,), (1334510794,), (1334510796,), (1334511153,), (1334511155,), (1334511180,), (1334511182,), (1334511419,), (1334511422,), (1334511427,), (1334511430,), (1334511431,), (1334511758,), (1334511760,), (1334511840,), (1334512520,), (1334512523,), (1334512527,), (1334512555,), (1334512755,), (1334512897,), (1334512901,), (1334512904,), (1334512908,), (1334512911,), (1334512916,), (1334513226,), (1334513256,), (1334513322,), (1334513662,), (1334513664,), (1334513675,), (1334513711,), (1334513763,), (1334513925,), (1334513928,), (1334513932,), (1334513934,), (1334513967,), (1334514216,), (1334514234,), (1334514259,), (1334514262,), (1334514266,), (1334514300,), (1334514302,), (1334514305,), (1334514309,), (1334514313,), (1334514579,), (1334514584,), (1334514588,), (1334514603,), (1334514609,), (1334514612,), (1334514685,), (1334514691,), (1334514696,), (1334514761,), (1334514742,), (1334514749,), (1334514758,), (1334514932,), (1334515013,), (1334515093,), (1334515160,), (1334515162,), (1334515426,), (1334515427,), (1334515430,), (1334515432,), (1334515464,), (1334515466,), (1334515469,), (1334515472,), (1334515475,), (1334515525,), (1334515527,), (1334515530,), (1334515534,), (1334515539,), (1334515624,), (1334517096,), (1334517297,), (1334517303,), (1334517308,), (1334517360,), (1334517956,), (1334517958,), (1334517973,), (1334517986,), (1334518031,), (1334518040,), (1334518043,), (1334518113,), (1334518117,), (1334518290,), (1334518293,), (1334518305,), (1334518308,), (1334518403,), (1334518411,), (1334518447,), (1334518451,), (1334518455,), (1334518460,), (1334518672,), (1334518676,), (1334518724,), (1334518733,), (1334518775,), (1334518777,), (1334518783,), (1334518789,), (1334518795,), (1334518848,), (1334518853,), (1334518858,), (1334518862,), (1334518866,), (1334518894,), (1334518897,), (1334518901,), (1334518905,), (1334518908,), (1334518933,), (1334518936,), (1334518940,), (1334519094,), (1334519099,), (1334519103,), (1334519108,), (1334519177,), (1334519540,), (1334519579,), (1334519583,), (1334519600,), (1334519793,), (1334520426,), (1334520435,), (1334520440,), (1334520446,), (1334520566,), (1334520548,), (1334520553,), (1334520558,), (1334520561,), (1334520593,), (1334520598,), (1334520603,), (1334520605,), (1334520631,), (1334520637,), (1334520639,), (1334520643,), (1334520649,), (1334520653,), (1334520685,), (1334520693,), (1334520703,), (1334520718,), (1334520725,), (1334520729,), (1334520779,), (1334520800,), (1334520888,), (1334521444,), (1334521447,), (1334521451,), (1334521455,), (1334521901,), (1334521903,), (1334521906,), (1334521940,), (1334522024,), (1334522275,), (1334522320,), (1334522325,), (1334522328,), (1334522332,), (1334522360,), (1334522362,), (1334522365,), (1334522424,), (1334522448,), (1334522451,), (1334522455,), (1334522484,), (1334522487,), (1334522490,), (1334522493,), (1334522497,), (1334522524,), (1334522528,), (1334522532,), (1334522536,), (1334522541,), (1334522622,), (1334522624,), (1334522628,), (1334522689,), (1334523163,), (1334523236,), (1334523244,), (1334523249,), (1334523564,), (1334523567,), (1334523586,), (1334523593,), (1334523598,), (1334523632,), (1334523626,), (1334523628,), (1334523656,), (1334523658,), (1334523662,), (1334523666,), (1334523669,), (1334523674,), (1334523711,), (1334523713,), (1334523716,), (1334523719,), (1334523721,), (1334523724,), (1334523744,), (1334523746,), (1334523805,), (1334523824,), (1334523827,), (1334523830,), (1334523832,), (1334523836,), (1334523858,), (1334524524,), (1334525299,), (1334525301,), (1334525823,), (1334525910,), (1334526002,), (1334526038,), (1334526842,), (1334526992,), (1334527116,), (1334527141,), (1334527210,), (1334527268,), (1334527435,), (1334527437,), (1334527439,), (1334527445,), (1334527837,), (1334527890,), (1334527893,), (1334527896,), (1334527898,), (1334527902,), (1334528115,), (1334528120,), (1334528123,), (1334528160,), (1334528164,), (1334528200,), (1334528205,), (1334528229,), (1334528350,), (1334528333,), (1334528335,), (1334528337,), (1334528340,), (1334528343,), (1334528611,), (1334528636,), (1334528665,), (1334528666,), (1334528668,), (1334528746,), (1334528747,), (1334528749,), (1334528751,), (1334528832,), (1334528834,), (1334532063,), (1334555047,), (1334555180,), (1334555396,), (1334555418,), (1334555424,), (1334555497,), (1334555499,), (1334555582,), (1334556681,), (1334556914,), (1334557792,), (1334558295,), (1334558430,), (1334558639,), (1334559058,), (1334559061,), (1334559099,), (1334559103,), (1334559121,), (1334559563,), (1334559565,), (1334559568,), (1334559571,), (1334559604,), (1334559609,), (1334559628,), (1334559636,), (1334559644,), (1334559720,), (1334559723,), (1334559736,), (1334559740,), (1334559743,), (1334559801,), (1334559806,), (1334559810,), (1334559819,), (1334559874,), (1334559875,), (1334559879,), (1334559880,), (1334559884,), (1334559903,), (1334559899,), (1334559942,), (1334559947,), (1334560223,), (1334560226,), (1334560347,), (1334560350,), (1334560354,), (1334560357,), (1334560362,), (1334560390,), (1334560394,), (1334560398,), (1334560400,), (1334560404,), (1334560416,), (1334560493,), (1334560497,), (1334560501,), (1334560505,), (1334560517,), (1334560563,), (1334560568,), (1334560574,), (1334560578,), (1334560637,), (1334560648,), (1334560739,), (1334560747,), (1334560751,), (1334560869,), (1334560891,), (1334560893,), (1334560896,), (1334560957,), (1334560975,), (1334561000,), (1334561002,), (1334561004,), (1334561006,), (1334561008,), (1334561271,), (1334561275,), (1334561278,), (1334561400,), (1334561410,), (1334561474,), (1334561476,), (1334561478,), (1334561485,), (1334561523,), (1334561525,), (1334561527,), (1334561529,), (1334561532,), (1334561534,), (1334561572,), (1334561567,), (1334561569,), (1334561624,), (1334561625,), (1334561768,), (1334561772,), (1334561775,), (1334561778,), (1334561783,), (1334561862,), (1334561866,), (1334561869,), (1334561872,), (1334562192,), (1334562195,), (1334562200,), (1334562435,), (1334562809,), (1334562852,), (1334562865,), (1334562898,), (1334562919,), (1334563016,), (1334563211,), (1334563246,), (1334563255,), (1334563257,), (1334563269,), (1334563451,), (1334563477,), (1334563481,), (1334563482,), (1334563486,), (1334563652,), (1334563654,), (1334563657,), (1334563659,), (1334563660,), (1334563663,), (1334564065,), (1334564068,), (1334564071,), (1334564124,), (1334564125,), (1334564143,), (1334564149,), (1334564159,), (1334564164,), (1334564284,), (1334564325,), (1334564347,), (1334564376,), (1334564395,), (1334564427,), (1334564523,), (1334564526,), (1334564528,), (1334564530,), (1334564689,), (1334564707,), (1334564813,), (1334564815,), (1334565086,), (1334565133,), (1334565135,), (1334565146,), (1334565156,), (1334565290,), (1334565247,), (1334565249,), (1334565255,), (1334565259,), (1334566096,), (1334566116,), (1334566118,), (1334566602,), (1334566718,), (1334566736,), (1334566739,), (1334566817,), (1334566821,), (1334566830,), (1334566834,), (1334566836,), (1334566840,), (1334566937,), (1334566939,), (1334567026,), (1334567028,), (1334567031,), (1334567275,), (1334567291,), (1334567299,), (1334567307,), (1334567313,), (1334567317,), (1334567406,), (1334567408,), (1334567412,), (1334567416,), (1334567494,), (1334567497,), (1334567503,), (1334567512,), (1334567521,), (1334567560,), (1334567614,), (1334567616,), (1334567618,), (1334567621,), (1334567629,), (1334567736,), (1334567740,), (1334567752,), (1334567759,), (1334567834,), (1334567893,), (1334567982,), (1334568060,), (1334568063,), (1334568205,), (1334568262,), (1334568266,), (1334568370,), (1334568372,), (1334568375,), (1334568377,), (1334568379,), (1334568382,), (1334568593,), (1334568592,), (1334568717,), (1334568719,), (1334568796,), (1334568865,), (1334568867,), (1334569265,), (1334569348,), (1334569365,), (1334569576,), (1334569716,), (1334569861,), (1334569869,), (1334569881,), (1334569882,), (1334569889,), (1334570126,), (1334570129,), (1334570141,), (1334570143,), (1334570229,), (1334570231,), (1334570234,), (1334570238,), (1334570240,), (1334570290,), (1334570293,), (1334570307,), (1334570310,), (1334570315,), (1334570468,), (1334570473,), (1334570490,), (1334570509,), (1334570709,), (1334570710,), (1334570712,), (1334570715,), (1334570719,), (1334570723,), (1334570808,), (1334570809,), (1334570811,), (1334570814,), (1334570818,), (1334570825,), (1334571192,), (1334571232,), (1334571260,), (1334571261,), (1334571414,), (1334571420,), (1334571427,), (1334571436,), (1334571457,), (1334571459,), (1334571462,), (1334571464,), (1334571467,), (1334571468,), (1334571473,), (1334571474,), (1334571478,), (1334571479,), (1334571516,), (1334571507,), (1334571509,), (1334571723,), (1334571729,), (1334571733,), (1334571738,), (1334571744,), (1334571749,), (1334571818,), (1334571820,), (1334571823,), (1334571827,), (1334571830,), (1334571855,), (1334571857,), (1334571861,), (1334571930,), (1334571932,), (1334571935,), (1334571938,), (1334571940,), (1334571944,), (1334572040,), (1334572047,), (1334572058,), (1334572076,), (1334572149,), (1334572314,), (1334572317,), (1334572320,), (1334573191,), (1334573193,), (1334573196,), (1334573201,), (1334573203,), (1334573210,), (1334573268,), (1334573270,), (1334573274,), (1334573460,), (1334573568,), (1334573655,), (1334573794,), (1334573796,), (1334573798,), (1334573839,), (1334573841,), (1334573845,), (1334573858,), (1334573868,), (1334573945,), (1334573947,), (1334573996,), (1334574000,), (1334574004,), (1334574099,), (1334574108,), (1334574288,), (1334574291,), (1334574294,), (1334574509,), (1334574416,), (1334574419,), (1334574422,), (1334574424,), (1334574436,), (1334574782,), (1334574784,), (1334574787,), (1334574789,), (1334574861,), (1334574863,), (1334574868,), (1334574873,), (1334574885,), (1334574909,), (1334574912,), (1334574916,), (1334574923,), (1334574928,), (1334574938,), (1334575445,), (1334575695,), (1334575697,), (1334575753,), (1334575776,), (1334576007,), (1334576116,), (1334576124,), (1334576218,), (1334576221,), (1334576310,), (1334576325,), (1334576330,), (1334576380,), (1334576383,), (1334576387,), (1334576392,), (1334576396,), (1334576422,), (1334576426,), (1334576430,), (1334576434,), (1334576455,), (1334576458,), (1334576460,), (1334576463,), (1334576526,), (1334576586,), (1334576590,), (1334576861,), (1334576895,), (1334576900,), (1334576942,), (1334577442,), (1334577516,), (1334577593,), (1334577670,), (1334577728,), (1334577813,), (1334578285,), (1334578287,), (1334578289,), (1334578441,), (1334578482,), (1334578548,), (1334578558,), (1334578788,), (1334578780,), (1334578783,), (1334578786,), (1334579031,), (1334579051,), (1334579054,), (1334579057,), (1334579058,), (1334579063,), (1334579088,), (1334579099,), (1334579105,), (1334579118,), (1334579121,), (1334579143,), (1334579271,), (1334579452,), (1334579454,), (1334579457,), (1334579460,), (1334579590,), (1334579592,), (1334579595,), (1334579600,), (1334579604,), (1334579610,), (1334579769,), (1334579776,), (1334579783,), (1334579795,), (1334579888,), (1334579893,), (1334579898,), (1334579903,), (1334579908,), (1334579915,), (1334580071,), (1334580236,), (1334580326,), (1334580408,), (1334580545,), (1334580903,), (1334580906,), (1334580909,), (1334580911,), (1334580945,), (1334581147,), (1334581167,), (1334581178,), (1334581339,), (1334581810,), (1334581814,), (1334581817,), (1334581820,), (1334581822,), (1334581883,), (1334581885,), (1334582423,), (1334582425,), (1334582428,), (1334582433,), (1334582466,), (1334582618,), (1334582584,), (1334582599,), (1334582603,), (1334582613,), (1334582879,), (1334582882,), (1334582886,), (1334582891,), (1334583280,), (1334583282,), (1334583285,), (1334583288,), (1334583295,), (1334583382,), (1334583384,), (1334583387,), (1334583391,), (1334583393,), (1334583398,), (1334583415,), (1334583420,), (1334583427,), (1334583429,), (1334583461,), (1334583465,), (1334583469,), (1334583473,), (1334583476,), (1334583480,), (1334583667,), (1334583670,), (1334583673,), (1334583675,), (1334583704,), (1334583706,), (1334583709,), (1334583712,), (1334583715,), (1334583718,), (1334583746,), (1334583748,), (1334583751,), (1334583754,), (1334583765,), (1334583779,), (1334583827,), (1334583839,), (1334583889,), (1334583940,), (1334583999,), (1334584030,), (1334584037,), (1334584287,), (1334584329,), (1334584334,), (1334584339,), (1334584349,), (1334584355,), (1334584373,), (1334584388,), (1334584392,), (1334584396,), (1334584413,), (1334584418,), (1334584424,), (1334584430,), (1334584445,), (1334584447,), (1334584451,), (1334584454,), (1334584493,), (1334584481,), (1334584483,), (1334584486,), (1334584489,), (1334584867,), (1334584870,), (1334584874,), (1334584878,), (1334584911,), (1334584913,), (1334584916,), (1334584919,), (1334584923,), (1334584926,), (1334584985,), (1334584989,), (1334584991,), (1334585043,), (1334585049,), (1334585052,), (1334585057,), (1334585061,), (1334585159,), (1334585245,), (1334585249,), (1334585253,), (1334585256,), (1334585262,), (1334585524,), (1334585568,), (1334585573,), (1334585862,), (1334585864,), (1334585924,), (1334585944,), (1334585951,), (1334585955,), (1334585960,), (1334587252,), (1334587324,), (1334587394,), (1334587402,), (1334587406,), (1334587445,), (1334587516,), (1334587518,), (1334587524,), (1334587527,), (1334587536,), (1334587564,), (1334587567,), (1334587570,), (1334587574,), (1334587615,), (1334587602,), (1334587604,), (1334587607,), (1334587610,), (1334587612,), (1334587827,), (1334587830,), (1334587833,), (1334587835,), (1334587887,), (1334587889,), (1334587894,), (1334587901,), (1334587908,), (1334587983,), (1334587985,), (1334587988,), (1334587991,), (1334588018,), (1334588024,), (1334588100,), (1334588104,), (1334588109,), (1334588113,), (1334588183,), (1334588185,), (1334588188,), (1334588595,), (1334588683,), (1334588686,), (1334588690,), (1334588750,), (1334588981,), (1334588984,), (1334588988,), (1334588991,), (1334589140,), (1334589143,), (1334589193,), (1334589196,), (1334589215,), (1334589291,), (1334589294,), (1334589298,), (1334590020,), (1334590091,), (1334590228,), (1334590233,), (1334590236,), (1334590451,), (1334590454,), (1334590457,), (1334590464,), (1334590568,), (1334590570,), (1334590572,), (1334590576,), (1334590578,), (1334590611,), (1334590613,), (1334590616,), (1334590619,), (1334590621,), (1334590643,), (1334590647,), (1334590650,), (1334590764,), (1334590710,), (1334590712,), (1334590714,), (1334590716,), (1334590755,), (1334590993,), (1334591034,), (1334591039,), (1334591043,), (1334591046,), (1334591052,), (1334591068,), (1334591070,), (1334591074,), (1334591097,), (1334591100,), (1334591103,), (1334591105,), (1334591108,), (1334591120,), (1334591159,), (1334591161,), (1334591165,), (1334591186,), (1334591234,), (1334591274,), (1334591549,), (1334591556,), (1334591617,), (1334591646,), (1334591655,), (1334591709,), (1334591713,), (1334591715,), (1334592467,), (1334592470,), (1334592605,), (1334592651,), (1334592665,), (1334592671,), (1334592793,), (1334592872,), (1334593051,), (1334593218,), (1334593223,), (1334593229,), (1334593234,), (1334593241,), (1334593707,), (1334593712,), (1334593718,), (1334593721,), (1334593723,), (1334593807,), (1334593855,), (1334593894,), (1334593977,), (1334594589,), (1334594657,), (1334594685,), (1334594693,), (1334594705,), (1334594838,), (1334595191,), (1334595002,), (1334595095,), (1334595141,), (1334595149,), (1334595155,), (1334595353,), (1334595408,), (1334595411,), (1334595414,), (1334595418,), (1334595422,), (1334595426,), (1334595510,), (1334595529,), (1334595535,), (1334595551,), (1334595559,), (1334595890,), (1334595892,), (1334595897,), (1334596236,), (1334596238,), (1334596242,), (1334596315,), (1334596318,), (1334596322,), (1334596383,), (1334596471,), (1334596563,), (1334596581,), (1334596583,), (1334596590,), (1334596783,), (1334596784,), (1334596786,), (1334596816,), (1334596817,), (1334596836,), (1334596838,), (1334596842,), (1334596843,), (1334596903,), (1334596912,), (1334596918,), (1334596936,), (1334597449,), (1334597451,), (1334597502,), (1334597879,), (1334597887,), (1334597893,), (1334597898,), (1334598091,), (1334598089,), (1334598479,), (1334598543,), (1334598600,), (1334598704,), (1334599226,), (1334599247,), (1334599279,), (1334599341,), (1334599359,), (1334599362,), (1334599640,), (1334599643,), (1334599654,), (1334599735,), (1334599800,), (1334599943,), (1334600013,), (1334600088,), (1334600291,), (1334600293,), (1334600296,), (1334600299,), (1334600302,), (1334600457,), (1334600461,), (1334600464,), (1334600526,), (1334600530,), (1334600539,), (1334600543,), (1334600551,), (1334600626,), (1334600627,), (1334600629,), (1334600630,), (1334600666,), (1334600670,), (1334600674,), (1334600677,), (1334600681,), (1334600712,), (1334600714,), (1334600719,), (1334600723,), (1334600759,), (1334600760,), (1334600762,), (1334600764,), (1334600843,), (1334600847,), (1334600852,), (1334600857,), (1334600861,), (1334600865,), (1334600929,), (1334600918,), (1334600920,), (1334600923,), (1334600925,), (1334600987,), (1334601017,), (1334601029,), (1334601081,), (1334601215,), (1334601218,), (1334601221,), (1334601222,), (1334601224,), (1334601251,), (1334602094,), (1334602139,), (1334602171,), (1334602175,), (1334602178,), (1334602181,), (1334602601,), (1334602641,), (1334602645,), (1334602829,), (1334602831,), (1334602835,), (1334602839,), (1334602840,), (1334602891,), (1334602902,), (1334602910,), (1334602913,), (1334602916,), (1334603272,), (1334603275,), (1334603277,), (1334603282,), (1334603425,), (1334603427,), (1334603432,), (1334603434,), (1334603438,), (1334603442,), (1334603478,), (1334603480,), (1334603485,), (1334603527,), (1334603536,), (1334603539,), (1334603541,), (1334603542,), (1334603546,), (1334603596,), (1334603616,), (1334603617,), (1334603619,), (1334603621,), (1334603637,), (1334603716,), (1334603718,), (1334603720,), (1334603722,), (1334603725,), (1334603812,), (1334603813,), (1334603815,), (1334603817,), (1334603818,), (1334603870,), (1334608502,), (1334609736,), (1334610185,), (1334610188,), (1334610191,), (1334610193,), (1334610289,), (1334610326,), (1334610330,), (1334610332,), (1334610336,), (1334610338,), (1334610760,), (1334612210,), (1334612260,), (1334612290,), (1334612421,), (1334612423,), (1334612426,), (1334612468,), (1334612471,), (1334612721,), (1334612755,), (1334612758,), (1334612760,), (1334612764,), (1334612842,), (1334612865,), (1334612877,), (1334612964,), (1334612967,), (1334612970,), (1334612972,), (1334612977,), (1334612984,), (1334613009,), (1334613014,), (1334613019,), (1334613022,), (1334613027,), (1334613056,), (1334613044,), (1334613047,), (1334613052,), (1334613264,), (1334613315,), (1334613324,), (1334613330,), (1334613334,), (1334613338,), (1334613372,), (1334613378,), (1334613382,), (1334613386,), (1334613501,), (1334613504,), (1334613507,), (1334613509,), (1334613513,), (1334613521,), (1334613576,), (1334613579,), (1334613582,), (1334613588,), (1334613634,), (1334614311,), (1334614314,), (1334614317,), (1334614767,), (1334614769,), (1334614771,), (1334614780,), (1334614860,), (1334614866,), (1334615301,), (1334615303,), (1334615360,), (1334615365,), (1334615369,), (1334615373,), (1334615510,), (1334615513,), (1334615515,), (1334615598,), (1334615600,), (1334615604,), (1334615608,), (1334615610,), (1334615613,), (1334615660,), (1334615673,), (1334615678,), (1334615683,), (1334616081,), (1334616114,), (1334616117,), (1334616121,), (1334616159,), (1334616208,), (1334616211,), (1334616215,), (1334616224,), (1334616228,), (1334616265,), (1334616283,), (1334616287,), (1334616289,), (1334616344,), (1334616361,), (1334616410,), (1334616401,), (1334616404,), (1334616407,), (1334616432,), (1334616435,), (1334616439,), (1334616440,), (1334616444,), (1334616758,), (1334616760,), (1334616771,), (1334616922,), (1334616924,), (1334616927,), (1334616934,), (1334616937,), (1334616939,), (1334617013,), (1334617014,), (1334617020,), (1334617021,), (1334617024,), (1334617027,), (1334617044,), (1334617046,), (1334617050,), (1334617376,), (1334617563,), (1334617752,), (1334617938,), (1334618075,), (1334618080,), (1334618084,), (1334618087,), (1334618091,), (1334618094,), (1334618291,), (1334618456,), (1334618537,), (1334618547,), (1334618554,), (1334618686,), (1334618688,), (1334618691,), (1334618724,), (1334618726,), (1334618730,), (1334618735,), (1334618739,), (1334618776,), (1334618946,), (1334618949,), (1334618952,), (1334618960,), (1334619014,), (1334619016,), (1334619020,), (1334619023,), (1334619028,), (1334619052,), (1334619057,), (1334619066,), (1334619135,), (1334619137,), (1334619146,), (1334619151,), (1334619225,), (1334619207,), (1334619208,), (1334619210,), (1334619212,), (1334619214,), (1334619524,), (1334619555,), (1334619557,), (1334619559,), (1334619614,), (1334619615,), (1334619780,), (1334619782,), (1334619784,), (1334619812,), (1334619815,), (1334619820,), (1334619823,), (1334619824,), (1334619831,), (1334620265,), (1334620281,), (1334620283,), (1334620587,), (1334620589,), (1334620592,), (1334620597,), (1334620598,), (1334620856,), (1334620859,), (1334620862,), (1334620863,), (1334620865,), (1334621351,), (1334621404,), (1334621425,), (1334621678,), (1334621681,), (1334621684,), (1334621739,), (1334621741,), (1334621744,), (1334621747,), (1334621749,), (1334621751,), (1334621785,), (1334621787,), (1334621790,), (1334621793,), (1334621825,), (1334621832,), (1334621919,), (1334621948,), (1334622010,), (1334622050,), (1334622174,), (1334622212,), (1334622228,), (1334622236,), (1334622239,), (1334622245,), (1334622314,), (1334622330,), (1334622335,), (1334622373,), (1334622384,), (1334622392,), (1334622396,), (1334622401,), (1334622447,), (1334622425,), (1334622432,), (1334622435,), (1334622440,), (1334622682,), (1334622711,), (1334623152,), (1334623166,), (1334623169,), (1334623172,), (1334623175,), (1334623177,), (1334623209,), (1334623212,), (1334623214,), (1334623216,), (1334623259,), (1334623261,), (1334623263,), (1334623264,), (1334623270,), (1334623275,), (1334623301,), (1334623307,), (1334623314,), (1334623317,), (1334623390,), (1334623447,), (1334623497,), (1334623573,), (1334623652,), (1334623660,), (1334623943,), (1334623944,), (1334623970,), (1334623972,), (1334624084,), (1334624092,), (1334624095,), (1334624097,), (1334624100,), (1334624103,), (1334624130,), (1334624145,), (1334624151,), (1334624160,), (1334624174,), (1334624281,), (1334624301,), (1334624322,), (1334624326,), (1334624329,), (1334624545,), (1334624579,), (1334624581,), (1334624591,), (1334624625,), (1334624628,), (1334624650,), (1334624651,), (1334624652,), (1334624713,), (1334624715,), (1334624718,), (1334624721,), (1334624723,), (1334624749,), (1334624803,), (1334624805,), (1334624808,), (1334624824,), (1334624832,), (1334624872,), (1334624947,), (1334624933,), (1334624935,), (1334624942,), (1334625084,), (1334625086,), (1334625089,), (1334625094,), (1334625107,), (1334625111,), (1334625157,), (1334625160,), (1334625344,), (1334625345,), (1334625983,), (1334625986,), (1334625994,), (1334626023,), (1334626287,), (1334626293,), (1334626299,), (1334626305,), (1334626306,), (1334626308,), (1334627460,), (1334627498,), (1334627595,), (1334627635,), (1334627696,), (1334627706,), (1334627880,), (1334627885,), (1334627889,), (1334628310,), (1334628313,), (1334628317,), (1334628320,), (1334628323,), (1334628362,), (1334628388,), (1334628390,), (1334628425,), (1334628429,), (1334628562,), (1334628564,), (1334628567,), (1334628570,), (1334628615,), (1334628620,), (1334628628,), (1334628629,), (1334628634,), (1334628636,), (1334629010,), (1334629076,), (1334629143,), (1334629188,), (1334629572,), (1334629588,), (1334629650,), (1334629713,), (1334629760,), (1334629763,), (1334630006,), (1334630077,), (1334630089,), (1334630111,), (1334630221,), (1334630202,), (1334630204,), (1334630206,), (1334630212,), (1334630218,), (1334630349,), (1334630402,), (1334630407,), (1334630829,), (1334630861,), (1334630864,), (1334630866,), (1334630867,), (1334630869,), (1334630980,), (1334630983,), (1334630987,), (1334630990,), (1334630993,), (1334631057,), (1334631062,), (1334631067,), (1334631072,), (1334631075,), (1334631092,), (1334631096,), (1334631099,), (1334631103,), (1334631107,), (1334631112,), (1334631364,), (1334631435,), (1334631447,), (1334631700,), (1334631702,), (1334631751,), (1334631754,), (1334631757,), (1334631761,), (1334631950,), (1334631953,), (1334631971,), (1334632029,), (1334632093,), (1334632095,), (1334632098,), (1334632101,), (1334632103,), (1334632106,), (1334632136,), (1334632145,), (1334632149,), (1334632152,), (1334632155,), (1334632157,), (1334632185,), (1334632188,), (1334632190,), (1334632193,), (1334632280,), (1334632290,), (1334632292,), (1334632296,), (1334632303,), (1334632335,), (1334632354,), (1334632362,), (1334632364,), (1334632368,), (1334632851,), (1334632929,), (1334632908,), (1334632912,), (1334632915,), (1334633177,), (1334633184,), (1334633191,), (1334633197,), (1334633200,), (1334633202,), (1334633297,), (1334633312,), (1334633376,), (1334633380,), (1334633384,), (1334633467,), (1334633469,), (1334633473,), (1334633587,), (1334633590,), (1334633622,), (1334633625,), (1334633629,), (1334633648,), (1334633652,), (1334633660,), (1334633665,), (1334633670,), (1334633673,), (1334633691,), (1334633694,), (1334633697,), (1334633721,), (1334633723,), (1334633727,), (1334633728,), (1334633733,), (1334633741,), (1334633770,), (1334633772,), (1334633776,), (1334633779,), (1334633781,), (1334633783,), (1334634600,), (1334634602,), (1334634605,), (1334634671,), (1334634673,), (1334634676,), (1334634680,), (1334634684,), (1334635302,), (1334635304,), (1334635308,), (1334635316,), (1334635319,), (1334635322,), (1334636196,), (1334636291,), (1334636374,), (1334636450,), (1334638336,), (1334638402,), (1334638446,), (1334638450,), (1334638481,), (1334638540,), (1334638721,), (1334638725,), (1334638730,), (1334638734,), (1334638738,), (1334638764,), (1334638744,), (1334638746,), (1334639302,), (1334639340,), (1334639341,), (1334639343,), (1334639348,), (1334639356,), (1334639389,), (1334639390,), (1334639401,), (1334639404,), (1334639411,), (1334639487,), (1334639489,), (1334639492,), (1334639494,), (1334639521,), (1334639523,), (1334639525,), (1334639528,), (1334639530,), (1334639532,), (1334639589,), (1334639591,), (1334639601,), (1334639606,), (1334639609,), (1334639615,), (1334639958,), (1334640139,), (1334640240,), (1334640895,), (1334640942,), (1334640945,), (1334640952,), (1334640960,), (1334640968,), (1334641341,), (1334641344,), (1334641346,), (1334641349,), (1334641352,), (1334641354,), (1334641414,), (1334641416,), (1334641427,), (1334641432,), (1334641516,), (1334641522,), (1334641524,), (1334641527,), (1334641529,), (1334641566,), (1334641784,), (1334641792,), (1334641835,), (1334641849,), (1334641867,), (1334641965,), (1334641967,), (1334641979,), (1334641982,), (1334642014,), (1334642015,), (1334642023,), (1334642025,), (1334642027,), (1334642032,), (1334642054,), (1334642056,), (1334642060,), (1334642065,), (1334642112,), (1334642107,), (1334642484,), (1334643211,), (1334644547,), (1334644854,), (1334644891,), (1334644893,), (1334644911,), (1334644912,), (1334644914,), (1334645013,), (1334644966,), (1334644968,), (1334645011,), (1334645075,), (1334645115,), (1334645116,), (1334645118,), (1334645120,), (1334645164,), (1334645169,), (1334645171,), (1334645183,), (1334645218,), (1334645220,), (1334645225,), (1334645229,), (1334645232,), (1334645447,), (1334645495,), (1334645499,), (1334645502,), (1334645504,), (1334645667,), (1334645677,), (1334645680,), (1334645684,), (1334645821,), (1334645860,), (1334645889,), (1334645923,), (1334645926,), (1334646053,), (1334646056,), (1334646062,), (1334646065,), (1334647676,), (1334654962,), (1334663083,), (1334663542,), (1334664208,), (1334664460,), (1334664537,), (1334664616,), (1334664692,), (1334665797,), (1334665799,), (1334666052,), (1334666073,), (1334666244,), (1334666569,), (1334667138,), (1334667140,), (1334667161,), (1334667159,), (1334667398,), (1334667536,), (1334667574,), (1334667754,), (1334667854,), (1334667903,), (1334667906,), (1334667909,), (1334667995,), (1334668002,), (1334668005,), (1334668046,), (1334668073,), (1334668197,), (1334668213,), (1334668216,), (1334668219,), (1334668341,), (1334668484,), (1334668487,), (1334668497,), (1334668504,), (1334668509,), (1334668911,), (1334668933,), (1334668935,), (1334668937,), (1334669207,), (1334669222,), (1334669296,), (1334669299,), (1334669384,), (1334669390,), (1334669393,), (1334669395,), (1334669397,), (1334669445,), (1334669446,), (1334669449,), (1334669453,), (1334669463,), (1334669741,), (1334669799,), (1334669802,), (1334669826,), (1334669865,), (1334669866,), (1334669868,), (1334669918,), (1334669919,), (1334669930,), (1334670091,), (1334670098,), (1334670105,), (1334670108,), (1334670113,), (1334670117,), (1334670130,), (1334670135,), (1334670177,), (1334670166,), (1334670167,), (1334670173,), (1334670175,), (1334670429,), (1334670430,), (1334670467,), (1334670469,), (1334670470,), (1334670491,), (1334670492,), (1334670494,), (1334670496,), (1334670498,), (1334670512,), (1334670513,), (1334670515,), (1334670517,), (1334670536,), (1334670537,), (1334670539,), (1334670541,), (1334670543,), (1334670570,), (1334670571,), (1334670600,), (1334670614,), (1334670616,), (1334670618,), (1334670863,), (1334670866,), (1334670901,), (1334670902,), (1334671021,), (1334671022,), (1334671025,), (1334671027,), (1334671029,), (1334671030,), (1334671048,), (1334671049,), (1334671051,), (1334671054,), (1334671056,), (1334671059,), (1334671138,), (1334671139,), (1334671141,), (1334671166,), (1334671168,), (1334671170,), (1334671172,), (1334671175,), (1334671178,), (1334671392,), (1334671440,), (1334671446,), (1334671475,), (1334671495,), (1334671546,), (1334671548,), (1334671550,), (1334671561,), (1334671618,), (1334671619,), (1334671622,), (1334671625,), (1334671628,), (1334671637,), (1334671758,), (1334671760,), (1334671777,), (1334671799,), (1334671968,), (1334671902,), (1334671903,), (1334671905,), (1334671907,), (1334671908,), (1334672179,), (1334672180,), (1334672182,), (1334672236,), (1334672351,), (1334673244,), (1334673252,), (1334673273,), (1334673276,), (1334673278,), (1334673612,), (1334673613,), (1334673615,), (1334673617,), (1334673618,), (1334673650,), (1334673652,), (1334673654,), (1334673749,), (1334673751,), (1334673754,), (1334673759,), (1334673790,), (1334673801,), (1334673850,), (1334673852,), (1334673856,), (1334674405,), (1334674408,), (1334674495,), (1334674502,), (1334674526,), (1334674619,), (1334674622,), (1334674626,), (1334674629,), (1334674633,), (1334674637,), (1334674682,), (1334674683,), (1334674717,), (1334674722,), (1334674725,), (1334674734,), (1334674735,), (1334674741,), (1334674984,), (1334674985,), (1334675025,), (1334675027,), (1334675029,), (1334675031,), (1334675052,), (1334675062,), (1334675066,), (1334675082,), (1334675092,), (1334675154,), (1334675155,), (1334675161,), (1334675165,), (1334675167,), (1334675188,), (1334675190,), (1334675220,), (1334675236,), (1334675325,), (1334675306,), (1334675308,), (1334675311,), (1334675313,), (1334675557,), (1334675559,), (1334675591,), (1334675594,), (1334675629,), (1334676024,), (1334676025,), (1334676048,), (1334676051,), (1334676149,), (1334676150,), (1334676152,), (1334676154,), (1334676195,), (1334676226,), (1334676229,), (1334676232,), (1334676237,), (1334676244,), (1334676259,), (1334676300,), (1334676307,), (1334676311,), (1334676357,), (1334676382,), (1334676433,), (1334676436,), (1334676439,), (1334676443,), (1334676507,), (1334676534,), (1334676538,), (1334676551,), (1334676552,), (1334676623,), (1334676660,), (1334676662,), (1334676663,), (1334677301,), (1334677303,), (1334677306,), (1334677309,), (1334677311,), (1334677313,), (1334677530,), (1334677533,), (1334677554,), (1334677659,), (1334677869,), (1334677872,), (1334677879,), (1334677887,), (1334677889,), (1334677916,), (1334677917,), (1334677920,), (1334677922,), (1334677923,), (1334677924,), (1334677983,), (1334677985,), (1334677987,), (1334678075,), (1334678078,), (1334678080,), (1334678084,), (1334678086,), (1334678089,), (1334678971,), (1334678660,), (1334678938,), (1334678948,), (1334678952,), (1334678966,), (1334679053,), (1334679132,), (1334679220,), (1334679298,), (1334680574,), (1334680575,), (1334680581,), (1334680721,), (1334680723,), (1334680727,), (1334680853,), (1334680854,), (1334680856,), (1334680858,), (1334680912,), (1334680988,), (1334680989,), (1334680991,), (1334680993,), (1334682223,), (1334682273,), (1334682340,), (1334682362,), (1334682366,), (1334682371,), (1334682862,), (1334682904,), (1334682967,), (1334682979,), (1334682982,), (1334683111,), (1334683113,), (1334683117,), (1334683121,), (1334683123,), (1334683160,), (1334683162,), (1334683164,), (1334683167,), (1334683185,), (1334683187,), (1334683190,), (1334683193,), (1334683196,), (1334683683,), (1334683685,), (1334683710,), (1334684262,), (1334684332,), (1334684336,), (1334749387,), (1334749388,), (1334749389,), (1334732166,), (1334732169,), (1334732172,), (1334732223,), (1334732306,), (1334732391,), (1334732674,), (1334732689,), (1334732712,), (1334732773,), (1334732783,), (1334732785,), (1334732831,), (1334732834,), (1334732837,), (1334732902,), (1334732919,), (1334732921,), (1334732927,), (1334732930,), (1334732932,), (1334732935,), (1334732938,), (1334732939,), (1334732969,), (1334732970,), (1334732973,), (1334732975,), (1334732978,), (1334739571,), (1334739620,), (1334739622,), (1334739624,), (1334746165,), (1334746171,), (1334746172,), (1334746173,), (1334746174,), (1334746175,), (1334746209,), (1334746214,), (1334746220,), (1334746262,), (1334746263,), (1334746264,), (1334746309,), (1334746313,), (1334746314,), (1334746315,), (1334746316,), (1334746318,), (1334747186,), (1334747187,), (1334747188,), (1334747190,), (1334747191,), (1334747193,), (1334747194,), (1334747196,), (1334747197,), (1334747199,), (1334747200,), (1334747202,), (1334747476,), (1334747479,), (1334747505,), (1334747513,), (1334747514,), (1334747515,), (1334747547,), (1334747550,), (1334747551,), (1334747560,), (1334747574,), (1334747581,), (1334747634,), (1334747636,), (1334747637,), (1334747677,), (1334732940,), (1334732943,), (1334732952,), (1334732956,), (1334732960,), (1334732963,), (1334732968,), (1334733028,), (1334733029,), (1334733031,), (1334733032,), (1334733034,), (1334733035,), (1334733037,), (1334733039,), (1334733047,), (1334733049,), (1334733051,), (1334733052,), (1334733066,), (1334733079,), (1334733081,), (1334733083,), (1334733089,), (1334733092,), (1334733104,), (1334733106,), (1334733107,), (1334733108,), (1334733109,), (1334733110,), (1334737274,), (1334737314,), (1334737317,), (1334737362,), (1334737364,), (1334737365,), (1334737367,), (1334737368,), (1334737369,), (1334737580,), (1334737584,), (1334737587,), (1334737589,), (1334737591,), (1334737593,), (1334737775,), (1334737795,), (1334737826,), (1334737895,), (1334738038,), (1334738070,), (1334739044,), (1334739064,), (1334739115,), (1334739227,), (1334739232,), (1334739252,), (1334739307,), (1334739360,), (1334739394,), (1334739424,), (1334739427,), (1334739434,), (1334739462,), (1334739502,), (1334731850,), (1334731857,), (1334733172,), (1334733174,), (1334733187,), (1334733189,), (1334733198,), (1334733201,), (1334733244,), (1334733246,), (1334733258,), (1334733289,), (1334733292,), (1334733295,), (1334733313,), (1334733323,), (1334733324,), (1334733325,), (1334733326,), (1334733330,), (1334733708,), (1334733711,), (1334733714,), (1334733775,), (1334733948,), (1334734190,), (1334735055,), (1334735191,), (1334735343,), (1334735405,), (1334735474,), (1334735546,), (1334735927,), (1334736007,), (1334736113,), (1334736222,), (1334736286,), (1334736351,), (1334736672,), (1334736700,), (1334736701,), (1334736760,), (1334736810,), (1334736813,), (1334736858,), (1334736861,), (1334736866,), (1334736910,), (1334736913,), (1334736915,), (1334737056,), (1334737133,), (1334737203,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04022025': {'nb_upload': 53, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20359621]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] map_info['map_portfolio_photo'] : {20359621: [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850]} final : True mtd_id 4302 list_pids : [1334737203, 1334737133, 1334737056, 1334736915, 1334736913, 1334736910, 1334736866, 1334736861, 1334736858, 1334736813, 1334736810, 1334736760, 1334736701, 1334736700, 1334736672, 1334736351, 1334736286, 1334736222, 1334736113, 1334736007, 1334735927, 1334735546, 1334735474, 1334735405, 1334735343, 1334735191, 1334735055, 1334734190, 1334733948, 1334733775, 1334733714, 1334733711, 1334733708, 1334733330, 1334733326, 1334733325, 1334733324, 1334733323, 1334733313, 1334733295, 1334733292, 1334733289, 1334733258, 1334733246, 1334733244, 1334733201, 1334733198, 1334733189, 1334733187, 1334733174, 1334733172, 1334731857, 1334731850] Looping around the photos to save general results len do output : 1 /20359621Didn'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, '2568584') ('4302', '20359621', '1334737203', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584') ('4302', None, None, None, None, None, None, None, '2568584') ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 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, '20359621', 'None', None, None, None, None, '2568584'), ('4302', '20359621', '1334737203', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334737133', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334737056', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736915', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736913', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736910', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736866', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736861', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736858', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736813', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736810', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736760', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736701', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736700', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736672', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736351', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736286', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736222', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736113', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334736007', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735927', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735546', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735474', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735405', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735343', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735191', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334735055', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334734190', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733948', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733775', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733714', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733711', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733708', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733330', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733326', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733325', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733324', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733323', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733313', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733295', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733292', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733289', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733258', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733246', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733244', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733201', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733198', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733189', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733187', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733174', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334733172', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334731857', None, None, None, None, None, '2568584'), ('4302', '20359621', '1334731850', None, None, None, None, None, '2568584')] time used for this insertion : 0.21924996376037598 save_final save missing photos in datou_result : time spend for datou_step_exec : 25.072240352630615 time spend to save output : 0.21976399421691895 total time spend for step 5 : 25.292004346847534 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 (2568584) 3.45user 2.55system 0:41.30elapsed 14%CPU (0avgtext+0avgdata 162388maxresident)k 142952inputs+29736outputs (686major+87770minor)pagefaults 0swaps