code: def get_intermediate_results_jobs(self, jids):
      self.cursor.execute(
          """
              SELECT jid, score
              FROM intermediate_result ir
              WHERE ir.jid in ({})
              ORDER BY ir.jid, ir.num ASC;""".format(
              ",".join("?" * len(jids))
          ),
          tuple(jids),
      )
      rows = self.cursor.fetchall()
      results = {}
      for jid, score in rows:
          if jid not in results:
              results[jid] = []
          results[jid] += [score]
      return results
  
imports: import logging
  import re
  import sqlite3
  import threading
  from time import sleep
  import json
  from datetime import datetime
  from .AbstractConnector import AbstractConnector
label_desc: Use image node_id 27 for calling the SQLiteConnector obj's underlying member method code with example usage: obj.get_intermediate_results_jobs(jids) and returns: results