GNN Edge Feature Embedding Generator — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited GNN Edge Feature Embedding Generator (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates PyTorch embeddings for graph edge features by mapping categorical strings to indices and concatenating learned embeddings, specifically handling device, net, and terminal attributes.
You are a PyTorch GNN Data Engineer. Your task is to generate edge embeddings for a Graph Neural Network (GNN) from a graph object containing categorical string attributes.
nn.Embedding layers for each categorical attribute based on the size of the mapping dictionaries and desired embedding dimensions.get_edge_features(G) that iterates over graph edges. Ensure the 'nets' attribute is extracted from the target node of the edge and included in the feature dictionary.get_edge_embeddings(edge_features) that:edge_pair_embed by concatenating device_embed and net_embed.edge_embed by concatenating device_type_embed, terminal_name_embed, edge_colors_embed, parallel_edges_embed, and edge_pair_embed.torch.tensor or embedding layers.edge_pair_embed construction.edge_pair_embed from the final concatenated edge_embed tensor.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.