arya2004 / arya2004/Data-Filtering-Chatbot

Avoid using global DataFrame in submission_evaluation.py

Open
#5 1 comment 0 reactions 1 assignee Claimed by @michalszkil View on GitHub
enhancement good first issue hacktoberfest hacktoberfest-accepted python refactor
Dominant language
Python
Stars
2
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### 🔄 Global Variable Issue in `submission_evaluation.py`

The function `final_score()` uses and overrides a global `df`. This is hard to debug.

#### 💡 Fix:

* Pass `df` as an argument to `final_score()` instead of using global scope.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.