code: def _upload_assets_to_OSF(dlgr_id, osf_id, provider="osfstorage"):
      
      root = "https://files.osf.io/v1"
      snapshot_filename = "{}-code.zip".format(dlgr_id)
      snapshot_path = os.path.join("snapshots", snapshot_filename)
      r = requests.put(
          "{}/resources/{}/providers/{}/".format(root, osf_id, provider),
          params={"kind": "file", "name": snapshot_filename},
          headers={
              "Authorization": "Bearer {}".format(config.get("osf_access_token")),
              "Content-Type": "text/plain",
          },
          data=open(snapshot_path, "rb"),
      )
      r.raise_for_status()
docs: Upload experimental assets to the OSF.