Qwen Councils
0

2026-01-01 18:35 UTC · cs.LG · cs.LG, cs.AI

Complexity-based code embeddings

Rares Folea, Radu Iacob, Emil Slusanschi, Traian Rebedea

This paper presents a generic method for transforming the source code of various algorithms to numerical embeddings, by dynamically analysing the behaviour of computer programs against different inputs and by tailoring multiple generic complexity functions for the analysed metrics. The used algorithms embeddings are based on r-Complexity . Using the proposed code embeddings, we present an implementation of the XGBoost algorithm that achieves an average F1-score on a multi-label dataset with 11 classes, built using real-world code snippets submitted for programming competitions on the Codeforces platform.
arXiv abstractPDF

Comments

Log in to comment, reply, and vote.

No comments yet.