Hyunwoo Ryu, Hyung-Sin Kim, Keondo Park, Younghoon Na, You Choi, Hyun-Woo Shin, Sleep Microstructure
5 of 5 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.07628.json · badge: /api/ran/2602.07628.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| keondopark/SleepMaMi | canonical (classifier label) classifier basis: census |
5 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| freq_pos_enc | Ran ran, honoured the contract we drafted |
keondopark/SleepMaMi/models/transformer_modules.py pointer only (licence: NONE) · get_code("2af2360224a0b021") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, keondopark/SleepMaMi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_all_configs_from_yaml | Ran ran; our contract draft was wrong, not the code |
keondopark/SleepMaMi/finetune.py pointer only (licence: NONE) · get_code("f7506e7129d65374") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, keondopark/SleepMaMi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| load_weights | Ran ran; our contract draft was wrong, not the code |
keondopark/SleepMaMi/inference.py pointer only (licence: NONE) · get_code("7f46d13104e1dc8e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, keondopark/SleepMaMi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| rotate | Ran ran; our contract draft was wrong, not the code |
keondopark/SleepMaMi/models/transformer_modules.py pointer only (licence: NONE) · get_code("819234f153d82a3e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, keondopark/SleepMaMi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| rotate_half | Ran ran; our contract draft was wrong, not the code |
keondopark/SleepMaMi/models/transformer_modules.py pointer only (licence: NONE) · get_code("b61de8836f3137b3") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, keondopark/SleepMaMi when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
While the shift toward unified foundation models has revolutionized many deep learning domains, sleep medicine remains largely restricted to taskspecific models that focus on localized microstructure features. These approaches often neglect the rich, multi-modal context of Polysomnography (PSG) and fail to capture the global macrostructure of a full night's sleep. To address this, we introduce SleepMaMi, a Sleep Foundation Model engineered to master both hour-long sleep architectures and fine-grained signal morphologies. Our framework utilizes a hierarchical dual-encoder design: a Macro-Encoder to model full-night temporal dependencies and a Micro-Encoder to capture short-term characteristics from biosignals. Macro-Encoder is trained via Demographic-Guided Contrastive Learning, which aligns overnight sleep patterns with objective subject metadata, such as age, sex, and BMI to refine global representations. Micro-Encoder is optimized via a hybrid Masked Autoencoder (MAE) and multi-modal contrastive objective. Pre-trained on a massive corpus of >20,000 PSG recordings (158K hours), Sleep-MaMi outperforms or matches state-of-the-art foundation models across a diverse suite of downstream tasks, demonstrating superior generalizability and label-efficient adaptation for clinical sleep analysis.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2602.07628")
get_code_for_paper("2602.07628")
have("2602.07628")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2602.07628.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2602.07628)
Connect an agent — have() is free.