{"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":"/code/label-generator-kmeans","entry":"label_generator_kmeans","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-10-05T00:36:11+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample = n_papers_ran_no_instrument_failure (papers with a run with no instrument failure) + n_papers_ran_instrument_only (papers where every run was a failure of Syntology's instrument); n_samples_ran = n_samples_ran_checked (honoured, violated, no contract) + n_samples_instrument (failures of Syntology's instrument, not of the code).","status_vocabulary":{"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)"},"n_papers":8,"n_papers_ran":0,"n_papers_ran_no_instrument_failure":0,"n_papers_ran_instrument_only":0,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":2,"n_samples_ran":0,"n_samples_constructed":0,"n_samples_ran_checked":0,"n_samples_instrument":0,"n_samples_unverified":2,"n_samples_fingerprinted":0,"n_places":8,"n_places_pointer_only":0,"n_places_pointer_only_link_open":0,"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_places_pointer_only_link_open counts the places where this paper's link allows the text and the stored copy does not","by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":0,"ran":0,"unverified":2},"key_notes":{"n_samples_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_samples_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)"},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2402.19026","arxiv_id_is_arxiv":true,"paper":"/paper/progressive-contrastive-learning-with-multi","title":"Learning Commonality, Divergence and Variety for Unsupervised Visible-Infrared Person Re-identification","date":"2024-02-29","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"shijiangming1/pclhd","path":"clustercontrast/models/kmeans.py","file_url":"https://github.com/shijiangming1/pclhd/blob/HEAD/clustercontrast/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}},{"arxiv_id":"2311.10605","arxiv_id_is_arxiv":true,"paper":"/paper/ca-jaccard-camera-aware-jaccard-distance-for","title":"CA-Jaccard: Camera-aware Jaccard Distance for Person Re-identification","date":"2023-11-17","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"chen960/ca-jaccard","path":"caj/models/kmeans.py","file_url":"https://github.com/chen960/ca-jaccard/blob/HEAD/caj/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}},{"arxiv_id":"2103.11568","arxiv_id_is_arxiv":true,"paper":"/paper/cluster-contrast-for-unsupervised-person-re","title":"Cluster Contrast for Unsupervised Person Re-Identification","date":"2021-03-22","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"alibaba/cluster-contrast","path":"clustercontrast/models/kmeans.py","file_url":"https://github.com/alibaba/cluster-contrast/blob/HEAD/clustercontrast/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}},{"arxiv_id":"1807.09441","arxiv_id_is_arxiv":true,"paper":"/paper/two-at-once-enhancing-learning-and","title":"Two at Once: Enhancing Learning and Generalization Capacities via IBN-Net","date":"2018-07-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"jihaoxuanye/MetaPRD","path":"mprd/models/kmeans.py","file_url":"https://github.com/jihaoxuanye/MetaPRD/blob/HEAD/mprd/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}},{"arxiv_id":"1805.09501","arxiv_id_is_arxiv":true,"paper":"/paper/autoaugment-learning-augmentation-policies","title":"AutoAugment: Learning Augmentation Policies from Data","date":"2018-05-24","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"2han9x1a0release/RLCC","path":"openunreid/core/label_generators/kmeans.py","file_url":"https://github.com/2han9x1a0release/RLCC/blob/HEAD/openunreid/core/label_generators/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"7abb26d9e95eace9","code_sha256_prefix":"7abb26d9e95eace9","mcp_get_code":{"code_sha256":"7abb26d9e95eace9"}},{"arxiv_id":"aaai_28092","arxiv_id_is_arxiv":false,"paper":null,"title":"AAAI id aaai_28092","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"lhf12278/FCM-ReID","path":"clustercontrast/models/kmeans.py","file_url":"https://github.com/lhf12278/FCM-ReID/blob/HEAD/clustercontrast/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}},{"arxiv_id":"Chen_CA-Jaccard_Camera-aware_Jaccard_Distance_for_Person_Re-identification_CVPR_2024_paper","arxiv_id_is_arxiv":false,"paper":null,"title":"CVF open access id Chen_CA-Jaccard_Camera-aware_Jaccard_Distance_for_Person_Re-identification_CVPR_2024_paper","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"chen960/CA-Jaccard","path":"caj/models/kmeans.py","file_url":"https://github.com/chen960/CA-Jaccard/blob/HEAD/caj/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}},{"arxiv_id":"136740192","arxiv_id_is_arxiv":false,"paper":null,"title":"id 136740192 (not an arXiv id)","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"CASIA-IVA-Lab/PASS-reID","path":"PASS_cluster_contrast_reid/clustercontrast/models/kmeans.py","file_url":"https://github.com/CASIA-IVA-Lab/PASS-reID/blob/HEAD/PASS_cluster_contrast_reid/clustercontrast/models/kmeans.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"inline_ok_link":true,"withheld_clause":null,"code_sha256":"4560dc753fea5981","code_sha256_prefix":"4560dc753fea5981","mcp_get_code":{"code_sha256":"4560dc753fea5981"}}],"record_sha256":"89353fcdf36500bede47e4507ee24c726767c1f5ed090ad8f0d351ff5183edf4","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}