We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aade53 commit e2ba664Copy full SHA for e2ba664
1 file changed
hrflow/utils/scoring.py
@@ -1,6 +1,7 @@
1
import typing as t
2
3
from ..schemas import Education, Experience, HrFlowProfile
4
+from .searching import is_valid_for_searching
5
6
7
def is_valid_experiences_for_scoring(
@@ -65,7 +66,7 @@ def is_valid_for_scoring(
65
66
if not isinstance(profile, HrFlowProfile):
67
raise ValueError("profile must be a dict or a HrFlowProfile object")
68
- return (
69
+ return is_valid_for_searching(profile) and (
70
is_valid_experiences_for_scoring(profile.experiences)
71
or is_valid_educations_for_scoring(profile.educations)
72
or bool(profile.summary)
0 commit comments