or run

tessl search
Log in

Version

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

tessl/pypi-dnslib

tessl install tessl/pypi-dnslib@0.9.0

Simple library to encode/decode DNS wire-format packets

Agent Success

Agent success rate when using this tile

97%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.76x

Baseline

Agent success rate without this tile

55%

rubric.jsonevals/scenario-5/

{
  "context": "This evaluation criteria assesses the engineer's ability to use the dnslib package for sending DNS queries. It focuses on proper use of DNSRecord for query construction, the send() method for transmitting queries, and correct handling of DNS record types and transport protocols.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Query Construction",
      "description": "Uses DNSRecord.question() method to create DNS query packets with the specified domain name and record type (qtype parameter)",
      "max_score": 25
    },
    {
      "name": "Query Transmission",
      "description": "Uses the DNSRecord.send() method to transmit queries to the nameserver, correctly specifying the address, port (typically 53), and tcp parameter for protocol selection",
      "max_score": 25
    },
    {
      "name": "Record Type Handling",
      "description": "Correctly uses QTYPE constants or mappings (e.g., QTYPE.A, QTYPE.MX, QTYPE.TXT) to specify DNS record types in queries",
      "max_score": 15
    },
    {
      "name": "Response Parsing",
      "description": "Uses DNSRecord.parse() method or directly processes the DNSRecord object returned by send() to extract answer records from the response",
      "max_score": 15
    },
    {
      "name": "UDP/TCP Protocol",
      "description": "Implements both UDP and TCP query support using the tcp parameter in the send() method (tcp=False for UDP, tcp=True for TCP)",
      "max_score": 10
    },
    {
      "name": "Answer Section Access",
      "description": "Correctly accesses the answer section of DNS responses (e.g., response.rr or iterating over answer records) to retrieve and display resource records",
      "max_score": 10
    }
  ]
}