QR Code image generator with customizable image formats, error correction levels, and styling options
{
"context": "This criteria evaluates how well the engineer uses the qrcode package's PIL/Pillow PNG image output capabilities, including QRCode class instantiation, configuration parameters, and image generation methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "QRCode instantiation",
"description": "Uses qrcode.QRCode() class constructor to create QR code instances with configuration parameters",
"max_score": 20
},
{
"name": "add_data() method",
"description": "Uses the add_data() method to add URL data to the QR code instance",
"max_score": 15
},
{
"name": "make() method",
"description": "Calls the make() method to compile the QR code with fit parameter for auto-sizing",
"max_score": 15
},
{
"name": "make_image() method",
"description": "Uses make_image() method to generate the PIL/Pillow image object from the QR code",
"max_score": 15
},
{
"name": "fill_color parameter",
"description": "Passes fill_color parameter to make_image() or QRCode constructor to set the foreground color of QR modules",
"max_score": 10
},
{
"name": "back_color parameter",
"description": "Passes back_color parameter to make_image() or QRCode constructor to set the background color",
"max_score": 10
},
{
"name": "box_size parameter",
"description": "Uses box_size parameter in QRCode constructor to control the pixel size of each QR module",
"max_score": 5
},
{
"name": "border parameter",
"description": "Uses border parameter in QRCode constructor to control the border width in modules",
"max_score": 5
},
{
"name": "save() method",
"description": "Calls the save() method on the PIL image object to write the PNG file to disk",
"max_score": 5
}
]
}evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10