{"about":{"site":"https://codewithpapers.app","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.","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"},"url":"/census/cosine-distance","entry":"cosine_distance","source":"Syntology differential census (groundwork/55, run v2_2026-09-22), per sample; not an archive number","census_date":"2026-09-22","battery_sha256":["b986f7e04d794a0d88ad4c5f32cf63ec3590b5deff0192150737bc5f1c0b4677"],"runner_sha256":["5a452d0e7c0da5b80771d1be2afe3572e253568cf5c5d59a0d08ebd663d00808"],"bucket_key":"positional (rank, kind, dtype) of each array argument; the argument name is not part of the key because the harness draws the shared array from (rank, kind) and casts it to the dtype, whatever the name","bucket_fields":["rank","kind","dtype"],"claim":"Implementations sharing this entry name were each run on one shared input fixed by the positional (rank, kind, dtype) of their array arguments (the bucket). A cluster is the set whose recorded output digest (sha256 of the output rounded to 6 decimals) is identical. Identical values to six decimals on the shared input are agreement on those inputs, not a statement about the whole domain and not a substitution claim.","n_implementations_compared":5,"n_papers":6,"n_buckets":2,"n_distinct_outputs":5,"n_class_bearing":0,"not_compared":{"not_run_on_shared_input":{"n":0,"by_error":{}},"no_array_argument_ran_on_own_fixture_arguments_only":{"n":0,"n_papers":0,"recorded_shared_digest_equals_own_fixture_digest":0},"output_not_digested_non_numeric":{"n":0,"by_type":{}}},"withdrawn_excluded":0,"code_page":"/code/cosine-distance","buckets":[{"bucket":[[2,"float","float32"],[2,"float","float32"]],"n_implementations_compared":3,"n_papers":4,"n_not_digested":0,"not_digested_by_type":{},"clusters":[{"output_sha":"adc71adfbba8ca30","size":1,"n_papers":2,"shape":[4,4],"dtype":"float32","type":"Tensor","finite":true,"max_difference_among_recorded_values":null,"members_with_recorded_values":1,"torch_reference_conventions_with_this_digest":[],"values":[0.9977779388427734,-0.11758613586425781,0.7382721900939941,-0.2374095916748047,-0.11758613586425781,0.9974908828735352,-0.398309588432312,0.19110107421875,0.7382721900939941,-0.398309588432312,1.0007596015930176,-0.31519222259521484,-0.2374095916748047,0.19110107421875,-0.31519222259521484,0.9986743927001953],"values_recorded":16,"members":[{"code_sha256_prefix":"c8f23038de7bcdb7","path":"src/image_space_attack/image_editing_attack.py","papers":["2409.11219","2311.17516"],"paper_pages":[{"arxiv_id":"2409.11219","page":"/paper/score-forgetting-distillation-a-swift-data"},{"arxiv_id":"2311.17516","page":"/paper/mma-diffusion-multimodal-attack-on-diffusion"}],"arg_sig_recorded":[["image_embeds",2,"float","float32"],["text_embeds",2,"float","float32"]],"scalar_args":{},"class_bearing":false}]},{"output_sha":"346ef0233febb32e","size":1,"n_papers":1,"shape":[4,4],"dtype":"float32","type":"Tensor","finite":true,"max_difference_among_recorded_values":null,"members_with_recorded_values":1,"torch_reference_conventions_with_this_digest":[],"values":[-0.0005397796630859375,1.1191158294677734,0.260786235332489,1.2395892143249512,1.1191158294677734,-0.0039740800857543945,1.4000685214996338,0.8075308799743652,0.260786235332489,1.4000685214996338,-0.0006215572357177734,1.3152472972869873,1.2395892143249512,0.8075308799743652,1.3152472972869873,0.0008130669593811035],"values_recorded":16,"members":[{"code_sha256_prefix":"3201fb6cb44890b3","path":"IL/modules/ads.py","papers":["2310.07433"],"paper_pages":[{"arxiv_id":"2310.07433","page":"/paper/imitation-learning-from-observation-with"}],"arg_sig_recorded":[["x",2,"float","float32"],["y",2,"float","float32"]],"scalar_args":{},"class_bearing":false}]},{"output_sha":"715623d0a8210901","size":1,"n_papers":1,"shape":[4],"dtype":"float32","type":"Tensor","finite":true,"max_difference_among_recorded_values":null,"members_with_recorded_values":1,"torch_reference_conventions_with_this_digest":[],"values":[1.1920928955078125e-07,-1.1920928955078125e-07,0.0,0.0],"values_recorded":4,"members":[{"code_sha256_prefix":"d0dfe698329e0590","path":"edit_distance/models/pair_encoder.py","papers":["2109.09740"],"paper_pages":[{"arxiv_id":"2109.09740","page":"/paper/neural-distance-embeddings-for-biological"}],"arg_sig_recorded":[["t1_emb",2,"float","float32"],["t2_emb",2,"float","float32"]],"scalar_args":{},"class_bearing":false}]}]},{"bucket":[[1,"float","float64"],[1,"float","float64"]],"n_implementations_compared":2,"n_papers":2,"n_not_digested":0,"not_digested_by_type":{},"clusters":[{"output_sha":"6c3c396ed6b5c36d","size":1,"n_papers":1,"shape":[],"dtype":"float64","type":"float64","finite":true,"max_difference_among_recorded_values":null,"members_with_recorded_values":1,"torch_reference_conventions_with_this_digest":[],"values":[0.9999999999999998],"values_recorded":1,"members":[{"code_sha256_prefix":"0ec989516745205b","path":"text2vec/similarity.py","papers":["2601.12407"],"paper_pages":[{"arxiv_id":"2601.12407","page":"/paper/arxiv-2601-12407"}],"arg_sig_recorded":[["v1",1,"float","float64"],["v2",1,"float","float64"]],"scalar_args":{},"class_bearing":false}]},{"output_sha":"af5570f5a1810b7a","size":1,"n_papers":1,"shape":[],"dtype":"float64","type":"float","finite":true,"max_difference_among_recorded_values":null,"members_with_recorded_values":1,"torch_reference_conventions_with_this_digest":[],"values":[8.99336161097608e-11],"values_recorded":1,"members":[{"code_sha256_prefix":"33c3cf3d01589e64","path":"src/attacks/toolflood_attack.py","papers":["2603.13950"],"paper_pages":[{"arxiv_id":"2603.13950","page":"/paper/arxiv-2603-13950"}],"arg_sig_recorded":[["u",1,"float","float64"],["v",1,"float","float64"]],"scalar_args":{},"class_bearing":false}]}]}]}