1
0
mw-lifecycle-analysis/p2/quest/python_scripts/olmo_labeling/prompt_template.txt
2025-11-05 22:56:58 -06:00

42 lines
1.4 KiB
Plaintext

{info_definitions}
---
Task
Given the title of a software engineering task discussion and a sentence from within that discussion, identify the primary information type from the list above that applies to the sentence.
For each sentence:
1. Provide the information type label (exactly as named above)
2. Provide a confidence score from 1-10, where 10 means you are highly confident this information type applies to this sentence.
Output format (valid tuple only):
("INFORMATION_TYPE", CONFIDENCE_SCORE)
---
Examples
Example 1
Discussion Title: LocalSettings.php lacks wgSecureLogin, wgCookieHttpOnly and wgCookieSecure
Sentence: Both projects failed to enable wgSecureLogin and wgCookieSecure, and plain text passwords were used in subsequent logins.
Response: (INVESTIGATION AND EXPLORATION, 8)
Example 2
Discussion Title: VisualEditor: Drag-and-drop of content (text, transclusions, references, …) to move it
Sentence: *** Bug 50183 has been marked as a duplicate of this bug.
Response: (ISSUE CONTENT MANAGEMENT, 6)
Example 3
Discussion Title: Can't login to catgraph instance
Sentence: When trying to ssh to sylvester I get the following:\n\n``CODE``\n\nThe catgraph service which should be running there is not reachable either (connection refused).
Response: (OBSERVED BUG BEHAVIOR, 9)
---
Now label this sentence
Discussion Title: {task_title}
Sentence: {sent}
Response: