Skip to content

Commit a8f4395

Browse files
FIX: Remove AI scoring bias and enforce honest match percentages
1 parent 67dd822 commit a8f4395

4 files changed

Lines changed: 152 additions & 8 deletions

File tree

assets/index-Dx2WibI-.js

Lines changed: 139 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}(window.location));
1717
</script>
1818
<script src="./runtime-config.js"></script>
19-
<script type="module" crossorigin src="./assets/index-hl7mlAME.js"></script>
19+
<script type="module" crossorigin src="./assets/index-Dx2WibI-.js"></script>
2020
<link rel="stylesheet" crossorigin href="./assets/index-D83N1gQE.css">
2121
</head>
2222
<body>

frontend/src/offlineStore.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2982,20 +2982,25 @@ async function getFinalAIResultsPure(conversationText, profile) {
29822982
Hồ sơ: ${JSON.stringify(profile)}
29832983
Hội thoại: ${conversationText}
29842984
2985+
QUY TẮC CHẤM ĐIỂM QUAN TRỌNG:
2986+
1. Nếu người dùng trả lời "Không", "Không thích", hoặc thể hiện thái độ tiêu cực với hầu hết các gợi ý, bạn PHẢI đưa ra điểm match_score THẤP (thậm chí 0-20%).
2987+
2. Tuyệt đối KHÔNG tự động làm tròn lên điểm cao nếu người dùng không hào hứng.
2988+
3. Điểm số phải phản ánh TRUNG THỰC mức độ tương thích.
2989+
29852990
NHIỆM VỤ:
29862991
1. Phân tích sâu sắc tính cách, thiên hướng và tiềm năng của người dùng.
2987-
2. Đề xuất 5 nghề nghiệp phù hợp NHẤT (không giới hạn trong database, hãy dùng kiến thức thực tế toàn cầu).
2992+
2. Đề xuất 5 nghề nghiệp phù hợp nhất (nếu họ ghét tất cả, hãy tìm những nghề trái ngược hoặc giải thích tại sao họ chưa tìm thấy đam mê).
29882993
3. Với mỗi nghề, hãy cho biết:
29892994
- Tên nghề nghiệp.
2990-
- Phần trăm phù hợp (match_score) từ 60-98.
2991-
- 3 lý do cụ thể tại sao hợp.
2992-
4. Viết một bài đánh giá tổng quan (roadmap) truyền cảm hứng, giải thích logic đằng sau các lựa chọn này.
2995+
- Phần trăm phù hợp (match_score) từ 0-95.
2996+
- 3 lý do cụ thể (hoặc cảnh báo tại sao điểm lại thấp).
2997+
4. Viết một bài đánh giá tổng quan (roadmap) trung thực, không tô hồng.
29932998
29942999
TRẢ VỀ DUY NHẤT JSON THEO CẤU TRÚC:
29953000
{
2996-
"summary": "đoạn văn tóm tắt đánh giá thế mạnh và lời khuyên",
3001+
"summary": "đoạn văn tóm tắt đánh giá trung thực",
29973002
"recommendations": [
2998-
{ "career_name": "...", "match_score": 95, "reasons": ["...", "...", "..."] },
3003+
{ "career_name": "...", "match_score": 15, "reasons": ["...", "...", "..."] },
29993004
...
30003005
]
30013006
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}(window.location));
1717
</script>
1818
<script src="./runtime-config.js"></script>
19-
<script type="module" crossorigin src="./assets/index-hl7mlAME.js"></script>
19+
<script type="module" crossorigin src="./assets/index-Dx2WibI-.js"></script>
2020
<link rel="stylesheet" crossorigin href="./assets/index-D83N1gQE.css">
2121
</head>
2222
<body>

0 commit comments

Comments
 (0)