code: def test_tt_eval_custom_p():
      args = TTEvalArgs(
          max_input_length=100, max_output_length=100, batch_size=2
      )
      result = happy_tt.eval(
          "../data/tt/train-eval-grammar.csv", args=args
      )
      assert type(result.loss) is float
  
file_path: happy-transformer/tests/test_tt.py
imports: import torch
  from happytransformer import HappyTextToText, TTSettings, TTTrainArgs, TTEvalArgs
  from tests import happy_tt
  from tests.run_save_load import run_save_load
label_desc: Use image node_id 10 for calling a global function with example usage: test_tt_eval_custom_p() without return types