From cbf62ec8b9aaa2be5908c221c3bc5d85ffb0b38b Mon Sep 17 00:00:00 2001
From: paradox20029 <93834245+paradox20029@users.noreply.github.com>
Date: Sat, 11 May 2024 14:09:14 +1000
Subject: [PATCH 1/4] Add files via upload
Signed-off-by: paradox20029 <93834245+paradox20029@users.noreply.github.com>
---
neo_dolfin/templates/confirmpw.html | 39 +++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 neo_dolfin/templates/confirmpw.html
diff --git a/neo_dolfin/templates/confirmpw.html b/neo_dolfin/templates/confirmpw.html
new file mode 100644
index 00000000..02f55638
--- /dev/null
+++ b/neo_dolfin/templates/confirmpw.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
Reset Your Password
+
+
+
+
+
+
+
+
\ No newline at end of file
From 4ae1c06aa9cdf3569fcb853f1aa999f96979be43 Mon Sep 17 00:00:00 2001
From: paradox20029 <93834245+paradox20029@users.noreply.github.com>
Date: Sat, 11 May 2024 14:49:35 +1000
Subject: [PATCH 2/4] Add files via upload
Signed-off-by: paradox20029 <93834245+paradox20029@users.noreply.github.com>
---
neo_dolfin/ai/generated_data/loan.py | 32 +++++++++++++++++++++++++
neo_dolfin/ai/generated_data/loan.xlsx | Bin 0 -> 113505 bytes
2 files changed, 32 insertions(+)
create mode 100644 neo_dolfin/ai/generated_data/loan.py
create mode 100644 neo_dolfin/ai/generated_data/loan.xlsx
diff --git a/neo_dolfin/ai/generated_data/loan.py b/neo_dolfin/ai/generated_data/loan.py
new file mode 100644
index 00000000..c949d364
--- /dev/null
+++ b/neo_dolfin/ai/generated_data/loan.py
@@ -0,0 +1,32 @@
+import pandas as pd
+import numpy as np
+import random
+from datetime import datetime, timedelta
+
+# Define variables
+start_date = datetime(2020, 1, 1)
+end_date = datetime(2021, 12, 31)
+account_number = 'ACC123456789' # Sample account number
+
+# Generate mock data for the Transaction table for a single user
+transaction_data = pd.DataFrame({
+ 'Transaction ID': ['TRX' + ''.join(random.choices('0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', k=8)) for _ in range(1000)],
+ 'Account number': [account_number for _ in range(1000)],
+ 'Transaction date': [start_date + timedelta(days=random.randint(1, 730)) for _ in range(1000)],
+ 'Transaction time': [datetime.strptime(f"{random.randint(0,23):02d}:{random.randint(0,59):02d}", "%H:%M").time() for _ in range(1000)],
+ 'Transaction amount': [random.uniform(-1000, 1000) for _ in range(1000)],
+ 'Credit or debit indicator': [random.choice(['Credit', 'Debit']) for _ in range(1000)],
+ 'Statement description': ['Transaction ' + str(i) for i in range(1000)],
+ 'High level transaction purpose': [random.choice(['Shopping', 'Dining', 'Utilities', 'Transportation']) for _ in range(1000)],
+ 'Mid level transaction purpose': [random.choice(['Online Shopping', 'Restaurant', 'Electricity', 'Gas']) for _ in range(1000)],
+ 'Low level transaction purpose': [random.choice(['Amazon', 'McDonalds', 'Electricity bill', 'Gas bill']) for _ in range(1000)],
+ 'Transaction code': [random.randint(1000, 9999) for _ in range(1000)],
+ 'Merchant ID': [random.randint(100000, 999999) for _ in range(1000)],
+ 'Previous repayment date': [start_date - timedelta(days=random.randint(1, 30)) for _ in range(1000)]
+})
+
+# Update the product type to include random products
+transaction_data['Product type'] = [random.choice(['appliances', 'clothing', 'electronics', 'groceries', 'furniture']) for _ in range(1000)]
+
+# Save data to Excel sheet
+transaction_data.to_excel('loan.xlsx', index=False)
diff --git a/neo_dolfin/ai/generated_data/loan.xlsx b/neo_dolfin/ai/generated_data/loan.xlsx
new file mode 100644
index 0000000000000000000000000000000000000000..5bba5fd5dad2927315112d73277c3477be9be736
GIT binary patch
literal 113505
zcmeEu1ydYR*Cq)Tf_rdxcXxMp3+@n{K?4N0!Gjar-8BRoJh=Pd76u)3dB3f#+O6Gx
z@NHLh*RASv<(zw-=iKhwr`45U;c#FOU_QaXz)-+gT;$rBet>}i!ok2`!+iQ^B<1Sj
zY3<@^rVaRJ?P0>|>+D2c2=|e`0OsSn{Qp1x8(W|{bzF6T9Yf|`{#gplqPX5D{)y*2
zbOei0L-hAx%5bHnQJ%g1TVC`NhU70?2fhZZ>2-h3t4X^?7w6W{sNpV6l-Ll^Zyi%2
zKDMEeGnzhpf@F6?gUbROB5@7^GqZS`Y?z;JZ3CLz(mN80)r5Aqc%t9;a#u%mF}H?0
zP$~_}1wd>4+p4;onEYcEa~OLw*z*qd4F0Cqdn^iYv6TMnc;2QZ>J<7~3>KOl?vEKt
zy&m-KTnk?