{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/mgtbench-benchmarking-machine-generated-text","title":"MGTBench: Benchmarking Machine-Generated Text Detection","arxiv_id":"2303.14822","date":"2023-03-26","proceeding":null,"authors":["Xinlei He","Xinyue Shen","Zeyuan Chen","Michael Backes","Yang Zhang"],"abstract":"Nowadays, powerful large language models (LLMs) such as ChatGPT have demonstrated revolutionary power in a variety of tasks. Consequently, the detection of machine-generated texts (MGTs) is becoming increasingly crucial as LLMs become more advanced and prevalent. These models have the ability to generate human-like language, making it challenging to discern whether a text is authored by a human or a machine. This raises concerns regarding authenticity, accountability, and potential bias. However, existing methods for detecting MGTs are evaluated using different model architectures, datasets, and experimental settings, resulting in a lack of a comprehensive evaluation framework that encompasses various methodologies. Furthermore, it remains unclear how existing detection methods would perform against powerful LLMs. In this paper, we fill this gap by proposing the first benchmark framework for MGT detection against powerful LLMs, named MGTBench. Extensive evaluations on public datasets with curated texts generated by various powerful LLMs such as ChatGPT-turbo and Claude demonstrate the effectiveness of different detection methods. Our ablation study shows that a larger number of words in general leads to better performance and most detection methods can achieve similar performance with much fewer training samples. Moreover, we delve into a more challenging task: text attribution. Our findings indicate that the model-based detection methods still perform well in the text attribution task. To investigate the robustness of different detection methods, we consider three adversarial attacks, namely paraphrasing, random spacing, and adversarial perturbations. We discover that these attacks can significantly diminish detection effectiveness, underscoring the critical need for the development of more robust detection methods.","url_abs":"https://arxiv.org/abs/2303.14822v3","url_pdf":"https://arxiv.org/pdf/2303.14822v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"mgtbench-benchmarking-machine-generated-text","repo_url":"https://github.com/xinleihe/mgtbench","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"mgtbench-benchmarking-machine-generated-text","repo_url":"https://github.com/kinit-sk/imgtb","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"mgtbench-benchmarking-machine-generated-text","repo_url":"https://github.com/michalspiegel/imgtb","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"mgtbench-benchmarking-machine-generated-text","repo_url":"https://github.com/trustairlab/mgtbench","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"sentiment-analysis","task_name":"Sentiment Analysis"},{"task_slug":"text-classification","task_name":"Text Classification"},{"task_slug":"text-detection","task_name":"Text Detection"},{"task_slug":"text-classification-1","task_name":"text-classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2303.14822","atlas_url":"https://app.syntology.ai/?focus=2303.14822","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2303.14822"},"calls":[{"tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2303.14822"},"returns":"the samples harvested from this paper, each with its run record; it does not verify the paper"},{"tool":"get_code","arguments_in":"samples[].code_sha256","returns":"one stored sample by its code_sha256; not shown on this site"}]},"developers":"https://syntology.ai/developers","held":true,"reason":"in_graph_layer","checked_against":null,"agent_calls":[{"tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2303.14822"},"call":"get_harvested_code_for_paper(arxiv_id=\"2303.14822\")"},{"tool":"get_code","arguments_in":{"code_sha256":"syntology.samples[].code_sha256"},"call":"get_code(code_sha256=\"…\")"},{"tool":"get_citation_path","arguments":{"paper_1":"2303.14822"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"2303.14822\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"2303.14822"},"call":"get_concepts_for_paper(arxiv_id=\"2303.14822\")"}],"by_repo":[{"repo":"xinleihe/mgtbench","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2023.emnlp-main.616"],"harvested_for_calls":[]},{"repo":"kinit-sk/imgtb","kind":"listed","samples":1,"ran":1,"instrument":1,"unverified":0},{"repo":"michalspiegel/imgtb","kind":"listed","samples":16,"ran":11,"instrument":4,"unverified":5},{"repo":"trustairlab/mgtbench","kind":"listed","samples":9,"ran":7,"instrument":2,"unverified":2}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code","read_at":"2026-10-05T00:36:11+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","ran_record":{"url":"https://syntology.ai/api/ran/2303.14822.json","schema":"syntology.ran_record/1","counts_crosswalk":{"n_samples":"syntology.counts.lifted","n_ran":"syntology.counts.executed","n_ran_checked":"syntology.counts.checked","n_instrument":"syntology.counts.instrument_failures","n_unverified":"syntology.counts.no_recorded_run"},"note":"live record, measured at request time; may be newer than this page's graph read","badge":"https://syntology.ai/api/ran/2303.14822.svg"},"claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xinleihe/mgtbench","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/michalspiegel/imgtb","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/trustairlab/mgtbench","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kinit-sk/imgtb","reach":null}],"summary":{"ran":12,"ran_fixture":1,"ran_draft_wrong":6,"unverified":7},"n_samples":26,"n_ran":19,"n_constructed":0,"n_ran_checked":12,"n_instrument":7,"n_unverified":7,"n_instrument_is":"failures of Syntology's instrument, not of the code","every_run_is_an_instrument_failure":false,"key_notes":{"n_ran_checked":"legacy name, kept unchanged so existing readers do not break: it counts the samples that ran with no instrument failure (honoured, violated, and ran with no contract checked); it does not mean a contract was checked, and the pages print it as 'K with no instrument failure', not 'K checked'","n_constructed":"a sub-count of the samples that ran, never subtracted from them and never a failure: an executed sample whose run returned an instance of its own class (fixture_out_type equals the entry name): the run built an object and did not compute a result (Syntology's RAN record, counts.constructed)"},"by_repo_kind":{"listed":{"samples":26,"ran":19,"n_ran_checked":12,"n_instrument":7,"repositories":3}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"official_not_harvested":{"repositories":["xinleihe/mgtbench"],"harvested_for_other_papers":[1],"samples_from_other_repositories":26,"other_repositories":3,"samples_unlocated":0},"n_pointer_only_for_licence":5,"inline_ok_is":"inline_ok is true only when both licence gates allow Syntology to serve this code's text: this paper's link (inline_ok_link, from the licence of this paper's copy) and the stored copy of the same code that Syntology serves, which may have been first harvested from another repository. withheld_clause is Syntology's own wording of which gate keeps the text a pointer and why, and is null when inline_ok is true. This site shows no code text either way; n_pointer_only_for_licence counts samples with inline_ok false (both gates), n_pointer_only_link_allows those of them whose inline_ok_link is true","n_pointer_only_link_allows":5,"fixture_fields_is":{"signature_and_fixture_out_type":"the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right","level_recorded_at":"when Syntology's graph wrote the sample's verification level, not when the code executed; absent where the level was written before the date was kept, and never filled in with the build date","present_on":"samples that ran only; a key is absent, never empty, where the graph records nothing"},"n_ran_with_level_date":19,"n_ran_without_level_date":0,"n_ran_signature_not_shown":0,"levels_written_between":{"first":"2026-09-22","last":"2026-09-26","is":"the first and last UTC dates on which Syntology's graph wrote a verification level for a sample on this page that ran, not when the code executed"},"code_page_min_papers":5,"code_page_is":"a page for the entry name across every paper's harvested code; the name is a string, not an identity","samples":[{"code_sha256":"ca626759d96b1cf5","code_sha256_prefix":"ca626759d96b1cf5","entry":"check_period","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"dataset_loader.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/dataset_loader.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"texts:list/1/str","fixture_out_type":"list","level_recorded_at":"2026-09-25T12:08:31.494501+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"ca626759d96b1cf5"}},{"code_sha256":"3409c93cd092820c","code_sha256_prefix":"3409c93cd092820c","entry":"filter_test_data","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/utils.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"data:dict/0/?, max_length:int/0/int","fixture_out_type":"dict","level_recorded_at":"2026-09-25T12:08:31.494501+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"3409c93cd092820c"}},{"code_sha256":"a82535fe98a7e04b","code_sha256_prefix":"a82535fe98a7e04b","entry":"get_lls","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/metric_based.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/metric_based.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"texts:list/1/str, base_model:callable/0/?, base_tokenizer:callable/0/?, DEVICE:str/0/str","fixture_out_type":"list","level_recorded_at":"2026-09-25T14:10:19.661075+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"a82535fe98a7e04b"}},{"code_sha256":"0c7cd9182dadcefb","code_sha256_prefix":"0c7cd9182dadcefb","entry":"get_rank","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/metric_based.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/metric_based.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"text:str/0/str, base_model:callable/0/?, base_tokenizer:callable/0/?, DEVICE:str/0/str, log:bool/0/bool","fixture_out_type":"float","level_recorded_at":"2026-09-25T12:08:31.494501+00:00","code_page":"/code/get-rank","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"0c7cd9182dadcefb"}},{"code_sha256":"68c8b968f55907b7","code_sha256_prefix":"68c8b968f55907b7","entry":"get_supervised_model_prediction_multi_classes","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/abstract_methods/supervised_experiment.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/abstract_methods/supervised_experiment.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"model:callable/0/?, tokenizer:callable/0/?, data:list/1/str, batch_size:int/0/int, DEVICE:str/0/str, pos_bit:int/0/int","fixture_out_type":"list","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":false,"inline_ok_link":true,"withheld_clause":"this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dongping-chen/mixset, and GitHub detected no licence in that repository when it was checked","mcp_get_code":{"code_sha256":"68c8b968f55907b7"}},{"code_sha256":"2eeb7e1b194357da","code_sha256_prefix":"2eeb7e1b194357da","entry":"load_TruthfulQA","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"lib/dataset_loader_attribution.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/lib/dataset_loader_attribution.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"cache_dir:str/0/str","fixture_out_type":"dict","level_recorded_at":"2026-09-25T12:08:31.494501+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"2eeb7e1b194357da"}},{"code_sha256":"8709358702e01ea5","code_sha256_prefix":"8709358702e01ea5","entry":"make_method_names_unique","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"results_analysis.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/results_analysis.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"results:dict/0/?","fixture_out_type":"dict","level_recorded_at":"2026-09-25T04:30:57.282821+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"8709358702e01ea5"}},{"code_sha256":"595d1d025c7e692d","code_sha256_prefix":"595d1d025c7e692d","entry":"prim_tree","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/IntrinsicDim.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/IntrinsicDim.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"adj_matrix:ndarray/2/float, alpha:float/0/float","fixture_out_type":"float","level_recorded_at":"2026-09-26T03:58:20.443611+00:00","code_page":"/code/prim-tree","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"595d1d025c7e692d"}},{"code_sha256":"c5d3444c3ea71db9","code_sha256_prefix":"c5d3444c3ea71db9","entry":"process_spaces","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"lib/dataset_loader_attribution.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/lib/dataset_loader_attribution.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"signature":"text:str/0/str","fixture_out_type":"str","level_recorded_at":"2026-09-26T03:58:20.443611+00:00","retrieve_with":{"tool":"get_code","code_sha256":"c5d3444c3ea71db9"},"code_page":"/code/process-spaces","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"c5d3444c3ea71db9"}},{"code_sha256":"ad5f00016ee9222a","code_sha256_prefix":"ad5f00016ee9222a","entry":"process_string","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/IntrinsicDim.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/IntrinsicDim.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"signature":"sss:str/0/str","fixture_out_type":"str","level_recorded_at":"2026-09-26T03:58:20.443611+00:00","retrieve_with":{"tool":"get_code","code_sha256":"ad5f00016ee9222a"},"code_page":"/code/process-string","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"ad5f00016ee9222a"}},{"code_sha256":"dd7573db30a9bd4e","code_sha256_prefix":"dd7573db30a9bd4e","entry":"process_text_truthfulqa_adv","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"lib/dataset_loader_attribution.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/lib/dataset_loader_attribution.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"signature":"text:str/0/str","fixture_out_type":"str","level_recorded_at":"2026-09-26T03:58:20.443611+00:00","retrieve_with":{"tool":"get_code","code_sha256":"dd7573db30a9bd4e"},"code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"dd7573db30a9bd4e"}},{"code_sha256":"d4bc8c999e20811c","code_sha256_prefix":"d4bc8c999e20811c","entry":"read_multiple_to_pandas","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"lib/dataset_loader.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/lib/dataset_loader.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"datasets_params:list/1/dict, is_interactive:bool/0/bool","fixture_out_type":"dict","level_recorded_at":"2026-09-24T22:55:07.240920+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"d4bc8c999e20811c"}},{"code_sha256":"c032d17914012abc","code_sha256_prefix":"c032d17914012abc","entry":"run_all_available","repo":"kinit-sk/imgtb","repo_kind":"listed","path":"benchmark.py","file_url":"https://github.com/kinit-sk/imgtb/blob/HEAD/benchmark.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"signature":"data:SimpleData/0/?, method_config:dict/0/?, available_experiments:list/1/callable","fixture_out_type":"dict","level_recorded_at":"2026-09-22T14:31:46.068493+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"c032d17914012abc"}},{"code_sha256":"416e7dabab64e070","code_sha256_prefix":"416e7dabab64e070","entry":"select_train_data","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/utils.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"data:dict/0/?, select_num:int/0/int","fixture_out_type":"dict","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":false,"inline_ok_link":true,"withheld_clause":"this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dongping-chen/mixset, and GitHub detected no licence in that repository when it was checked","mcp_get_code":{"code_sha256":"416e7dabab64e070"}},{"code_sha256":"c116b3bbce725a3d","code_sha256_prefix":"c116b3bbce725a3d","entry":"select_train_data","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/utils.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"data:dict/0/?, select_num:int/0/int","fixture_out_type":"dict","level_recorded_at":"2026-09-25T12:08:31.494501+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"c116b3bbce725a3d"}},{"code_sha256":"16e5e8f717e9e63b","code_sha256_prefix":"16e5e8f717e9e63b","entry":"set_pos_bit","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/abstract_methods/supervised_experiment.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/abstract_methods/supervised_experiment.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"model:callable/0/?, model_output_machine_label:str/0/str, pos_bit:int/0/int","fixture_out_type":"int","level_recorded_at":"2026-09-24T22:55:07.240920+00:00","code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"16e5e8f717e9e63b"}},{"code_sha256":"58ba64be72bc1b9e","code_sha256_prefix":"58ba64be72bc1b9e","entry":"timeit","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/utils.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"func:callable/0/?","fixture_out_type":"function","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","code_page":"/code/timeit","census":null,"licence":"MIT","inline_ok":false,"inline_ok_link":true,"withheld_clause":"this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dongping-chen/mixset, and GitHub detected no licence in that repository when it was checked","mcp_get_code":{"code_sha256":"58ba64be72bc1b9e"}},{"code_sha256":"639b00cb6787d6d0","code_sha256_prefix":"639b00cb6787d6d0","entry":"tokenize_and_mask","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/abstract_methods/pertubation_based_experiment.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/abstract_methods/pertubation_based_experiment.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"text:str/0/str, span_length:int/0/int, buffer_size:int/0/int, pct:float/0/float, ceil_pct:bool/0/bool","fixture_out_type":"str","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","code_page":"/code/tokenize-and-mask","census":null,"licence":"MIT","inline_ok":false,"inline_ok_link":true,"withheld_clause":"this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dongping-chen/mixset, and GitHub detected no licence in that repository when it was checked","mcp_get_code":{"code_sha256":"639b00cb6787d6d0"}},{"code_sha256":"4fed12f8c019459e","code_sha256_prefix":"4fed12f8c019459e","entry":"tokenize_and_mask","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/detectgpt.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/detectgpt.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"signature":"text:str/0/str, span_length:int/0/int, buffer_size:int/0/int, pct:float/0/float, ceil_pct:bool/0/bool","fixture_out_type":"str","level_recorded_at":"2026-09-25T14:10:19.661075+00:00","code_page":"/code/tokenize-and-mask","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"4fed12f8c019459e"}},{"code_sha256":"23c3416429f69fee","code_sha256_prefix":"23c3416429f69fee","entry":"count_masks","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/abstract_methods/pertubation_based_experiment.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/abstract_methods/pertubation_based_experiment.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":"OPAQUE_PARAMS","metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":"/code/count-masks","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"23c3416429f69fee"}},{"code_sha256":"3c45c72617228b17","code_sha256_prefix":"3c45c72617228b17","entry":"get_ll","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/metric_based.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/metric_based.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":"/code/get-ll","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"3c45c72617228b17"}},{"code_sha256":"ffed340b4b1b0302","code_sha256_prefix":"ffed340b4b1b0302","entry":"get_supervised_model_prediction","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/abstract_methods/supervised_experiment.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/abstract_methods/supervised_experiment.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":null,"census":null,"licence":"MIT","inline_ok":false,"inline_ok_link":true,"withheld_clause":"this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dongping-chen/mixset, and GitHub detected no licence in that repository when it was checked","mcp_get_code":{"code_sha256":"ffed340b4b1b0302"}},{"code_sha256":"c4c6872281f5e3a2","code_sha256_prefix":"c4c6872281f5e3a2","entry":"get_supervised_model_prediction","repo":"trustairlab/mgtbench","repo_kind":"listed","path":"methods/supervised.py","file_url":"https://github.com/trustairlab/mgtbench/blob/HEAD/methods/supervised.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"c4c6872281f5e3a2"}},{"code_sha256":"5badef7a89b1732c","code_sha256_prefix":"5badef7a89b1732c","entry":"load_multiple_from_file","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"lib/dataset_loader.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/lib/dataset_loader.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"5badef7a89b1732c"}},{"code_sha256":"9db5a280b863548b","code_sha256_prefix":"9db5a280b863548b","entry":"read_dir_to_pandas","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"lib/dataset_loader.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/lib/dataset_loader.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":null,"census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"9db5a280b863548b"}},{"code_sha256":"3b992344e4b4f98b","code_sha256_prefix":"3b992344e4b4f98b","entry":"replace_masks","repo":"michalspiegel/imgtb","repo_kind":"listed","path":"methods/abstract_methods/pertubation_based_experiment.py","file_url":"https://github.com/michalspiegel/imgtb/blob/HEAD/methods/abstract_methods/pertubation_based_experiment.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"code_page":"/code/replace-masks","census":null,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"mcp_get_code":{"code_sha256":"3b992344e4b4f98b"}}]},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"6fa8f8be135c47241e9da0f10f389e105c1b47fc6f7e9f8c0db50d61465ba3bd","record_changed_at":"2026-10-05","record_changed_at_basis":"changed"}