code: def test_static_runner_from_json_regression():
      archery_result = {
          "suites": [
              {
                  "name": "arrow-value-parsing-benchmark",
                  "benchmarks": [
                      {
                          "name": "FloatParsing<DoubleType>",
                          "unit": "items_per_second",
                          "less_is_better": False,
                          "values": [109941112.87296811],
                          "time_unit": "ns",
                          "times": [9095.800104330105],
                      },
                  ],
              }
          ]
      }
  
      contender = StaticBenchmarkRunner.from_json(
          json.dumps(archery_result)
      )
  
      # introduce artificial regression
      archery_result["suites"][0]["benchmarks"][0]["values"][0] *= 2
      baseline = StaticBenchmarkRunner.from_json(
          json.dumps(archery_result)
      )
  
      [comparison] = RunnerComparator(contender, baseline).comparisons
      assert comparison.regression
  
imports: import json
  from archery.benchmark.codec import JsonEncoder
  from archery.benchmark.core import Benchmark, median
  from archery.benchmark.compare import BenchmarkComparator, RunnerComparator
  from archery.benchmark.google import GoogleBenchmark, GoogleBenchmarkObservation
  from archery.benchmark.runner import StaticBenchmarkRunner
label_desc: Use image node_id 4 for calling a global function with example usage: test_static_runner_from_json_regression() without return types