SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.17255 · ACL · 2024

MPCODER: Multi-user Personalized Code Generator with Explicit and Implicit Style Representation Learning

Jingyuan Chen, Chang Yao, Zhipeng Gao, Zhenlong Dai, Wenkang Han, Ying Yuan

arXiv · PDF · Open in the Atlas

Code that ran

2 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.17255.json · badge: /api/ran/2406.17255.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
455849940/MPCoder marked official in Papers with Code
Papers with Code archive
2 ran · 2 no recorded run
FunctionStatusWhere it lives
ContrastLoss Ran
ran on a synthesized input · constructed an object; no result was computed
455849940/MPCoder/StylePrompt/FeatureModel.py
pointer only (licence: NONE) · get_code("1fda20b6bb18abdc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 455849940/MPCoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
455849940/MPCoder/StylePrompt/FeatureModel.py
pointer only (licence: NONE) · get_code("9926485162b90eb9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 455849940/MPCoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PreferFeatureCodeLlama Not yet run
unverified (harvested, no recorded run)
455849940/MPCoder/StylePrompt/FeatureModel.py
pointer only (licence: NONE) · get_code("a56ec68c419378b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 455849940/MPCoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

gather_all_with_local_grad Not yet run
unverified (harvested, no recorded run)
455849940/MPCoder/StylePrompt/FeatureModel.py
pointer only (licence: NONE) · get_code("7f57f8a4c7350841")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, 455849940/MPCoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large Language Models (LLMs) have demonstrated great potential for assisting developers in their daily development. However, most research focuses on generating correct code, how to use LLMs to generate personalized code has seldom been investigated. To bridge this gap, we proposed MPCODER (Multi-user Personalized Code Generator) to generate personalized code for multiple users. To better learn coding style features, we utilize explicit coding style residual learning to capture the syntax code style standards and implicit style learning to capture the semantic code style conventions. We train a multi-user style adapter to better differentiate the implicit feature representations of different users through contrastive learning, ultimately enabling personalized code generation for multiple users. We further propose a novel evaluation metric for estimating similarities between codes of different coding styles. The experimental results show the effectiveness of our approach for this novel task. The code and dataset are available at https://github.com/455849940/MPCoder.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.17255")
get_code_for_paper("2406.17255")
have("2406.17255")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.17255.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.17255.svg)](https://syntology.ai/paper/2406.17255)

Connect an agent — have() is free.