Writing

[Esports Manager] Building an Auto-Recommend Tool for the Recruit Center

Tag-combination input, recommended tags and signable players, deployment on Streamlit.

Purpose

Tool access address: build an auto-recommend tool for the player recruit center. Input: tag combinations. Output: recommended tags and players likely to sign under those tags.

Approach

Build dataset from strategy-center downloads. Traverse combinations for optimal matches. Core code:

def panduan_cf(li01,li02):
    return [i for i in li02 if i in li01]
def jisuan(data):
    fina01 = []
    fina02 = []
    for i in range(data.shape[0]):
        li01 = data.iloc[i, 1:-1].values.tolist()
        res = panduan_cf(li01, choose_l)
        fina01.append("+".join(res))
        fina02.append(len(res))
    data["output"] = fina01
    data["num"] = fina02
    data.sort_values("num", ascending=False, inplace=True)
    return data.head(3)

Test

Results:

image

Success—returns top three matching signable players.

Deployment

No public IP yet—temporary access URL.

Test Access

View your entry:

image

Deployed on GitHub:

Enter tags; test results:

image