QR Code image generator with customizable image formats, error correction levels, and styling options
{
"context": "This evaluation assesses how well the engineer uses the qrcode package's manual mask pattern selection feature to generate QR codes with specific mask patterns (0-7). The focus is on correctly instantiating QRCode objects with the mask_pattern parameter and generating images for all available patterns.",
"type": "weighted_checklist",
"checklist": [
{
"name": "QRCode instantiation",
"description": "Uses the QRCode class constructor from the qrcode package to create QR code instances",
"max_score": 15
},
{
"name": "mask_pattern parameter",
"description": "Correctly passes the mask_pattern parameter to the QRCode constructor with integer values",
"max_score": 25
},
{
"name": "Pattern iteration",
"description": "Iterates through all 8 mask patterns (0-7) to generate separate QR codes for each pattern",
"max_score": 20
},
{
"name": "Data addition",
"description": "Uses the add_data() method to add the input text data to each QRCode instance",
"max_score": 15
},
{
"name": "Image generation",
"description": "Uses the make_image() method to generate PIL Image objects from the QRCode instances",
"max_score": 15
},
{
"name": "Image saving",
"description": "Uses the PIL Image save() method to write the generated QR code images to PNG files with appropriate filenames",
"max_score": 10
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10