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-7/

{
  "context": "This evaluation assesses how effectively an engineer uses the dnslib package to handle DNS Resource Records (RRs), specifically focusing on parsing zone file format entries, creating RR objects, converting records between formats, and working with different record types.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "RR.fromZone usage",
      "description": "Uses RR.fromZone() to parse zone file format strings into RR objects, correctly handling the zone line format with name, TTL, class, type, and rdata components",
      "max_score": 25
    },
    {
      "name": "Multiple record types",
      "description": "Correctly handles at least four different DNS record types (A, AAAA, CNAME, MX) by creating appropriate RR objects with proper record data (RD subclasses) for each type",
      "max_score": 20
    },
    {
      "name": "Zone format output",
      "description": "Uses the RR's toZone() method or str() representation to convert resource records back to zone file format strings",
      "max_score": 15
    },
    {
      "name": "Wire format encoding",
      "description": "Uses the RR's pack() method to encode resource records into DNS wire format bytes",
      "max_score": 15
    },
    {
      "name": "Record components access",
      "description": "Properly accesses and works with RR object attributes including rname (resource name), rtype (record type), ttl (time to live), and rdata (record data)",
      "max_score": 15
    },
    {
      "name": "Error handling",
      "description": "Handles exceptions that may occur during zone parsing, such as invalid zone format or unsupported record types",
      "max_score": 10
    }
  ]
}