Dataset Viewer
Auto-converted to Parquet Duplicate
call_chain
list
source_code
string
function_name
string
operation_type
string
session_state_changes
list
function_responsibility
string
[ "release_pdu_session", "store.get", "remove_forwarding", "release_resources", "store.remove" ]
def remove_forwarding(session): session.forwarding_installed = False def release_resources(session): session.resources_allocated = False def release_pdu_session(store, session_id): session = store.get(session_id) if session.state not in ("active", "modifying"): raise RuntimeError("Session cann...
release_pdu_session
release
[ { "event": "Release begins for an active session", "from_state": "active", "to_state": "releasing", "explanation": "The function accepts an active session and assigns \"releasing\" to session.state before removing forwarding and releasing resources." }, { "event": "Forwarding and resource cl...
Loads a releasable session, marks it as releasing, removes its forwarding and allocated resources, marks it released, and removes it from the store.
[ "establish_pdu_session", "validate_request", "PduSession.__init__", "store.add", "reserve_resources", "install_forwarding" ]
class PduSession: def __init__(self, session_id): self.session_id = session_id self.state = "requested" self.forwarding_installed = False def validate_request(request): return bool(request.get("ue_id")) and bool(request.get("dnn")) def reserve_resources(session, request): session.u...
establish_pdu_session
establishment
[ { "event": "PduSession construction", "from_state": "absent", "to_state": "requested", "explanation": "The constructor initializes the new session with state \"requested\"." }, { "event": "Resource reservation completes", "from_state": "requested", "to_state": "resources_reserved", ...
Validates the request, creates and stores a session, reserves its user-plane identifiers, installs forwarding, and marks the session active.
[ "modify_pdu_session", "store.get", "validate_delta", "apply_qos_rules", "update_session_parameters" ]
def validate_delta(delta): if not delta: raise ValueError("Modification delta is empty") def apply_qos_rules(session, qos_rules): session.qos_rules = list(qos_rules) def update_session_parameters(session, delta): session.parameters.update(delta) def modify_pdu_session(store, session_id, delta): ...
modify_pdu_session
modification
[ { "event": "Modification begins", "from_state": "active", "to_state": "modifying", "explanation": "After loading an active session and validating the delta, the function assigns \"modifying\" to session.state before applying updates." }, { "event": "Session updates complete", "from_state...
Loads an active session, validates the requested delta, applies QoS and parameter updates, and restores the session state to active when the updates complete.

5G Core PDU Session Management Code Understanding Dataset

This dataset focuses on source code for PDU session establishment, modification, and release in 5G core networks, with explanations of function responsibilities, call chains, and session state changes. Its code-understanding supervision samples support model training to interpret session management logic, trace function calls, and explain state transitions. The data is suited to code SFT and software development workflows for telecommunications systems.

Technical Specifications

Field Type Description
call_chain array Ordered sequence of relevant functions called during the analyzed PDU session procedure.
source_code string Original 5G core source code containing PDU session management logic.
function_name string Name of the primary function or method analyzed in the source code.
operation_type string PDU session procedure represented by the code: establishment, modification, or release.
session_state_changes array Ordered explanations of PDU session state changes caused by the analyzed code.
function_responsibility string Explanation of the primary function's responsibilities within PDU session management.

Compliance Statement

Authorization TypeCC-BY-NC-SA 4.0 (Attribution–NonCommercial–ShareAlike)
Commercial UseRequires exclusive subscription or authorization contract (monthly or per-invocation charging)
Privacy and AnonymizationNo PII, no real company names, simulated scenarios follow industry standards
Compliance SystemCompliant with China's Data Security Law / EU GDPR / supports enterprise data access logs

Source & Contact

contact@mobiusi.com

Downloads last month
10