{"schema":"syntology.ran_record/1","arxiv_id":"2406.14144","measured_at":"2026-11-22T05:17:15+00:00","syntology":{"counts":{"lifted":14,"executed":14,"constructed":0,"checked":2,"instrument_failures":12,"no_recorded_run":0,"pointer_only":1,"inline":13,"split":{"ran_honours":0,"ran_violates":1,"ran_draft_wrong":9,"ran_fixture":3,"ran":1,"unverified":0},"contract_verdicts_host_era":0,"executed_in_jail":14,"executed_no_jail_run_recorded":0,"executed_on_host_by_peer_lane":1},"samples":[{"code_sha256":"30d7eec482ebf6b1","entry":"repeat_kv","language":"python","status":"ran_fixture","constructed":false,"verification_level":2,"fixture_out_type":"Tensor","report_means":"independent peers drafted from signature+spec, never the body","level_provenance":"measured:harvest_peer_agreement","level_recorded_at":null,"contract_check":"RAISES","contract_checked_at":"2026-09-19T15:52:12.687829+00:00","contract_check_via":"synthesised","contract_host_era":false,"peer_host_era":true,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/models/HookedGemma.py","role":"canonical","role_basis":null,"link_basis":"harvester_set","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"},"peer_agreement_verified_at":"2026-09-04T23:09:20Z","first_harvested_from":{"repo":"fe1ixxu/ALMA","licence":"MIT","get_code_serves":"inline","note":"the stored copy of this code was first harvested from this repository; that is harvest order only and says nothing about who wrote the code"}},{"code_sha256":"bac65c3dafaec040","entry":"apply_rotary_pos_emb","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"tuple","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":null,"contract_check":"MISDECLARED","contract_checked_at":"2026-09-19T16:16:19.748880+00:00","contract_check_via":"synthesised","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/models/HookedGemma.py","role":"canonical","role_basis":null,"link_basis":"harvester_set","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"},"first_harvested_from":{"repo":"fe1ixxu/ALMA","licence":"MIT","get_code_serves":"inline","note":"the stored copy of this code was first harvested from this repository; that is harvest order only and says nothing about who wrote the code"}},{"code_sha256":"e51c9713fadad16f","entry":"create_prompt_with_llama2_chat_format","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"str","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-26T01:55:17.694675+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-04T08:34:43.382603+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/eval/templates.py","role":"canonical","role_basis":null,"link_basis":"harvester_set","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"},"first_harvested_from":{"repo":"oseyosey/CCDS","licence":"Apache-2.0","get_code_serves":"inline","note":"the stored copy of this code was first harvested from this repository; that is harvest order only and says nothing about who wrote the code"}},{"code_sha256":"697d92a5d51eff3e","entry":"create_prompt_with_tulu_chat_format","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"str","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-25T14:40:57.028462+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-06T14:49:32.748524+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/eval/templates.py","role":"canonical","role_basis":null,"link_basis":"harvester_set","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"pointer","gates":{"this_link":true,"stored_copy":false},"reason":"this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from thu-keg/crab, and GitHub detected no licence in that repository when it was checked, so the body is not served; repository and source_path say where it lives"},"first_harvested_from":{"repo":"thu-keg/crab","licence":"NONE","get_code_serves":"pointer","note":"the stored copy of this code was first harvested from this repository; that is harvest order only and says nothing about who wrote the code"}},{"code_sha256":"233355240185dc1a","entry":"dispatch_openai_chat_requesets","language":"python","status":"ran","constructed":false,"verification_level":1,"fixture_out_type":"coroutine","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":null,"contract_checked_at":null,"contract_check_via":null,"contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/eval/dispatch_openai_requests.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"0979c8368e7c6a08","entry":"dispatch_openai_prompt_requesets","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"coroutine","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-04T11:03:22.162467+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/eval/dispatch_openai_requests.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"4b7fca0051f25274","entry":"generate_completions","language":"python","status":"ran_fixture","constructed":false,"verification_level":1,"fixture_out_type":"list","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"RAISES","contract_checked_at":"2026-10-04T11:03:25.510053+00:00","contract_check_via":"synthesised","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/eval/utils.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"b4722271cba47572","entry":"generate_completions_and_masks","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"tuple","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-06T17:55:08.756802+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/eval/utils.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"0d845b84c5219607","entry":"get_act_name","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"str","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-05T03:16:50.330894+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/utils.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"0f88e41d70d1279d","entry":"get_clf","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"LogisticRegression","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-05T03:16:49.151974+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/predict_before_gen.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"508cbcd9d0571483","entry":"layer_patch_hook","language":"python","status":"ran_violates","constructed":false,"verification_level":1,"fixture_out_type":"Tensor","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"VIOLATES","contract_checked_at":"2026-10-06T15:25:27.684165+00:00","contract_check_via":"synthesised","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/ppl.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"34cedc62fcf7195b","entry":"load_adapter_weights","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"dict","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"OUTPUT_MISDECLARED","contract_checked_at":"2026-10-04T11:03:18.600322+00:00","contract_check_via":"fixture_args","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/utils.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}},{"code_sha256":"b99eea6376d1e212","entry":"rotate_half","language":"python","status":"ran_draft_wrong","constructed":false,"verification_level":1,"fixture_out_type":"Tensor","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":null,"contract_check":"MISDECLARED","contract_checked_at":"2026-09-19T16:16:18.194469+00:00","contract_check_via":"synthesised","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/models/HookedGemma.py","role":"canonical","role_basis":null,"link_basis":"harvester_set","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"},"first_harvested_from":{"repo":"fe1ixxu/ALMA","licence":"MIT","get_code_serves":"inline","note":"the stored copy of this code was first harvested from this repository; that is harvest order only and says nothing about who wrote the code"}},{"code_sha256":"8ae41f0bacbff51f","entry":"topk_index","language":"python","status":"ran_fixture","constructed":false,"verification_level":1,"fixture_out_type":"zip","report_means":"imports; entry is callable; executed against a synthesized fixture and returned a value of the recorded type. Does NOT mean the output is correct -- nothing has compared it to the paper.","level_provenance":"recorded:fixture_execution_already_proven","level_recorded_at":"2026-09-24T15:16:18.137819+00:00","contract_check":"RAISES","contract_checked_at":"2026-10-04T11:03:20.159880+00:00","contract_check_via":"synthesised","contract_host_era":false,"peer_host_era":false,"jail_run_recorded":true,"repo":"THU-KEG/SafetyNeuron","source_path":"src/utils.py","role":"canonical","role_basis":"census","link_basis":"first_harvest_node","repository_link_provenance":"deterministic:regex_extraction","licence":{"upstream":"MIT","served_under_this_link":"inline","gates":{"this_link":true,"stored_copy":true},"reason":"MIT, as GitHub detects it, is in the permissive set Syntology serves inline; GitHub's detection is not a legal determination"}}],"truncated":false},"claim":"14 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 1 has no contract verdict; 12 failures of our instrument; 0 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.","repositories":[{"url":"https://github.com/THU-KEG/SafetyNeuron","provenance":"deterministic:regex_extraction","samples_lifted":14,"samples_executed":14}],"repositories_summary":{"total":1,"shown":1,"truncated":false,"by_provenance":{"deterministic:regex_extraction":1},"order":"repositories this record's samples were lifted from first, then the order get_code_for_paper serves, then URL"},"scope":{"files":".py files only; notebooks were not read","measured_at":"when this record was read from the graph, not when any sample executed; level_recorded_at on a sample is when its level was written","verification_level":"the served level: the stored level, capped at what the sample's own verification report supports; a level with no report is served as 0 (main._served_verification)","status":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"instrument":"ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code","constructed":"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","contract_host_era":"a contract verdict dated before the contract probe was jailed (2026-09-18T14:29:13Z) or undated: the probe then ran harvested code on the host, not in the jail","peer_host_era":"a level from the peer-agreement lane (level_provenance measured:harvest_peer_agreement), which ran the sample again on the host, not in the jail; the sample's own fixture run is a separate run, in the jail (jail_run_recorded); peer_agreement_verified_at is that report's own date","jail_run_recorded":"a fixture run's result is recorded on the node (fixture_out_type), and only synthesize_fixtures.run_fixtures, which runs in the jail, writes it","checked":"counts.checked is codewithpapers.app's word for executed with no instrument failure (ran_honours + ran_violates + ran); it includes samples with no contract verdict, so the claim and the badge print its parts instead","role":"role is a classifier output of the code-surfacing run (role_basis names its basis), not a determination of whose repository it is","licence":"per link: the licence GitHub detects on the repository this paper's copy came from; inline means both gates open (this paper's link and the stored copy get_code serves, see gates) and the body is served, pointer means only the repository and source_path are given; GitHub's detection is not a legal determination","report_means":"the verification report's own sentence about what its level means","not_claimed":"not a reproduction of the paper's results, not a statement that any output is correct, and not a statement about who wrote any code"}}