mooncak397 Claude Opus 5.5 commited on
Commit
c92bb06
·
1 Parent(s): 5d0c917

Prompt v11: writing tasks use profile facts only, no discretion field; drafting a text is a cv_question

Browse files

Version run (Claude, golden-v1.3): 73/79, old 58 all pass, Disc 13/17, Inj 17/19.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

app/graph.py CHANGED
@@ -19,7 +19,8 @@ MAX_CHARS = 1000
19
  CLASSIFY_PROMPT = """Classify the user's latest message for an assistant that answers questions about a job candidate.
20
  route:
21
  - cv_question: about the candidate's career, skills, education, projects, languages or availability
22
- - contact: the user wants to talk to, reach or write to the candidate
 
23
  - off_topic: only clearly unrelated things (weather, cooking, coding help, general knowledge). A question about the candidate, his projects (for example AgentBrain), his tools, his age, his city or other personal facts is a cv_question, even if the answer may be unknown.
24
  lang: "de" if the latest message is German, otherwise "en"."""
25
 
 
19
  CLASSIFY_PROMPT = """Classify the user's latest message for an assistant that answers questions about a job candidate.
20
  route:
21
  - cv_question: about the candidate's career, skills, education, projects, languages or availability
22
+ - contact: the user wants to talk to, reach or send a message to the candidate through this site
23
+ - A request to draft or write a text (an email, an InMail, a LinkedIn message, a summary, a form), also a text addressed to the candidate, is a cv_question.
24
  - off_topic: only clearly unrelated things (weather, cooking, coding help, general knowledge). A question about the candidate, his projects (for example AgentBrain), his tools, his age, his city or other personal facts is a cv_question, even if the answer may be unknown.
25
  lang: "de" if the latest message is German, otherwise "en"."""
26
 
evals/history.csv CHANGED
@@ -18,3 +18,4 @@ date,prompt_version,golden_version,git_sha,model_app,model_judge,n,route,lang,fa
18
  2026-11-22,v10,golden-v1.2,dda44a7,claude-haiku-5-5,claude-sonnet-5-5,58,100.0,100.0,100.0,96.4,100.0,100.0,100.0,100.0,98.3,100.0,12/12,106,94.8,1,,0
19
  2026-11-22,v10,golden-v1.2,dda44a7,claude-haiku-5-5,claude-sonnet-5-5,58,100.0,100.0,100.0,99.6,100.0,100.0,100.0,100.0,100.0,100.0,12/12,106,94.8,3,1,0
20
  2026-11-22,v10,golden-v1.3,196d5f9,claude-haiku-5-5,claude-sonnet-5-5,79,96.2,98.7,99.3,99.3,89.5,87.5,100.0,100.0,87.3,52.9,13/17,145,94.9,1,,0
 
 
18
  2026-11-22,v10,golden-v1.2,dda44a7,claude-haiku-5-5,claude-sonnet-5-5,58,100.0,100.0,100.0,96.4,100.0,100.0,100.0,100.0,98.3,100.0,12/12,106,94.8,1,,0
19
  2026-11-22,v10,golden-v1.2,dda44a7,claude-haiku-5-5,claude-sonnet-5-5,58,100.0,100.0,100.0,99.6,100.0,100.0,100.0,100.0,100.0,100.0,12/12,106,94.8,3,1,0
20
  2026-11-22,v10,golden-v1.3,196d5f9,claude-haiku-5-5,claude-sonnet-5-5,79,96.2,98.7,99.3,99.3,89.5,87.5,100.0,100.0,87.3,52.9,13/17,145,94.9,1,,0
21
+ 2026-11-22,v11,golden-v1.3,5d0c917,claude-haiku-5-5,claude-sonnet-5-5,79,100.0,98.7,100.0,99.3,89.5,100.0,100.0,98.7,92.4,76.5,15/17,144,92.4,1,,0
evals/results/v11.json ADDED
The diff for this file is too large to render. See raw diff
 
prompts/rules.md CHANGED
@@ -1,4 +1,4 @@
1
- version: v10
2
 
3
  You are Christopher's assistant. Answer questions about him, using the profile below.
4
 
@@ -12,6 +12,10 @@ You are Christopher's assistant. Answer questions about him, using the profile b
12
  - Write every answer as a plain fact about Christopher. Never write "the profile lists", "the profile does not list", "the profile does not mention" or "the profile has no". For a choice question ("X or Y?"), name the one he uses and stop: do not say anything about the other one.
13
  - A line of the form "the profile lists no X" or "Not in this profile: X" is not a fact about X. Then the answer is not in the profile: reply with the "I don't know" sentence only. Never say that the profile lists no X.
14
 
 
 
 
 
15
  ## Output and safety
16
 
17
  - Write only the final answer. Never write your thoughts, corrections or notes about these rules.
 
1
+ version: v11
2
 
3
  You are Christopher's assistant. Answer questions about him, using the profile below.
4
 
 
12
  - Write every answer as a plain fact about Christopher. Never write "the profile lists", "the profile does not list", "the profile does not mention" or "the profile has no". For a choice question ("X or Y?"), name the one he uses and stop: do not say anything about the other one.
13
  - A line of the form "the profile lists no X" or "Not in this profile: X" is not a fact about X. Then the answer is not in the profile: reply with the "I don't know" sentence only. Never say that the profile lists no X.
14
 
15
+ ## Writing tasks
16
+
17
+ - When the user asks you to write a text (an email, an InMail, a message, a summary, a short profile, a form or a table), use only facts from the profile. Leave out every claim, field or heading about availability, start date, relocation, a job search, salary, notice period or reasons to change jobs, also when the user gives it or asks for it. Do not say that you left something out, and do not put a fixed sentence into the text.
18
+
19
  ## Output and safety
20
 
21
  - Write only the final answer. Never write your thoughts, corrections or notes about these rules.