{"id":38880,"date":"2019-10-31T22:26:31","date_gmt":"2019-10-31T19:26:31","guid":{"rendered":"https:\/\/prohoster.info\/blog\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\/"},"modified":"2019-10-31T22:26:31","modified_gmt":"2019-10-31T19:26:31","slug":"nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","status":"publish","type":"post","link":"https:\/\/prohoster.info\/it\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","title":{"rendered":"Un errore nel codice Python potrebbe aver portato a risultati errati in oltre 100 pubblicazioni di chimica","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Uno studente di dottorato dell'universit\u00e0 delle Hawaii <noindex><a rel=\"nofollow\" href=\"https:\/\/www.vice.com\/en_us\/article\/zmjwda\/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies\">ha scoperto<\/a><\/noindex> un problema nello script Python utilizzato per i calcoli  <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A5%D0%B8%D0%BC%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D1%81%D0%B4%D0%B2%D0%B8%D0%B3\">del trasferimento chimico<\/a><\/noindex>, che determina la struttura chimica della sostanza in esame durante l'analisi spettrale dei segnali mediante <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%AF%D0%B4%D0%B5%D1%80%D0%BD%D1%8B%D0%B9_%D0%BC%D0%B0%D0%B3%D0%BD%D0%B8%D1%82%D0%BD%D1%8B%D0%B9_%D1%80%D0%B5%D0%B7%D0%BE%D0%BD%D0%B0%D0%BD%D1%81\">risonanza magnetica nucleare<\/a><\/noindex>. Durante la verifica dei risultati delle ricerche di uno dei suoi professori, lo studente ha notato che, eseguendo lo script su diversi sistemi operativi con lo stesso set di dati, i risultati ottenuti erano diversi.<\/p>\n<p>Ad esempio, eseguendo su macOS 10.14 e Ubuntu 16.04, per il set di dati testato, lo script <noindex><a rel=\"nofollow\" href=\"https:\/\/pubs.acs.org\/doi\/10.1021\/acs.orglett.9b03216\">restituiva<\/a><\/noindex> un valore errato di 172.4 invece di 173.2. Lo script comprende circa 1000 righe di codice ed \u00e8 utilizzato da chimici dal 2014. L'analisi del codice ha rivelato che l'uscita del valore errato <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/LucasCMoore\/status\/1181615421922824192\">era causata<\/a><\/noindex> differenze nella ordinazione dei file tra diversi sistemi operativi. Gli autori dello script ritenevano che la funzione &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3\/library\/glob.html\">glob()<\/a><\/noindex>&#187; restituisca sempre file ordinati per nome, mentre nella documentazione di glob \u00e8 indicato che l'ordine di output non \u00e8 garantito. La correzione \u00e8 consistita nell'aggiungere list_of_files.sort() dopo la chiamata a glob().<\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/pubs.acs.org\/na101\/home\/literatum\/publisher\/achs\/journals\/content\/orlef7\/0\/orlef7.ahead-of-print\/acs.orglett.9b03216\/20191007\/images\/medium\/ol9b03216_0003.gif\"><img decoding=\"async\" alt=\"Un errore nel codice Python potrebbe aver portato a risultati errati in oltre 100 pubblicazioni di chimica\" src=\"\/wp-content\/uploads\/2019\/10\/8fef91f04306986ab84d1484a5fc1a1c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p>Il problema scoperto ha messo in dubbio la correttezza di oltre 100 pubblicazioni di chimica, le cui conclusioni sono state formulate sulla base del trasferimento chimico calcolato dallo script. Il numero esatto di ricerche in cui \u00e8 stato utilizzato lo script \u00e8 sconosciuto, ma la pubblicazione con il suo codice \u00e8 stata citata in 158 lavori. Gli autori di tali lavori sono stati invitati a valutare la correttezza dell'operato dello script nei sistemi operativi utilizzati per i calcoli e a effettuare ricalcoli per assicurarsi che i valori calcolati fossero corretti. L'incidente \u00e8 un ottimo esempio di come non solo la qualit\u00e0 della conduzione degli esperimenti, ma anche la correttezza dell'elaborazione dei dati ottenuti nei programmi che sono stati<br \/>\nin precedenza utilizzati ovunque, possano influenzare il risultato finale.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Fonte: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51667\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432 Python-\u0441\u043a\u0440\u0438\u043f\u0442\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u043c \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0445\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u0434\u0432\u0438\u0433\u0430, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0445\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0438\u0437\u0443\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u0438 \u0441\u043f\u0435\u043a\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0430\u043d\u0430\u043b\u0438\u0437\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u044f\u0434\u0435\u0440\u043d\u043e\u0433\u043e-\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u043e\u043d\u0430\u043d\u0441\u0430. \u0412 \u0445\u043e\u0434\u0435 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0430\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u043b, \u0447\u0442\u043e \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043d\u0430\u0434 \u043e\u0434\u043d\u0438\u043c \u0438 \u0442\u0435\u043c \u0436\u0435 \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":29167,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-38880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/it\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"it_IT\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041d\u0435\u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432 Python-\u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043c\u043e\u0433\u043b\u0430 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0432 \u0431\u043e\u043b\u0435\u0435 100 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u0445 \u043f\u043e \u0445\u0438\u043c\u0438\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/it\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:26:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:26:31+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Una carenza nello script Python potrebbe aver portato a risultati errati in oltre 100 pubblicazioni di chimica | ProHoster","description":"Lo studente dell'universit\u00e0 delle Hawaii ha scoperto un problema in.","canonical_url":"https:\/\/prohoster.info\/it\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"it_IT","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041d\u0435\u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432 Python-\u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043c\u043e\u0433\u043b\u0430 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0432 \u0431\u043e\u043b\u0435\u0435 100 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u0445 \u043f\u043e \u0445\u0438\u043c\u0438\u0438 | ProHoster","og:description":"\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432.","og:url":"https:\/\/prohoster.info\/it\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:26:31+00:00","article:modified_time":"2019-10-31T19:26:31+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"38880","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 23:47:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:00:28","updated":"2026-01-23 23:47:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/38880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/comments?post=38880"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/posts\/38880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media\/29167"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/media?parent=38880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/categories?post=38880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/it\/wp-json\/wp\/v2\/tags?post=38880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}