Merged in bugfix/DAIP2-1699-issue-tracker-fixes-one-to-one-dates-prov-info (pull request #881)

bugfix/DAIP2-1699-issue-tracker-fixes-one-to-one-dates-prov-info

* contract title fixes

* Add instruction to strip hyphens from TIN and NPI

* prompt update

* Merge branch 'bugfix/auto-renewal-term' into bugfix/DAIP2-1699-issue-tracker-fixes-one-to-one-dates-prov-info

* removed print statements

* pipeline error fixed

* signed_ind logic changed

* signatory_ind logic updated

* prompt update

* prompt update

* pipeline error fixed

* Merge branch 'DEV' into bugfix/DAIP2-1699-issue-tracker-fixes-one-to-one-dates-prov-info

* Merge branch 'DEV' into bugfix/DAIP2-1699-issue-tracker-fixes-one-to-one-dates-prov-info

* requested changes applied

* test case added

* prompt update

* contract title prompt update

* latest prompt added


Approved-by: Siddhant Medar
This commit is contained in:
VenkataKrishna Reddy Avula
2026-02-20 17:50:02 +00:00
committed by Siddhant Medar
parent 884c6530c4
commit 7571d3e3b1
6 changed files with 33 additions and 7 deletions
@@ -998,7 +998,8 @@ def add_aarete_derived_signatory_complete_ind(df: pd.DataFrame) -> pd.DataFrame:
Creates column:
AARETE_DERIVED_SIGNATORY_COMPLETE_IND = 'Y' if
NUM_AVAILABLE_SIGNATORY_LINE_COUNT == NUM_SIGNED_SIGNATORY_LINE_COUNT
((NUM_AVAILABLE_SIGNATORY_LINE_COUNT <= NUM_SIGNED_SIGNATORY_LINE_COUNT) and
(NUM_SIGNED_SIGNATORY_LINE_COUNT >= 1))
else 'N'.
Parameters
@@ -1029,10 +1030,13 @@ def add_aarete_derived_signatory_complete_ind(df: pd.DataFrame) -> pd.DataFrame:
# Create indicator column
df["AARETE_DERIVED_SIGNATORY_COMPLETE_IND"] = (
df["NUM_AVAILABLE_SIGNATORY_LINE_COUNT"]
.eq(df["NUM_SIGNED_SIGNATORY_LINE_COUNT"])
.map({True: "Y", False: "N"})
)
(
df["NUM_AVAILABLE_SIGNATORY_LINE_COUNT"].le(
df["NUM_SIGNED_SIGNATORY_LINE_COUNT"]
)
)
& (df["NUM_SIGNED_SIGNATORY_LINE_COUNT"].ge(1))
).map({True: "Y", False: "N"})
return df