or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/aiortc@1.13.x
tile.json

tessl/pypi-aiortc

tessl install tessl/pypi-aiortc@1.13.0

Python implementation of WebRTC and ORTC for real-time peer-to-peer communication

Agent Success

Agent success rate when using this tile

87%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.02x

Baseline

Agent success rate without this tile

85%

rubric.jsonevals/scenario-4/

{
  "context": "This criteria evaluates how well the engineer uses the aiortc package's SDP offer/answer negotiation APIs to establish a WebRTC connection between two peers. It focuses on correct usage of RTCPeerConnection, createOffer(), createAnswer(), setLocalDescription(), and setRemoteDescription() in the proper sequence.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "RTCPeerConnection creation",
      "description": "Creates two RTCPeerConnection instances to represent the offering and answering peers.",
      "max_score": 10
    },
    {
      "name": "createOffer() usage",
      "description": "Calls createOffer() on the offering peer to generate an SDP offer and properly awaits the result.",
      "max_score": 15
    },
    {
      "name": "Offering peer setLocalDescription",
      "description": "Calls setLocalDescription() on the offering peer with the created offer to set it as the local description.",
      "max_score": 15
    },
    {
      "name": "Answering peer setRemoteDescription",
      "description": "Calls setRemoteDescription() on the answering peer with the offer from the offering peer to set it as the remote description.",
      "max_score": 15
    },
    {
      "name": "createAnswer() usage",
      "description": "Calls createAnswer() on the answering peer to generate an SDP answer, ensuring it is called only after setRemoteDescription() has been called on the answering peer, and properly awaits the result.",
      "max_score": 15
    },
    {
      "name": "Answering peer setLocalDescription",
      "description": "Calls setLocalDescription() on the answering peer with the created answer to set it as the local description.",
      "max_score": 15
    },
    {
      "name": "Offering peer answer handling",
      "description": "Calls setRemoteDescription() on the offering peer with the answer from the answering peer to complete the negotiation.",
      "max_score": 10
    },
    {
      "name": "Resource cleanup",
      "description": "Calls close() on both peer connections to properly clean up resources after negotiation.",
      "max_score": 5
    }
  ]
}