Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e24ab8226d |
5
main.py
Normal file
5
main.py
Normal file
@ -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)}
|
||||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
functions-framework==1.4.3
|
||||||
|
markupsafe==2.0.1
|
||||||
Loading…
Reference in New Issue
Block a user