From e24ab8226d01305d22247bc3f1523f49e30fd8bf Mon Sep 17 00:00:00 2001 From: FunctionsAPI Date: Sun, 24 Aug 2025 07:04:44 +0000 Subject: [PATCH] Automatic push from FunctionsAPI --- README.md | 3 +-- main.py | 5 +++++ requirements.txt | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 main.py create mode 100644 requirements.txt diff --git a/README.md b/README.md index ea4fd57..ca9945f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1 @@ -# d28a322f9764401e88710ce7084612a1 - +# python hello-world diff --git a/main.py b/main.py new file mode 100644 index 0000000..a4ecffd --- /dev/null +++ b/main.py @@ -0,0 +1,5 @@ +python +CopyEdit +def predict_performance(employee_data): + score = 0.4 * employee_data['kpi'] + 0.6 * employee_data['manager_rating'] + return {"performance_score": round(score, 2)} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..55e8614 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +functions-framework==1.4.3 +markupsafe==2.0.1