SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.03943 · IJCAI · 2024

Predictive Modeling with Temporal Graphical Representation on Electronic Health Records

Ping Zhang, Jiayuan Chen, Yuanlong Wang, Changchang Yin

arXiv · PDF · Open in the Atlas

Code that ran

10 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2405.03943.json · badge: /api/ran/2405.03943.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.

RepositoryRoleRan
the-real-jerrychen/trans canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
The-Real-JerryChen/TRANS community
Papers with Code archive
6 ran · 0 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input
The-Real-JerryChen/TRANS/models/Seqmodels.py
pointer only (licence: NONE) · get_code("890dae1cdee3d6a9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, The-Real-JerryChen/TRANS 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.

MultiHeadedAttention Ran
ran on a synthesized input · constructed an object; no result was computed
The-Real-JerryChen/TRANS/models/Seqmodels.py
pointer only (licence: NONE) · get_code("aec89621438a6ffd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, The-Real-JerryChen/TRANS 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.

PositionwiseFeedForward Ran
ran on a synthesized input
The-Real-JerryChen/TRANS/models/Seqmodels.py
pointer only (licence: NONE) · get_code("e1041c5cf014c687")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, The-Real-JerryChen/TRANS 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.

SublayerConnection Ran
ran on a synthesized input · constructed an object; no result was computed
The-Real-JerryChen/TRANS/models/Seqmodels.py
pointer only (licence: NONE) · get_code("c155570232cc0f8c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, The-Real-JerryChen/TRANS 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.

TransformerBlock Ran
ran on a synthesized input · constructed an object; no result was computed
The-Real-JerryChen/TRANS/models/Seqmodels.py
pointer only (licence: NONE) · get_code("65bdef9d91c144b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, The-Real-JerryChen/TRANS 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.

TransformerLayer Ran
ran on a synthesized input
The-Real-JerryChen/TRANS/models/Seqmodels.py
pointer only (licence: NONE) · get_code("c2885bbdafcf8e2b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, The-Real-JerryChen/TRANS 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.

batch_to_multihot Ran
ran; our contract draft was wrong, not the code
the-real-jerrychen/trans/utils.py
pointer only (licence: NONE) · get_code("0d72f327e195b4f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, the-real-jerrychen/trans 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_bounds_from_slice_dict Ran
ran, honoured the contract we drafted
the-real-jerrychen/trans/models/HGT.py
pointer only (licence: NONE) · get_code("1d25b1ebae4d2442")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, the-real-jerrychen/trans 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_last_visit_features_from_slices Ran
ran; our contract draft was wrong, not the code
the-real-jerrychen/trans/models/HGT.py
pointer only (licence: NONE) · get_code("dd7ba655a14b62f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, the-real-jerrychen/trans 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.

group Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
the-real-jerrychen/trans/layers/HGC.py
pointer only (licence: NONE) · get_code("d8a87bbbd68ad508")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, the-real-jerrychen/trans 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.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 8 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.

FunctionAlso present inEarliest-datedOthers named
SublayerConnection
brick of this paper's assembly: model
1 other paper
1 dated earlier
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
group 1 other paper
1 dated earlier
2310.10603 (2023-10)
Exploring the Power of Graph Neural Networks in Solving Linear Optimization Problems

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-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Deep learning-based predictive models, leveraging Electronic Health Records (EHR), are receiving increasing attention in healthcare. An effective representation of a patient's EHR should hierarchically encompass both the temporal relationships between historical visits and medical events, and the inherent structural information within these elements. Existing patient representation methods can be roughly categorized into sequential representation and graphical representation. The sequential representation methods focus only on the temporal relationships among longitudinal visits. On the other hand, the graphical representation approaches, while adept at extracting the graphstructured relationships between various medical events, fall short in effectively integrate temporal information. To capture both types of information, we model a patient's EHR as a novel temporal heterogeneous graph. This graph includes historical visits nodes and medical events nodes. It propagates structured information from medical event nodes to visit nodes and utilizes time-aware visit nodes to capture changes in the patient's health status. Furthermore, we introduce a novel temporal graph transformer (TRANS) that integrates temporal edge features, global positional encoding, and local structural encoding into heterogeneous graph convolution, capturing both temporal and structural information. We validate the effectiveness of TRANS through extensive experiments on three real-world datasets. The results show that our proposed approach achieves state-of-the-art performance.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.03943")
get_code_for_paper("2405.03943")
have("2405.03943")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.03943.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.03943.svg)](https://syntology.ai/paper/2405.03943)

Connect an agent — have() is free.