Some charge readings at the Save Shrine have faded. int("4") returns a number, but int("faded") raises ValueError. If nothing catches that error, Python stops and prints a traceback showing where it happened.
The starter catches this specific error. Python tries the conversion inside try. If conversion fails, it skips to except ValueError and returns the fallback. A valid reading never enters that except block.
Edit only the fallback in main.py. Run should print 4 for the valid reading and -1 for the faded one. Submit to check both paths.
ValueError fallback to -1; numeric text must still convert.