Checks whether the code present in the generated response is grounded by the context.
question
: The question asked by the usercontext
: Information retrieved to answer the questionresponse
: The response given by the modelpip install pandas
as the code required to install Pandas package on Python.
While the generated response mentions import pandas as pd
which is not mentioned in the context.
Resulting in a low code hallucination score.