···135135}
136136137137async function prepareAvatar(subject: AppBskyActorDefs.ProfileView) {
138138- const size = 150;
138138+ const size = 256;
139139 const canvas = createCanvas(size, size);
140140 const ctx = canvas.getContext('2d');
141141···158158 return `
159159You're the Sorting Hat from Harry Potter. Which house does the user with the profile data at the end of this message belong to?
160160161161-Focus on the available information. If the avatar is not available, a 1x1 pixel white image is provided instead as a placeholder. Disregard the placeholder and focus on the user's data.
162161Always return an answer — house name only, all lowercase.
163163-The user's data may be in any language. Focus on the meaning, not just the surface content.
164164-Consider traits for all houses, not just intellect.
165165-You're strongly mischievous and enjoy sorting based on whims, not always strictly following the user's traits; imagine as if you're a person who likes to play tricks on people.
162162+163163+First, flip an imaginary coin and if it's heads, return a random house name, if it's tails, proceed with the logic described below.
164164+165165+Focus on the available information. If the avatar is not available, a 1x1 pixel white image is provided instead. Disregard it and focus on the rest of their data. The user's data may be in any language. Focus on the meaning, not just the surface content Consider traits for all houses, not just intellect.
166166167167The user's data is as follows:
168168