James McCool
commited on
Commit
·
3c99d96
1
Parent(s):
a4a0f62
Update score cutoff values in app.py: increase the score_cutoff for name matching from 85 to 87 to enhance matching accuracy for portfolio and projections, ensuring better alignment with user expectations.
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ with tab1:
|
|
165 |
match = process.extractOne(
|
166 |
portfolio_name,
|
167 |
csv_names,
|
168 |
-
score_cutoff=
|
169 |
)
|
170 |
if match:
|
171 |
portfolio_match_dict[portfolio_name] = match[0]
|
@@ -192,7 +192,7 @@ with tab1:
|
|
192 |
match = process.extractOne(
|
193 |
projections_name,
|
194 |
csv_names,
|
195 |
-
score_cutoff=
|
196 |
)
|
197 |
if match:
|
198 |
projections_match_dict[projections_name] = match[0]
|
@@ -216,7 +216,7 @@ with tab1:
|
|
216 |
match = process.extractOne(
|
217 |
projections_name,
|
218 |
portfolio_names,
|
219 |
-
score_cutoff=
|
220 |
)
|
221 |
if match:
|
222 |
projections_match_dict[projections_name] = match[0]
|
|
|
165 |
match = process.extractOne(
|
166 |
portfolio_name,
|
167 |
csv_names,
|
168 |
+
score_cutoff=87
|
169 |
)
|
170 |
if match:
|
171 |
portfolio_match_dict[portfolio_name] = match[0]
|
|
|
192 |
match = process.extractOne(
|
193 |
projections_name,
|
194 |
csv_names,
|
195 |
+
score_cutoff=87
|
196 |
)
|
197 |
if match:
|
198 |
projections_match_dict[projections_name] = match[0]
|
|
|
216 |
match = process.extractOne(
|
217 |
projections_name,
|
218 |
portfolio_names,
|
219 |
+
score_cutoff=87
|
220 |
)
|
221 |
if match:
|
222 |
projections_match_dict[projections_name] = match[0]
|