Identifier-free code search

Matching decompiled, stripped functions to source by behavior, not names.

Pick a real decompiled function from the Assemblage test set. The query and the candidate pool below are genuine (decompiled, source) pairs; the rankings are the model's actual cosine similarities, precomputed. Even with the names stripped and decompiler artifacts in place, the true source rises to the top. To run it live on your own code, see the usage snippet on the model card.

Decompiled query


    

Candidate source functions, ranked by similarity