| name | gnn-type-checker |
| description | GNN structural type checking and resource estimation. Use when validating GNN dimensions, syntax, type consistency, or generated type-checker reports. |
Core Skill: type_check
Function: Evaluates GNN structural schemas assigning validation integers and load capacities producing automated Abstract Model Cards.
Example Flow
from type_checker.checking import GNNTypeChecker
from pathlib import Path
checker = GNNTypeChecker()
success = checker.validate_gnn_files(Path("models/"), Path("output/5_type_checker"))
print("Completed successfully:", success)
Features
- Visual Synthesis: Constructs isolated Model Baseball Cards tracking matrices, parameters, FLOPS and validity using Matplotlib abstractions directly embedded into the generated output markdown.
- Resource Analytics: Estimates accurate floating point requirements linking straight into
estimation_strategies.py natively.
- Strict Parsing Evaluation: Prevents ambiguous mathematical strings from triggering false type checks.
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
validate_gnn_files
validate_single_gnn_file