nlsq.diagnostics.get_recommendation

nlsq.diagnostics.get_recommendation(code)[source]

Get the recommendation text for an issue code.

Parameters:

code (str) – The issue code (e.g., “IDENT-001”, “GRAD-002”).

Returns:

The recommendation text, or a default message if the code is not found.

Return type:

str

Examples

>>> get_recommendation("IDENT-001")
'Structural unidentifiability detected: ...'
>>> get_recommendation("UNKNOWN-999")
'No specific recommendation available for this issue.'