{"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":"/code/hierarchical-contrastive-loss","entry":"hierarchical_contrastive_loss","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+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.","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; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":6,"n_papers_ran":4,"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":5,"n_samples_ran":3,"n_samples_fingerprinted":0,"n_places":6,"n_places_pointer_only":3,"by_status":{"ran_honours":0,"ran_violates":0,"ran_draft_wrong":0,"ran_fixture":2,"ran":1,"unverified":2},"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":"2605.21241","paper":"/paper/arxiv-2605-21241","title":"Divide and Contrast: Learning Robust Temporal Features without Augmentation","date":null,"month_inferred_from_arxiv_id":"2026-05","title_source":"syntology","repo":"sfi-norwai/Di-COT","path":"src/losses/contrastive.py","file_url":"https://github.com/sfi-norwai/Di-COT/blob/HEAD/src/losses/contrastive.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"0729ee8d4608844f","mcp_get_code":{"code_sha256":"0729ee8d4608844f"}},{"arxiv_id":"2402.01140","paper":"/paper/root-cause-analysis-in-microservice-using","title":"Root Cause Analysis In Microservice Using Neural Granger Causal Discovery","date":"2024-02-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"zmlin1998/run","path":"models/losses.py","file_url":"https://github.com/zmlin1998/run/blob/HEAD/models/losses.py","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"8437171ce7bbbb51","mcp_get_code":{"code_sha256":"8437171ce7bbbb51"}},{"arxiv_id":"2310.04486","paper":"/paper/t-rep-representation-learning-for-time-series","title":"T-Rep: Representation Learning for Time Series using Time-Embeddings","date":"2023-10-06","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"let-it-care/t-rep","path":"trep.py","file_url":"https://github.com/let-it-care/t-rep/blob/HEAD/trep.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"code_sha256_prefix":"7b7612a2384a5baf","mcp_get_code":{"code_sha256":"7b7612a2384a5baf"}},{"arxiv_id":"2306.12086","paper":"/paper/what-constitutes-good-contrastive-learning-in","title":"What Constitutes Good Contrastive Learning in Time-Series Forecasting?","date":"2023-06-21","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"chiyuzhang94/contrastive_learning_time-series_e2e","path":"models/losses.py","file_url":"https://github.com/chiyuzhang94/contrastive_learning_time-series_e2e/blob/HEAD/models/losses.py","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"736abca4554c0872","mcp_get_code":{"code_sha256":"736abca4554c0872"}},{"arxiv_id":"2106.14112","paper":"/paper/time-series-representation-learning-via","title":"Time-Series Representation Learning via Temporal and Contextual Contrasting","date":"2021-06-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"etna-team/etna","path":"etna/libs/ts2vec/losses.py","file_url":"https://github.com/etna-team/etna/blob/HEAD/etna/libs/ts2vec/losses.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"50140c8208c033ca","mcp_get_code":{"code_sha256":"50140c8208c033ca"}},{"arxiv_id":"2106.10466","paper":"/paper/learning-timestamp-level-representations-for","title":"TS2Vec: Towards Universal Representation of Time Series","date":"2021-06-19","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"zhihanyue/ts2vec","path":"models/losses.py","file_url":"https://github.com/zhihanyue/ts2vec/blob/HEAD/models/losses.py","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"50140c8208c033ca","mcp_get_code":{"code_sha256":"50140c8208c033ca"}}]}