code: def _deliver_to_file(value):  # pragma: no cover
      kind = "testcases" if value["type"] == "test_case" else "info"
      fname = storage_directory(
          "observed", f"{date.today().isoformat()}_{kind}.jsonl"
      )
      fname.parent.mkdir(exist_ok=True)
      _WROTE_TO.add(fname)
      with fname.open(mode="a") as f:
          f.write(json.dumps(value) + "\n")
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/observability.py
imports: import json
  import os
  from datetime import date, timedelta
  from typing import Callable, Dict, List, Optional
  from hypothesis.configuration import storage_directory
  from hypothesis.internal.conjecture.data import ConjectureData, Status
label_desc: Use image node_id 3 for calling a global function with example usage: _deliver_to_file(value) without return types