The sequence for compiling a sprite is the same as for summoning a spirit:
Step 1. Choose type, rating (maximum twice your Resonance), extra powers (eg. Machine, force 3, Decrypt)
Step 2. Roll compiling test: Resonance + Compiling + modifiers (eg. dice pool 15, 5 hits)
Step 3. Sprite rolls compiling resistance with Rating dice (eg. dice pool 3, 2 hits)
You get tasks equal to net hits (your hits - sprite's) (eg. 3 tasks)
Step 4. You resist Fading, DV equals two times the number of hits on the sprite's resistance test.
Damage is stun if rating of sprite is less than or equal to your Resonance, or physical if rating is greater than your Resonance.
(eg. your resonance is 6, so the DV is 4S)