feat: personalize scoring and add skills radar
This commit is contained in:
@@ -13,6 +13,9 @@ def test_profile_validation_snapshot_activation_and_revisions(user, profile):
|
||||
snapshot = profile.snapshot()
|
||||
assert snapshot["home_municipality"] == "Hasselt"
|
||||
assert snapshot["home_latitude"] == pytest.approx(50.9307)
|
||||
assert snapshot["experience_years"] == 0
|
||||
assert "seniority" not in profile.weights
|
||||
assert sum(profile.weights.values()) == 100
|
||||
|
||||
other = SearchProfile.objects.create(user=user, name="Tweede", is_active=False)
|
||||
other.activate()
|
||||
|
||||
Reference in New Issue
Block a user