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 : 1728343 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 (3801423) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3801423) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373753 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3801423'] with mtr_portfolio_ids : ['27373753'] and first list_photo_ids : [] new path : /proc/1728343/ Name: python3 Umask: 0002 State: R (running) Tgid: 1728343 Ngid: 0 Pid: 1728343 PPid: 1728342 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1728343 NSpid: 1728343 NSpgid: 1727261 NSsid: 1727261 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97696 kB VmRSS: 97696 kB RssAnon: 59844 kB RssFile: 37852 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 584 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 59 nonvoluntary_ctxt_switches: 93 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1728343', 'Ngid': '0', 'Pid': '1728343', 'PPid': '1728342', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1728343', 'NSpid': '1728343', 'NSpgid': '1727261', 'NSsid': '1727261', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97696 kB', 'VmRSS': '97696 kB', 'RssAnon': '59844 kB', 'RssFile': '37852 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '584 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '59', 'nonvoluntary_ctxt_switches': '93'} ('datou_batch_current', '1728343', '1106856', '0', '1106856', '865608', '97696', b'', 'marlene', '3801423') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27373753) 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 (3801423 ) ) 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 (27373753) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1387044820, 'portfolio_id': 27373753}, {'photo_id': 1387044736, 'portfolio_id': 27373753}, {'photo_id': 1387044705, 'portfolio_id': 27373753}, {'photo_id': 1387044701, 'portfolio_id': 27373753}, {'photo_id': 1387044109, 'portfolio_id': 27373753}, {'photo_id': 1387044101, 'portfolio_id': 27373753}, {'photo_id': 1387044093, 'portfolio_id': 27373753}, {'photo_id': 1387044080, 'portfolio_id': 27373753}, {'photo_id': 1387044073, 'portfolio_id': 27373753}, {'photo_id': 1387044071, 'portfolio_id': 27373753}, {'photo_id': 1387044067, 'portfolio_id': 27373753}, {'photo_id': 1387044065, 'portfolio_id': 27373753}, {'photo_id': 1387044012, 'portfolio_id': 27373753}, {'photo_id': 1387043984, 'portfolio_id': 27373753}, {'photo_id': 1387043978, 'portfolio_id': 27373753}, {'photo_id': 1387043957, 'portfolio_id': 27373753}, {'photo_id': 1387043819, 'portfolio_id': 27373753}, {'photo_id': 1387043808, 'portfolio_id': 27373753}, {'photo_id': 1387043805, 'portfolio_id': 27373753}, {'photo_id': 1387043802, 'portfolio_id': 27373753}, {'photo_id': 1387043800, 'portfolio_id': 27373753}, {'photo_id': 1387043498, 'portfolio_id': 27373753}, {'photo_id': 1387043483, 'portfolio_id': 27373753}, {'photo_id': 1387043482, 'portfolio_id': 27373753}, {'photo_id': 1387043473, 'portfolio_id': 27373753}, {'photo_id': 1387043456, 'portfolio_id': 27373753}, {'photo_id': 1387043445, 'portfolio_id': 27373753}, {'photo_id': 1387043441, 'portfolio_id': 27373753}, {'photo_id': 1387043429, 'portfolio_id': 27373753}, {'photo_id': 1387043427, 'portfolio_id': 27373753}, {'photo_id': 1387043409, 'portfolio_id': 27373753}, {'photo_id': 1387043333, 'portfolio_id': 27373753}, {'photo_id': 1387043331, 'portfolio_id': 27373753}, {'photo_id': 1387043328, 'portfolio_id': 27373753}, {'photo_id': 1387043310, 'portfolio_id': 27373753}, {'photo_id': 1387043288, 'portfolio_id': 27373753}, {'photo_id': 1387043250, 'portfolio_id': 27373753}, {'photo_id': 1387043228, 'portfolio_id': 27373753}, {'photo_id': 1387043210, 'portfolio_id': 27373753}, {'photo_id': 1387043206, 'portfolio_id': 27373753}, {'photo_id': 1387043198, 'portfolio_id': 27373753}, {'photo_id': 1387043146, 'portfolio_id': 27373753}] map_portfolio_id_photo_id: {27373753: [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146]} ##### 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.05328965187072754 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Wed Oct 1 06:13:56 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 (27373753) 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 : 27373753 get user id for portfolio 27373753 get sub ptf for main ptf 27373753, type 3726 and hashtags ['flou', 'Carton_gris', 'Teint_Dans_La_Masse', 'environnement', 'Carton_brun', 'metal', 'autre_refus', 'kraft', 'mal_croppe', 'papier', 'cartonnette', 'plastique'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27373753 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','Teint_Dans_La_Masse','environnement','Carton_brun','metal','autre_refus','kraft','mal_croppe','papier','cartonnette','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27373753 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','Teint_Dans_La_Masse','environnement','Carton_brun','metal','autre_refus','kraft','mal_croppe','papier','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 27373753, 'sub_port_id': 27373770, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497592, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'plastique': {'main_port_id': 27373753, 'sub_port_id': 27373771, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497593, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'flou': {'main_port_id': 27373753, 'sub_port_id': 27373772, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497594, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'papier': {'main_port_id': 27373753, 'sub_port_id': 27373773, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497595, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'autre_refus': {'main_port_id': 27373753, 'sub_port_id': 27373774, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497596, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'cartonnette': {'main_port_id': 27373753, 'sub_port_id': 27373775, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497597, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'kraft': {'main_port_id': 27373753, 'sub_port_id': 27373776, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497598, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'metal': {'main_port_id': 27373753, 'sub_port_id': 27373777, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497599, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'mal_croppe': {'main_port_id': 27373753, 'sub_port_id': 27373778, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497600, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'Carton_brun': {'main_port_id': 27373753, 'sub_port_id': 27373779, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497601, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'environnement': {'main_port_id': 27373753, 'sub_port_id': 27373780, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497602, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}, 'Carton_gris': {'main_port_id': 27373753, 'sub_port_id': 27373781, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497603, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 18, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27373770 , 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=27373753 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 (27373770) result : ((1387044074,), (1387044075,), (1387044076,), (1387044096,), (1387044097,), (1387044713,), (1387044714,), (1387044715,), (1387044716,), (1387044845,), (1387045536,), (1387046532,), (1387046635,), (1387046636,), (1387046637,), (1387046638,), (1387046639,), (1387046640,), (1387046641,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373771 , 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=27373753 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 (27373771) result : ((1387044033,), (1387044088,), (1387044089,), (1387044090,), (1387044091,), (1387044092,), (1387044102,), (1387044103,), (1387044104,), (1387044105,), (1387046656,), (1387046657,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373772 , 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=27373753 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 (27373772) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373773 , 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=27373753 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 (27373773) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373774 , 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=27373753 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 (27373774) result : ((1387044078,), (1387044079,), (1387044717,), (1387045538,), (1387046534,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373775 , 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=27373753 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 (27373775) result : ((1387044031,), (1387045543,), (1387045544,), (1387046649,), (1387046650,), (1387046651,), (1387046652,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373776 , 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=27373753 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 (27373776) result : ((1387046538,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373777 , 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=27373753 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 (27373777) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373778 , 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=27373753 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 (27373778) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373779 , 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=27373753 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 (27373779) result : ((1387044032,), (1387044082,), (1387044083,), (1387044084,), (1387044085,), (1387044086,), (1387044087,), (1387044098,), (1387044099,), (1387044100,), (1387044719,), (1387044862,), (1387045546,), (1387045547,), (1387045548,), (1387045549,), (1387045550,), (1387045551,), (1387045552,), (1387045553,), (1387045554,), (1387045555,), (1387046655,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373780 , 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=27373753 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 (27373780) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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 27373781 , 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=27373753 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 (27373781) result : ((1387044598,), (1387044599,), (1387044860,), (1387045539,), (1387045540,), (1387045541,), (1387046536,), (1387046537,), (1387046642,), (1387046643,), (1387046644,), (1387046645,), (1387046647,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27373753) result : ((1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,)) 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 (1387043800) 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`=27373753 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','Teint_Dans_La_Masse','environnement','Carton_brun','metal','autre_refus','kraft','mal_croppe','papier','cartonnette','plastique')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27373753 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','Carton_gris','Teint_Dans_La_Masse','environnement','Carton_brun','metal','autre_refus','kraft','mal_croppe','papier','cartonnette','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 27373753, 'sub_port_id': 27373800, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497640, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'plastique': {'main_port_id': 27373753, 'sub_port_id': 27373801, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497641, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'flou': {'main_port_id': 27373753, 'sub_port_id': 27373802, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497642, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'papier': {'main_port_id': 27373753, 'sub_port_id': 27373803, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497643, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'autre_refus': {'main_port_id': 27373753, 'sub_port_id': 27373804, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497644, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'cartonnette': {'main_port_id': 27373753, 'sub_port_id': 27373805, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497645, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'kraft': {'main_port_id': 27373753, 'sub_port_id': 27373806, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497646, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'metal': {'main_port_id': 27373753, 'sub_port_id': 27373807, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497647, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'mal_croppe': {'main_port_id': 27373753, 'sub_port_id': 27373821, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497648, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'Carton_brun': {'main_port_id': 27373753, 'sub_port_id': 27373827, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497649, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'environnement': {'main_port_id': 27373753, 'sub_port_id': 27373828, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497650, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 19, 4), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}, 'Carton_gris': {'main_port_id': 27373753, 'sub_port_id': 27373829, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18497651, 'last_updated_at': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_desc': datetime.datetime(2025, 9, 30, 23, 33), 'last_updated_at_asc': datetime.datetime(2025, 9, 30, 23, 19, 4)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373800,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373770 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373801,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373771 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373802,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373772 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373803,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373773 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373804,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373774 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373805,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373775 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373806,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373776 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373807,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373777 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373821,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373778 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373827,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373779 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373828,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373780 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27373829,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27373781 lien utilise dans velours : https://marlene.fotonower.com/velours/27373800,27373801,27373802,27373803,27373804,27373805,27373806,27373807,27373821,27373827,27373828,27373829?tags=Teint_Dans_La_Masse,plastique,flou,papier,autre_refus,cartonnette,kraft,metal,mal_croppe,Carton_brun,environnement,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27373753]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] map_info['map_portfolio_photo'] : {27373753: [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146]} final : False mtd_id 4302 list_pids : [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] Looping around the photos to save general results len do output : 1 /27373753. 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, '3801423') ('4302', '27373753', '1387044820', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '27373753', "{'Teint_Dans_La_Masse': 27373770, 'plastique': 27373771, 'flou': 27373772, 'papier': 27373773, 'autre_refus': 27373774, 'cartonnette': 27373775, 'kraft': 27373776, 'metal': 27373777, 'mal_croppe': 27373778, 'Carton_brun': 27373779, 'environnement': 27373780, 'Carton_gris': 27373781}", None, None, None, None, '3801423'), ('4302', '27373753', '1387044820', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423')] time used for this insertion : 0.04129600524902344 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9094483852386475 time spend to save output : 0.04179096221923828 total time spend for step 1 : 1.9512393474578857 step2:final Wed Oct 1 06:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27373753) 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 27373753 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1387043146,1387043250,1387043228,1387043210,1387043206,1387043198,1387043333,1387043331,1387043328,1387043310,1387043288,1387043456,1387043445,1387043441,1387043429,1387043427,1387043409,1387043483,1387043482,1387043473,1387043819,1387043808,1387043805,1387043802,1387043800,1387043498,1387044012,1387044101,1387043984,1387044093,1387043978,1387044080,1387043957,1387044073,1387044071,1387044067,1387044065,1387044109,1387044705,1387044701,1387044736,1387044820); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27373753]) Inside saveOutput : final : False verbose : True original output for save of step final : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} new output for save of step final : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] map_info['map_portfolio_photo'] : {27373753: [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146]} final : False mtd_id 4302 list_pids : [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] Looping around the photos to save general results len do output : 42 /1387044820.Didn't retrieve data . /1387044736.Didn't retrieve data . /1387044705.Didn't retrieve data . /1387044701.Didn't retrieve data . /1387044109.Didn't retrieve data . /1387044101.Didn't retrieve data . /1387044093.Didn't retrieve data . /1387044080.Didn't retrieve data . /1387044073.Didn't retrieve data . /1387044071.Didn't retrieve data . /1387044067.Didn't retrieve data . /1387044065.Didn't retrieve data . /1387044012.Didn't retrieve data . /1387043984.Didn't retrieve data . /1387043978.Didn't retrieve data . /1387043957.Didn't retrieve data . /1387043819.Didn't retrieve data . /1387043808.Didn't retrieve data . /1387043805.Didn't retrieve data . /1387043802.Didn't retrieve data . /1387043800.Didn't retrieve data . /1387043498.Didn't retrieve data . /1387043483.Didn't retrieve data . /1387043482.Didn't retrieve data . /1387043473.Didn't retrieve data . /1387043456.Didn't retrieve data . /1387043445.Didn't retrieve data . /1387043441.Didn't retrieve data . /1387043429.Didn't retrieve data . /1387043427.Didn't retrieve data . /1387043409.Didn't retrieve data . /1387043333.Didn't retrieve data . /1387043331.Didn't retrieve data . /1387043328.Didn't retrieve data . /1387043310.Didn't retrieve data . /1387043288.Didn't retrieve data . /1387043250.Didn't retrieve data . /1387043228.Didn't retrieve data . /1387043210.Didn't retrieve data . /1387043206.Didn't retrieve data . /1387043198.Didn't retrieve data . /1387043146.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, '3801423') ('4302', '27373753', '1387044820', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 126 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', '27373753', '1387044820', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044736', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044705', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044701', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044109', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044101', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044093', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044080', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044073', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044071', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044067', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044065', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387044012', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043984', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043978', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043957', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043819', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043808', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043805', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043802', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043800', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043498', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043483', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043482', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043473', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043456', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043445', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043441', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043429', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043427', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043409', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043333', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043331', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043328', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043310', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043288', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043250', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043228', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043210', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043206', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043198', '0.07611478775228767', None, None, None, None, '3801423'), ('4302', '27373753', '1387043146', '0.07611478775228767', None, None, None, None, '3801423')] time used for this insertion : 0.05847024917602539 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2520296573638916 time spend to save output : 0.06007528305053711 total time spend for step 2 : 0.3121049404144287 step3:velours_tree Wed Oct 1 06:13:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27373753: [{'Teint_Dans_La_Masse': 27373770, 'plastique': 27373771, 'flou': 27373772, 'papier': 27373773, 'autre_refus': 27373774, 'cartonnette': 27373775, 'kraft': 27373776, 'metal': 27373777, 'mal_croppe': 27373778, 'Carton_brun': 27373779, 'environnement': 27373780, 'Carton_gris': 27373781}]} input_args_next_step : {27373753: ()} output_args : {27373753: [{'Teint_Dans_La_Masse': 27373770, 'plastique': 27373771, 'flou': 27373772, 'papier': 27373773, 'autre_refus': 27373774, 'cartonnette': 27373775, 'kraft': 27373776, 'metal': 27373777, 'mal_croppe': 27373778, 'Carton_brun': 27373779, 'environnement': 27373780, 'Carton_gris': 27373781}]} args : 27373753 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 : ({'Teint_Dans_La_Masse': 27373770, 'plastique': 27373771, 'flou': 27373772, 'papier': 27373773, 'autre_refus': 27373774, 'cartonnette': 27373775, 'kraft': 27373776, 'metal': 27373777, 'mal_croppe': 27373778, 'Carton_brun': 27373779, 'environnement': 27373780, 'Carton_gris': 27373781},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27373753) 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([27373753]) 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.28605079650878906 time spend to save output : 4.1484832763671875e-05 total time spend for step 3 : 0.28609228134155273 step4:send_mail_cod Wed Oct 1 06:13:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} input_args_next_step : {1387044820: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044820 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044736 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044705 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044701 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044109 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044101 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044093 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044080 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044073 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044071 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044067 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044065 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387044012 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043984 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043978 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043957 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043819 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043808 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043805 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043802 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043800 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043498 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043483 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043482 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043473 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043456 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043445 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043441 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043429 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043427 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043409 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043333 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043331 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043328 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043310 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043288 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043250 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043228 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043210 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043206 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043198 depend.output_id : 0 input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ()} output_args : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',)} args : 1387043146 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 : {27373753: [{'Teint_Dans_La_Masse': 27373770, 'plastique': 27373771, 'flou': 27373772, 'papier': 27373773, 'autre_refus': 27373774, 'cartonnette': 27373775, 'kraft': 27373776, 'metal': 27373777, 'mal_croppe': 27373778, 'Carton_brun': 27373779, 'environnement': 27373780, 'Carton_gris': 27373781}]} input_args_next_step : {1387044820: ('0.07611478775228767',), 1387044736: ('0.07611478775228767',), 1387044705: ('0.07611478775228767',), 1387044701: ('0.07611478775228767',), 1387044109: ('0.07611478775228767',), 1387044101: ('0.07611478775228767',), 1387044093: ('0.07611478775228767',), 1387044080: ('0.07611478775228767',), 1387044073: ('0.07611478775228767',), 1387044071: ('0.07611478775228767',), 1387044067: ('0.07611478775228767',), 1387044065: ('0.07611478775228767',), 1387044012: ('0.07611478775228767',), 1387043984: ('0.07611478775228767',), 1387043978: ('0.07611478775228767',), 1387043957: ('0.07611478775228767',), 1387043819: ('0.07611478775228767',), 1387043808: ('0.07611478775228767',), 1387043805: ('0.07611478775228767',), 1387043802: ('0.07611478775228767',), 1387043800: ('0.07611478775228767',), 1387043498: ('0.07611478775228767',), 1387043483: ('0.07611478775228767',), 1387043482: ('0.07611478775228767',), 1387043473: ('0.07611478775228767',), 1387043456: ('0.07611478775228767',), 1387043445: ('0.07611478775228767',), 1387043441: ('0.07611478775228767',), 1387043429: ('0.07611478775228767',), 1387043427: ('0.07611478775228767',), 1387043409: ('0.07611478775228767',), 1387043333: ('0.07611478775228767',), 1387043331: ('0.07611478775228767',), 1387043328: ('0.07611478775228767',), 1387043310: ('0.07611478775228767',), 1387043288: ('0.07611478775228767',), 1387043250: ('0.07611478775228767',), 1387043228: ('0.07611478775228767',), 1387043210: ('0.07611478775228767',), 1387043206: ('0.07611478775228767',), 1387043198: ('0.07611478775228767',), 1387043146: ('0.07611478775228767',), 27373753: ()} output_args : {27373753: [{'Teint_Dans_La_Masse': 27373770, 'plastique': 27373771, 'flou': 27373772, 'papier': 27373773, 'autre_refus': 27373774, 'cartonnette': 27373775, 'kraft': 27373776, 'metal': 27373777, 'mal_croppe': 27373778, 'Carton_brun': 27373779, 'environnement': 27373780, 'Carton_gris': 27373781}]} args : 27373753 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 :43, first value : ('0.07611478775228767',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27373753) 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_view ph WHERE photo_id IN (1387044820,1387044736,1387044705,1387044701,1387044109,1387044101,1387044093,1387044080,1387044073,1387044071,1387044067,1387044065,1387044012,1387043984,1387043978,1387043957,1387043819,1387043808,1387043805,1387043802,1387043800,1387043498,1387043483,1387043482,1387043473,1387043456,1387043445,1387043441,1387043429,1387043427,1387043409,1387043333,1387043331,1387043328,1387043310,1387043288,1387043250,1387043228,1387043210,1387043206,1387043198,1387043146) Found this number of photos: 42 ##### Call download_photos : nb_thread : 5 begin to download photo : 1387043146 begin to download photo : 1387043331 begin to download photo : 1387043482 begin to download photo : 1387043978 begin to download photo : 1387044101 download finish for photo 1387043146 begin to download photo : 1387043198 download finish for photo 1387043331 begin to download photo : 1387043333 download finish for photo 1387043482 begin to download photo : 1387043483 download finish for photo 1387044101 begin to download photo : 1387044109 download finish for photo 1387043978 begin to download photo : 1387043984 download finish for photo 1387043198 begin to download photo : 1387043206 download finish for photo 1387043483 begin to download photo : 1387043498 download finish for photo 1387043984 begin to download photo : 1387044012 download finish for photo 1387044109 begin to download photo : 1387044701 download finish for photo 1387043333 begin to download photo : 1387043409 download finish for photo 1387043206 begin to download photo : 1387043210 download finish for photo 1387043498 begin to download photo : 1387043800 download finish for photo 1387044012 begin to download photo : 1387044065 download finish for photo 1387044701 begin to download photo : 1387044705 download finish for photo 1387043409 begin to download photo : 1387043427 download finish for photo 1387043210 begin to download photo : 1387043228 download finish for photo 1387043800 begin to download photo : 1387043802 download finish for photo 1387044705 begin to download photo : 1387044736 download finish for photo 1387044065 begin to download photo : 1387044067 download finish for photo 1387043427 begin to download photo : 1387043429 download finish for photo 1387043228 begin to download photo : 1387043250 download finish for photo 1387043802 begin to download photo : 1387043805 download finish for photo 1387044736 begin to download photo : 1387044820 download finish for photo 1387043429 begin to download photo : 1387043441 download finish for photo 1387044067 begin to download photo : 1387044071 download finish for photo 1387043250 begin to download photo : 1387043288 download finish for photo 1387044820 download finish for photo 1387043805 begin to download photo : 1387043808 download finish for photo 1387043441 begin to download photo : 1387043445 download finish for photo 1387044071 begin to download photo : 1387044073 download finish for photo 1387043808 begin to download photo : 1387043819 download finish for photo 1387043288 begin to download photo : 1387043310 download finish for photo 1387044073 begin to download photo : 1387044080 download finish for photo 1387043445 begin to download photo : 1387043456 download finish for photo 1387043819 begin to download photo : 1387043957 download finish for photo 1387043310 begin to download photo : 1387043328 download finish for photo 1387044080 begin to download photo : 1387044093 download finish for photo 1387043957 download finish for photo 1387043456 begin to download photo : 1387043473 download finish for photo 1387043473 download finish for photo 1387044093 download finish for photo 1387043328 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 42 ; length of list_pids : 42 ; length of list_args : 42 results_Auto_P27373753_01-10-2025_06_14_00.pdf 27373771 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373771 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387044033: '1759267344_3948834_1387043482_2c0ce7af830e0c2cc379b7d11607d444_rle_crop_3981562444_0.png', 1387044088: '1759267384_3950746_1387043483_1dd7549ad3137ff78a114bc578be26c5_rle_crop_3981562637_0.png', 1387044089: '1759267384_3950746_1387043483_1dd7549ad3137ff78a114bc578be26c5_rle_crop_3981562639_0.png', 1387044090: '1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562644_0.png', 1387044091: '1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562653_0.png', 1387044092: '1759267384_3950746_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110_rle_crop_3981562709_0.png', 1387044102: '1759267404_3951807_1387043456_565014b2f521494114de09321a4b3f8f_rle_crop_3981562841_0.png', 1387044103: '1759267404_3951807_1387043456_565014b2f521494114de09321a4b3f8f_rle_crop_3981562837_0.png', 1387044104: '1759267404_3951807_1387043310_6f0f0e6752bed4a1d4560692a570198e_rle_crop_3981562872_0.png', 1387044105: '1759267404_3951807_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b_rle_crop_3981562885_0.png', 1387046656: '1759268965_4034738_1387043805_b07895770061ed4e767d626e162ab235_rle_crop_3981601879_0.png', 1387046657: '1759268965_4034738_1387043805_b07895770061ed4e767d626e162ab235_rle_crop_3981601870_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/e991cac84a439f1a538d627d3532b768_86800043.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/76fbed6f2f9956a36148169d42f003c6_5075104.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/0dd1e6f810e0ea89155540637c8e3918_58318576.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/2cfa0e0fbd906789da8ef23ec39d782f_91688692.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/b417c5ee2f9f763e129c9e57a3cccecc_98792357.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/f140982c96634a5c1bc5b2b4efae1df2_2445178.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/a4e8639482cf8348a0c97bca94ee2e17_99682949.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/01def573ea222cd921b7d6c110876bc3_45675343.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/91d936a798693105f8ca791bd7379800_24891449.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/3758cbc763e6ad185c43c3eafe103207_85365135.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/b4ae692e7a0d3689e3673588c8e98468_73582413.png change filename to text .imagette273737711759292040/ imagette273737711759292040/1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562644_0.png.png imagette273737711759292040/1759268965_4034738_1387043805_b07895770061ed4e767d626e162ab235_rle_crop_3981601870_0.png.png imagette273737711759292040/1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562653_0.png.png imagette273737711759292040/1759267404_3951807_1387043456_565014b2f521494114de09321a4b3f8f_rle_crop_3981562837_0.png.png imagette273737711759292040/1759267384_3950746_1387043483_1dd7549ad3137ff78a114bc578be26c5_rle_crop_3981562637_0.png.png imagette273737711759292040/1759267344_3948834_1387043482_2c0ce7af830e0c2cc379b7d11607d444_rle_crop_3981562444_0.png.png imagette273737711759292040/1759267404_3951807_1387043310_6f0f0e6752bed4a1d4560692a570198e_rle_crop_3981562872_0.png.png imagette273737711759292040/1759267384_3950746_1387043483_1dd7549ad3137ff78a114bc578be26c5_rle_crop_3981562639_0.png.png imagette273737711759292040/1759267404_3951807_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b_rle_crop_3981562885_0.png.png imagette273737711759292040/1759268965_4034738_1387043805_b07895770061ed4e767d626e162ab235_rle_crop_3981601879_0.png.png imagette273737711759292040/1759267384_3950746_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110_rle_crop_3981562709_0.png.png imagette273737711759292040/1759267404_3951807_1387043456_565014b2f521494114de09321a4b3f8f_rle_crop_3981562841_0.png.png imagette273737721759292041/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/73ddab73222049e55f989d3ee9a93c8d_6060708.png imagette273737711759292040 27373772 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373772 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette273737721759292041 27373774 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373774 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387044078: '1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562649_0.png', 1387044079: '1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562645_0.png', 1387044717: '1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573194_0.png', 1387045538: '1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578171_0.png', 1387046534: '1759268844_4029153_1387043228_2671cd9e148681bcec88133869467133_rle_crop_3981598831_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/2250dfbc04291a787f910b63f09bc9d1_55006034.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/732d695e915515b4435b1d02bf2e0042_3024735.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/4872effeff4b5bca43b4b9d561054c11_2745025.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/e5e52157e63966b4a5ae201a7adcdbea_73471788.png change filename to text .imagette273737741759292041/ imagette273737741759292041/1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573194_0.png.png imagette273737741759292041/1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562645_0.png.png imagette273737741759292041/1759268844_4029153_1387043228_2671cd9e148681bcec88133869467133_rle_crop_3981598831_0.png.png imagette273737741759292041/1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578171_0.png.png imagette273737741759292041/1759267384_3950746_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b_rle_crop_3981562649_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/c9f0f3f77115e54aa1052bbbaec0277e_45458283.png imagette273737741759292041 27373775 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373775 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387044031: '1759267344_3948834_1387043473_2e1c7348880be67a1c8ce8ba28887003_rle_crop_3981562450_0.png', 1387045543: '1759268105_3989055_1387044093_1f514b06275bfc48249e85115b62f8a3_rle_crop_3981578125_0.png', 1387045544: '1759268105_3989055_1387043984_6ca165ba89f00762b26dc9fe6e970944_rle_crop_3981578190_0.png', 1387046649: '1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601895_0.png', 1387046650: '1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601893_0.png', 1387046651: '1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601891_0.png', 1387046652: '1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601926_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/20ff780ff9d410651e02a869cf01d4b6_91566602.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/9da40dc2eb4a5d1a76a9615417e9c5ad_98519167.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/9da40dc2eb4a5d1a76a9615417e9c5ad_47339282.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/d256759a5a5dac87500d517affd45baa_40426444.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/bc3699167016e916f63dcbde4bee7f90_13404286.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/735439aeb61a0abb0a54fed8f2506d06_38591941.png change filename to text .imagette273737751759292042/ imagette273737751759292042/1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601926_0.png.png imagette273737751759292042/1759268105_3989055_1387044093_1f514b06275bfc48249e85115b62f8a3_rle_crop_3981578125_0.png.png imagette273737751759292042/1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601895_0.png.png imagette273737751759292042/1759267344_3948834_1387043473_2e1c7348880be67a1c8ce8ba28887003_rle_crop_3981562450_0.png.png imagette273737751759292042/1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601891_0.png.png imagette273737751759292042/1759268105_3989055_1387043984_6ca165ba89f00762b26dc9fe6e970944_rle_crop_3981578190_0.png.png imagette273737751759292042/1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601893_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/82d0334cdd05c0a4f1272b7ce671ba2c_29162176.png imagette273737751759292042 27373776 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373776 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387046538: '1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598843_0.png'} change filename to text .imagette273737761759292043/ imagette273737761759292043/1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598843_0.png.png imagette273737771759292043/ imagette273737781759292043/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/a0624c133cf29fdb28f3a79e11f8fe95_53644472.png imagette273737761759292043 27373777 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373777 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette273737771759292043 27373778 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373778 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette273737781759292043 27373770 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373770 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387044845: '1759267886_3978105_1387044736_0fc4a0081c5d2059f1d0e48e0a5a04bf_rle_crop_3981577713_0.png', 1387046641: '1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601935_0.png', 1387046640: '1759268965_4034738_1387043800_ee2a9a6e909e30b42036ec04aa02ce3d_rle_crop_3981601912_0.png', 1387046639: '1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601901_0.png', 1387046638: '1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601899_0.png', 1387046637: '1759268965_4034738_1387043805_b07895770061ed4e767d626e162ab235_rle_crop_3981601869_0.png', 1387046636: '1759268965_4034738_1387043808_4d90229cf2245e5e954b9aaa03aa8e07_rle_crop_3981601855_0.png', 1387046635: '1759268965_4034738_1387043808_4d90229cf2245e5e954b9aaa03aa8e07_rle_crop_3981601859_0.png', 1387046532: '1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598842_0.png', 1387045536: '1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578176_0.png', 1387044074: '1759267384_3950746_1387043441_1c6960a44dd94f396eb64a6c218359e2_rle_crop_3981562667_0.png', 1387044716: '1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573192_0.png', 1387044715: '1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573195_0.png', 1387044714: '1759267747_3970248_1387044067_d971f408d23a66f1fe8acbdb439202a2_rle_crop_3981573183_0.png', 1387044713: '1759267747_3970248_1387044067_d971f408d23a66f1fe8acbdb439202a2_rle_crop_3981573182_0.png', 1387044097: '1759267404_3951807_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b_rle_crop_3981562892_0.png', 1387044096: '1759267404_3951807_1387043310_6f0f0e6752bed4a1d4560692a570198e_rle_crop_3981562875_0.png', 1387044076: '1759267384_3950746_1387043427_e94c47ba3ca346c925e873858a790356_rle_crop_3981562696_0.png', 1387044075: '1759267384_3950746_1387043429_d69dfbade7662fee4a3583e2a40ce636_rle_crop_3981562679_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/830825159d5132aa21da5a07eaa876d9_28640448.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/82a9ce598c62af24803b0746f304b76b_39790636.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/b3b3d8e773facf5d71df6976fe4db14b_65718899.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/2676e65613ea5ac0d61b61469c04c5d4_41669412.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/fe0a4e4eb29163a545ac7cee78cb686d_33014953.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/87c17a13d0f9ebb3a691e66efd05b841_77894170.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/963382c37ea701935dacada7ca888cd3_88870814.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/e805c4f5a01cc8a6e49257c177d393b4_20677734.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/5da39499e9a539d1be00372660b76622_70355511.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/5fe249cb470dc2b7b5ec809089aaec13_25334393.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/949c0cf87165f16a0d6d3e92669b9388_71598733.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/f48d750d2048f5fcaf45d8f9b96414dd_15699526.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/e0d69b18108d277e158cec793ba02576_91528629.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/49547c1af6a65371c04f91dab963062b_31962986.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/146af01b14f1eec68fe084ac53fea7ab_40125188.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/920b4517105ff0755133c65614914c4b_41169699.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/40c745be2fe6382a725fcd5665e41bd9_28696654.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/323ce90a86a8f3255f1249b2b2feaf34_56316773.png change filename to text .imagette273737701759292043/ imagette273737701759292043/1759268965_4034738_1387043808_4d90229cf2245e5e954b9aaa03aa8e07_rle_crop_3981601859_0.png.png imagette273737701759292043/1759267404_3951807_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b_rle_crop_3981562892_0.png.png imagette273737701759292043/1759268965_4034738_1387043808_4d90229cf2245e5e954b9aaa03aa8e07_rle_crop_3981601855_0.png.png imagette273737701759292043/1759268965_4034738_1387043805_b07895770061ed4e767d626e162ab235_rle_crop_3981601869_0.png.png imagette273737701759292043/1759267384_3950746_1387043427_e94c47ba3ca346c925e873858a790356_rle_crop_3981562696_0.png.png imagette273737701759292043/1759268965_4034738_1387043800_ee2a9a6e909e30b42036ec04aa02ce3d_rle_crop_3981601912_0.png.png imagette273737701759292043/1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601935_0.png.png imagette273737701759292043/1759267384_3950746_1387043429_d69dfbade7662fee4a3583e2a40ce636_rle_crop_3981562679_0.png.png imagette273737701759292043/1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578176_0.png.png imagette273737701759292043/1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573195_0.png.png imagette273737701759292043/1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601899_0.png.png imagette273737701759292043/1759267747_3970248_1387044067_d971f408d23a66f1fe8acbdb439202a2_rle_crop_3981573183_0.png.png imagette273737701759292043/1759267384_3950746_1387043441_1c6960a44dd94f396eb64a6c218359e2_rle_crop_3981562667_0.png.png imagette273737701759292043/1759267747_3970248_1387044067_d971f408d23a66f1fe8acbdb439202a2_rle_crop_3981573182_0.png.png imagette273737701759292043/1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598842_0.png.png imagette273737701759292043/1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573192_0.png.png imagette273737701759292043/1759267886_3978105_1387044736_0fc4a0081c5d2059f1d0e48e0a5a04bf_rle_crop_3981577713_0.png.png imagette273737701759292043/1759267404_3951807_1387043310_6f0f0e6752bed4a1d4560692a570198e_rle_crop_3981562875_0.png.png imagette273737701759292043/1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601901_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/8d5d5295be2b322d9630c3ae19d07638_82403306.png imagette273737701759292043 27373779 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373779 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387044862: '1759267886_3978105_1387044701_11db4975203c62ff3ce12f58e4007fa4_rle_crop_3981577718_0.png', 1387046655: '1759268965_4034738_1387043800_ee2a9a6e909e30b42036ec04aa02ce3d_rle_crop_3981601911_0.png', 1387045555: '1759268105_3989055_1387043957_208dd667ab41aa335c7184442fcc2431_rle_crop_3981578224_0.png', 1387045554: '1759268105_3989055_1387043957_208dd667ab41aa335c7184442fcc2431_rle_crop_3981578220_0.png', 1387045553: '1759268105_3989055_1387043978_e666e8a598620b9c6809cdd3e24f3896_rle_crop_3981578209_0.png', 1387045552: '1759268105_3989055_1387043978_e666e8a598620b9c6809cdd3e24f3896_rle_crop_3981578210_0.png', 1387045551: '1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578181_0.png', 1387045550: '1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578183_0.png', 1387045549: '1759268105_3989055_1387044073_839ec20ef3a8922497cf4563491a2f5f_rle_crop_3981578159_0.png', 1387045548: '1759268105_3989055_1387044073_839ec20ef3a8922497cf4563491a2f5f_rle_crop_3981578155_0.png', 1387045547: '1759268105_3989055_1387044080_6dfe081e8e38114251f4ce7037838de8_rle_crop_3981578144_0.png', 1387045546: '1759268105_3989055_1387044080_6dfe081e8e38114251f4ce7037838de8_rle_crop_3981578145_0.png', 1387044032: '1759267344_3948834_1387043482_2c0ce7af830e0c2cc379b7d11607d444_rle_crop_3981562440_0.png', 1387044719: '1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573190_0.png', 1387044100: '1759267404_3951807_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b_rle_crop_3981562884_0.png', 1387044099: '1759267404_3951807_1387043310_6f0f0e6752bed4a1d4560692a570198e_rle_crop_3981562870_0.png', 1387044098: '1759267404_3951807_1387043328_792af02b669cd9d86a9ec739d9558104_rle_crop_3981562854_0.png', 1387044087: '1759267384_3950746_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110_rle_crop_3981562708_0.png', 1387044086: '1759267384_3950746_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110_rle_crop_3981562706_0.png', 1387044085: '1759267384_3950746_1387043427_e94c47ba3ca346c925e873858a790356_rle_crop_3981562697_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/624224974a6b242a063cf63c1e8eefac_74635651.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/11c3b9795cc0e684e01b5122d37bd1a6_67858710.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/29f7a70a5cbc4b25af6ac1b396c3e5ce_23222169.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/533348d7c9062a920a3ac943a61dfdce_40929094.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/9229979ba1f7bd0a07c8dd8e9dbc5b4f_80896142.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/bc28020d5f50f963ce0ed48a76a2b7b5_91071878.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/f99f9e0742eea17b20474972323ce515_73781867.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/ef91ccd0e1bb1935d60e4ae1c9ec0965_73826197.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/29f7a70a5cbc4b25af6ac1b396c3e5ce_75112262.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/533348d7c9062a920a3ac943a61dfdce_83278290.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/9229979ba1f7bd0a07c8dd8e9dbc5b4f_74019803.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/bc28020d5f50f963ce0ed48a76a2b7b5_72137276.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/1387d8eacdf71d8b9f022355edee689b_15395806.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/a986e89a91b54a674ad87706b194baf5_87061618.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/43af4008dfc4a2b113ee5f574b9721fa_53962878.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/b3e8f04c199290bac0f35a176a867fdb_71512165.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/606760aa25392472083f197882eedf75_97189143.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/0d3586978e1d7d146e51541a3ebaa4e0_62285510.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/f1b1ca11534638bcb4d389adcf40f960_78259882.png change filename to text .imagette273737791759292045/ imagette273737791759292045/1759267747_3970248_1387044065_ea5ff5848903181a4c6dc6b0007043ce_rle_crop_3981573190_0.png.png imagette273737791759292045/1759267404_3951807_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b_rle_crop_3981562884_0.png.png imagette273737791759292045/1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578183_0.png.png imagette273737791759292045/1759267404_3951807_1387043310_6f0f0e6752bed4a1d4560692a570198e_rle_crop_3981562870_0.png.png imagette273737791759292045/1759267384_3950746_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110_rle_crop_3981562706_0.png.png imagette273737791759292045/1759268105_3989055_1387043978_e666e8a598620b9c6809cdd3e24f3896_rle_crop_3981578210_0.png.png imagette273737791759292045/1759268965_4034738_1387043800_ee2a9a6e909e30b42036ec04aa02ce3d_rle_crop_3981601911_0.png.png imagette273737791759292045/1759267886_3978105_1387044701_11db4975203c62ff3ce12f58e4007fa4_rle_crop_3981577718_0.png.png imagette273737791759292045/1759268105_3989055_1387044073_839ec20ef3a8922497cf4563491a2f5f_rle_crop_3981578159_0.png.png imagette273737791759292045/1759267344_3948834_1387043482_2c0ce7af830e0c2cc379b7d11607d444_rle_crop_3981562440_0.png.png imagette273737791759292045/1759268105_3989055_1387043978_e666e8a598620b9c6809cdd3e24f3896_rle_crop_3981578209_0.png.png imagette273737791759292045/1759267404_3951807_1387043328_792af02b669cd9d86a9ec739d9558104_rle_crop_3981562854_0.png.png imagette273737791759292045/1759267384_3950746_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110_rle_crop_3981562708_0.png.png imagette273737791759292045/1759268105_3989055_1387043957_208dd667ab41aa335c7184442fcc2431_rle_crop_3981578220_0.png.png imagette273737791759292045/1759268105_3989055_1387044080_6dfe081e8e38114251f4ce7037838de8_rle_crop_3981578144_0.png.png imagette273737791759292045/1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578181_0.png.png imagette273737791759292045/1759267384_3950746_1387043427_e94c47ba3ca346c925e873858a790356_rle_crop_3981562697_0.png.png imagette273737791759292045/1759268105_3989055_1387044080_6dfe081e8e38114251f4ce7037838de8_rle_crop_3981578145_0.png.png imagette273737791759292045/1759268105_3989055_1387044073_839ec20ef3a8922497cf4563491a2f5f_rle_crop_3981578155_0.png.png imagette273737791759292045/1759268105_3989055_1387043957_208dd667ab41aa335c7184442fcc2431_rle_crop_3981578224_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/c4287a8f9b07d9d925dfcd49263782db_53025909.png imagette273737791759292045 27373781 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373781 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387044598: '1759267506_3956829_1387043250_af737a40cf90ee72fd163cca71951dbe_rle_crop_3981567738_0.png', 1387044599: '1759267506_3956829_1387043146_ba715d4d1b1631e3cf9dd6bb2fd09812_rle_crop_3981567745_0.png', 1387044860: '1759267886_3978105_1387044736_0fc4a0081c5d2059f1d0e48e0a5a04bf_rle_crop_3981577709_0.png', 1387045539: '1759268105_3989055_1387044073_839ec20ef3a8922497cf4563491a2f5f_rle_crop_3981578160_0.png', 1387045540: '1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578179_0.png', 1387045541: '1759268105_3989055_1387043957_208dd667ab41aa335c7184442fcc2431_rle_crop_3981578225_0.png', 1387046536: '1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598839_0.png', 1387046537: '1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598838_0.png', 1387046642: '1759268965_4034738_1387043808_4d90229cf2245e5e954b9aaa03aa8e07_rle_crop_3981601856_0.png', 1387046643: '1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601898_0.png', 1387046644: '1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601930_0.png', 1387046645: '1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601924_0.png', 1387046647: '1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601925_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/bceed5863e5e7a82747eba578d4aaf3a_97317393.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/1be3d16bcce33278e4bd89bda20dfdee_36177785.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/dc1629f8aa0361a8d6b7535613202da5_21965353.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/51f2c580a84a7c367f9313f1e44f7b6b_60141025.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/214fdcc7007e2d308e5c8ee0aec8aee4_51005116.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/51f2c580a84a7c367f9313f1e44f7b6b_39324269.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/c9a3ccfb60893565bcdd1077983b6866_12200339.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/992a09c364b0924b71a2bbeb156b54e6_2714103.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/8464c9ec675cb3bf785b0414a0ad2888_97551730.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/4ed268570b32c0a4556559069433f0ac_76728427.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/7d8137386afcd7c0a9b24a80e8ef8166_82988249.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/e23dd3bb000249efdc74261b11d9c847_19351349.png change filename to text .imagette273737811759292047/ imagette273737811759292047/1759268105_3989055_1387044073_839ec20ef3a8922497cf4563491a2f5f_rle_crop_3981578160_0.png.png imagette273737811759292047/1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598839_0.png.png imagette273737811759292047/1759268105_3989055_1387043957_208dd667ab41aa335c7184442fcc2431_rle_crop_3981578225_0.png.png imagette273737811759292047/1759268965_4034738_1387043808_4d90229cf2245e5e954b9aaa03aa8e07_rle_crop_3981601856_0.png.png imagette273737811759292047/1759268105_3989055_1387044071_336fa2fc66428d457dc3f8d4847ebd4a_rle_crop_3981578179_0.png.png imagette273737811759292047/1759267506_3956829_1387043250_af737a40cf90ee72fd163cca71951dbe_rle_crop_3981567738_0.png.png imagette273737811759292047/1759267506_3956829_1387043146_ba715d4d1b1631e3cf9dd6bb2fd09812_rle_crop_3981567745_0.png.png imagette273737811759292047/1759268965_4034738_1387043802_64ab1cb0929fadba3f4a6f4e30e388df_rle_crop_3981601898_0.png.png imagette273737811759292047/1759267886_3978105_1387044736_0fc4a0081c5d2059f1d0e48e0a5a04bf_rle_crop_3981577709_0.png.png imagette273737811759292047/1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601925_0.png.png imagette273737811759292047/1759268844_4029153_1387043210_791451e408af2d6093bb8cd5d08b5458_rle_crop_3981598838_0.png.png imagette273737811759292047/1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601930_0.png.png imagette273737811759292047/1759268965_4034738_1387043498_7ba950c629fc6dfbba7668cd3f31691b_rle_crop_3981601924_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/372460bfd6b305d0a7f52ee7cd07ce2d_94223583.png imagette273737811759292047 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27373753 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27373800,27373801,27373802,27373803,27373804,27373805,27373806,27373807,27373821,27373827,27373828,27373829?tags=Teint_Dans_La_Masse,plastique,flou,papier,autre_refus,cartonnette,kraft,metal,mal_croppe,Carton_brun,environnement,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1387044820] : ('0.07611478775228767',) no score found for photo 1387044820 We are sending mail with results at report@fotonower.com args[1387044736] : ('0.07611478775228767',) no score found for photo 1387044736 We are sending mail with results at report@fotonower.com args[1387044705] : ('0.07611478775228767',) no score found for photo 1387044705 We are sending mail with results at report@fotonower.com args[1387044701] : ('0.07611478775228767',) no score found for photo 1387044701 We are sending mail with results at report@fotonower.com args[1387044109] : ('0.07611478775228767',) no score found for photo 1387044109 We are sending mail with results at report@fotonower.com args[1387044101] : ('0.07611478775228767',) no score found for photo 1387044101 We are sending mail with results at report@fotonower.com args[1387044093] : ('0.07611478775228767',) no score found for photo 1387044093 We are sending mail with results at report@fotonower.com args[1387044080] : ('0.07611478775228767',) no score found for photo 1387044080 We are sending mail with results at report@fotonower.com args[1387044073] : ('0.07611478775228767',) no score found for photo 1387044073 We are sending mail with results at report@fotonower.com args[1387044071] : ('0.07611478775228767',) no score found for photo 1387044071 We are sending mail with results at report@fotonower.com args[1387044067] : ('0.07611478775228767',) no score found for photo 1387044067 We are sending mail with results at report@fotonower.com args[1387044065] : ('0.07611478775228767',) no score found for photo 1387044065 We are sending mail with results at report@fotonower.com args[1387044012] : ('0.07611478775228767',) no score found for photo 1387044012 We are sending mail with results at report@fotonower.com args[1387043984] : ('0.07611478775228767',) no score found for photo 1387043984 We are sending mail with results at report@fotonower.com args[1387043978] : ('0.07611478775228767',) no score found for photo 1387043978 We are sending mail with results at report@fotonower.com args[1387043957] : ('0.07611478775228767',) no score found for photo 1387043957 We are sending mail with results at report@fotonower.com args[1387043819] : ('0.07611478775228767',) no score found for photo 1387043819 We are sending mail with results at report@fotonower.com args[1387043808] : ('0.07611478775228767',) no score found for photo 1387043808 We are sending mail with results at report@fotonower.com args[1387043805] : ('0.07611478775228767',) no score found for photo 1387043805 We are sending mail with results at report@fotonower.com args[1387043802] : ('0.07611478775228767',) no score found for photo 1387043802 We are sending mail with results at report@fotonower.com args[1387043800] : ('0.07611478775228767',) no score found for photo 1387043800 We are sending mail with results at report@fotonower.com args[1387043498] : ('0.07611478775228767',) no score found for photo 1387043498 We are sending mail with results at report@fotonower.com args[1387043483] : ('0.07611478775228767',) no score found for photo 1387043483 We are sending mail with results at report@fotonower.com args[1387043482] : ('0.07611478775228767',) no score found for photo 1387043482 We are sending mail with results at report@fotonower.com args[1387043473] : ('0.07611478775228767',) no score found for photo 1387043473 We are sending mail with results at report@fotonower.com args[1387043456] : ('0.07611478775228767',) no score found for photo 1387043456 We are sending mail with results at report@fotonower.com args[1387043445] : ('0.07611478775228767',) no score found for photo 1387043445 We are sending mail with results at report@fotonower.com args[1387043441] : ('0.07611478775228767',) no score found for photo 1387043441 We are sending mail with results at report@fotonower.com args[1387043429] : ('0.07611478775228767',) no score found for photo 1387043429 We are sending mail with results at report@fotonower.com args[1387043427] : ('0.07611478775228767',) no score found for photo 1387043427 We are sending mail with results at report@fotonower.com args[1387043409] : ('0.07611478775228767',) no score found for photo 1387043409 We are sending mail with results at report@fotonower.com args[1387043333] : ('0.07611478775228767',) no score found for photo 1387043333 We are sending mail with results at report@fotonower.com args[1387043331] : ('0.07611478775228767',) no score found for photo 1387043331 We are sending mail with results at report@fotonower.com args[1387043328] : ('0.07611478775228767',) no score found for photo 1387043328 We are sending mail with results at report@fotonower.com args[1387043310] : ('0.07611478775228767',) no score found for photo 1387043310 We are sending mail with results at report@fotonower.com args[1387043288] : ('0.07611478775228767',) no score found for photo 1387043288 We are sending mail with results at report@fotonower.com args[1387043250] : ('0.07611478775228767',) no score found for photo 1387043250 We are sending mail with results at report@fotonower.com args[1387043228] : ('0.07611478775228767',) no score found for photo 1387043228 We are sending mail with results at report@fotonower.com args[1387043210] : ('0.07611478775228767',) no score found for photo 1387043210 We are sending mail with results at report@fotonower.com args[1387043206] : ('0.07611478775228767',) no score found for photo 1387043206 We are sending mail with results at report@fotonower.com args[1387043198] : ('0.07611478775228767',) no score found for photo 1387043198 We are sending mail with results at report@fotonower.com args[1387043146] : ('0.07611478775228767',) no score found for photo 1387043146 We are sending mail with results at report@fotonower.com refus_total : 0.07611478775228767 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373753 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_P27373753_01-10-2025_06_14_00.pdf results_Auto_P27373753_01-10-2025_06_14_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373753_01-10-2025_06_14_00.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','27373753','results_Auto_P27373753_01-10-2025_06_14_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373753_01-10-2025_06_14_00.pdf','pdf','','0.56','0.07611478775228767') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27373753]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] map_info['map_portfolio_photo'] : {27373753: [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146]} final : False mtd_id 4302 list_pids : [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] 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, '3801423') ('4302', '27373753', '1387044820', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27373753', '1387044820', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423')] time used for this insertion : 0.042566776275634766 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.715965509414673 time spend to save output : 0.04312419891357422 total time spend for step 4 : 13.759089708328247 step5:split_time_score Wed Oct 1 06:14:12 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 : ['27373753'] 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 : [('27373753',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27373753) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1387044101: {'path': 'temp/1759292039_1728343_1387044101_62b71218a131700566c1755d34f4c833.jpg', 'extension': 'jpg'}, 1387044109: {'path': 'temp/1759292039_1728343_1387044109_87b933b2905d6fc8c982d31589121452.jpg', 'extension': 'jpg'}, 1387044701: {'path': 'temp/1759292039_1728343_1387044701_11db4975203c62ff3ce12f58e4007fa4.jpg', 'extension': 'jpg'}, 1387044705: {'path': 'temp/1759292039_1728343_1387044705_6fb73e617f173f45ca42b4ec48b69686.jpg', 'extension': 'jpg'}, 1387044736: {'path': 'temp/1759292039_1728343_1387044736_0fc4a0081c5d2059f1d0e48e0a5a04bf.jpg', 'extension': 'jpg'}, 1387044820: {'path': 'temp/1759292039_1728343_1387044820_7e4b4295bdb0d7341d571f245bb1e650.jpg', 'extension': 'jpg'}, 1387043482: {'path': 'temp/1759292039_1728343_1387043482_2c0ce7af830e0c2cc379b7d11607d444.jpg', 'extension': 'jpg'}, 1387043483: {'path': 'temp/1759292039_1728343_1387043483_1dd7549ad3137ff78a114bc578be26c5.jpg', 'extension': 'jpg'}, 1387043498: {'path': 'temp/1759292039_1728343_1387043498_7ba950c629fc6dfbba7668cd3f31691b.jpg', 'extension': 'jpg'}, 1387043800: {'path': 'temp/1759292039_1728343_1387043800_ee2a9a6e909e30b42036ec04aa02ce3d.jpg', 'extension': 'jpg'}, 1387043802: {'path': 'temp/1759292039_1728343_1387043802_64ab1cb0929fadba3f4a6f4e30e388df.jpg', 'extension': 'jpg'}, 1387043805: {'path': 'temp/1759292039_1728343_1387043805_b07895770061ed4e767d626e162ab235.jpg', 'extension': 'jpg'}, 1387043808: {'path': 'temp/1759292039_1728343_1387043808_4d90229cf2245e5e954b9aaa03aa8e07.jpg', 'extension': 'jpg'}, 1387043819: {'path': 'temp/1759292039_1728343_1387043819_35ad043671875ae7b1d04a2a13ac009f.jpg', 'extension': 'jpg'}, 1387043957: {'path': 'temp/1759292039_1728343_1387043957_208dd667ab41aa335c7184442fcc2431.jpg', 'extension': 'jpg'}, 1387043331: {'path': 'temp/1759292039_1728343_1387043331_141428d14e7e65dbb0bc9217791cfb05.jpg', 'extension': 'jpg'}, 1387043333: {'path': 'temp/1759292039_1728343_1387043333_07e71cb581b9f837b405ba78de2be506.jpg', 'extension': 'jpg'}, 1387043409: {'path': 'temp/1759292039_1728343_1387043409_d68911ea2ee4bc5af1e52d9ef42e1110.jpg', 'extension': 'jpg'}, 1387043427: {'path': 'temp/1759292039_1728343_1387043427_e94c47ba3ca346c925e873858a790356.jpg', 'extension': 'jpg'}, 1387043429: {'path': 'temp/1759292039_1728343_1387043429_d69dfbade7662fee4a3583e2a40ce636.jpg', 'extension': 'jpg'}, 1387043441: {'path': 'temp/1759292039_1728343_1387043441_1c6960a44dd94f396eb64a6c218359e2.jpg', 'extension': 'jpg'}, 1387043445: {'path': 'temp/1759292039_1728343_1387043445_d5c31ffbbe6ca8899a115f184f07cd3b.jpg', 'extension': 'jpg'}, 1387043456: {'path': 'temp/1759292039_1728343_1387043456_565014b2f521494114de09321a4b3f8f.jpg', 'extension': 'jpg'}, 1387043473: {'path': 'temp/1759292039_1728343_1387043473_2e1c7348880be67a1c8ce8ba28887003.jpg', 'extension': 'jpg'}, 1387043978: {'path': 'temp/1759292039_1728343_1387043978_e666e8a598620b9c6809cdd3e24f3896.jpg', 'extension': 'jpg'}, 1387043984: {'path': 'temp/1759292039_1728343_1387043984_6ca165ba89f00762b26dc9fe6e970944.jpg', 'extension': 'jpg'}, 1387044012: {'path': 'temp/1759292039_1728343_1387044012_737f9b2e390409cf5b602144177a3a73.jpg', 'extension': 'jpg'}, 1387044065: {'path': 'temp/1759292039_1728343_1387044065_ea5ff5848903181a4c6dc6b0007043ce.jpg', 'extension': 'jpg'}, 1387044067: {'path': 'temp/1759292039_1728343_1387044067_d971f408d23a66f1fe8acbdb439202a2.jpg', 'extension': 'jpg'}, 1387044071: {'path': 'temp/1759292039_1728343_1387044071_336fa2fc66428d457dc3f8d4847ebd4a.jpg', 'extension': 'jpg'}, 1387044073: {'path': 'temp/1759292039_1728343_1387044073_839ec20ef3a8922497cf4563491a2f5f.jpg', 'extension': 'jpg'}, 1387044080: {'path': 'temp/1759292039_1728343_1387044080_6dfe081e8e38114251f4ce7037838de8.jpg', 'extension': 'jpg'}, 1387044093: {'path': 'temp/1759292039_1728343_1387044093_1f514b06275bfc48249e85115b62f8a3.jpg', 'extension': 'jpg'}, 1387043146: {'path': 'temp/1759292039_1728343_1387043146_ba715d4d1b1631e3cf9dd6bb2fd09812.jpg', 'extension': 'jpg'}, 1387043198: {'path': 'temp/1759292039_1728343_1387043198_fce4c1a84a9068c2267976639d9dcdec.jpg', 'extension': 'jpg'}, 1387043206: {'path': 'temp/1759292039_1728343_1387043206_54b637a670cf40f2b42e35f62904815a.jpg', 'extension': 'jpg'}, 1387043210: {'path': 'temp/1759292039_1728343_1387043210_791451e408af2d6093bb8cd5d08b5458.jpg', 'extension': 'jpg'}, 1387043228: {'path': 'temp/1759292039_1728343_1387043228_2671cd9e148681bcec88133869467133.jpg', 'extension': 'jpg'}, 1387043250: {'path': 'temp/1759292039_1728343_1387043250_af737a40cf90ee72fd163cca71951dbe.jpg', 'extension': 'jpg'}, 1387043288: {'path': 'temp/1759292039_1728343_1387043288_b4b31904e1ab8f1795f7c8e815b1c93b.jpg', 'extension': 'jpg'}, 1387043310: {'path': 'temp/1759292039_1728343_1387043310_6f0f0e6752bed4a1d4560692a570198e.jpg', 'extension': 'jpg'}, 1387043328: {'path': 'temp/1759292039_1728343_1387043328_792af02b669cd9d86a9ec739d9558104.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 = 27373753; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27373753 group by h (('23', 42),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27373753 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 (27373753) 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 (27373753) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30092025 27373753 Nombre de photos uploadées : 42 / 23040 (0%) 30092025 27373753 Nombre de photos taguées (types de déchets): 0 / 42 (0%) 30092025 27373753 Nombre de photos taguées (volume) : 0 / 42 (0%) [{'photo_id': 1387043146, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/ba715d4d1b1631e3cf9dd6bb2fd09812.jpg', 'username': None, 'uploaded_at': 1759266967, 'text': 'image_30092025_23_15_44_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387043250, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/af737a40cf90ee72fd163cca71951dbe.jpg', 'username': None, 'uploaded_at': 1759267032, 'text': 'image_30092025_23_15_54_010143m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1387043228, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/2671cd9e148681bcec88133869467133.jpg', 'username': None, 'uploaded_at': 1759267032, 'text': 'image_30092025_23_16_04_010152m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387043210, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/30/791451e408af2d6093bb8cd5d08b5458.jpg', 'username': None, 'uploaded_at': 1759267032, 'text': 'image_30092025_23_16_14_010138m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ?????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0022275447845458984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27373753, '2025-09-30' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-30' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2363251,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6670753955841064 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= 2363251 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27335682, 'dashboard_result_id': 15846511, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335682_01-10-2025_05_34_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27335683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27335684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27335685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27335686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27335687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27335688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27335689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27335690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27335691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27335692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27335693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27335694, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27335814, 'dashboard_result_id': 15846512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335814_01-10-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27335815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27335816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27335817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27335818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27335819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27335820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27335821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27335822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27335823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27335824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27335825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27335826, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27335961, 'dashboard_result_id': 15846513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335961_01-10-2025_05_36_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27336048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27336049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27336050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27336051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27336052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27336053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27336054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27336055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27336056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27336057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27336058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27336059, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27336428, 'dashboard_result_id': 15846514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27336428_01-10-2025_05_36_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27336465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27336466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27336467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27336468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27336469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27336470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27336471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27336472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27336473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27336474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27336475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27336476, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27337055, 'dashboard_result_id': 15846515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337055_01-10-2025_05_36_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27337056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27337057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27337058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27337059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27337060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27337061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27337062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27337063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27337064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27337065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27337066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27337067, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27337483, 'dashboard_result_id': 15846516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337483_01-10-2025_05_37_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27337621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27337622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27337623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27337624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27337625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27337626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27337627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27337628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27337629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27337630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27337631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27337632, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27338516, 'dashboard_result_id': 15846517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338516_01-10-2025_05_38_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27338534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27338535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27338536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27338537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27338538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27338539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27338540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27338541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27338542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27338543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27338544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27338545, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27338908, 'dashboard_result_id': 15846518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338908_01-10-2025_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27338909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27338910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27338911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27338912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27338913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27338914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27338915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27338916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27338917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27338918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27338919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27338920, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27339780, 'dashboard_result_id': 15846520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339780_01-10-2025_05_39_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27339783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27339784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27339785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27339786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27339787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27339788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27339789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27339790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27339791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27339792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27339793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27339794, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27339914, 'dashboard_result_id': 15846521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339914_01-10-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27339915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27339916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27339917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27339918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27339919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27339920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27339921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27339922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27339923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27339924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27339925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27339926, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27346603, 'dashboard_result_id': 15846523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346603_01-10-2025_05_40_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27347383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27347384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27347385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27347386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27347387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27347388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27347389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27347390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27347391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27347392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27347393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27347394, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27346604, 'dashboard_result_id': 15846524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346604_01-10-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346645, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27346605, 'dashboard_result_id': 15846526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346605_01-10-2025_05_41_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27346880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346891, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27343961, 'dashboard_result_id': 15846527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343961_01-10-2025_05_42_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346337, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27343964, 'dashboard_result_id': 15846529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343964_01-10-2025_05_42_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346496, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27346606, 'dashboard_result_id': 15846531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346606_01-10-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27347098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27347099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27347100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27347101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27347102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27347103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27347104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27347105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27347106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27347107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27347108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27347109, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27346607, 'dashboard_result_id': 15846532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346607_01-10-2025_05_44_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27347236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27347237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27347238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27347239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27347240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27347241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27347242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27347243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27347244, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27347245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27347246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27347247, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27343995, 'dashboard_result_id': 15846533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343995_01-10-2025_05_44_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346266, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27341302, 'dashboard_result_id': 15846535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341302_01-10-2025_05_45_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27341840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27341841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27341842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27341843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27341844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27341845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27341846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27341847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27341848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27341849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27341850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27341851, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27343998, 'dashboard_result_id': 15846536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343998_01-10-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346094, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27344000, 'dashboard_result_id': 15846538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344000_01-10-2025_05_46_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27345883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27345884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27345885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27345886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27345887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27345888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27345889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27345890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27345891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27345892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27345893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27345894, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27341336, 'dashboard_result_id': 15846539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341336_01-10-2025_05_46_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342067, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27344002, 'dashboard_result_id': 15846541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344002_01-10-2025_05_48_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27345305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27345306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27345307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27345308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27345309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27345310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27345311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27345312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27345313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27345314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27345315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27345316, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27340889, 'dashboard_result_id': 15846542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27340889_01-10-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27341272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27341273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27341274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27341275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27341276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27341277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27341278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27341279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27341280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27341281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27341282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27341283, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27342266, 'dashboard_result_id': 15846544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342266_01-10-2025_05_49_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342453, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27343199, 'dashboard_result_id': 15846545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343199_01-10-2025_05_50_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27343718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27343719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27343720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27343721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27343722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27343723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27343724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27343725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27343726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27343727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27343728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27343729, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27342690, 'dashboard_result_id': 15846546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342690_01-10-2025_05_50_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342746, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27343836, 'dashboard_result_id': 15846548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343836_01-10-2025_05_51_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27343967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27343968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27343969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27343970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27343971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27343972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27343973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27343974, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27343975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27343976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27343977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27343978, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27344539, 'dashboard_result_id': 15846549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344539_01-10-2025_05_51_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27344546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27344547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27344548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27344549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27344550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27344551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27344552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27344553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27344554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27344555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27344556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27344557, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27348083, 'dashboard_result_id': 15846550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348083_01-10-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27348140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27348141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27348142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27348143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27348144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27348145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27348146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27348147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27348148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27348149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27348150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27348151, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27348699, 'dashboard_result_id': 15846552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348699_01-10-2025_05_52_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27349167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27349168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27349169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27349170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27349171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27349172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27349173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27349174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27349175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27349176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27349177, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27349178, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27349371, 'dashboard_result_id': 15846553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27349371_01-10-2025_05_52_39.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27349639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27349640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27349641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27349642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27349643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27349644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27349645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27349646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27349647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27349648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27349649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27349650, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27350226, 'dashboard_result_id': 15846555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350226_01-10-2025_05_53_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27350227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27350228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27350229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27350230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27350231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27350232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27350233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27350234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27350235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27350236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27350237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27350238, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27350819, 'dashboard_result_id': 15846556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350819_01-10-2025_05_54_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27350827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27350828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27350829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27350830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27350831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27350832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27350833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27350834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27350835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27350836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27350837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27350838, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27351603, 'dashboard_result_id': 15846557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351603_01-10-2025_05_54_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27351611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27351612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27351613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27351614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27351615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27351616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27351617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27351618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27351619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27351620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27351621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27351622, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27351983, 'dashboard_result_id': 15846559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351983_01-10-2025_05_55_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27352046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27352047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27352048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27352049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27352050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27352051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27352052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27352053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27352054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27352055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27352056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27352057, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27352576, 'dashboard_result_id': 15846560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27352576_01-10-2025_05_56_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27352682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27352683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27352684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27352685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27352686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27352687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27352688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27352689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27352690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27352691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27352692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27352693, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27353601, 'dashboard_result_id': 15846562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27353601_01-10-2025_05_56_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27353690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27353691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27353692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27353693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27353694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27353695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27353696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27353697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27353698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27353699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27353700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27353701, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27354235, 'dashboard_result_id': 15846563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27354235_01-10-2025_05_57_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27354629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27354630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27354631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27354632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27354633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27354634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27354635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27354636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27354637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27354638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27354639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27354640, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27355020, 'dashboard_result_id': 15846565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355020_01-10-2025_05_58_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27355031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27355032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27355033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27355034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27355035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27355036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27355037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27355038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27355039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27355040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27355041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27355042, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27355733, 'dashboard_result_id': 15846566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355733_01-10-2025_05_58_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27355744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27355745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27355746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27355747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27355748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27355749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27355750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27355751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27355752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27355753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27355754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27355755, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27356323, 'dashboard_result_id': 15846568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356323_01-10-2025_05_59_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27356338, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27356339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27356340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27356341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27356342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27356343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27356344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27356345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27356346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27356347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27356348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27356349, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27356877, 'dashboard_result_id': 15846569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356877_01-10-2025_06_00_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27356939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27356940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27356941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27356942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27356943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27356944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27356945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27356946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27356947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27356948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27356949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27356950, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27357789, 'dashboard_result_id': 15846570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27357789_01-10-2025_06_00_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27357807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27357808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27357809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27357810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27357811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27357812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27357813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27357814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27357815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27357816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27357817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27357818, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27359942, 'dashboard_result_id': 15846572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27359942_01-10-2025_06_01_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27359986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27359987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27359988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27359989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27359990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27359991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27359992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27359993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27359994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27359995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27359996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27359997, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27360591, 'dashboard_result_id': 15846573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27360591_01-10-2025_06_02_10.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27360602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27360603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27360604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27360605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27360606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27360607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27360608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27360609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27360610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27360611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27360612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27360613, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27361214, 'dashboard_result_id': 15846574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361214_01-10-2025_06_02_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27361278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27361279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27361280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27361281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27361282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27361283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27361284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27361285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27361286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27361287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27361288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27361289, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27361733, 'dashboard_result_id': 15846576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361733_01-10-2025_06_03_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27361750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27361751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27361752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27361753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27361754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27361755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27361757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27361758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27361759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27361760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27361761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27361762, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27362389, 'dashboard_result_id': 15846577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27362389_01-10-2025_06_04_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27362402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27362403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27362404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27362405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27362406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27362407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27362408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27362409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27362410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27362411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27362412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27362413, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27363066, 'dashboard_result_id': 15846579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363066_01-10-2025_06_04_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27363114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27363115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27363116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27363117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27363118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27363119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27363120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27363121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27363122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27363123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27363124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27363125, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27363779, 'dashboard_result_id': 15846580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363779_01-10-2025_06_06_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27363818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27363819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27363820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27363821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27363822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27363823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27363824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27363825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27363826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27363827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27363828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27363829, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27364486, 'dashboard_result_id': 15846581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27364486_01-10-2025_06_06_09.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27364512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27364520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27364530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27364531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27364532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27364533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27364534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27364535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27364536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27364537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27364538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27364539, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27365188, 'dashboard_result_id': 15846583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365188_01-10-2025_06_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27365198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27365199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27365200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27365201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27365202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27365203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27365204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27365205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27365206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27365207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27365209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27365210, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27365970, 'dashboard_result_id': 15846584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365970_01-10-2025_06_07_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27365993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27365994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27365995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27365996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27365997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27365998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27365999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27366000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27366001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27366002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27366003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27366004, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27366469, 'dashboard_result_id': 15846585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27366469_01-10-2025_06_08_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27366475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27366476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27366477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27366478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27366479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27366480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27366481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27366482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27366483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27366484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27366485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27366486, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27367917, 'dashboard_result_id': 15846587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27367917_01-10-2025_06_08_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27367971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27367972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27367973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27367974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27367975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27367976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27367977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27367978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27367979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27367980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27367981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27367982, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27368441, 'dashboard_result_id': 15846588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368441_01-10-2025_06_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27368472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27368473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27368474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27368475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27368476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27368477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27368478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27368479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27368480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27368481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27368482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27368483, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27368974, 'dashboard_result_id': 15846590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368974_01-10-2025_06_10_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27369012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27369013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27369014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27369015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27369016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27369017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27369018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27369019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27369020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27369021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27369022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27369023, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27369635, 'dashboard_result_id': 15846591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27369635_01-10-2025_06_10_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27369647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27369648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27369649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27369650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27369651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27369652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27369653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27369654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27369655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27369656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27369657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27369658, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27370115, 'dashboard_result_id': 15846592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370115_01-10-2025_06_11_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27370125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27370126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27370127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27370128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27370129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27370130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27370131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27370132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27370133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27370134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27370135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27370136, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27370829, 'dashboard_result_id': 15846594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370829_01-10-2025_06_11_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27370887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27370888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27370889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27370890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27370891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27370892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27370893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27370894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27370895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27370896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27370897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27370898, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27371578, 'dashboard_result_id': 15846595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27371578_01-10-2025_06_12_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27371603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27371604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27371605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27371606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27371607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27371608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27371609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27371610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27371611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27371612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27371613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27371614, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27372424, 'dashboard_result_id': 15846596, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27372424_01-10-2025_06_12_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27372435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27372436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27372437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27372438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27372439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27372440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27372441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27372442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27372443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27372444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27372445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27372446, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27373048, 'dashboard_result_id': 15846598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373048_01-10-2025_06_13_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27373093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27373094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27373095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27373096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27373097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27373098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27373099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27373100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27373101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27373102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27373103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27373104, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27373753, 'dashboard_result_id': 15846599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373753_30-09-2025_23_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27373770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27373771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27373772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27373773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27373774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27373775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27373776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27373777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27373778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27373779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27373780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27373781, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27374485, 'dashboard_result_id': 15846601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27374485_30-09-2025_23_47_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27374490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27374491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27374492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27374493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27374494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27374495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27374496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27374497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27374498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27374499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27374500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27374501, 'pht': 3726}}"}, {'dashboat_entry_day': 2363251, 'dashboard_run_id': 2378391, 'mtr_portfolio_id': 27375132, 'dashboard_result_id': 15846602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375132_01-10-2025_05_56_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27375172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27375173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27375174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27375175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27375176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27375177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27375178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27375180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27375181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27375182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27375183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27375184, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27335682 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801353, 'mtr_portfolio_id': 27335682, 'created_at': datetime.datetime(2025, 10, 1, 5, 34, 33), 'result': '0.6203903545862574', 'result_long': None, 'result_double': None}] Qualite : 0.6203903545862574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27335682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335682_01-10-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27335682 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335682_01-10-2025_05_34_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27335683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27335684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27335685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27335686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27335687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27335688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27335689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27335690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27335691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27335692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27335693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27335694, 'pht': 3726}}" where mtr_portfolio_id = 27335682 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27335682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846511, 0.6203903545862574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335682_01-10-2025_05_34_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27335683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27335684, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27335685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27335686, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27335687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27335688, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27335689, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27335690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27335691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27335692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27335693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27335694, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27335814 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801355, 'mtr_portfolio_id': 27335814, 'created_at': datetime.datetime(2025, 10, 1, 5, 35, 34), 'result': '0.5751229385869768', 'result_long': None, 'result_double': None}] Qualite : 0.5751229385869768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27335814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335814_01-10-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27335814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335814_01-10-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27335815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27335816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27335817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27335818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27335819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27335820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27335821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27335822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27335823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27335824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27335825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27335826, 'pht': 3726}}" where mtr_portfolio_id = 27335814 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27335814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846512, 0.5751229385869768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335814_01-10-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27335815, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27335816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27335817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27335818, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27335819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27335820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27335821, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27335822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27335823, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27335824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27335825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27335826, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27335961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801357, 'mtr_portfolio_id': 27335961, 'created_at': datetime.datetime(2025, 10, 1, 5, 36, 5), 'result': '0.05682456087437678', 'result_long': None, 'result_double': None}] Qualite : 0.05682456087437678 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27335961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335961_01-10-2025_05_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27335961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335961_01-10-2025_05_36_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27336048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27336049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27336050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27336051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27336052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27336053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27336054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27336055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27336056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27336057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27336058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27336059, 'pht': 3726}}" where mtr_portfolio_id = 27335961 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27335961 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846513, 0.05682456087437678, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27335961_01-10-2025_05_36_06.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27336048, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27336049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27336050, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27336051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27336052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27336053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27336054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27336055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27336056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27336057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27336058, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27336059, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27336428 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801358, 'mtr_portfolio_id': 27336428, 'created_at': datetime.datetime(2025, 10, 1, 5, 36, 8), 'result': '0.03513037243292421', 'result_long': None, 'result_double': None}] Qualite : 0.03513037243292421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27336428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27336428_01-10-2025_05_36_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27336428 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27336428_01-10-2025_05_36_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27336465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27336466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27336467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27336468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27336469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27336470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27336471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27336472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27336473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27336474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27336475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27336476, 'pht': 3726}}" where mtr_portfolio_id = 27336428 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27336428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846514, 0.03513037243292421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27336428_01-10-2025_05_36_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27336465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27336466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27336467, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27336468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27336469, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27336470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27336471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27336472, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27336473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27336474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27336475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27336476, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27337055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801359, 'mtr_portfolio_id': 27337055, 'created_at': datetime.datetime(2025, 10, 1, 5, 36, 35), 'result': '0.11175540744958323', 'result_long': None, 'result_double': None}] Qualite : 0.11175540744958323 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27337055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337055_01-10-2025_05_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27337055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337055_01-10-2025_05_36_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27337056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27337057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27337058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27337059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27337060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27337061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27337062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27337063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27337064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27337065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27337066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27337067, 'pht': 3726}}" where mtr_portfolio_id = 27337055 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27337055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846515, 0.11175540744958323, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337055_01-10-2025_05_36_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27337056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27337057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27337058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27337059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27337060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27337061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27337062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27337063, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27337064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27337065, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27337066, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27337067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27337483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801360, 'mtr_portfolio_id': 27337483, 'created_at': datetime.datetime(2025, 10, 1, 5, 37, 34), 'result': '0.13236143831560637', 'result_long': None, 'result_double': None}] Qualite : 0.13236143831560637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27337483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337483_01-10-2025_05_37_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27337483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337483_01-10-2025_05_37_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27337621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27337622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27337623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27337624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27337625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27337626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27337627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27337628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27337629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27337630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27337631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27337632, 'pht': 3726}}" where mtr_portfolio_id = 27337483 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27337483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846516, 0.13236143831560637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27337483_01-10-2025_05_37_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27337621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27337622, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27337623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27337624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27337625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27337626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27337627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27337628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27337629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27337630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27337631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27337632, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27338516 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801361, 'mtr_portfolio_id': 27338516, 'created_at': datetime.datetime(2025, 10, 1, 5, 38, 5), 'result': '0.08477776823286796', 'result_long': None, 'result_double': None}] Qualite : 0.08477776823286796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27338516 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338516_01-10-2025_05_38_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27338516 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338516_01-10-2025_05_38_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27338534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27338535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27338536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27338537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27338538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27338539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27338540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27338541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27338542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27338543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27338544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27338545, 'pht': 3726}}" where mtr_portfolio_id = 27338516 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27338516 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846517, 0.08477776823286796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338516_01-10-2025_05_38_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27338534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27338535, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27338536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27338537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27338538, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27338539, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27338540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27338541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27338542, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27338543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27338544, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27338545, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27338908 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801362, 'mtr_portfolio_id': 27338908, 'created_at': datetime.datetime(2025, 10, 1, 5, 38, 30), 'result': '0.018743900037648104', 'result_long': None, 'result_double': None}] Qualite : 0.018743900037648104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27338908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338908_01-10-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27338908 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338908_01-10-2025_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27338909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27338910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27338911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27338912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27338913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27338914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27338915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27338916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27338917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27338918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27338919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27338920, 'pht': 3726}}" where mtr_portfolio_id = 27338908 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27338908 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846518, 0.018743900037648104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27338908_01-10-2025_05_38_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27338909, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27338910, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27338911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27338912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27338913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27338914, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27338915, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27338916, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27338917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27338918, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27338919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27338920, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27339780 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801363, 'mtr_portfolio_id': 27339780, 'created_at': datetime.datetime(2025, 10, 1, 5, 39, 32), 'result': '0.030546018526997357', 'result_long': None, 'result_double': None}] Qualite : 0.030546018526997357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27339780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339780_01-10-2025_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27339780 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339780_01-10-2025_05_39_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27339783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27339784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27339785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27339786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27339787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27339788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27339789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27339790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27339791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27339792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27339793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27339794, 'pht': 3726}}" where mtr_portfolio_id = 27339780 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27339780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846520, 0.030546018526997357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339780_01-10-2025_05_39_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27339783, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27339784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27339785, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27339786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27339787, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27339788, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27339789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27339790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27339791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27339792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27339793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27339794, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27339914 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801364, 'mtr_portfolio_id': 27339914, 'created_at': datetime.datetime(2025, 10, 1, 5, 40, 1), 'result': '0.36490286848338804', 'result_long': None, 'result_double': None}] Qualite : 0.36490286848338804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27339914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339914_01-10-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27339914 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339914_01-10-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27339915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27339916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27339917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27339918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27339919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27339920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27339921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27339922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27339923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27339924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27339925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27339926, 'pht': 3726}}" where mtr_portfolio_id = 27339914 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27339914 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846521, 0.36490286848338804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27339914_01-10-2025_05_40_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27339915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27339916, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27339917, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27339918, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27339919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27339920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27339921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27339922, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27339923, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27339924, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27339925, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27339926, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346603 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 = 27346603 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 = 27346603 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346603 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 = 27346603 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 = 27346603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346603_01-10-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27346603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346603_01-10-2025_05_40_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27347383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27347384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27347385, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27347386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27347387, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27347388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27347389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27347390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27347391, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27347392, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27347393, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27347394, 'pht': 3726}}" where mtr_portfolio_id = 27346603 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346604 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 = 27346604 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 = 27346604 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346604 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 = 27346604 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 = 27346604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346604_01-10-2025_05_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27346604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346604_01-10-2025_05_41_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346639, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346642, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346643, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346645, 'pht': 3726}}" where mtr_portfolio_id = 27346604 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346605 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 = 27346605 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 = 27346605 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346605 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 = 27346605 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 = 27346605 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346605_01-10-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27346605 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346605_01-10-2025_05_41_36.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27346880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346881, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346882, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346888, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346891, 'pht': 3726}}" where mtr_portfolio_id = 27346605 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343961 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 = 27343961 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 = 27343961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343961 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 = 27343961 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 = 27343961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343961_01-10-2025_05_42_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27343961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343961_01-10-2025_05_42_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346337, 'pht': 3726}}" where mtr_portfolio_id = 27343961 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343964 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 = 27343964 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 = 27343964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343964 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 = 27343964 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 = 27343964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343964_01-10-2025_05_42_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27343964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343964_01-10-2025_05_42_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346485, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346486, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346487, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346493, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346494, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346495, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346496, 'pht': 3726}}" where mtr_portfolio_id = 27343964 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346606 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 = 27346606 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 = 27346606 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346606 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 = 27346606 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 = 27346606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346606_01-10-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27346606 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346606_01-10-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27347098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27347099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27347100, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27347101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27347102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27347103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27347104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27347105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27347106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27347107, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27347108, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27347109, 'pht': 3726}}" where mtr_portfolio_id = 27346606 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346607 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 = 27346607 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 = 27346607 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27346607 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 = 27346607 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 = 27346607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346607_01-10-2025_05_44_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27346607 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27346607_01-10-2025_05_44_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27347236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27347237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27347238, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27347239, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27347240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27347241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27347242, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27347243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27347244, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27347245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27347246, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27347247, 'pht': 3726}}" where mtr_portfolio_id = 27346607 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343995 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 = 27343995 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 = 27343995 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343995 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 = 27343995 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 = 27343995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343995_01-10-2025_05_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27343995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343995_01-10-2025_05_44_39.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346266, 'pht': 3726}}" where mtr_portfolio_id = 27343995 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27341302 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801374, 'mtr_portfolio_id': 27341302, 'created_at': datetime.datetime(2025, 10, 1, 5, 45, 33), 'result': '0.18565198985980605', 'result_long': None, 'result_double': None}] Qualite : 0.18565198985980605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27341302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341302_01-10-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27341302 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341302_01-10-2025_05_45_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27341840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27341841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27341842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27341843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27341844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27341845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27341846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27341847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27341848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27341849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27341850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27341851, 'pht': 3726}}" where mtr_portfolio_id = 27341302 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27341302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846535, 0.18565198985980605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341302_01-10-2025_05_45_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27341840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27341841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27341842, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27341843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27341844, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27341845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27341846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27341847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27341848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27341849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27341850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27341851, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343998 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 = 27343998 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 = 27343998 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343998 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 = 27343998 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 = 27343998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343998_01-10-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27343998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343998_01-10-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27346083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27346084, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27346085, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27346086, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27346087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27346088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27346089, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27346090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27346091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27346092, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27346093, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27346094, 'pht': 3726}}" where mtr_portfolio_id = 27343998 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27344000 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 = 27344000 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 = 27344000 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27344000 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 = 27344000 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 = 27344000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344000_01-10-2025_05_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344000_01-10-2025_05_46_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27345883, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27345884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27345885, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27345886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27345887, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27345888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27345889, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27345890, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27345891, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27345892, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27345893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27345894, 'pht': 3726}}" where mtr_portfolio_id = 27344000 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27341336 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801378, 'mtr_portfolio_id': 27341336, 'created_at': datetime.datetime(2025, 10, 1, 5, 46, 33), 'result': '0.21727045853210647', 'result_long': None, 'result_double': None}] Qualite : 0.21727045853210647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27341336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341336_01-10-2025_05_46_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27341336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341336_01-10-2025_05_46_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342067, 'pht': 3726}}" where mtr_portfolio_id = 27341336 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27341336 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846539, 0.21727045853210647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27341336_01-10-2025_05_46_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342057, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342062, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27344002 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 = 27344002 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 = 27344002 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27344002 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 = 27344002 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 = 27344002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344002_01-10-2025_05_48_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344002_01-10-2025_05_48_07.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27345305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27345306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27345307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27345308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27345309, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27345310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27345311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27345312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27345313, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27345314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27345315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27345316, 'pht': 3726}}" where mtr_portfolio_id = 27344002 and dashboard_run_id = 2378391 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27340889 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801381, 'mtr_portfolio_id': 27340889, 'created_at': datetime.datetime(2025, 10, 1, 5, 48, 31), 'result': '0.3715428486107841', 'result_long': None, 'result_double': None}] Qualite : 0.3715428486107841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27340889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27340889_01-10-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27340889 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27340889_01-10-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27341272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27341273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27341274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27341275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27341276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27341277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27341278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27341279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27341280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27341281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27341282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27341283, 'pht': 3726}}" where mtr_portfolio_id = 27340889 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27340889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846542, 0.3715428486107841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27340889_01-10-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27341272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27341273, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27341274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27341275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27341276, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27341277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27341278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27341279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27341280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27341281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27341282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27341283, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27342266 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801383, 'mtr_portfolio_id': 27342266, 'created_at': datetime.datetime(2025, 10, 1, 5, 49, 33), 'result': '0.04187236861213397', 'result_long': None, 'result_double': None}] Qualite : 0.04187236861213397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27342266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342266_01-10-2025_05_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27342266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342266_01-10-2025_05_49_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342453, 'pht': 3726}}" where mtr_portfolio_id = 27342266 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27342266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846544, 0.04187236861213397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342266_01-10-2025_05_49_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342442, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342449, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342450, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342453, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343199 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801384, 'mtr_portfolio_id': 27343199, 'created_at': datetime.datetime(2025, 10, 1, 5, 50, 1), 'result': '0.031162266974524126', 'result_long': None, 'result_double': None}] Qualite : 0.031162266974524126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27343199 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343199_01-10-2025_05_50_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27343199 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343199_01-10-2025_05_50_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27343718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27343719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27343720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27343721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27343722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27343723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27343724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27343725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27343726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27343727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27343728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27343729, 'pht': 3726}}" where mtr_portfolio_id = 27343199 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27343199 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846545, 0.031162266974524126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343199_01-10-2025_05_50_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27343718, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27343719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27343720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27343721, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27343722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27343723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27343724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27343725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27343726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27343727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27343728, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27343729, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27342690 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801385, 'mtr_portfolio_id': 27342690, 'created_at': datetime.datetime(2025, 10, 1, 5, 50, 32), 'result': '0.06206460982598551', 'result_long': None, 'result_double': None}] Qualite : 0.06206460982598551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27342690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342690_01-10-2025_05_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27342690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342690_01-10-2025_05_50_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342746, 'pht': 3726}}" where mtr_portfolio_id = 27342690 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27342690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846546, 0.06206460982598551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27342690_01-10-2025_05_50_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27342735, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27342736, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27342737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27342738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27342739, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27342740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27342741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27342742, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27342743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27342744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27342745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27342746, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27343836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801386, 'mtr_portfolio_id': 27343836, 'created_at': datetime.datetime(2025, 10, 1, 5, 51), 'result': '0.06170704838027135', 'result_long': None, 'result_double': None}] Qualite : 0.06170704838027135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27343836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343836_01-10-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27343836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343836_01-10-2025_05_51_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27343967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27343968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27343969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27343970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27343971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27343972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27343973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27343974, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27343975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27343976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27343977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27343978, 'pht': 3726}}" where mtr_portfolio_id = 27343836 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27343836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846548, 0.06170704838027135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27343836_01-10-2025_05_51_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27343967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27343968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27343969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27343970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27343971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27343972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27343973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27343974, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27343975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27343976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27343977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27343978, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27344539 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801387, 'mtr_portfolio_id': 27344539, 'created_at': datetime.datetime(2025, 10, 1, 5, 51, 6), 'result': '0.06683748170185964', 'result_long': None, 'result_double': None}] Qualite : 0.06683748170185964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27344539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344539_01-10-2025_05_51_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27344539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344539_01-10-2025_05_51_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27344546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27344547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27344548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27344549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27344550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27344551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27344552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27344553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27344554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27344555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27344556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27344557, 'pht': 3726}}" where mtr_portfolio_id = 27344539 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27344539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846549, 0.06683748170185964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27344539_01-10-2025_05_51_09.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27344546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27344547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27344548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27344549, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27344550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27344551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27344552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27344553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27344554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27344555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27344556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27344557, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27348083 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801388, 'mtr_portfolio_id': 27348083, 'created_at': datetime.datetime(2025, 10, 1, 5, 51, 34), 'result': '0.052006853820983634', 'result_long': None, 'result_double': None}] Qualite : 0.052006853820983634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27348083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348083_01-10-2025_05_51_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27348083 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348083_01-10-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27348140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27348141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27348142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27348143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27348144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27348145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27348146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27348147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27348148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27348149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27348150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27348151, 'pht': 3726}}" where mtr_portfolio_id = 27348083 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27348083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846550, 0.052006853820983634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348083_01-10-2025_05_51_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27348140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27348141, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27348142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27348143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27348144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27348145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27348146, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27348147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27348148, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27348149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27348150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27348151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27348699 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801389, 'mtr_portfolio_id': 27348699, 'created_at': datetime.datetime(2025, 10, 1, 5, 51, 58), 'result': '0.04426035329168581', 'result_long': None, 'result_double': None}] Qualite : 0.04426035329168581 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27348699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348699_01-10-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27348699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348699_01-10-2025_05_52_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27349167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27349168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27349169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27349170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27349171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27349172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27349173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27349174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27349175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27349176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27349177, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27349178, 'pht': 3726}}" where mtr_portfolio_id = 27348699 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27348699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846552, 0.04426035329168581, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27348699_01-10-2025_05_52_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27349167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27349168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27349169, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27349170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27349171, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27349172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27349173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27349174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27349175, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27349176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27349177, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27349178, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27349371 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801390, 'mtr_portfolio_id': 27349371, 'created_at': datetime.datetime(2025, 10, 1, 5, 52, 37), 'result': '0.035119343149374184', 'result_long': None, 'result_double': None}] Qualite : 0.035119343149374184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27349371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27349371_01-10-2025_05_52_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27349371 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27349371_01-10-2025_05_52_39.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27349639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27349640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27349641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27349642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27349643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27349644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27349645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27349646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27349647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27349648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27349649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27349650, 'pht': 3726}}" where mtr_portfolio_id = 27349371 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27349371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846553, 0.035119343149374184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27349371_01-10-2025_05_52_39.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27349639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27349640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27349641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27349642, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27349643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27349644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27349645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27349646, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27349647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27349648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27349649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27349650, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27350226 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801391, 'mtr_portfolio_id': 27350226, 'created_at': datetime.datetime(2025, 10, 1, 5, 53, 30), 'result': '0.07382232429960227', 'result_long': None, 'result_double': None}] Qualite : 0.07382232429960227 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27350226 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350226_01-10-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27350226 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350226_01-10-2025_05_53_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27350227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27350228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27350229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27350230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27350231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27350232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27350233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27350234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27350235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27350236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27350237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27350238, 'pht': 3726}}" where mtr_portfolio_id = 27350226 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27350226 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846555, 0.07382232429960227, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350226_01-10-2025_05_53_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27350227, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27350228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27350229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27350230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27350231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27350232, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27350233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27350234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27350235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27350236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27350237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27350238, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27350819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801392, 'mtr_portfolio_id': 27350819, 'created_at': datetime.datetime(2025, 10, 1, 5, 53, 59), 'result': '0.06494338603146184', 'result_long': None, 'result_double': None}] Qualite : 0.06494338603146184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27350819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350819_01-10-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27350819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350819_01-10-2025_05_54_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27350827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27350828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27350829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27350830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27350831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27350832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27350833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27350834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27350835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27350836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27350837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27350838, 'pht': 3726}}" where mtr_portfolio_id = 27350819 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27350819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846556, 0.06494338603146184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27350819_01-10-2025_05_54_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27350827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27350828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27350829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27350830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27350831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27350832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27350833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27350834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27350835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27350836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27350837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27350838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27351603 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801393, 'mtr_portfolio_id': 27351603, 'created_at': datetime.datetime(2025, 10, 1, 5, 54, 29), 'result': '0.057059477456567906', 'result_long': None, 'result_double': None}] Qualite : 0.057059477456567906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27351603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351603_01-10-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27351603 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351603_01-10-2025_05_54_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27351611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27351612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27351613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27351614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27351615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27351616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27351617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27351618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27351619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27351620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27351621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27351622, 'pht': 3726}}" where mtr_portfolio_id = 27351603 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27351603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846557, 0.057059477456567906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351603_01-10-2025_05_54_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27351611, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27351612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27351613, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27351614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27351615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27351616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27351617, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27351618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27351619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27351620, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27351621, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27351622, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27351983 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801394, 'mtr_portfolio_id': 27351983, 'created_at': datetime.datetime(2025, 10, 1, 5, 55, 30), 'result': '0.03645775887516177', 'result_long': None, 'result_double': None}] Qualite : 0.03645775887516177 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27351983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351983_01-10-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27351983 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351983_01-10-2025_05_55_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27352046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27352047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27352048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27352049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27352050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27352051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27352052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27352053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27352054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27352055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27352056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27352057, 'pht': 3726}}" where mtr_portfolio_id = 27351983 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27351983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846559, 0.03645775887516177, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27351983_01-10-2025_05_55_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27352046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27352047, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27352048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27352049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27352050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27352051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27352052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27352053, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27352054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27352055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27352056, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27352057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27352576 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801395, 'mtr_portfolio_id': 27352576, 'created_at': datetime.datetime(2025, 10, 1, 5, 56), 'result': '0.05830491511015625', 'result_long': None, 'result_double': None}] Qualite : 0.05830491511015625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27352576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27352576_01-10-2025_05_56_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27352576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27352576_01-10-2025_05_56_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27352682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27352683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27352684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27352685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27352686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27352687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27352688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27352689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27352690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27352691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27352692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27352693, 'pht': 3726}}" where mtr_portfolio_id = 27352576 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27352576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846560, 0.05830491511015625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27352576_01-10-2025_05_56_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27352682, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27352683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27352684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27352685, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27352686, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27352687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27352688, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27352689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27352690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27352691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27352692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27352693, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27353601 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801396, 'mtr_portfolio_id': 27353601, 'created_at': datetime.datetime(2025, 10, 1, 5, 56, 29), 'result': '0.06005432698009597', 'result_long': None, 'result_double': None}] Qualite : 0.06005432698009597 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27353601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27353601_01-10-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27353601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27353601_01-10-2025_05_56_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27353690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27353691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27353692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27353693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27353694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27353695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27353696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27353697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27353698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27353699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27353700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27353701, 'pht': 3726}}" where mtr_portfolio_id = 27353601 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27353601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846562, 0.06005432698009597, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27353601_01-10-2025_05_56_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27353690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27353691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27353692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27353693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27353694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27353695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27353696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27353697, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27353698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27353699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27353700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27353701, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27354235 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801397, 'mtr_portfolio_id': 27354235, 'created_at': datetime.datetime(2025, 10, 1, 5, 57, 34), 'result': '0.05312950350355469', 'result_long': None, 'result_double': None}] Qualite : 0.05312950350355469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27354235 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27354235_01-10-2025_05_57_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27354235 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27354235_01-10-2025_05_57_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27354629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27354630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27354631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27354632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27354633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27354634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27354635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27354636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27354637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27354638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27354639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27354640, 'pht': 3726}}" where mtr_portfolio_id = 27354235 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27354235 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846563, 0.05312950350355469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27354235_01-10-2025_05_57_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27354629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27354630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27354631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27354632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27354633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27354634, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27354635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27354636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27354637, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27354638, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27354639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27354640, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27355020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801398, 'mtr_portfolio_id': 27355020, 'created_at': datetime.datetime(2025, 10, 1, 5, 57, 58), 'result': '0.04379778029571094', 'result_long': None, 'result_double': None}] Qualite : 0.04379778029571094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27355020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355020_01-10-2025_05_58_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27355020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355020_01-10-2025_05_58_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27355031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27355032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27355033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27355034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27355035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27355036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27355037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27355038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27355039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27355040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27355041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27355042, 'pht': 3726}}" where mtr_portfolio_id = 27355020 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27355020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846565, 0.04379778029571094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355020_01-10-2025_05_58_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27355031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27355032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27355033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27355034, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27355035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27355036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27355037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27355038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27355039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27355040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27355041, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27355042, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27355733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801399, 'mtr_portfolio_id': 27355733, 'created_at': datetime.datetime(2025, 10, 1, 5, 58, 32), 'result': '0.03956578148142965', 'result_long': None, 'result_double': None}] Qualite : 0.03956578148142965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27355733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355733_01-10-2025_05_58_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27355733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355733_01-10-2025_05_58_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27355744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27355745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27355746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27355747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27355748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27355749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27355750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27355751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27355752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27355753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27355754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27355755, 'pht': 3726}}" where mtr_portfolio_id = 27355733 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27355733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846566, 0.03956578148142965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27355733_01-10-2025_05_58_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27355744, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27355745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27355746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27355747, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27355748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27355749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27355750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27355751, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27355752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27355753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27355754, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27355755, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27356323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801400, 'mtr_portfolio_id': 27356323, 'created_at': datetime.datetime(2025, 10, 1, 5, 59, 30), 'result': '0.029296517846362866', 'result_long': None, 'result_double': None}] Qualite : 0.029296517846362866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27356323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356323_01-10-2025_05_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27356323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356323_01-10-2025_05_59_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27356338, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27356339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27356340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27356341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27356342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27356343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27356344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27356345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27356346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27356347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27356348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27356349, 'pht': 3726}}" where mtr_portfolio_id = 27356323 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27356323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846568, 0.029296517846362866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356323_01-10-2025_05_59_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27356338, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27356339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27356340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27356341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27356342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27356343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27356344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27356345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27356346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27356347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27356348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27356349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27356877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801401, 'mtr_portfolio_id': 27356877, 'created_at': datetime.datetime(2025, 10, 1, 6, 0, 2), 'result': '0.039383147003839075', 'result_long': None, 'result_double': None}] Qualite : 0.039383147003839075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27356877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356877_01-10-2025_06_00_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27356877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356877_01-10-2025_06_00_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27356939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27356940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27356941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27356942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27356943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27356944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27356945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27356946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27356947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27356948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27356949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27356950, 'pht': 3726}}" where mtr_portfolio_id = 27356877 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27356877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846569, 0.039383147003839075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27356877_01-10-2025_06_00_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27356939, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27356940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27356941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27356942, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27356943, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27356944, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27356945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27356946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27356947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27356948, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27356949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27356950, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27357789 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801402, 'mtr_portfolio_id': 27357789, 'created_at': datetime.datetime(2025, 10, 1, 6, 0, 39), 'result': '0.04134207455672641', 'result_long': None, 'result_double': None}] Qualite : 0.04134207455672641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27357789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27357789_01-10-2025_06_00_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27357789 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27357789_01-10-2025_06_00_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27357807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27357808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27357809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27357810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27357811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27357812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27357813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27357814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27357815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27357816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27357817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27357818, 'pht': 3726}}" where mtr_portfolio_id = 27357789 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27357789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846570, 0.04134207455672641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27357789_01-10-2025_06_00_41.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27357807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27357808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27357809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27357810, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27357811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27357812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27357813, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27357814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27357815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27357816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27357817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27357818, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27359942 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801403, 'mtr_portfolio_id': 27359942, 'created_at': datetime.datetime(2025, 10, 1, 6, 1, 6), 'result': '0.04411436505119155', 'result_long': None, 'result_double': None}] Qualite : 0.04411436505119155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27359942 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27359942_01-10-2025_06_01_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27359942 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27359942_01-10-2025_06_01_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27359986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27359987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27359988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27359989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27359990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27359991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27359992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27359993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27359994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27359995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27359996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27359997, 'pht': 3726}}" where mtr_portfolio_id = 27359942 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27359942 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846572, 0.04411436505119155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27359942_01-10-2025_06_01_09.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27359986, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27359987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27359988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27359989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27359990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27359991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27359992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27359993, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27359994, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27359995, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27359996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27359997, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27360591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801404, 'mtr_portfolio_id': 27360591, 'created_at': datetime.datetime(2025, 10, 1, 6, 2, 7), 'result': '0.05862126872824796', 'result_long': None, 'result_double': None}] Qualite : 0.05862126872824796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27360591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27360591_01-10-2025_06_02_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27360591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27360591_01-10-2025_06_02_10.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27360602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27360603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27360604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27360605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27360606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27360607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27360608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27360609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27360610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27360611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27360612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27360613, 'pht': 3726}}" where mtr_portfolio_id = 27360591 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27360591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846573, 0.05862126872824796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27360591_01-10-2025_06_02_10.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27360602, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27360603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27360604, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27360605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27360606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27360607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27360608, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27360609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27360610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27360611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27360612, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27360613, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27361214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801405, 'mtr_portfolio_id': 27361214, 'created_at': datetime.datetime(2025, 10, 1, 6, 2, 34), 'result': '0.04001810505929556', 'result_long': None, 'result_double': None}] Qualite : 0.04001810505929556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27361214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361214_01-10-2025_06_02_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27361214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361214_01-10-2025_06_02_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27361278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27361279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27361280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27361281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27361282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27361283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27361284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27361285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27361286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27361287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27361288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27361289, 'pht': 3726}}" where mtr_portfolio_id = 27361214 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27361214 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846574, 0.04001810505929556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361214_01-10-2025_06_02_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27361278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27361279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27361280, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27361281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27361282, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27361283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27361284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27361285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27361286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27361287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27361288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27361289, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27361733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801406, 'mtr_portfolio_id': 27361733, 'created_at': datetime.datetime(2025, 10, 1, 6, 3, 30), 'result': '0.07753789682997789', 'result_long': None, 'result_double': None}] Qualite : 0.07753789682997789 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27361733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361733_01-10-2025_06_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27361733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361733_01-10-2025_06_03_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27361750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27361751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27361752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27361753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27361754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27361755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27361757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27361758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27361759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27361760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27361761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27361762, 'pht': 3726}}" where mtr_portfolio_id = 27361733 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27361733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846576, 0.07753789682997789, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27361733_01-10-2025_06_03_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27361750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27361751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27361752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27361753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27361754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27361755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27361757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27361758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27361759, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27361760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27361761, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27361762, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27362389 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801407, 'mtr_portfolio_id': 27362389, 'created_at': datetime.datetime(2025, 10, 1, 6, 3, 59), 'result': '0.05264406134366751', 'result_long': None, 'result_double': None}] Qualite : 0.05264406134366751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27362389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27362389_01-10-2025_06_04_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27362389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27362389_01-10-2025_06_04_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27362402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27362403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27362404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27362405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27362406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27362407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27362408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27362409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27362410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27362411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27362412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27362413, 'pht': 3726}}" where mtr_portfolio_id = 27362389 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27362389 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846577, 0.05264406134366751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27362389_01-10-2025_06_04_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27362402, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27362403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27362404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27362405, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27362406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27362407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27362408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27362409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27362410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27362411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27362412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27362413, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27363066 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801408, 'mtr_portfolio_id': 27363066, 'created_at': datetime.datetime(2025, 10, 1, 6, 4, 29), 'result': '0.050977828730453985', 'result_long': None, 'result_double': None}] Qualite : 0.050977828730453985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27363066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363066_01-10-2025_06_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27363066 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363066_01-10-2025_06_04_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27363114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27363115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27363116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27363117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27363118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27363119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27363120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27363121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27363122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27363123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27363124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27363125, 'pht': 3726}}" where mtr_portfolio_id = 27363066 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27363066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846579, 0.050977828730453985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363066_01-10-2025_06_04_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27363114, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27363115, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27363116, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27363117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27363118, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27363119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27363120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27363121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27363122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27363123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27363124, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27363125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27363779 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801409, 'mtr_portfolio_id': 27363779, 'created_at': datetime.datetime(2025, 10, 1, 6, 6, 4), 'result': '0.06070234318446356', 'result_long': None, 'result_double': None}] Qualite : 0.06070234318446356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27363779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363779_01-10-2025_06_06_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27363779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363779_01-10-2025_06_06_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27363818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27363819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27363820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27363821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27363822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27363823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27363824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27363825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27363826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27363827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27363828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27363829, 'pht': 3726}}" where mtr_portfolio_id = 27363779 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27363779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846580, 0.06070234318446356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27363779_01-10-2025_06_06_07.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27363818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27363819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27363820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27363821, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27363822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27363823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27363824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27363825, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27363826, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27363827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27363828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27363829, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27364486 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801410, 'mtr_portfolio_id': 27364486, 'created_at': datetime.datetime(2025, 10, 1, 6, 6, 4), 'result': '0.05848637987079525', 'result_long': None, 'result_double': None}] Qualite : 0.05848637987079525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27364486 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27364486_01-10-2025_06_06_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27364486 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27364486_01-10-2025_06_06_09.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27364512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27364520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27364530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27364531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27364532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27364533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27364534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27364535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27364536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27364537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27364538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27364539, 'pht': 3726}}" where mtr_portfolio_id = 27364486 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27364486 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846581, 0.05848637987079525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27364486_01-10-2025_06_06_09.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27364512, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27364520, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27364530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27364531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27364532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27364533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27364534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27364535, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27364536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27364537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27364538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27364539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27365188 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801411, 'mtr_portfolio_id': 27365188, 'created_at': datetime.datetime(2025, 10, 1, 6, 6, 33), 'result': '0.04917974239616121', 'result_long': None, 'result_double': None}] Qualite : 0.04917974239616121 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27365188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365188_01-10-2025_06_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27365188 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365188_01-10-2025_06_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27365198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27365199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27365200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27365201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27365202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27365203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27365204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27365205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27365206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27365207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27365209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27365210, 'pht': 3726}}" where mtr_portfolio_id = 27365188 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27365188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846583, 0.04917974239616121, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365188_01-10-2025_06_06_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27365198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27365199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27365200, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27365201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27365202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27365203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27365204, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27365205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27365206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27365207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27365209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27365210, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27365970 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801412, 'mtr_portfolio_id': 27365970, 'created_at': datetime.datetime(2025, 10, 1, 6, 7, 32), 'result': '0.07453303231481911', 'result_long': None, 'result_double': None}] Qualite : 0.07453303231481911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27365970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365970_01-10-2025_06_07_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27365970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365970_01-10-2025_06_07_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27365993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27365994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27365995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27365996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27365997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27365998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27365999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27366000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27366001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27366002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27366003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27366004, 'pht': 3726}}" where mtr_portfolio_id = 27365970 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27365970 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846584, 0.07453303231481911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27365970_01-10-2025_06_07_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27365993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27365994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27365995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27365996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27365997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27365998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27365999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27366000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27366001, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27366002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27366003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27366004, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27366469 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801413, 'mtr_portfolio_id': 27366469, 'created_at': datetime.datetime(2025, 10, 1, 6, 8), 'result': '0.06488752995947206', 'result_long': None, 'result_double': None}] Qualite : 0.06488752995947206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27366469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27366469_01-10-2025_06_08_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27366469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27366469_01-10-2025_06_08_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27366475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27366476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27366477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27366478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27366479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27366480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27366481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27366482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27366483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27366484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27366485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27366486, 'pht': 3726}}" where mtr_portfolio_id = 27366469 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27366469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846585, 0.06488752995947206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27366469_01-10-2025_06_08_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27366475, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27366476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27366477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27366478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27366479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27366480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27366481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27366482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27366483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27366484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27366485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27366486, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27367917 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801414, 'mtr_portfolio_id': 27367917, 'created_at': datetime.datetime(2025, 10, 1, 6, 8, 35), 'result': '0.16757371997130827', 'result_long': None, 'result_double': None}] Qualite : 0.16757371997130827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27367917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27367917_01-10-2025_06_08_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27367917 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27367917_01-10-2025_06_08_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27367971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27367972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27367973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27367974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27367975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27367976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27367977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27367978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27367979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27367980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27367981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27367982, 'pht': 3726}}" where mtr_portfolio_id = 27367917 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27367917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846587, 0.16757371997130827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27367917_01-10-2025_06_08_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27367971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27367972, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27367973, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27367974, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27367975, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27367976, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27367977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27367978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27367979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27367980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27367981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27367982, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27368441 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801415, 'mtr_portfolio_id': 27368441, 'created_at': datetime.datetime(2025, 10, 1, 6, 9, 28), 'result': '0.03976288460741942', 'result_long': None, 'result_double': None}] Qualite : 0.03976288460741942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27368441 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368441_01-10-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27368441 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368441_01-10-2025_06_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27368472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27368473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27368474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27368475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27368476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27368477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27368478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27368479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27368480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27368481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27368482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27368483, 'pht': 3726}}" where mtr_portfolio_id = 27368441 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27368441 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846588, 0.03976288460741942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368441_01-10-2025_06_09_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27368472, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27368473, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27368474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27368475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27368476, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27368477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27368478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27368479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27368480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27368481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27368482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27368483, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27368974 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801416, 'mtr_portfolio_id': 27368974, 'created_at': datetime.datetime(2025, 10, 1, 6, 10), 'result': '0.05150923979247162', 'result_long': None, 'result_double': None}] Qualite : 0.05150923979247162 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27368974 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368974_01-10-2025_06_10_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27368974 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368974_01-10-2025_06_10_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27369012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27369013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27369014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27369015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27369016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27369017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27369018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27369019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27369020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27369021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27369022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27369023, 'pht': 3726}}" where mtr_portfolio_id = 27368974 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27368974 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846590, 0.05150923979247162, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27368974_01-10-2025_06_10_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27369012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27369013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27369014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27369015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27369016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27369017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27369018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27369019, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27369020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27369021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27369022, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27369023, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27369635 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801417, 'mtr_portfolio_id': 27369635, 'created_at': datetime.datetime(2025, 10, 1, 6, 10, 30), 'result': '0.057418040257938244', 'result_long': None, 'result_double': None}] Qualite : 0.057418040257938244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27369635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27369635_01-10-2025_06_10_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27369635 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27369635_01-10-2025_06_10_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27369647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27369648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27369649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27369650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27369651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27369652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27369653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27369654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27369655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27369656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27369657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27369658, 'pht': 3726}}" where mtr_portfolio_id = 27369635 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27369635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846591, 0.057418040257938244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27369635_01-10-2025_06_10_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27369647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27369648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27369649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27369650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27369651, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27369652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27369653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27369654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27369655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27369656, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27369657, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27369658, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27370115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801418, 'mtr_portfolio_id': 27370115, 'created_at': datetime.datetime(2025, 10, 1, 6, 11, 6), 'result': '0.0601115281295055', 'result_long': None, 'result_double': None}] Qualite : 0.0601115281295055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27370115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370115_01-10-2025_06_11_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27370115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370115_01-10-2025_06_11_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27370125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27370126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27370127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27370128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27370129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27370130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27370131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27370132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27370133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27370134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27370135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27370136, 'pht': 3726}}" where mtr_portfolio_id = 27370115 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27370115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846592, 0.0601115281295055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370115_01-10-2025_06_11_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27370125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27370126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27370127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27370128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27370129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27370130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27370131, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27370132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27370133, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27370134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27370135, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27370136, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27370829 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801419, 'mtr_portfolio_id': 27370829, 'created_at': datetime.datetime(2025, 10, 1, 6, 11, 29), 'result': '0.07012175763351311', 'result_long': None, 'result_double': None}] Qualite : 0.07012175763351311 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27370829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370829_01-10-2025_06_11_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27370829 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370829_01-10-2025_06_11_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27370887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27370888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27370889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27370890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27370891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27370892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27370893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27370894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27370895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27370896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27370897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27370898, 'pht': 3726}}" where mtr_portfolio_id = 27370829 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27370829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846594, 0.07012175763351311, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27370829_01-10-2025_06_11_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27370887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27370888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27370889, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27370890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27370891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27370892, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27370893, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27370894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27370895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27370896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27370897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27370898, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27371578 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801420, 'mtr_portfolio_id': 27371578, 'created_at': datetime.datetime(2025, 10, 1, 6, 12, 4), 'result': '0.04177902254201645', 'result_long': None, 'result_double': None}] Qualite : 0.04177902254201645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27371578 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27371578_01-10-2025_06_12_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27371578 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27371578_01-10-2025_06_12_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27371603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27371604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27371605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27371606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27371607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27371608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27371609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27371610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27371611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27371612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27371613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27371614, 'pht': 3726}}" where mtr_portfolio_id = 27371578 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27371578 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846595, 0.04177902254201645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27371578_01-10-2025_06_12_07.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27371603, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27371604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27371605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27371606, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27371607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27371608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27371609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27371610, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27371611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27371612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27371613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27371614, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27372424 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801421, 'mtr_portfolio_id': 27372424, 'created_at': datetime.datetime(2025, 10, 1, 6, 12, 34), 'result': '0.07231818195995215', 'result_long': None, 'result_double': None}] Qualite : 0.07231818195995215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27372424 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27372424_01-10-2025_06_12_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27372424 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27372424_01-10-2025_06_12_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27372435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27372436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27372437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27372438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27372439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27372440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27372441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27372442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27372443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27372444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27372445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27372446, 'pht': 3726}}" where mtr_portfolio_id = 27372424 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27372424 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846596, 0.07231818195995215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27372424_01-10-2025_06_12_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27372435, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27372436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27372437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27372438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27372439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27372440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27372441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27372442, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27372443, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27372444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27372445, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27372446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27373048 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801422, 'mtr_portfolio_id': 27373048, 'created_at': datetime.datetime(2025, 10, 1, 6, 13, 32), 'result': '0.04406716226350709', 'result_long': None, 'result_double': None}] Qualite : 0.04406716226350709 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27373048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373048_01-10-2025_06_13_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27373048 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373048_01-10-2025_06_13_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27373093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27373094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27373095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27373096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27373097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27373098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27373099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27373100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27373101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27373102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27373103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27373104, 'pht': 3726}}" where mtr_portfolio_id = 27373048 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27373048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846598, 0.04406716226350709, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373048_01-10-2025_06_13_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27373093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27373094, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27373095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27373096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27373097, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27373098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27373099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27373100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27373101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27373102, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27373103, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27373104, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27373753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3801423, 'mtr_portfolio_id': 27373753, 'created_at': datetime.datetime(2025, 10, 1, 6, 13, 58), 'result': '0.07611478775228767', 'result_long': None, 'result_double': None}] Qualite : 0.07611478775228767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27373753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373753_01-10-2025_06_14_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27373753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373753_01-10-2025_06_14_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27373770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27373771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27373772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27373773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27373774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27373775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27373776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27373777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27373778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27373779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27373780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27373781, 'pht': 3726}}" where mtr_portfolio_id = 27373753 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27373753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846599, 0.07611478775228767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27373753_01-10-2025_06_14_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27373770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27373771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27373772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27373773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27373774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27373775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27373776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27373777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27373778, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27373779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27373780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27373781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27374485 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3797753, 'mtr_portfolio_id': 27374485, 'created_at': datetime.datetime(2025, 9, 30, 23, 47, 4), 'result': '0.04421594474512441', 'result_long': None, 'result_double': None}] Qualite : 0.04421594474512441 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27374485 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27374485_30-09-2025_23_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27374485 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27374485_30-09-2025_23_47_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27374490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27374491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27374492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27374493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27374494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27374495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27374496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27374497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27374498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27374499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27374500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27374501, 'pht': 3726}}" where mtr_portfolio_id = 27374485 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27374485 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846601, 0.04421594474512441, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27374485_30-09-2025_23_47_05.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27374490, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27374491, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27374492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27374493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27374494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27374495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27374496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27374497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27374498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27374499, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27374500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27374501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 27375132 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 3797828, 'mtr_portfolio_id': 27375132, 'created_at': datetime.datetime(2025, 10, 1, 5, 56, 5), 'result': '0.04713803739548141', 'result_long': None, 'result_double': None}] Qualite : 0.04713803739548141 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27375132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375132_01-10-2025_05_56_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27375132 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375132_01-10-2025_05_56_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27375172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27375173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27375174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27375175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27375176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27375177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27375178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27375180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27375181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27375182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27375183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27375184, 'pht': 3726}}" where mtr_portfolio_id = 27375132 and dashboard_run_id = 2378391 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27375132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15846602, 0.04713803739548141, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27375132_01-10-2025_05_56_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27375172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27375173, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27375174, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27375175, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27375176, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27375177, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27375178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27375180, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27375181, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27375182, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27375183, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27375184, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27335682,27335814,27335961,27336428,27337055,27337483,27338516,27338908,27339780,27339914,27346603,27346604,27346605,27343961,27343964,27346606,27346607,27343995,27341302,27343998,27344000,27341336,27344002,27340889,27342266,27343199,27342690,27343836,27344539,27348083,27348699,27349371,27350226,27350819,27351603,27351983,27352576,27353601,27354235,27355020,27355733,27356323,27356877,27357789,27359942,27360591,27361214,27361733,27362389,27363066,27363779,27364486,27365188,27365970,27366469,27367917,27368441,27368974,27369635,27370115,27370829,27371578,27372424,27373048,27373753,27374485,27375132) result : ((1386830906,), (1386831058,), (1386831149,), (1386831559,), (1386831560,), (1386831612,), (1386831630,), (1386831953,), (1386834594,), (1386834611,), (1386834722,), (1386834745,), (1386834749,), (1386835358,), (1386835525,), (1386835526,), (1386835555,), (1386835577,), (1386835578,), (1386835580,), (1386835617,), (1386836087,), (1386836114,), (1386836146,), (1386836150,), (1386836173,), (1386836773,), (1386837033,), (1386837163,), (1386837614,), (1386837618,), (1386837640,), (1386838514,), (1386838480,), (1386838598,), (1386838757,), (1386838762,), (1386838817,), (1386838821,), (1386838873,), (1386839202,), (1386839206,), (1386839236,), (1386840158,), (1386840162,), (1386840829,), (1386845116,), (1386845150,), (1386845154,), (1386846111,), (1386847812,), (1386847816,), (1386849278,), (1386849306,), (1386849361,), (1386849364,), (1386849384,), (1386849388,), (1386850015,), (1386850930,), (1386850944,), (1386851321,), (1386864607,), (1386864599,), (1386864603,), (1386865238,), (1386866133,), (1386866142,), (1386866326,), (1386866337,), (1386866524,), (1386866820,), (1386866863,), (1386866867,), (1386867039,), (1386867095,), (1386867134,), (1386867139,), (1386867143,), (1386867298,), (1386867302,), (1386867341,), (1386867364,), (1386867367,), (1386867371,), (1386867403,), (1386867505,), (1386867561,), (1386867683,), (1386867703,), (1386867914,), (1386868130,), (1386868156,), (1386868534,), (1386868833,), (1386868840,), (1386868973,), (1386868977,), (1386868979,), (1386868980,), (1386868983,), (1386869000,), (1386869003,), (1386869005,), (1386869175,), (1386869179,), (1386869337,), (1386869444,), (1386884239,), (1386884236,), (1386884259,), (1386884264,), (1386884266,), (1386884270,), (1386884273,), (1386884276,), (1386884285,), (1386884288,), (1386884495,), (1386884499,), (1386884505,), (1386884523,), (1386884526,), (1386884551,), (1386884603,), (1386884580,), (1386884592,), (1386884597,), (1386884600,), (1386884620,), (1386884624,), (1386884626,), (1386884627,), (1386884629,), (1386884647,), (1386884651,), (1386884743,), (1386884746,), (1386884748,), (1386884750,), (1386884753,), (1386884771,), (1386884775,), (1386884777,), (1386884780,), (1386884803,), (1386884807,), (1386884809,), (1386884811,), (1386884814,), (1386885703,), (1386885707,), (1386885710,), (1386885713,), (1386885733,), (1386885736,), (1386885739,), (1386885742,), (1386885746,), (1386885751,), (1386886102,), (1386886187,), (1386886190,), (1386886212,), (1386886215,), (1386886218,), (1386886222,), (1386886226,), (1386886537,), (1386886542,), (1386886548,), (1386886554,), (1386886557,), (1386886561,), (1386886565,), (1386886567,), (1386886570,), (1386886598,), (1386893352,), (1386893355,), (1386893357,), (1386893360,), (1386893363,), (1386893367,), (1386893383,), (1386893386,), (1386893400,), (1386893403,), (1386893407,), (1386893420,), (1386893423,), (1386893425,), (1386893429,), (1386893433,), (1386893453,), (1386893454,), (1386893456,), (1386893459,), (1386893462,), (1386893466,), (1386893471,), (1386893473,), (1386893475,), (1386893477,), (1386893482,), (1386893484,), (1386893487,), (1386893491,), (1386893493,), (1386893509,), (1386893513,), (1386893538,), (1386893542,), (1386893547,), (1386893550,), (1386893572,), (1386893575,), (1386893577,), (1386893580,), (1386893583,), (1386893598,), (1386893603,), (1386893607,), (1386893612,), (1386893616,), (1386893632,), (1386893637,), (1386893640,), (1386893671,), (1386893674,), (1386893678,), (1386893683,), (1386893687,), (1386893691,), (1386893704,), (1386893709,), (1386893715,), (1386893720,), (1386893726,), (1386893780,), (1386893782,), (1386893787,), (1386893789,), (1386893792,), (1386893795,), (1386893797,), (1386893799,), (1386893816,), (1386893819,), (1386891495,), (1386891526,), (1386891528,), (1386891530,), (1386891533,), (1386891536,), (1386891539,), (1386891570,), (1386891719,), (1386892445,), (1386892539,), (1386892559,), (1386892560,), (1386892561,), (1386892584,), (1386892588,), (1386892591,), (1386892623,), (1386892628,), (1386892631,), (1386892653,), (1386892657,), (1386892660,), (1386892661,), (1386892664,), (1386892668,), (1386892685,), (1386892689,), (1386892691,), (1386892713,), (1386892717,), (1386892720,), (1386892723,), (1386892727,), (1386892731,), (1386892747,), (1386892750,), (1386892751,), (1386892752,), (1386892755,), (1386892774,), (1386892776,), (1386892778,), (1386892783,), (1386892790,), (1386892792,), (1386892808,), (1386892811,), (1386892813,), (1386892815,), (1386892817,), (1386892820,), (1386892826,), (1386892828,), (1386892831,), (1386892833,), (1386892838,), (1386892842,), (1386892856,), (1386893766,), (1386893769,), (1386893773,), (1386893777,), (1386893802,), (1386893804,), (1386893807,), (1386893810,), (1386893813,), (1386893826,), (1386893829,), (1386893832,), (1386893836,), (1386893840,), (1386893841,), (1386893853,), (1386893856,), (1386893857,), (1386893859,), (1386893882,), (1386893885,), (1386893888,), (1386893892,), (1386893896,), (1386893899,), (1386893911,), (1386893915,), (1386893918,), (1386893922,), (1386893927,), (1386893953,), (1386893957,), (1386893959,), (1386893961,), (1386893965,), (1386893981,), (1386893983,), (1386893985,), (1386893988,), (1386893992,), (1386893996,), (1386894015,), (1386894018,), (1386894020,), (1386894022,), (1386894066,), (1386894079,), (1386894097,), (1386894113,), (1386894119,), (1386894134,), (1386894152,), (1386894160,), (1386894164,), (1386894167,), (1386894173,), (1386894178,), (1386894209,), (1386894211,), (1386894215,), (1386894217,), (1386894222,), (1386894230,), (1386894232,), (1386894236,), (1386894239,), (1386894246,), (1386894253,), (1386894836,), (1386894850,), (1386894854,), (1386894915,), (1386895141,), (1386895144,), (1386895146,), (1386895148,), (1386895156,), (1386895162,), (1386895299,), (1386895309,), (1386895342,), (1386895723,), (1386895735,), (1386895926,), (1386900156,), (1386900188,), (1386900194,), (1386900201,), (1386900206,), (1386900412,), (1386900446,), (1386900448,), (1386900505,), (1386900545,), (1386900548,), (1386900550,), (1386900552,), (1386900555,), (1386900716,), (1386900720,), (1386900723,), (1386900726,), (1386900730,), (1386900760,), (1386900826,), (1386900955,), (1386900985,), (1386900990,), (1386901085,), (1386901090,), (1386901093,), (1386901118,), (1386901123,), (1386901126,), (1386901152,), (1386901161,), (1386901166,), (1386901170,), (1386901188,), (1386901328,), (1386901335,), (1386901337,), (1386901338,), (1386901354,), (1386901357,), (1386901359,), (1386901362,), (1386901366,), (1386901484,), (1386901487,), (1386901532,), (1386901535,), (1386901538,), (1386902218,), (1386902222,), (1386902224,), (1386902226,), (1386902853,), (1386902907,), (1386902909,), (1386902911,), (1386902914,), (1386903185,), (1386903190,), (1386903209,), (1386903606,), (1386903609,), (1386903610,), (1386903648,), (1386903701,), (1386903705,), (1386903707,), (1386903711,), (1386903719,), (1386903723,), (1386903810,), (1386895910,), (1386895914,), (1386895922,), (1386895924,), (1386895925,), (1386896032,), (1386896038,), (1386896051,), (1386896054,), (1386896057,), (1386896131,), (1386896134,), (1386896138,), (1386896142,), (1386896147,), (1386896151,), (1386896618,), (1386896624,), (1386896637,), (1386896638,), (1386897098,), (1386897100,), (1386897103,), (1386897108,), (1386897576,), (1386897585,), (1386897599,), (1386897603,), (1386897608,), (1386897618,), (1386897874,), (1386897977,), (1386897990,), (1386898003,), (1386898005,), (1386898032,), (1386898038,), (1386898179,), (1386898183,), (1386898217,), (1386898233,), (1386898363,), (1386898368,), (1386898400,), (1386898410,), (1386898441,), (1386898481,), (1386898486,), (1386898489,), (1386898492,), (1386898534,), (1386898599,), (1386898601,), (1386898604,), (1386898606,), (1386898609,), (1386898641,), (1386898924,), (1386898950,), (1386898952,), (1386898956,), (1386899097,), (1386899210,), (1386899213,), (1386899223,), (1386899237,), (1386899240,), (1386899406,), (1386899410,), (1386899411,), (1386899417,), (1386899623,), (1386899835,), (1386899935,), (1386899942,), (1386899953,), (1386899978,), (1386900214,), (1386903798,), (1386903803,), (1386903807,), (1386903828,), (1386903832,), (1386903833,), (1386903835,), (1386903840,), (1386903925,), (1386903939,), (1386903942,), (1386903981,), (1386904001,), (1386904006,), (1386904033,), (1386904036,), (1386904173,), (1386904825,), (1386905049,), (1386905099,), (1386905224,), (1386905287,), (1386905328,), (1386905701,), (1386905704,), (1386905706,), (1386905709,), (1386905712,), (1386905900,), (1386905917,), (1386905934,), (1386905939,), (1386905944,), (1386905947,), (1386906360,), (1386906370,), (1386906479,), (1386906481,), (1386906520,), (1386906617,), (1386906644,), (1386906654,), (1386906658,), (1386906662,), (1386906665,), (1386906709,), (1386906713,), (1386906739,), (1386906744,), (1386906768,), (1386906771,), (1386906773,), (1386906971,), (1386906973,), (1386907263,), (1386907267,), (1386907270,), (1386907274,), (1386907284,), (1386907349,), (1386907352,), (1386907356,), (1386907360,), (1386908221,), (1386908290,), (1386908385,), (1386908388,), (1386908393,), (1386908444,), (1386908474,), (1386908484,), (1386908517,), (1386908556,), (1386887862,), (1386887869,), (1386887949,), (1386888130,), (1386888160,), (1386888165,), (1386888201,), (1386888232,), (1386888221,), (1386888225,), (1386888229,), (1386888256,), (1386888259,), (1386888262,), (1386888264,), (1386888265,), (1386888267,), (1386888284,), (1386888285,), (1386888305,), (1386888307,), (1386888310,), (1386888312,), (1386888314,), (1386888316,), (1386888328,), (1386888334,), (1386888338,), (1386888341,), (1386888343,), (1386888361,), (1386888365,), (1386888368,), (1386888372,), (1386888377,), (1386888380,), (1386888396,), (1386888399,), (1386888402,), (1386888405,), (1386888408,), (1386888424,), (1386888426,), (1386888430,), (1386888432,), (1386888433,), (1386888447,), (1386888451,), (1386888454,), (1386888457,), (1386888461,), (1386888464,), (1386888479,), (1386888481,), (1386888483,), (1386888486,), (1386888489,), (1386888491,), (1386888494,), (1386888497,), (1386888499,), (1386888501,), (1386888511,), (1386888514,), (1386888517,), (1386888521,), (1386888525,), (1386888544,), (1386888546,), (1386888548,), (1386888551,), (1386888556,), (1386888580,), (1386888584,), (1386888591,), (1386888594,), (1386888606,), (1386888612,), (1386888616,), (1386888620,), (1386888623,), (1386888626,), (1386888638,), (1386888641,), (1386888644,), (1386888648,), (1386888653,), (1386888656,), (1386888678,), (1386889632,), (1386889660,), (1386889691,), (1386889695,), (1386889699,), (1386889735,), (1386889739,), (1386889743,), (1386889744,), (1386889747,), (1386889772,), (1386889774,), (1386889777,), (1386889781,), (1386889785,), (1386889789,), (1386889815,), (1386889819,), (1386889825,), (1386889828,), (1386889846,), (1386889850,), (1386889854,), (1386889859,), (1386889864,), (1386889868,), (1386889888,), (1386889890,), (1386889891,), (1386889893,), (1386889895,), (1386889899,), (1386889918,), (1386889922,), (1386889925,), (1386889928,), (1386889956,), (1386889960,), (1386889963,), (1386889967,), (1386889971,), (1386889975,), (1386889992,), (1386890028,), (1386890032,), (1386890037,), (1386890039,), (1386890044,), (1386890070,), (1386890076,), (1386890080,), (1386890085,), (1386890118,), (1386890124,), (1386890130,), (1386890136,), (1386890140,), (1386890145,), (1386890169,), (1386891885,), (1386891919,), (1386891924,), (1386891926,), (1386891928,), (1386891931,), (1386891945,), (1386891947,), (1386892029,), (1386892034,), (1386892037,), (1386892065,), (1386892061,), (1386892128,), (1386892276,), (1386892279,), (1386892281,), (1386892285,), (1386892305,), (1386892307,), (1386892310,), (1386892313,), (1386892316,), (1386892330,), (1386892337,), (1386892338,), (1386892340,), (1386892342,), (1386892345,), (1386892356,), (1386892358,), (1386892449,), (1386892849,), (1386892851,), (1386892853,), (1386892871,), (1386892872,), (1386892874,), (1386892876,), (1386892882,), (1386892885,), (1386892907,), (1386892911,), (1386892914,), (1386892917,), (1386892936,), (1386892938,), (1386892940,), (1386892942,), (1386892945,), (1386892962,), (1386892965,), (1386892968,), (1386892971,), (1386892973,), (1386892988,), (1386892989,), (1386892990,), (1386892992,), (1386893010,), (1386893014,), (1386893017,), (1386893021,), (1386893025,), (1386893029,), (1386893045,), (1386893047,), (1386893049,), (1386893050,), (1386893053,), (1386893074,), (1386893079,), (1386893082,), (1386893086,), (1386893091,), (1386893111,), (1386893115,), (1386893119,), (1386893122,), (1386893138,), (1386893144,), (1386893146,), (1386893148,), (1386893151,), (1386893154,), (1386893167,), (1386893169,), (1386893172,), (1386893176,), (1386893178,), (1386893182,), (1386893198,), (1386893206,), (1386893211,), (1386893214,), (1386893217,), (1386893232,), (1386893236,), (1386893238,), (1386893241,), (1386893245,), (1386893248,), (1386893273,), (1386893276,), (1386893325,), (1386908539,), (1386908544,), (1386908549,), (1386908552,), (1386908553,), (1386909801,), (1386909836,), (1386909842,), (1386910212,), (1386910274,), (1386910277,), (1386910280,), (1386910282,), (1386910462,), (1386910465,), (1386910468,), (1386910469,), (1386910505,), (1386910507,), (1386910509,), (1386910511,), (1386910515,), (1386910522,), (1386910539,), (1386910545,), (1386910550,), (1386910946,), (1386910950,), (1386911121,), (1386911141,), (1386911143,), (1386911145,), (1386911147,), (1386911285,), (1386911288,), (1386911301,), (1386911306,), (1386911486,), (1386911566,), (1386911815,), (1386911888,), (1386911911,), (1386911915,), (1386912114,), (1386912117,), (1386912119,), (1386912122,), (1386912243,), (1386912306,), (1386912310,), (1386912346,), (1386912354,), (1386920013,), (1386886587,), (1386886592,), (1386886594,), (1386886596,), (1386886613,), (1386886616,), (1386886620,), (1386886626,), (1386886631,), (1386886635,), (1386886646,), (1386886650,), (1386886653,), (1386886657,), (1386886678,), (1386886682,), (1386886686,), (1386886690,), (1386886694,), (1386886696,), (1386886703,), (1386886705,), (1386886707,), (1386886710,), (1386886713,), (1386886734,), (1386886735,), (1386886738,), (1386886764,), (1386886769,), (1386886772,), (1386886775,), (1386886780,), (1386886793,), (1386886796,), (1386886798,), (1386886804,), (1386886815,), (1386886817,), (1386886819,), (1386886822,), (1386886838,), (1386886845,), (1386886848,), (1386886852,), (1386886855,), (1386886864,), (1386886867,), (1386886870,), (1386886872,), (1386886875,), (1386886877,), (1386886895,), (1386886899,), (1386886900,), (1386886901,), (1386886924,), (1386886927,), (1386886930,), (1386886933,), (1386886935,), (1386886938,), (1386886947,), (1386886950,), (1386886953,), (1386886957,), (1386886979,), (1386886982,), (1386886985,), (1386886986,), (1386886988,), (1386887024,), (1386887009,), (1386887013,), (1386887015,), (1386887018,), (1386887021,), (1386887037,), (1386887040,), (1386887042,), (1386887044,), (1386887047,), (1386887065,), (1386887070,), (1386887074,), (1386887076,), (1386887094,), (1386887095,), (1386887096,), (1386887098,), (1386887101,), (1386887104,), (1386887121,), (1386887124,), (1386887129,), (1386887134,), (1386887137,), (1386887140,), (1386887145,), (1386887147,), (1386887148,), (1386887150,), (1386887153,), (1386887158,), (1386887167,), (1386887170,), (1386887174,), (1386887175,), (1386887183,), (1386887187,), (1386887190,), (1386887192,), (1386887194,), (1386887197,), (1386887211,), (1386887213,), (1386887217,), (1386887220,), (1386887237,), (1386887241,), (1386887244,), (1386887248,), (1386887252,), (1386887256,), (1386887280,), (1386887284,), (1386887286,), (1386887287,), (1386887289,), (1386887305,), (1386887308,), (1386887310,), (1386887315,), (1386887319,), (1386887336,), (1386887338,), (1386887340,), (1386887342,), (1386887345,), (1386887348,), (1386887362,), (1386887371,), (1386887374,), (1386887377,), (1386887380,), (1386887397,), (1386887398,), (1386887400,), (1386887403,), (1386887406,), (1386887407,), (1386887423,), (1386887426,), (1386887429,), (1386887431,), (1386887433,), (1386887434,), (1386887456,), (1386887453,), (1386887455,), (1386887477,), (1386887481,), (1386887484,), (1386887488,), (1386887492,), (1386887495,), (1386887509,), (1386887514,), (1386887518,), (1386887522,), (1386887527,), (1386887531,), (1386887541,), (1386887543,), (1386887545,), (1386887548,), (1386887552,), (1386887564,), (1386887571,), (1386887573,), (1386887575,), (1386887578,), (1386887579,), (1386887592,), (1386887596,), (1386887598,), (1386887618,), (1386887623,), (1386887627,), (1386887629,), (1386887631,), (1386887633,), (1386887644,), (1386887648,), (1386887651,), (1386887654,), (1386887658,), (1386887662,), (1386887686,), (1386887687,), (1386887688,), (1386887713,), (1386887717,), (1386887721,), (1386887726,), (1386887749,), (1386887752,), (1386887755,), (1386887759,), (1386887775,), (1386887776,), (1386887871,), (1386888668,), (1386888671,), (1386888675,), (1386888695,), (1386888697,), (1386888698,), (1386888700,), (1386888703,), (1386888718,), (1386888723,), (1386888727,), (1386888761,), (1386888765,), (1386888767,), (1386888768,), (1386888772,), (1386888776,), (1386888789,), (1386888790,), (1386888793,), (1386888797,), (1386888800,), (1386888803,), (1386888808,), (1386888809,), (1386888810,), (1386888811,), (1386888815,), (1386888823,), (1386888828,), (1386888832,), (1386888834,), (1386888844,), (1386888846,), (1386888847,), (1386888849,), (1386888852,), (1386888869,), (1386888872,), (1386888875,), (1386888877,), (1386888889,), (1386888892,), (1386888895,), (1386888899,), (1386888903,), (1386888932,), (1386888936,), (1386888939,), (1386888944,), (1386888967,), (1386889014,), (1386889047,), (1386889051,), (1386889053,), (1386889056,), (1386889060,), (1386889076,), (1386889078,), (1386889081,), (1386889084,), (1386889087,), (1386889088,), (1386889109,), (1386889102,), (1386889105,), (1386889107,), (1386889134,), (1386889137,), (1386889141,), (1386889165,), (1386889168,), (1386889170,), (1386889172,), (1386889175,), (1386889177,), (1386889193,), (1386889196,), (1386889199,), (1386889203,), (1386889224,), (1386889228,), (1386889230,), (1386889233,), (1386889238,), (1386889266,), (1386889270,), (1386889273,), (1386889276,), (1386889280,), (1386889284,), (1386889307,), (1386889312,), (1386889315,), (1386889317,), (1386889320,), (1386889347,), (1386889352,), (1386889357,), (1386889362,), (1386889366,), (1386889449,), (1386889454,), (1386889484,), (1386889488,), (1386889491,), (1386889493,), (1386889497,), (1386889501,), (1386889528,), (1386889532,), (1386889535,), (1386889537,), (1386889539,), (1386889566,), (1386889569,), (1386889572,), (1386889600,), (1386889604,), (1386889606,), (1386889636,), (1386934434,), (1386934714,), (1386934768,), (1386934771,), (1386934773,), (1386934774,), (1386934777,), (1386934942,), (1386934972,), (1386934996,), (1386935001,), (1386935076,), (1386935080,), (1386935295,), (1386935299,), (1386935334,), (1386935337,), (1386935341,), (1386935344,), (1386935357,), (1386935361,), (1386935365,), (1386935369,), (1386935373,), (1386935420,), (1386935426,), (1386935429,), (1386935431,), (1386935434,), (1386935437,), (1386935461,), (1386935464,), (1386935646,), (1386935856,), (1386935871,), (1386935873,), (1386935876,), (1386935880,), (1386935890,), (1386935929,), (1386935933,), (1386935935,), (1386935937,), (1386935939,), (1386935940,), (1386937204,), (1386937530,), (1386937581,), (1386937830,), (1386937834,), (1386937842,), (1386937844,), (1386937814,), (1386937817,), (1386937819,), (1386937823,), (1386937868,), (1386937872,), (1386937875,), (1386937879,), (1386937896,), (1386937899,), (1386937901,), (1386937903,), (1386937906,), (1386937913,), (1386937947,), (1386937951,), (1386937953,), (1386937963,), (1386937970,), (1386938005,), (1386938008,), (1386938011,), (1386938373,), (1386938405,), (1386938427,), (1386938433,), (1386938437,), (1386938747,), (1386939573,), (1386939578,), (1386939590,), (1386939591,), (1386939593,), (1386939596,), (1386939974,), (1386939983,), (1386940099,), (1386940241,), (1386940364,), (1386940368,), (1386940373,), (1386940441,), (1386940444,), (1386940446,), (1386940478,), (1386940481,), (1386940482,), (1386940483,), (1386940504,), (1386940547,), (1386940550,), (1386940553,), (1386940556,), (1386940961,), (1386940992,), (1386941007,), (1386941010,), (1386941012,), (1386941197,), (1386941200,), (1386941203,), (1386941207,), (1386941215,), (1386941217,), (1386941235,), (1386941238,), (1386941239,), (1386941241,), (1386941245,), (1386941248,), (1386941260,), (1386941264,), (1386941614,), (1386941873,), (1386941847,), (1386941866,), (1386941870,), (1386941937,), (1386941950,), (1386941951,), (1386941952,), (1386941954,), (1386942276,), (1386942279,), (1386942282,), (1386942370,), (1386942477,), (1386942480,), (1386942483,), (1386942487,), (1386942511,), (1386942825,), (1386942827,), (1386942829,), (1386942831,), (1386942933,), (1386943012,), (1386943054,), (1386943441,), (1386943445,), (1386943447,), (1386943482,), (1386943484,), (1386943486,), (1386943489,), (1386943512,), (1386943516,), (1386943517,), (1386943519,), (1386943521,), (1386943523,), (1386943909,), (1386943919,), (1386943921,), (1386943923,), (1386943925,), (1386943939,), (1386943943,), (1386943946,), (1386943949,), (1386943951,), (1386943953,), (1386943964,), (1386943965,), (1386943966,), (1386944327,), (1386944330,), (1386944380,), (1386944408,), (1386944411,), (1386944900,), (1386944904,), (1386944921,), (1386945254,), (1386945291,), (1386945293,), (1386945295,), (1386945297,), (1386945347,), (1386945351,), (1386945353,), (1386945356,), (1386945359,), (1386945368,), (1386945404,), (1386945412,), (1386945415,), (1386945418,), (1386945422,), (1386945780,), (1386945782,), (1386945783,), (1386945784,), (1386945807,), (1386945810,), (1386945812,), (1386945814,), (1386945829,), (1386945831,), (1386945832,), (1386945834,), (1386945838,), (1386945841,), (1386945877,), (1386945880,), (1386945882,), (1386945904,), (1386945907,), (1386945910,), (1386946010,), (1386946588,), (1386946621,), (1386946625,), (1386946627,), (1386946771,), (1386946864,), (1386946953,), (1386946954,), (1386946977,), (1386946979,), (1386947350,), (1386947708,), (1386947636,), (1386947678,), (1386947681,), (1386947748,), (1386947754,), (1386947755,), (1386947756,), (1386947758,), (1386948084,), (1386948087,), (1386948089,), (1386948180,), (1386948212,), (1386948291,), (1386948329,), (1386948330,), (1386948355,), (1386948360,), (1386948362,), (1386948364,), (1386948366,), (1386948692,), (1386948695,), (1386948698,), (1386948826,), (1386948902,), (1386948913,), (1386948934,), (1386948937,), (1386948939,), (1386948941,), (1386948951,), (1386948954,), (1386948958,), (1386948968,), (1386948972,), (1386949023,), (1386949026,), (1386949330,), (1386949332,), (1386949497,), (1386949502,), (1386949504,), (1386949525,), (1386949527,), (1386949539,), (1386949586,), (1386949597,), (1386949608,), (1386949653,), (1386949669,), (1386949671,), (1386949673,), (1386950288,), (1386950292,), (1386950295,), (1386950577,), (1386950584,), (1386950586,), (1386950700,), (1386950702,), (1386950704,), (1386951421,), (1386952364,), (1386952409,), (1386952411,), (1386950694,), (1386950697,), (1386950699,), (1386952421,), (1386952423,), (1386953378,), (1386953396,), (1386953407,), (1386953413,), (1386953418,), (1386953479,), (1386953483,), (1386953485,), (1386953487,), (1386953489,), (1386953513,), (1386953518,), (1386953521,), (1386953522,), (1386953602,), (1386953608,), (1386953611,), (1386953614,), (1386953617,), (1386953650,), (1386953655,), (1386953670,), (1386953673,), (1386953676,), (1386953710,), (1386953714,), (1386953718,), (1386953720,), (1386953744,), (1386953747,), (1386953750,), (1386953824,), (1386953828,), (1386953830,), (1386954463,), (1386954647,), (1386954648,), (1386954769,), (1386955025,), (1386955039,), (1386955100,), (1386955104,), (1386955106,), (1386955133,), (1386955136,), (1386955571,), (1386955769,), (1386955759,), (1386955762,), (1386955765,), (1386955791,), (1386955802,), (1386955813,), (1386955822,), (1386955825,), (1386955835,), (1386955839,), (1386955843,), (1386955845,), (1386955872,), (1386955876,), (1386955880,), (1386955900,), (1386955904,), (1386955908,), (1386955926,), (1386955930,), (1386955933,), (1386956050,), (1386956059,), (1386956122,), (1386956674,), (1386956678,), (1386956820,), (1386956826,), (1386956829,), (1386956832,), (1386957209,), (1386957230,), (1386957232,), (1386957297,), (1386957477,), (1386957950,), (1386958259,), (1386958390,), (1386958393,), (1386958394,), (1386958396,), (1386958399,), (1386958913,), (1386958916,), (1386958919,), (1386958922,), (1386959242,), (1386959246,), (1386959248,), (1386959251,), (1386959253,), (1386959255,), (1386959261,), (1386959281,), (1386959282,), (1386959307,), (1386959297,), (1386959301,), (1386959303,), (1386959476,), (1386959493,), (1386959496,), (1386959560,), (1386959596,), (1386959638,), (1386959641,), (1386959644,), (1386959655,), (1386959694,), (1386959697,), (1386959700,), (1386959703,), (1386959706,), (1386960601,), (1386960605,), (1386960645,), (1386960664,), (1386961011,), (1386961015,), (1386961201,), (1386961205,), (1386961207,), (1386961441,), (1386961445,), (1386961448,), (1386961451,), (1386961885,), (1386961899,), (1386961902,), (1386961904,), (1386962002,), (1386962075,), (1386962078,), (1386962080,), (1386962110,), (1386962113,), (1386962115,), (1386962773,), (1386962802,), (1386962808,), (1386962810,), (1386962912,), (1386962903,), (1386962906,), (1386962908,), (1386962967,), (1386962982,), (1386963142,), (1386963146,), (1386963196,), (1386963323,), (1386963328,), (1386963377,), (1386963461,), (1386963468,), (1386963479,), (1386963520,), (1386963521,), (1386963522,), (1386963524,), (1386963881,), (1386963886,), (1386963889,), (1386963893,), (1386963896,), (1386964068,), (1386964071,), (1386964073,), (1386964075,), (1386964094,), (1386964097,), (1386964099,), (1386964103,), (1386964130,), (1386964134,), (1386964137,), (1386964140,), (1386964144,), (1386964659,), (1386964682,), (1386964701,), (1386964703,), (1386964874,), (1386964925,), (1386964941,), (1386964950,), (1386964990,), (1386965002,), (1386965058,), (1386965061,), (1386965785,), (1386965791,), (1386965797,), (1386965802,), (1386965883,), (1386965888,), (1386965891,), (1386965902,), (1386965920,), (1386965926,), (1386965931,), (1386965964,), (1386965973,), (1386966900,), (1386965867,), (1386965873,), (1386965877,), (1386966845,), (1386966894,), (1386966897,), (1386967080,), (1386967268,), (1386967270,), (1386967273,), (1386967548,), (1386967933,), (1386967937,), (1386967941,), (1386968009,), (1386968014,), (1386968017,), (1386968018,), (1386968021,), (1386968045,), (1386968049,), (1386968647,), (1386968656,), (1386968804,), (1386968812,), (1386968844,), (1386968874,), (1386968904,), (1386968908,), (1386968911,), (1386968913,), (1386968917,), (1386968935,), (1386968937,), (1386968939,), (1386968942,), (1386969529,), (1386969532,), (1386969534,), (1386969759,), (1386969812,), (1386969844,), (1386969849,), (1386970340,), (1386970352,), (1386970354,), (1386970358,), (1386970362,), (1386970379,), (1386970451,), (1386970459,), (1386970470,), (1386970489,), (1386970491,), (1386970492,), (1386970494,), (1386970496,), (1386970512,), (1386970517,), (1386970519,), (1386970522,), (1386970526,), (1386971320,), (1386971192,), (1386971316,), (1386971709,), (1386971712,), (1386971829,), (1386971832,), (1386971923,), (1386971926,), (1386972462,), (1386972621,), (1386972645,), (1386972672,), (1386972677,), (1386972856,), (1386972857,), (1386972866,), (1386972935,), (1386972957,), (1386972960,), (1386972966,), (1386972967,), (1386972968,), (1386972996,), (1386973094,), (1386973107,), (1386973113,), (1386973132,), (1386973149,), (1386973157,), (1386973158,), (1386973160,), (1386973161,), (1386973163,), (1386973165,), (1386973167,), (1386973168,), (1386973172,), (1386973173,), (1386973185,), (1386973189,), (1386973191,), (1386973193,), (1386973543,), (1386973546,), (1386973648,), (1386973704,), (1386973709,), (1386973724,), (1386973728,), (1386973735,), (1386973755,), (1386973900,), (1386973903,), (1386973906,), (1386973966,), (1386973983,), (1386974016,), (1386974037,), (1386974077,), (1386974081,), (1386974084,), (1386974086,), (1386974089,), (1386974091,), (1386974203,), (1386974206,), (1386974209,), (1386976025,), (1386976009,), (1386976019,), (1386976339,), (1386976343,), (1386976386,), (1386976388,), (1386976432,), (1386976435,), (1386976479,), (1386976481,), (1386976502,), (1386976506,), (1386976509,), (1386977428,), (1386977344,), (1386977370,), (1386977410,), (1386977412,), (1386977424,), (1386977590,), (1386977593,), (1386977604,), (1386977868,), (1386977966,), (1386978090,), (1386978095,), (1386978104,), (1386978125,), (1386978128,), (1386978150,), (1386978152,), (1386978154,), (1386978525,), (1386978528,), (1386978532,), (1386978646,), (1386978711,), (1386978743,), (1386978754,), (1386978758,), (1386978923,), (1386978953,), (1386978957,), (1386978959,), (1386979087,), (1386979225,), (1386979226,), (1386979227,), (1386979229,), (1386979280,), (1386979289,), (1386979293,), (1386979297,), (1386979300,), (1386979302,), (1386979367,), (1386979369,), (1386979371,), (1386979373,), (1386979375,), (1386979580,), (1386979592,), (1386979598,), (1386979794,), (1386979798,), (1386979800,), (1386979803,), (1386979806,), (1386979845,), (1386980044,), (1386980607,), (1386980723,), (1386980728,), (1386980755,), (1386982809,), (1386982878,), (1386982917,), (1386982918,), (1386982919,), (1386982939,), (1386982963,), (1386983256,), (1386983257,), (1386981628,), (1386981856,), (1386981933,), (1386982578,), (1386982803,), (1386983011,), (1386983254,), (1386983393,), (1386983397,), (1386983401,), (1386983403,), (1386983415,), (1386983499,), (1386983500,), (1386983506,), (1386983511,), (1386983516,), (1386983589,), (1386983593,), (1386983597,), (1386983622,), (1386983681,), (1386983686,), (1386983688,), (1386983690,), (1386983822,), (1386983835,), (1386983867,), (1386983875,), (1386983878,), (1386983890,), (1386984087,), (1386984114,), (1386984166,), (1386984393,), (1386984398,), (1386984400,), (1386984456,), (1386984461,), (1386984730,), (1386984731,), (1386984835,), (1386984837,), (1386984866,), (1386984883,), (1386984889,), (1386984992,), (1386985012,), (1386985040,), (1386985052,), (1386985072,), (1386985095,), (1386985097,), (1386985098,), (1386985100,), (1386985122,), (1386985126,), (1386985130,), (1386985135,), (1386985140,), (1386985155,), (1386985158,), (1386985162,), (1386985367,), (1386985229,), (1386985297,), (1386985310,), (1386985328,), (1386985353,), (1386985609,), (1386985613,), (1386985645,), (1386985960,), (1386985964,), (1386985983,), (1386986102,), (1386986110,), (1386986301,), (1386986306,), (1386986348,), (1386986353,), (1386986472,), (1386986489,), (1386986518,), (1386986533,), (1386986631,), (1386986678,), (1386986689,), (1386986743,), (1386986745,), (1386986762,), (1386987384,), (1386987389,), (1386987412,), (1386987428,), (1386987437,), (1386987526,), (1386987530,), (1386987559,), (1386987634,), (1386987636,), (1386987637,), (1386987836,), (1386987851,), (1386987854,), (1386988036,), (1386988045,), (1386988050,), (1386988121,), (1386988124,), (1386996060,), (1386995771,), (1386996039,), (1386996059,), (1386996310,), (1386996325,), (1386997088,), (1386997091,), (1386997215,), (1386997233,), (1386997238,), (1386997242,), (1386997248,), (1386997253,), (1386997264,), (1386997268,), (1386997272,), (1386997276,), (1386997451,), (1386997463,), (1386997491,), (1386997497,), (1386997502,), (1386997554,), (1386997559,), (1386997560,), (1386997562,), (1386997565,), (1386997606,), (1386997610,), (1386997614,), (1386997619,), (1386997653,), (1386997663,), (1386997672,), (1386997678,), (1386997689,), (1386997696,), (1386997721,), (1386997736,), (1386997743,), (1386997757,), (1386997851,), (1386997862,), (1386997866,), (1386997892,), (1386997895,), (1386997933,), (1386997970,), (1386997982,), (1386997996,), (1386998141,), (1386998246,), (1386998270,), (1386998273,), (1386998274,), (1386998277,), (1386998383,), (1386998396,), (1386998401,), (1386998405,), (1386998409,), (1386998415,), (1386998619,), (1386998670,), (1386998661,), (1386998665,), (1386998669,), (1386998734,), (1386998765,), (1386998769,), (1386998771,), (1386998773,), (1386999138,), (1386999142,), (1386999144,), (1386999146,), (1386999148,), (1386999150,), (1386999171,), (1386999180,), (1386999182,), (1386999184,), (1386999260,), (1386999263,), (1386999265,), (1386999268,), (1386999272,), (1386999275,), (1386999305,), (1386999308,), (1386999320,), (1386999324,), (1386999398,), (1386999696,), (1386999702,), (1386999706,), (1386999709,), (1386999712,), (1386999722,), (1386999725,), (1386999728,), (1386999731,), (1386999734,), (1386999760,), (1386999763,), (1386999764,), (1386999767,), (1386999788,), (1386999791,), (1386999797,), (1386999801,), (1386999823,), (1386999826,), (1386999851,), (1386999855,), (1386999858,), (1386999861,), (1386999863,), (1386999865,), (1386999927,), (1386999929,), (1386999930,), (1386999985,), (1386999990,), (1387000001,), (1387000005,), (1387000009,), (1387000013,), (1387000036,), (1387000073,), (1387000083,), (1387000085,), (1387000133,), (1387000138,), (1387000140,), (1387000142,), (1387000147,), (1387000149,), (1387000311,), (1387000263,), (1387000273,), (1387000282,), (1387000347,), (1387000348,), (1387000350,), (1387000352,), (1387000355,), (1387000358,), (1387000367,), (1387000370,), (1387000372,), (1387000669,), (1387000705,), (1387000741,), (1387000745,), (1387000759,), (1387000763,), (1387000832,), (1387000835,), (1387000838,), (1387000841,), (1387000867,), (1387000869,), (1387000871,), (1387000875,), (1387000878,), (1387000882,), (1387000977,), (1387001031,), (1387001039,), (1387001067,), (1387001115,), (1387001119,), (1387001120,), (1387001121,), (1387001158,), (1387001160,), (1387001162,), (1387001192,), (1387001196,), (1387001198,), (1387001201,), (1387001205,), (1387001217,), (1387001220,), (1387001222,), (1387001242,), (1387001263,), (1387001364,), (1387001378,), (1387001381,), (1387001437,), (1387001456,), (1387001464,), (1387001469,), (1387001473,), (1387001476,), (1387001480,), (1387001525,), (1387001513,), (1387001516,), (1387001518,), (1387001521,), (1387001545,), (1387001559,), (1387001562,), (1387001564,), (1387001592,), (1387001597,), (1387001600,), (1387001603,), (1387001645,), (1387001651,), (1387001667,), (1387001670,), (1387001674,), (1387001681,), (1387001698,), (1387001703,), (1387001707,), (1387001711,), (1387001751,), (1387002225,), (1387002278,), (1387002288,), (1387002290,), (1387002300,), (1387002323,), (1387002375,), (1387002527,), (1387002599,), (1387002604,), (1387002631,), (1387002633,), (1387002636,), (1387002694,), (1387002707,), (1387002737,), (1387002740,), (1387002743,), (1387003117,), (1387003121,), (1387003146,), (1387003148,), (1387003151,), (1387003499,), (1387003502,), (1387003505,), (1387003509,), (1387003512,), (1387003613,), (1387003712,), (1387003715,), (1387004246,), (1387004565,), (1387004567,), (1387004569,), (1387004572,), (1387003696,), (1387003699,), (1387003703,), (1387004590,), (1387004729,), (1387004796,), (1387004850,), (1387004858,), (1387004922,), (1387004925,), (1387004928,), (1387004931,), (1387004934,), (1387004955,), (1387004976,), (1387004983,), (1387004987,), (1387004995,), (1387005020,), (1387005430,), (1387005834,), (1387005836,), (1387005838,), (1387006180,), (1387006281,), (1387006331,), (1387006559,), (1387006578,), (1387006584,), (1387006586,), (1387006589,), (1387006592,), (1387006619,), (1387006621,), (1387006630,), (1387006660,), (1387006673,), (1387006749,), (1387006796,), (1387006799,), (1387006827,), (1387006836,), (1387006837,), (1387006911,), (1387006912,), (1387006914,), (1387006916,), (1387006919,), (1387006922,), (1387006980,), (1387006986,), (1387006987,), (1387006989,), (1387006991,), (1387007051,), (1387007059,), (1387007072,), (1387007086,), (1387007095,), (1387007113,), (1387007175,), (1387007178,), (1387007219,), (1387007221,), (1387007225,), (1387007242,), (1387007257,), (1387007268,), (1387007278,), (1387007298,), (1387007300,), (1387007303,), (1387007313,), (1387007325,), (1387007329,), (1387007332,), (1387007337,), (1387007341,), (1387007343,), (1387007346,), (1387007350,), (1387007355,), (1387007363,), (1387007465,), (1387007441,), (1387007455,), (1387007638,), (1387007642,), (1387007645,), (1387007649,), (1387007653,), (1387007677,), (1387007679,), (1387007684,), (1387007687,), (1387007766,), (1387007771,), (1387007774,), (1387007777,), (1387007800,), (1387007803,), (1387007806,), (1387007809,), (1387007812,), (1387007823,), (1387007826,), (1387007828,), (1387007831,), (1387008187,), (1387008196,), (1387008211,), (1387008219,), (1387008223,), (1387008227,), (1387008312,), (1387008322,), (1387008324,), (1387008326,), (1387008329,), (1387008334,), (1387008542,), (1387008558,), (1387008562,), (1387008566,), (1387008670,), (1387008676,), (1387008694,), (1387008697,), (1387008701,), (1387008924,), (1387008952,), (1387009070,), (1387009081,), (1387009089,), (1387009111,), (1387009115,), (1387009117,), (1387009119,), (1387009122,), (1387009235,), (1387009244,), (1387009251,), (1387009302,), (1387009306,), (1387009309,), (1387009317,), (1387009354,), (1387009357,), (1387009358,), (1387009360,), (1387009364,), (1387009429,), (1387009409,), (1387009412,), (1387009414,), (1387009418,), (1387009422,), (1387009448,), (1387009451,), (1387009470,), (1387009477,), (1387009547,), (1387009550,), (1387009552,), (1387009555,), (1387009560,), (1387009565,), (1387009597,), (1387009611,), (1387009615,), (1387009618,), (1387009680,), (1387009684,), (1387009687,), (1387009689,), (1387009692,), (1387009694,), (1387009704,), (1387009706,), (1387009708,), (1387009714,), (1387009718,), (1387009749,), (1387009753,), (1387009757,), (1387009760,), (1387009787,), (1387010110,), (1387010131,), (1387010139,), (1387010153,), (1387010160,), (1387010188,), (1387010190,), (1387010192,), (1387010195,), (1387010252,), (1387010318,), (1387010339,), (1387010342,), (1387010344,), (1387010346,), (1387010347,), (1387010349,), (1387010371,), (1387010374,), (1387010377,), (1387010380,), (1387010381,), (1387010472,), (1387010496,), (1387010510,), (1387010529,), (1387010533,), (1387010568,), (1387010581,), (1387010602,), (1387010907,), (1387010909,), (1387010943,), (1387010947,), (1387010976,), (1387010981,), (1387011082,), (1387011104,), (1387011110,), (1387011114,), (1387011117,), (1387011152,), (1387011134,), (1387011137,), (1387011140,), (1387011143,), (1387011147,), (1387011225,), (1387011228,), (1387011230,), (1387011233,), (1387011236,), (1387011237,), (1387011458,), (1387011461,), (1387011471,), (1387011474,), (1387011600,), (1387011606,), (1387011610,), (1387011614,), (1387011679,), (1387011683,), (1387011721,), (1387011724,), (1387011732,), (1387011735,), (1387011736,), (1387011738,), (1387011744,), (1387011746,), (1387011748,), (1387011788,), (1387011960,), (1387011963,), (1387011964,), (1387012002,), (1387012005,), (1387012008,), (1387012030,), (1387012031,), (1387012034,), (1387012035,), (1387012037,), (1387012039,), (1387012041,), (1387012043,), (1387012045,), (1387012050,), (1387012056,), (1387012058,), (1387012072,), (1387012073,), (1387012076,), (1387012078,), (1387012088,), (1387012095,), (1387012100,), (1387012103,), (1387012108,), (1387012111,), (1387012114,), (1387012117,), (1387012150,), (1387012154,), (1387012158,), (1387012178,), (1387012181,), (1387012184,), (1387012199,), (1387012202,), (1387012203,), (1387012205,), (1387012208,), (1387012237,), (1387012305,), (1387012309,), (1387012314,), (1387012323,), (1387012371,), (1387012375,), (1387012378,), (1387012397,), (1387012399,), (1387012420,), (1387013739,), (1387013748,), (1387013825,), (1387013848,), (1387013984,), (1387013995,), (1387014001,), (1387014004,), (1387014023,), (1387014032,), (1387014038,), (1387014042,), (1387014080,), (1387014088,), (1387013933,), (1387013940,), (1387013944,), (1387013962,), (1387014050,), (1387014052,), (1387014055,), (1387014056,), (1387014057,), (1387014058,), (1387014065,), (1387014068,), (1387014071,), (1387014074,), (1387014102,), (1387014105,), (1387014110,), (1387014112,), (1387014115,), (1387014136,), (1387014163,), (1387014167,), (1387014169,), (1387014171,), (1387014186,), (1387014233,), (1387014261,), (1387014263,), (1387014266,), (1387014306,), (1387014310,), (1387014419,), (1387014430,), (1387014574,), (1387014582,), (1387014640,), (1387014644,), (1387014647,), (1387014649,), (1387014652,), (1387014655,), (1387014688,), (1387014691,), (1387014692,), (1387014781,), (1387014784,), (1387014787,), (1387014791,), (1387014795,), (1387014798,), (1387014820,), (1387014824,), (1387014839,), (1387014854,), (1387014969,), (1387014972,), (1387014974,), (1387014977,), (1387014996,), (1387015008,), (1387015026,), (1387015030,), (1387015046,), (1387015068,), (1387015075,), (1387015146,), (1387015151,), (1387015153,), (1387015154,), (1387015175,), (1387015177,), (1387015178,), (1387015181,), (1387015185,), (1387015387,), (1387015413,), (1387015460,), (1387015505,), (1387015694,), (1387015703,), (1387015362,), (1387015375,), (1387015379,), (1387015382,), (1387015385,), (1387015747,), (1387015748,), (1387015753,), (1387015754,), (1387015796,), (1387015797,), (1387015801,), (1387015802,), (1387015805,), (1387015806,), (1387015815,), (1387015818,), (1387015820,), (1387015937,), (1387015942,), (1387015945,), (1387015966,), (1387015970,), (1387015973,), (1387015976,), (1387016001,), (1387016004,), (1387016007,), (1387016009,), (1387016014,), (1387016016,), (1387016039,), (1387016041,), (1387016043,), (1387016047,), (1387016049,), (1387016052,), (1387016092,), (1387016106,), (1387016114,), (1387016122,), (1387016125,), (1387016144,), (1387016147,), (1387016149,), (1387016151,), (1387016188,), (1387016319,), (1387016321,), (1387016322,), (1387016324,), (1387016432,), (1387016439,), (1387016441,), (1387016444,), (1387016448,), (1387016480,), (1387016484,), (1387016485,), (1387016488,), (1387016491,), (1387016494,), (1387016514,), (1387016517,), (1387016521,), (1387016524,), (1387016583,), (1387016586,), (1387016611,), (1387016616,), (1387016633,), (1387016647,), (1387016703,), (1387016707,), (1387016711,), (1387016715,), (1387016718,), (1387016729,), (1387016731,), (1387016734,), (1387016737,), (1387016746,), (1387016752,), (1387016957,), (1387016930,), (1387016953,), (1387016954,), (1387017023,), (1387017033,), (1387017038,), (1387017041,), (1387017046,), (1387017049,), (1387017061,), (1387017070,), (1387017075,), (1387017087,), (1387017094,), (1387017182,), (1387017187,), (1387017191,), (1387017195,), (1387017198,), (1387017200,), (1387017214,), (1387017220,), (1387017224,), (1387017227,), (1387017230,), (1387017264,), (1387017267,), (1387017295,), (1387017305,), (1387017312,), (1387017316,), (1387017320,), (1387017323,), (1387017353,), (1387017376,), (1387017379,), (1387017382,), (1387017387,), (1387017391,), (1387017428,), (1387017432,), (1387017435,), (1387017437,), (1387017482,), (1387017524,), (1387017584,), (1387017587,), (1387017590,), (1387017724,), (1387017734,), (1387017738,), (1387017741,), (1387017997,), (1387022909,), (1387022931,), (1387022933,), (1387022994,), (1387023562,), (1387023612,), (1387023629,), (1387023677,), (1387023698,), (1387023701,), (1387023784,), (1387023769,), (1387023772,), (1387023774,), (1387024064,), (1387024076,), (1387024080,), (1387024145,), (1387024206,), (1387024230,), (1387024234,), (1387024533,), (1387024535,), (1387024621,), (1387024630,), (1387024631,), (1387024634,), (1387024641,), (1387024767,), (1387024798,), (1387024800,), (1387024804,), (1387024807,), (1387024837,), (1387024840,), (1387024842,), (1387024844,), (1387024906,), (1387024907,), (1387024970,), (1387024974,), (1387024975,), (1387024977,), (1387024979,), (1387024981,), (1387024991,), (1387024995,), (1387024998,), (1387025001,), (1387025003,), (1387025005,), (1387025008,), (1387025017,), (1387025023,), (1387025028,), (1387025058,), (1387025059,), (1387025060,), (1387025062,), (1387025065,), (1387025104,), (1387025115,), (1387025119,), (1387025123,), (1387025127,), (1387025155,), (1387025159,), (1387025175,), (1387025178,), (1387025285,), (1387025288,), (1387025291,), (1387025294,), (1387025392,), (1387025398,), (1387025400,), (1387025419,), (1387025428,), (1387025436,), (1387025513,), (1387025519,), (1387025520,), (1387025522,), (1387025542,), (1387025546,), (1387025547,), (1387025550,), (1387025553,), (1387025627,), (1387025598,), (1387025609,), (1387025619,), (1387025621,), (1387025625,), (1387025657,), (1387025667,), (1387025681,), (1387025683,), (1387025715,), (1387025730,), (1387025743,), (1387025748,), (1387025755,), (1387025758,), (1387025795,), (1387025798,), (1387025800,), (1387025801,), (1387025802,), (1387026132,), (1387026137,), (1387026139,), (1387026142,), (1387026171,), (1387026175,), (1387026180,), (1387026184,), (1387026187,), (1387026191,), (1387026244,), (1387026248,), (1387026252,), (1387026336,), (1387026341,), (1387026345,), (1387026349,), (1387026353,), (1387026367,), (1387026373,), (1387026375,), (1387026377,), (1387026380,), (1387026383,), (1387026453,), (1387026455,), (1387026457,), (1387026461,), (1387026510,), (1387026514,), (1387026518,), (1387026520,), (1387026523,), (1387026558,), (1387026566,), (1387026568,), (1387026570,), (1387026574,), (1387026576,), (1387026632,), (1387026636,), (1387026639,), (1387026641,), (1387026660,), (1387026827,), (1387026831,), (1387026835,), (1387026839,), (1387026842,), (1387026851,), (1387026856,), (1387026860,), (1387026863,), (1387026907,), (1387026892,), (1387026894,), (1387026897,), (1387026900,), (1387026904,), (1387026926,), (1387026928,), (1387026933,), (1387026937,), (1387026942,), (1387026987,), (1387027006,), (1387027024,), (1387027062,), (1387027067,), (1387027071,), (1387027073,), (1387027081,), (1387027083,), (1387027090,), (1387027093,), (1387027098,), (1387027101,), (1387027105,), (1387027107,), (1387027115,), (1387027117,), (1387027119,), (1387027122,), (1387027125,), (1387027127,), (1387027155,), (1387027158,), (1387027159,), (1387027171,), (1387027187,), (1387027189,), (1387027192,), (1387027194,), (1387027196,), (1387027198,), (1387027232,), (1387027233,), (1387027235,), (1387027237,), (1387027240,), (1387027244,), (1387027269,), (1387027270,), (1387027271,), (1387027273,), (1387027314,), (1387027318,), (1387027321,), (1387027329,), (1387027331,), (1387027346,), (1387027368,), (1387027372,), (1387027373,), (1387027374,), (1387027375,), (1387027376,), (1387027485,), (1387027496,), (1387027498,), (1387027512,), (1387027515,), (1387027584,), (1387027587,), (1387027589,), (1387027591,), (1387027610,), (1387027615,), (1387027619,), (1387027622,), (1387027626,), (1387027629,), (1387028231,), (1387028234,), (1387028348,), (1387028360,), (1387028391,), (1387028394,), (1387028397,), (1387029540,), (1387029543,), (1387029812,), (1387029816,), (1387029914,), (1387027664,), (1387027670,), (1387027688,), (1387027864,), (1387028526,), (1387028912,), (1387029492,), (1387029536,), (1387029556,), (1387029575,), (1387029586,), (1387029796,), (1387029857,), (1387029907,), (1387029911,), (1387029913,), (1387029928,), (1387029933,), (1387029935,), (1387029937,), (1387029954,), (1387029956,), (1387029958,), (1387029961,), (1387029965,), (1387030010,), (1387030030,), (1387030048,), (1387030345,), (1387031208,), (1387031211,), (1387031213,), (1387031214,), (1387031234,), (1387031361,), (1387032473,), (1387032641,), (1387033161,), (1387033164,), (1387033167,), (1387033187,), (1387033191,), (1387033193,), (1387033542,), (1387033530,), (1387033535,), (1387033538,), (1387033540,), (1387033562,), (1387033580,), (1387033589,), (1387033592,), (1387033599,), (1387033604,), (1387033659,), (1387033662,), (1387033666,), (1387033670,), (1387033673,), (1387033674,), (1387033697,), (1387033700,), (1387033702,), (1387033704,), (1387033721,), (1387033723,), (1387033726,), (1387033760,), (1387033764,), (1387033767,), (1387033770,), (1387033783,), (1387033786,), (1387033833,), (1387033851,), (1387033854,), (1387033857,), (1387033858,), (1387033941,), (1387033944,), (1387033947,), (1387033951,), (1387033970,), (1387033973,), (1387033976,), (1387033980,), (1387033983,), (1387034454,), (1387034474,), (1387034477,), (1387034482,), (1387034485,), (1387034486,), (1387034711,), (1387034714,), (1387034717,), (1387034718,), (1387034745,), (1387034796,), (1387034800,), (1387034807,), (1387034813,), (1387034865,), (1387034870,), (1387034873,), (1387034877,), (1387034896,), (1387034909,), (1387034918,), (1387034920,), (1387034948,), (1387034951,), (1387034952,), (1387034954,), (1387035342,), (1387035325,), (1387035328,), (1387035339,), (1387035585,), (1387035610,), (1387035623,), (1387035627,), (1387035660,), (1387035662,), (1387035664,), (1387035666,), (1387035678,), (1387035685,), (1387035708,), (1387035710,), (1387035714,), (1387035716,), (1387035718,), (1387035740,), (1387035743,), (1387035746,), (1387035748,), (1387035751,), (1387035782,), (1387035785,), (1387035788,), (1387035840,), (1387036175,), (1387036280,), (1387036284,), (1387036288,), (1387036498,), (1387036507,), (1387036518,), (1387036537,), (1387036599,), (1387036609,), (1387036625,), (1387036631,), (1387036637,), (1387036670,), (1387036672,), (1387037261,), (1387037267,), (1387037288,), (1387037295,), (1387037339,), (1387037607,), (1387037620,), (1387037659,), (1387037666,), (1387037669,), (1387037728,), (1387037731,), (1387037733,), (1387037735,), (1387037737,), (1387037739,), (1387037756,), (1387037761,), (1387037762,), (1387037765,), (1387037772,), (1387037776,), (1387037780,), (1387037794,), (1387037798,), (1387037799,), (1387037802,), (1387037805,), (1387037808,), (1387037865,), (1387037853,), (1387037856,), (1387037859,), (1387037861,), (1387037902,), (1387037912,), (1387037914,), (1387037918,), (1387037927,), (1387037940,), (1387037979,), (1387037980,), (1387037981,), (1387037984,), (1387038004,), (1387038008,), (1387038011,), (1387038015,), (1387038019,), (1387038021,), (1387038150,), (1387038152,), (1387038155,), (1387038157,), (1387038159,), (1387038174,), (1387038177,), (1387038179,), (1387038182,), (1387038185,), (1387038219,), (1387038724,), (1387038728,), (1387038730,), (1387039113,), (1387039116,), (1387039127,), (1387039190,), (1387039194,), (1387039197,), (1387039273,), (1387039275,), (1387039281,), (1387039283,), (1387039285,), (1387039287,), (1387039301,), (1387039304,), (1387039307,), (1387039310,), (1387039325,), (1387039329,), (1387039333,), (1387039336,), (1387039339,), (1387039342,), (1387039374,), (1387039390,), (1387039393,), (1387039396,), (1387039415,), (1387039640,), (1387039767,), (1387039771,), (1387039776,), (1387039779,), (1387040070,), (1387040075,), (1387040081,), (1387040084,), (1387040088,), (1387040119,), (1387040122,), (1387040125,), (1387040587,), (1387040881,), (1387040884,), (1387040886,), (1387040887,), (1387040889,), (1387041403,), (1387041422,), (1387041426,), (1387041430,), (1387041433,), (1387041436,), (1387041444,), (1387040111,), (1387040115,), (1387040117,), (1387041354,), (1387041356,), (1387041393,), (1387041396,), (1387041401,), (1387041407,), (1387041410,), (1387041412,), (1387041415,), (1387041419,), (1387041454,), (1387041457,), (1387041462,), (1387041466,), (1387041469,), (1387041475,), (1387041485,), (1387041487,), (1387041496,), (1387041499,), (1387041527,), (1387041530,), (1387041532,), (1387041575,), (1387041578,), (1387041581,), (1387041596,), (1387041621,), (1387041629,), (1387041633,), (1387041637,), (1387041640,), (1387041642,), (1387042175,), (1387042177,), (1387042179,), (1387042181,), (1387042184,), (1387042411,), (1387042451,), (1387042472,), (1387042501,), (1387042523,), (1387042528,), (1387042530,), (1387042533,), (1387042583,), (1387042595,), (1387042605,), (1387042611,), (1387042617,), (1387042624,), (1387042655,), (1387042656,), (1387042657,), (1387042661,), (1387042664,), (1387042683,), (1387043148,), (1387043146,), (1387043198,), (1387043206,), (1387043210,), (1387043228,), (1387043250,), (1387043288,), (1387043310,), (1387043328,), (1387043331,), (1387043333,), (1387043409,), (1387043427,), (1387043429,), (1387043441,), (1387043445,), (1387043456,), (1387043473,), (1387043482,), (1387043483,), (1387043498,), (1387043800,), (1387043802,), (1387043805,), (1387043808,), (1387043819,), (1387043957,), (1387043978,), (1387043984,), (1387044012,), (1387044065,), (1387044067,), (1387044071,), (1387044073,), (1387044080,), (1387044093,), (1387044101,), (1387044109,), (1387044701,), (1387044705,), (1387044736,), (1387044820,), (1387044816,), (1387044863,), (1387044872,), (1387044875,), (1387044878,), (1387044881,), (1387044890,), (1387044893,), (1387044896,), (1387044899,), (1387044901,), (1387045255,), (1387045305,), (1387045308,), (1387045438,), (1387045442,), (1387045469,), (1387045471,), (1387045507,), (1387045523,), (1387045524,), (1387045525,), (1387045527,), (1387045573,), (1387045577,), (1387045581,), (1387045585,), (1387045589,), (1387045626,), (1387045630,), (1387045632,), (1387045635,), (1387045638,), (1387045648,), (1387045657,), (1387045660,), (1387045664,), (1387045672,), (1387045692,), (1387045745,), (1387045747,), (1387045749,), (1387045764,), (1387045770,), (1387045796,), (1387045801,), (1387045805,), (1387045831,), (1387045946,), (1387045952,), (1387045955,), (1387045960,), (1387045993,), (1387045994,), (1387045995,), (1387045997,), (1387046002,), (1387046008,), (1387046058,), (1387046060,), (1387046215,), (1387046376,), (1387046381,), (1387046385,), (1387046390,), (1387046439,), (1387046472,), (1387046504,), (1387046506,), (1387046508,), (1387046566,), (1387046573,), (1387046575,), (1387046577,), (1387046579,), (1387046581,), (1387046592,), (1387046595,), (1387046598,), (1387046601,), (1387046658,), (1387046661,), (1387046664,), (1387046665,), (1387046667,), (1387046669,), (1387046681,), (1387046683,), (1387046982,), (1387046985,), (1387047186,), (1387047211,), (1387047214,), (1387047218,), (1387047276,), (1387047279,), (1387047281,), (1387047285,), (1387047288,), (1387047293,), (1387047308,), (1387047322,), (1387047324,), (1387047339,), (1387047370,), (1387047374,), (1387047378,), (1387047748,), (1387047779,), (1387047784,), (1387047788,), (1387047959,), (1387047962,), (1387048033,), (1387048163,), (1387048165,), (1387048168,), (1387048176,), (1387048178,), (1387048181,), (1387048192,), (1387048195,), (1387048198,), (1387048216,), (1387048245,), (1387048248,), (1387048252,), (1387048733,), (1387048738,), (1387049400,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30092025': {'nb_upload': 42, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27373753]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] map_info['map_portfolio_photo'] : {27373753: [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146]} final : True mtd_id 4302 list_pids : [1387044820, 1387044736, 1387044705, 1387044701, 1387044109, 1387044101, 1387044093, 1387044080, 1387044073, 1387044071, 1387044067, 1387044065, 1387044012, 1387043984, 1387043978, 1387043957, 1387043819, 1387043808, 1387043805, 1387043802, 1387043800, 1387043498, 1387043483, 1387043482, 1387043473, 1387043456, 1387043445, 1387043441, 1387043429, 1387043427, 1387043409, 1387043333, 1387043331, 1387043328, 1387043310, 1387043288, 1387043250, 1387043228, 1387043210, 1387043206, 1387043198, 1387043146] Looping around the photos to save general results len do output : 1 /27373753Didn'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, '3801423') ('4302', '27373753', '1387044820', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423') ('4302', None, None, None, None, None, None, None, '3801423') ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '27373753', 'None', None, None, None, None, '3801423'), ('4302', '27373753', '1387044820', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044736', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044705', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044701', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044109', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044101', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044093', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044080', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044073', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044071', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044067', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044065', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387044012', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043984', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043978', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043957', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043819', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043808', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043805', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043802', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043800', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043498', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043483', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043482', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043473', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043456', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043445', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043441', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043429', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043427', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043409', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043333', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043331', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043328', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043310', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043288', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043250', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043228', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043210', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043206', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043198', None, None, None, None, None, '3801423'), ('4302', '27373753', '1387043146', None, None, None, None, None, '3801423')] time used for this insertion : 0.03845787048339844 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.262031316757202 time spend to save output : 0.038841962814331055 total time spend for step 5 : 14.300873279571533 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 (3801423) 3.26user 2.62system 0:32.55elapsed 18%CPU (0avgtext+0avgdata 167568maxresident)k 944inputs+37632outputs (1major+89392minor)pagefaults 0swaps