{"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\/pt\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","title":{"rendered":"Um erro em um script Python pode ter levado a resultados incorretos em mais de 100 publica\u00e7\u00f5es sobre qu\u00edmica","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Estudante de p\u00f3s-gradua\u00e7\u00e3o da universidade do Havai <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\">foi descoberto<\/a><\/noindex> um problema em um script Python que \u00e9 usado para c\u00e1lculos  <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\">desvio qu\u00edmico<\/a><\/noindex>, que define a estrutura qu\u00edmica da subst\u00e2ncia estudada durante a an\u00e1lise espectral dos sinais usando o <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\">resson\u00e2ncia magn\u00e9tica nuclear<\/a><\/noindex>. Durante a verifica\u00e7\u00e3o dos resultados de uma pesquisa realizada por um de seus professores, o estudante de p\u00f3s-gradua\u00e7\u00e3o notou que, ao executar o script em diferentes sistemas operacionais com o mesmo conjunto de dados, os resultados eram diferentes.<\/p>\n<p>Por exemplo, ao ser executado no macOS 10.14 e no Ubuntu 16.04 para o conjunto de dados testado, o script <noindex><a rel=\"nofollow\" href=\"https:\/\/pubs.acs.org\/doi\/10.1021\/acs.orglett.9b03216\">gerou<\/a><\/noindex> um valor incorreto de 172,4 em vez de 173,2. O script cont\u00e9m cerca de 1000 linhas de c\u00f3digo e \u00e9 utilizado por qu\u00edmicos desde 2014. A an\u00e1lise do c\u00f3digo revelou que a gera\u00e7\u00e3o do valor incorreto <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/LucasCMoore\/status\/1181615421922824192\">era causada<\/a><\/noindex> diferen\u00e7as ao classificar arquivos em diferentes sistemas operacionais. Os autores do script acreditavam que a fun\u00e7\u00e3o &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3\/library\/glob.html\">glob()<\/a><\/noindex>&#187; sempre retornava arquivos classificados por nome, enquanto a documenta\u00e7\u00e3o do glob indica que a ordem de sa\u00edda n\u00e3o \u00e9 garantida. A corre\u00e7\u00e3o consistiu em adicionar list_of_files.sort() ap\u00f3s a chamada do 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=\"Um erro em um script Python pode ter levado a resultados incorretos em mais de 100 publica\u00e7\u00f5es sobre qu\u00edmica\" src=\"\/wp-content\/uploads\/2019\/10\/8fef91f04306986ab84d1484a5fc1a1c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p>O problema identificado levantou d\u00favidas sobre a precis\u00e3o de mais de 100 publica\u00e7\u00f5es em qu\u00edmica, cujas conclus\u00f5es foram feitas com base no desvio qu\u00edmico calculado pelo script. O n\u00famero exato de pesquisas que utilizaram o script \u00e9 desconhecido, mas a publica\u00e7\u00e3o com seu c\u00f3digo foi citada em 158 trabalhos. Os autores dessas obras foram recomendados a avaliar a precis\u00e3o do funcionamento do script nos sistemas operacionais utilizados para o c\u00e1lculo e a realizar um novo c\u00e1lculo para assegurar a corre\u00e7\u00e3o dos valores calculados. O incidente \u00e9 um excelente exemplo de que n\u00e3o apenas a qualidade da execu\u00e7\u00e3o do experimento, mas tamb\u00e9m a precis\u00e3o do processamento dos dados obtidos em programas que antes<br \/>\neram amplamente utilizados, pode impactar o resultado final.<\/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.3 - 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\/pt\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_PT\" \/>\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\/pt\/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\udd47Uma falha no script Python pode ter levado a resultados incorretos em mais de 100 publica\u00e7\u00f5es em qu\u00edmica | ProHoster","description":"O estudante de p\u00f3s-gradua\u00e7\u00e3o da universidade do Havai encontrou um problema em.","canonical_url":"https:\/\/prohoster.info\/pt\/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":"pt_PT","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\/pt\/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\/pt\/wp-json\/wp\/v2\/posts\/38880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/comments?post=38880"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/posts\/38880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media\/29167"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/media?parent=38880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/categories?post=38880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pt\/wp-json\/wp\/v2\/tags?post=38880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}