code: def test_create_from_file_successful(self):
      score_calibration = (
          metadata_writer.ScoreCalibration.create_from_file(
              metadata_writer.ScoreCalibration.transformation_types.LOG,
              _SCORE_CALIBRATION_FILE,
          )
      )
      self.assertLen(score_calibration.parameters, 511)
      self.assertIsNone(score_calibration.parameters[0])
      self.assertEqual(
          score_calibration.parameters[1],
          metadata_writer.CalibrationParameter(
              scale=0.9876328110694885,
              slope=0.36622241139411926,
              offset=0.5352765321731567,
              min_score=0.71484375,
          ),
      )
      self.assertEqual(
          score_calibration.parameters[510],
          metadata_writer.CalibrationParameter(
              scale=0.9901729226112366,
              slope=0.8561913371086121,
              offset=0.8783953189849854,
              min_score=0.5859375,
          ),
      )
  
imports: import os
  import tempfile
  from absl.testing import absltest
  from mediapipe.tasks.metadata import metadata_schema_py_generated
  from mediapipe.tasks.python.metadata.metadata_writers import metadata_info
  from mediapipe.tasks.python.metadata.metadata_writers import metadata_writer
  from mediapipe.tasks.python.test import test_utils
label_desc: Use image node_id 1 for calling the ScoreCalibrationTest obj's underlying member method code with example usage: obj.test_create_from_file_successful() without return types