
Model Dev – Reverse-engineer Code from Documentation & Align
Purpose
Model Dev – Reverse-engineer Code from Documentation & Align is designed to compare model documentation, including requirements, algorithms, and formulas, with implemented source code in order to identify mismatches, hidden assumptions, numerical stability issues, and untested branches.
Primary users
The primary user is specified as “Both.” The exact user roles are not specified, but the agent is intended for users involved in reviewing alignment between model documentation and source code.
Where it fits (process/stage/trigger)
This agent fits into the model development and review process when model documentation and source code need to be checked for consistency, completeness, and alignment before improvement, validation, or testing activities.
Key capabilities / workflow
The workflow uses model documentation and source code as inputs, compares documented requirements, algorithms, and formulas against the implemented code, identifies mismatches and hidden assumptions, examines numerical stability issues and untested branches, and produces prioritized documentation improvements and testing recommendations.
Inputs
The specified inputs are model documentation and source code. No dataset is specified.
Outputs / Deliverables
The specified outputs are a gap analysis comparing documentation versus code, testing recommendations, and a code/documentation alignment report.
Value
The agent helps improve confidence in model implementation by highlighting documentation-code gaps, hidden assumptions, numerical concerns, and insufficiently tested branches, supporting better alignment, clearer documentation, and more focused testing recommendations.
