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

{
  "context": "This criteria evaluates how effectively the engineer uses dnslib's zone file parsing capabilities, specifically the RR.fromZone() method and its support for $TTL and $ORIGIN directives. The focus is on proper utilization of dnslib's built-in zone file directive handling rather than manual parsing.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses RR.fromZone()",
      "description": "Uses the RR.fromZone() method to parse zone file text into resource records, rather than attempting to parse zone file format manually",
      "max_score": 30
    },
    {
      "name": "$TTL parameter usage",
      "description": "Correctly passes the ttl parameter to RR.fromZone() to set the default TTL value when processing zone records with $TTL directives",
      "max_score": 20
    },
    {
      "name": "$ORIGIN parameter usage",
      "description": "Correctly passes the origin parameter to RR.fromZone() to set the default origin domain for relative names when processing zone records with $ORIGIN directives",
      "max_score": 20
    },
    {
      "name": "Handles directive updates",
      "description": "Properly processes zone files where $TTL or $ORIGIN directives appear multiple times, updating the default values passed to RR.fromZone() for subsequent records",
      "max_score": 15
    },
    {
      "name": "Iterative parsing approach",
      "description": "Uses an appropriate approach (such as line-by-line or section-by-section parsing) to detect and apply directive changes throughout the zone file, calling RR.fromZone() with updated parameters",
      "max_score": 15
    }
  ]
}