{"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/to-one-hot","entry":"to_one_hot","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":4,"n_class_bearing":0,"not_compared":{"not_run_on_shared_input":{"n":2,"by_error":{"AssertionError":2}},"no_array_argument_ran_on_own_fixture_arguments_only":{"n":1,"n_papers":1,"recorded_shared_digest_equals_own_fixture_digest":1},"output_not_digested_non_numeric":{"n":0,"by_type":{}}},"withdrawn_excluded":0,"code_page":"/code/to-one-hot","buckets":[{"bucket":[[1,"int","int64"]],"n_implementations_compared":4,"n_papers":5,"n_not_digested":0,"not_digested_by_type":{},"clusters":[{"output_sha":"7bcb5c10457d8721","size":2,"n_papers":2,"shape":[8,4],"dtype":"float32","type":"Tensor","finite":true,"max_difference_among_recorded_values":0.0,"members_with_recorded_values":2,"torch_reference_conventions_with_this_digest":[],"values":[0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0],"values_recorded":32,"members":[{"code_sha256_prefix":"a1632d5996c13565","path":"Core-tuning.py","papers":["2102.06605"],"paper_pages":[{"arxiv_id":"2102.06605","page":"/paper/unleashing-the-power-of-contrastive-self"}],"arg_sig_recorded":[["label",1,"int","int64"]],"scalar_args":{"num_classes":"4"},"class_bearing":false},{"code_sha256_prefix":"a9b299e92b4afc95","path":"astra/RuleAttentionNetwork.py","papers":["2104.05514"],"paper_pages":[{"arxiv_id":"2104.05514","page":"/paper/self-training-with-weak-supervision"}],"arg_sig_recorded":[["x",1,"int","int64"]],"scalar_args":{"num_classes":"4"},"class_bearing":false}]},{"output_sha":"b15d214c5570a4a0","size":1,"n_papers":2,"shape":[8,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.02500000037252903,0.02500000037252903,0.9249999523162842,0.02500000037252903,0.02500000037252903,0.9249999523162842,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.9249999523162842,0.9249999523162842,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.9249999523162842,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.9249999523162842,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.9249999523162842,0.02500000037252903,0.02500000037252903,0.02500000037252903,0.9249999523162842,0.02500000037252903],"values_recorded":32,"members":[{"code_sha256_prefix":"3836d7ad343a7f8b","path":"probmetrics/calibrators/base.py","papers":["2605.30188","2602.24230"],"paper_pages":[{"arxiv_id":"2605.30188","page":"/paper/arxiv-2605-30188"},{"arxiv_id":"2602.24230","page":"/paper/arxiv-2602-24230"}],"arg_sig_recorded":[["y",1,"int","int64"]],"scalar_args":{"n_classes":"4","label_smoothing_eps":"0.1"},"class_bearing":false}]},{"output_sha":"ba987dd00cc23ce0","size":1,"n_papers":1,"shape":[8,46],"dtype":"float64","type":"ndarray","finite":true,"max_difference_among_recorded_values":null,"members_with_recorded_values":1,"torch_reference_conventions_with_this_digest":[],"values":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"values_recorded":368,"members":[{"code_sha256_prefix":"dd87064db326e501","path":"BasicFunc.py","papers":["2010.08153"],"paper_pages":[{"arxiv_id":"2010.08153","page":"/paper/on-the-exact-computation-of-linear-frequency"}],"arg_sig_recorded":[["labels",1,"int","int64"]],"scalar_args":{"dimension":"46"},"class_bearing":false}]}]},{"bucket":[[2,"int","int64"]],"n_implementations_compared":1,"n_papers":1,"n_not_digested":0,"not_digested_by_type":{},"clusters":[{"output_sha":"60069f246d8e33f0","size":1,"n_papers":1,"shape":[4,8,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.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0,1.0,0.0],"values_recorded":128,"members":[{"code_sha256_prefix":"09179961802765aa","path":"src/wavenet_vocoder/wavenet.py","papers":["1609.03499"],"paper_pages":[{"arxiv_id":"1609.03499","page":"/paper/wavenet-a-generative-model-for-raw-audio"}],"arg_sig_recorded":[["tensor",2,"int","int64"]],"scalar_args":{"n":"4","fill_with":"1.0"},"class_bearing":false}]}]}]}