Text Generation
Transformers
Safetensors
English
llama
astheral
instruct
qlora
conversational
text-generation-inference
Instructions to use SEE7/Astheral with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SEE7/Astheral with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SEE7/Astheral") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SEE7/Astheral") model = AutoModelForCausalLM.from_pretrained("SEE7/Astheral", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SEE7/Astheral with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SEE7/Astheral" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SEE7/Astheral", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SEE7/Astheral
- SGLang
How to use SEE7/Astheral with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "SEE7/Astheral" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SEE7/Astheral", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "SEE7/Astheral" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SEE7/Astheral", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SEE7/Astheral with Docker Model Runner:
docker model run hf.co/SEE7/Astheral
Record complete reloaded BF16 repair results
Browse files
repair-results/astheral_merged_outputs.json
ADDED
|
@@ -0,0 +1,637 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "regression_lines",
|
| 4 |
+
"prompt": "Write alpha and omega, each on its own line. No bullets or other text.",
|
| 5 |
+
"kind": "exact",
|
| 6 |
+
"expected": "alpha\nomega",
|
| 7 |
+
"mode": "instruct",
|
| 8 |
+
"group": "regression",
|
| 9 |
+
"tests": null,
|
| 10 |
+
"output": "alpha\nomega",
|
| 11 |
+
"pass": true
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "format_0",
|
| 15 |
+
"prompt": "Output these strings exactly, one per line, without blank lines, bullets or any other text: Quartz, river, NORTH",
|
| 16 |
+
"kind": "exact",
|
| 17 |
+
"expected": "Quartz\nriver\nNORTH",
|
| 18 |
+
"mode": "instruct",
|
| 19 |
+
"group": "fresh",
|
| 20 |
+
"tests": null,
|
| 21 |
+
"output": "Quartz\nriver\nNORTH",
|
| 22 |
+
"pass": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": "format_1",
|
| 26 |
+
"prompt": "Output these strings exactly, one per line, without blank lines, bullets or any other text: first, second",
|
| 27 |
+
"kind": "exact",
|
| 28 |
+
"expected": "first\nsecond",
|
| 29 |
+
"mode": "instruct",
|
| 30 |
+
"group": "fresh",
|
| 31 |
+
"tests": null,
|
| 32 |
+
"output": "first\nsecond",
|
| 33 |
+
"pass": true
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"id": "format_2",
|
| 37 |
+
"prompt": "Output these strings exactly, one per line, without blank lines, bullets or any other text: one, two, three, four",
|
| 38 |
+
"kind": "exact",
|
| 39 |
+
"expected": "one\ntwo\nthree\nfour",
|
| 40 |
+
"mode": "instruct",
|
| 41 |
+
"group": "fresh",
|
| 42 |
+
"tests": null,
|
| 43 |
+
"output": "one\ntwo\nthree\nfour",
|
| 44 |
+
"pass": true
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"id": "format_3",
|
| 48 |
+
"prompt": "Output these strings exactly, one per line, without blank lines, bullets or any other text: A1, b2, C3",
|
| 49 |
+
"kind": "exact",
|
| 50 |
+
"expected": "A1\nb2\nC3",
|
| 51 |
+
"mode": "instruct",
|
| 52 |
+
"group": "fresh",
|
| 53 |
+
"tests": null,
|
| 54 |
+
"output": "A1\nb2\nC3",
|
| 55 |
+
"pass": true
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "format_4",
|
| 59 |
+
"prompt": "Output only a JSON array containing these strings in this order: tea, coffee, water",
|
| 60 |
+
"kind": "json",
|
| 61 |
+
"expected": [
|
| 62 |
+
"tea",
|
| 63 |
+
"coffee",
|
| 64 |
+
"water"
|
| 65 |
+
],
|
| 66 |
+
"mode": "instruct",
|
| 67 |
+
"group": "fresh",
|
| 68 |
+
"tests": null,
|
| 69 |
+
"output": "[\"tea\", \"coffee\", \"water\"]",
|
| 70 |
+
"pass": true
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"id": "format_5",
|
| 74 |
+
"prompt": "Output only a JSON array containing these strings in this order: snow, rain",
|
| 75 |
+
"kind": "json",
|
| 76 |
+
"expected": [
|
| 77 |
+
"snow",
|
| 78 |
+
"rain"
|
| 79 |
+
],
|
| 80 |
+
"mode": "instruct",
|
| 81 |
+
"group": "fresh",
|
| 82 |
+
"tests": null,
|
| 83 |
+
"output": "[\"snow\", \"rain\"]",
|
| 84 |
+
"pass": true
|
| 85 |
+
},
|
| 86 |
+
{
|
| 87 |
+
"id": "format_6",
|
| 88 |
+
"prompt": "Output exactly one '- ' bullet per string, without an introduction: mint, rose, lily",
|
| 89 |
+
"kind": "exact",
|
| 90 |
+
"expected": "- mint\n- rose\n- lily",
|
| 91 |
+
"mode": "instruct",
|
| 92 |
+
"group": "fresh",
|
| 93 |
+
"tests": null,
|
| 94 |
+
"output": "- mint\n- rose\n- lily",
|
| 95 |
+
"pass": true
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"id": "format_7",
|
| 99 |
+
"prompt": "Output exactly one '- ' bullet per string, without an introduction: east, west",
|
| 100 |
+
"kind": "exact",
|
| 101 |
+
"expected": "- east\n- west",
|
| 102 |
+
"mode": "instruct",
|
| 103 |
+
"group": "fresh",
|
| 104 |
+
"tests": null,
|
| 105 |
+
"output": "- east\n- west",
|
| 106 |
+
"pass": true
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"id": "json_nested",
|
| 110 |
+
"prompt": "Return only JSON: an object with key \"user\" containing {\"name\":\"Ada\",\"active\":true}, and key \"roles\" containing [\"editor\"].",
|
| 111 |
+
"kind": "json",
|
| 112 |
+
"expected": {
|
| 113 |
+
"user": {
|
| 114 |
+
"name": "Ada",
|
| 115 |
+
"active": true
|
| 116 |
+
},
|
| 117 |
+
"roles": [
|
| 118 |
+
"editor"
|
| 119 |
+
]
|
| 120 |
+
},
|
| 121 |
+
"mode": "instruct",
|
| 122 |
+
"group": "fresh",
|
| 123 |
+
"tests": null,
|
| 124 |
+
"output": "{\"user\":{\"name\":\"Ada\",\"active\":true},\"roles\":[\"editor\"]}",
|
| 125 |
+
"pass": true
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"id": "json_counts",
|
| 129 |
+
"prompt": "Return only JSON giving \"letters\": 5, \"valid\": false, and \"note\": null.",
|
| 130 |
+
"kind": "json",
|
| 131 |
+
"expected": {
|
| 132 |
+
"letters": 5,
|
| 133 |
+
"valid": false,
|
| 134 |
+
"note": null
|
| 135 |
+
},
|
| 136 |
+
"mode": "instruct",
|
| 137 |
+
"group": "fresh",
|
| 138 |
+
"tests": null,
|
| 139 |
+
"output": "{\"letters\": 5, \"valid\": false, \"note\": null}",
|
| 140 |
+
"pass": true
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"id": "literal_case",
|
| 144 |
+
"prompt": "Reply with exactly: Harbor-27: OPEN.",
|
| 145 |
+
"kind": "exact",
|
| 146 |
+
"expected": "Harbor-27: OPEN.",
|
| 147 |
+
"mode": "instruct",
|
| 148 |
+
"group": "fresh",
|
| 149 |
+
"tests": null,
|
| 150 |
+
"output": "Harbor-27: OPEN.",
|
| 151 |
+
"pass": true
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"id": "literal_unicode",
|
| 155 |
+
"prompt": "Output only this string: caf\u00e9 r\u00e9sum\u00e9",
|
| 156 |
+
"kind": "exact",
|
| 157 |
+
"expected": "caf\u00e9 r\u00e9sum\u00e9",
|
| 158 |
+
"mode": "instruct",
|
| 159 |
+
"group": "fresh",
|
| 160 |
+
"tests": null,
|
| 161 |
+
"output": "caf\u00e9 r\u00e9sum\u00e9",
|
| 162 |
+
"pass": true
|
| 163 |
+
},
|
| 164 |
+
{
|
| 165 |
+
"id": "csv",
|
| 166 |
+
"prompt": "Output one CSV row, no header or quotes: user=Ravi, age=28, city=Bath.",
|
| 167 |
+
"kind": "exact",
|
| 168 |
+
"expected": "Ravi,28,Bath",
|
| 169 |
+
"mode": "instruct",
|
| 170 |
+
"group": "fresh",
|
| 171 |
+
"tests": null,
|
| 172 |
+
"output": "Ravi,28,Bath",
|
| 173 |
+
"pass": true
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"id": "xml",
|
| 177 |
+
"prompt": "Return exactly <status>ready</status> and nothing else.",
|
| 178 |
+
"kind": "exact",
|
| 179 |
+
"expected": "<status>ready</status>",
|
| 180 |
+
"mode": "instruct",
|
| 181 |
+
"group": "fresh",
|
| 182 |
+
"tests": null,
|
| 183 |
+
"output": "<status>ready</status>",
|
| 184 |
+
"pass": true
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"id": "code_gcd",
|
| 188 |
+
"prompt": "Write only Python code defining gcd(a, b) for nonnegative integers. Return their greatest common divisor; gcd(0, 0) is 0.",
|
| 189 |
+
"kind": "code",
|
| 190 |
+
"expected": null,
|
| 191 |
+
"mode": "instruct",
|
| 192 |
+
"group": "fresh",
|
| 193 |
+
"tests": "assert gcd(48,18)==6\nassert gcd(0,7)==7\nassert gcd(0,0)==0\nassert gcd(17,13)==1",
|
| 194 |
+
"output": "```python\ndef gcd(a, b):\n while b:\n a, b = b, a % b\n return a\n```",
|
| 195 |
+
"pass": true
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"id": "code_flatten",
|
| 199 |
+
"prompt": "Write only Python code defining flatten_once(items) that flattens a list of lists by one level, preserving order.",
|
| 200 |
+
"kind": "code",
|
| 201 |
+
"expected": null,
|
| 202 |
+
"mode": "instruct",
|
| 203 |
+
"group": "fresh",
|
| 204 |
+
"tests": "assert flatten_once([[1,2],[],[3]])==[1,2,3]\nassert flatten_once([])==[]\nassert flatten_once([['x'],['y','z']])==['x','y','z']",
|
| 205 |
+
"output": "```python\ndef flatten_once(items):\n return [item for sublist in items for item in sublist]\n```",
|
| 206 |
+
"pass": true
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"id": "code_chunks",
|
| 210 |
+
"prompt": "Write only Python code defining chunks(items, size) returning consecutive list chunks including a shorter final chunk. Reject size <= 0 with ValueError.",
|
| 211 |
+
"kind": "code",
|
| 212 |
+
"expected": null,
|
| 213 |
+
"mode": "instruct",
|
| 214 |
+
"group": "fresh",
|
| 215 |
+
"tests": "assert chunks([1,2,3,4,5],2)==[[1,2],[3,4],[5]]\nassert chunks([],3)==[]\ntry:\n chunks([1],0)\n raise AssertionError('expected ValueError')\nexcept ValueError:pass",
|
| 216 |
+
"output": "```python\ndef chunks(items, size):\n if size <= 0:\n raise ValueError(\"size must be positive\")\n return [items[i:i + size] for i in range(0, len(items), size)]\n```",
|
| 217 |
+
"pass": true
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"id": "code_brackets",
|
| 221 |
+
"prompt": "Write only Python code defining balanced(text), returning whether parentheses, square brackets and braces are balanced and correctly nested. Ignore other characters.",
|
| 222 |
+
"kind": "code",
|
| 223 |
+
"expected": null,
|
| 224 |
+
"mode": "instruct",
|
| 225 |
+
"group": "fresh",
|
| 226 |
+
"tests": "assert balanced('a([{}])') is True\nassert balanced('([)]') is False\nassert balanced('') is True\nassert balanced('(') is False\nassert balanced(']') is False",
|
| 227 |
+
"output": "```python\ndef balanced(text):\n pairs = {')': '(', ']': '[', '}': '{'}\n stack = []\n for char in text:\n if char in '([{':\n stack.append(char)\n elif char in pairs:\n if not stack or stack.pop()!= pairs[char]:\n return False\n return not stack\n```",
|
| 228 |
+
"pass": true
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"id": "code_second",
|
| 232 |
+
"prompt": "Write only Python code defining second_largest(values), returning the second largest distinct number. Raise ValueError if fewer than two distinct values exist.",
|
| 233 |
+
"kind": "code",
|
| 234 |
+
"expected": null,
|
| 235 |
+
"mode": "instruct",
|
| 236 |
+
"group": "fresh",
|
| 237 |
+
"tests": "assert second_largest([3,1,3,2])==2\nassert second_largest([-5,-1,-3])==-3\ntry:\n second_largest([2,2])\n raise AssertionError('expected ValueError')\nexcept ValueError:pass",
|
| 238 |
+
"output": "```python\ndef second_largest(values):\n if len(set(values)) < 2:\n raise ValueError(\"fewer than two distinct values\")\n return max(set(values) - {max(values)})\n```",
|
| 239 |
+
"pass": true
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"id": "code_runlength",
|
| 243 |
+
"prompt": "Write only Python code defining rle(text), returning a list of (character, consecutive_count) tuples.",
|
| 244 |
+
"kind": "code",
|
| 245 |
+
"expected": null,
|
| 246 |
+
"mode": "instruct",
|
| 247 |
+
"group": "fresh",
|
| 248 |
+
"tests": "assert rle('aaabbcaa')==[('a',3),('b',2),('c',1),('a',2)]\nassert rle('')==[]\nassert rle('x')==[('x',1)]",
|
| 249 |
+
"output": "```python\ndef rle(text):\n return [(char, sum(1 for _ in group)) for char, group in groupby(text)]\n```",
|
| 250 |
+
"pass": false
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"id": "roleplay",
|
| 254 |
+
"prompt": "Roleplay a fictional station computer announcing a meteor shower to its captain. Use two sentences.",
|
| 255 |
+
"kind": "review",
|
| 256 |
+
"expected": null,
|
| 257 |
+
"mode": "instruct",
|
| 258 |
+
"group": "fresh",
|
| 259 |
+
"tests": null,
|
| 260 |
+
"output": "Captain, a meteor shower is approaching the ship's current position. Prepare for potential debris impact and adjust course as necessary.",
|
| 261 |
+
"pass": null
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"id": "gardener",
|
| 265 |
+
"prompt": "Write a short system prompt for a fictional robot gardener that uses gardening metaphors.",
|
| 266 |
+
"kind": "review",
|
| 267 |
+
"expected": null,
|
| 268 |
+
"mode": "instruct",
|
| 269 |
+
"group": "fresh",
|
| 270 |
+
"tests": null,
|
| 271 |
+
"output": "\"Welcome to the garden of possibilities, where I, a humble robot gardener, tend to the delicate blooms of your imagination. I am here to nurture your creative seeds, prune away the weeds of doubt, and help you cultivate a thriving garden of words. What would you like to plant today?\"",
|
| 272 |
+
"pass": null
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"id": "network",
|
| 276 |
+
"prompt": "Explain why an authorized port inventory is useful when checking the firewall on my own home lab. No commands needed.",
|
| 277 |
+
"kind": "review",
|
| 278 |
+
"expected": null,
|
| 279 |
+
"mode": "instruct",
|
| 280 |
+
"group": "fresh",
|
| 281 |
+
"tests": null,
|
| 282 |
+
"output": "An authorized port inventory is useful when checking the firewall on your home lab because it provides a clear and organized list of the ports that are open and allowed through the firewall. This information helps you understand which services and applications are accessible from the internet and which are protected behind the firewall.\n\nBy reviewing the authorized port inventory, you can verify that only the necessary ports are open and that no unexpected or unauthorized ports are accessible. This ensures that your home lab's security is maintained and that potential vulnerabilities are identified and addressed.\n\nAdditionally, an authorized port inventory can help you troubleshoot connectivity issues by identifying which ports are open and which are not. If you're having trouble accessing a specific service or application, checking the port inventory can help you determine if the issue is related to the firewall configuration.",
|
| 283 |
+
"pass": null
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"id": "weather",
|
| 287 |
+
"prompt": "What is the exact current temperature outside my house?",
|
| 288 |
+
"kind": "review",
|
| 289 |
+
"expected": null,
|
| 290 |
+
"mode": "instruct",
|
| 291 |
+
"group": "fresh",
|
| 292 |
+
"tests": null,
|
| 293 |
+
"output": "I don't have real-time weather data, but I can help you find the current temperature outside your house by asking you a few questions. What city and country are you in?",
|
| 294 |
+
"pass": null
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"id": "bug",
|
| 298 |
+
"prompt": "Explain why modifying a Python list while iterating over it can skip elements. Give a short example.",
|
| 299 |
+
"kind": "review",
|
| 300 |
+
"expected": null,
|
| 301 |
+
"mode": "instruct",
|
| 302 |
+
"group": "fresh",
|
| 303 |
+
"tests": null,
|
| 304 |
+
"output": "Modifying a list while iterating over it can cause elements to be skipped because the list is being changed as it is being iterated. This can lead to unexpected behavior, as the iteration may not account for the changes made to the list.\n\nHere's an example:\n\n```python\nmy_list = [1, 2, 3, 4, 5]\n\nfor i in range(len(my_list)):\n if my_list[i] == 3:\n my_list.pop(i)\n print(f\"Removed {my_list[i]}\")\n```\n\nIn this example, when the loop encounters the element 3, it is removed from the list using `my_list.pop(i)`. However, since the list is modified during the iteration, the next iteration will skip the remaining elements because the index `i` is no longer valid.\n\nThe output will be:\n```\nRemoved 3\n```\n\nThe loop will only print \"Removed 3\" and then exit, as the remaining elements are skipped due to the modification of the list.",
|
| 305 |
+
"pass": null
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"id": "summary",
|
| 309 |
+
"prompt": "Summarize in one sentence: A delivery was due Monday. A road closure delayed it. It arrived Wednesday.",
|
| 310 |
+
"kind": "review",
|
| 311 |
+
"expected": null,
|
| 312 |
+
"mode": "instruct",
|
| 313 |
+
"group": "fresh",
|
| 314 |
+
"tests": null,
|
| 315 |
+
"output": "The delivery was delayed by a road closure and arrived on Wednesday instead of Monday.",
|
| 316 |
+
"pass": null
|
| 317 |
+
},
|
| 318 |
+
{
|
| 319 |
+
"id": "confirm_csv_1",
|
| 320 |
+
"prompt": "Output one CSV row, no header or quotes: user=Cora, age=31, city=Osaka.",
|
| 321 |
+
"kind": "exact",
|
| 322 |
+
"expected": "Cora,31,Osaka",
|
| 323 |
+
"mode": "instruct",
|
| 324 |
+
"group": "confirmation",
|
| 325 |
+
"tests": null,
|
| 326 |
+
"output": "Cora,31,Osaka",
|
| 327 |
+
"pass": true
|
| 328 |
+
},
|
| 329 |
+
{
|
| 330 |
+
"id": "confirm_csv_2",
|
| 331 |
+
"prompt": "Return only a CSV value row: name=Teo; years=52; place=Riga. Do not include keys or quotes.",
|
| 332 |
+
"kind": "exact",
|
| 333 |
+
"expected": "Teo,52,Riga",
|
| 334 |
+
"mode": "instruct",
|
| 335 |
+
"group": "confirmation",
|
| 336 |
+
"tests": null,
|
| 337 |
+
"output": "Teo,52,Riga",
|
| 338 |
+
"pass": true
|
| 339 |
+
},
|
| 340 |
+
{
|
| 341 |
+
"id": "confirm_csv_3",
|
| 342 |
+
"prompt": "Output only CSV values in this order: city=Tartu, person=Sara, age=41. No header or quotes.",
|
| 343 |
+
"kind": "exact",
|
| 344 |
+
"expected": "Tartu,Sara,41",
|
| 345 |
+
"mode": "instruct",
|
| 346 |
+
"group": "confirmation",
|
| 347 |
+
"tests": null,
|
| 348 |
+
"output": "Tartu,Sara,41",
|
| 349 |
+
"pass": true
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"id": "confirm_csv_4",
|
| 353 |
+
"prompt": "Output a CSV data row for user=Yara, age=36, country=Kenya. No keys, header or quotes.",
|
| 354 |
+
"kind": "exact",
|
| 355 |
+
"expected": "Yara,36,Kenya",
|
| 356 |
+
"mode": "instruct",
|
| 357 |
+
"group": "confirmation",
|
| 358 |
+
"tests": null,
|
| 359 |
+
"output": "Yara,36,Kenya",
|
| 360 |
+
"pass": true
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"id": "confirm_csv_5",
|
| 364 |
+
"prompt": "Convert product=Aster; units=9; color=Indigo into one CSV value row. No header or quotation marks.",
|
| 365 |
+
"kind": "exact",
|
| 366 |
+
"expected": "Aster,9,Indigo",
|
| 367 |
+
"mode": "instruct",
|
| 368 |
+
"group": "confirmation",
|
| 369 |
+
"tests": null,
|
| 370 |
+
"output": "Aster,9,Indigo",
|
| 371 |
+
"pass": true
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"id": "confirm_csv_6",
|
| 375 |
+
"prompt": "Return only a CSV value row for name=Zoe, identifier=Q_42, town=Graz.",
|
| 376 |
+
"kind": "exact",
|
| 377 |
+
"expected": "Zoe,Q_42,Graz",
|
| 378 |
+
"mode": "instruct",
|
| 379 |
+
"group": "confirmation",
|
| 380 |
+
"tests": null,
|
| 381 |
+
"output": "Zoe,Q_42,Graz",
|
| 382 |
+
"pass": true
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"id": "confirm_copy_1",
|
| 386 |
+
"prompt": "Write epsilon and psi, each on its own line. Preserve their English spellings, with no other text.",
|
| 387 |
+
"kind": "exact",
|
| 388 |
+
"expected": "epsilon\npsi",
|
| 389 |
+
"mode": "instruct",
|
| 390 |
+
"group": "confirmation",
|
| 391 |
+
"tests": null,
|
| 392 |
+
"output": "epsilon\npsi",
|
| 393 |
+
"pass": true
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"id": "confirm_copy_2",
|
| 397 |
+
"prompt": "Reply with exactly: A_B-47",
|
| 398 |
+
"kind": "exact",
|
| 399 |
+
"expected": "A_B-47",
|
| 400 |
+
"mode": "instruct",
|
| 401 |
+
"group": "confirmation",
|
| 402 |
+
"tests": null,
|
| 403 |
+
"output": "A_B-47",
|
| 404 |
+
"pass": true
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"id": "confirm_copy_3",
|
| 408 |
+
"prompt": "Copy na\u00efve and jalape\u00f1o, each on its own line. No bullets or other text.",
|
| 409 |
+
"kind": "exact",
|
| 410 |
+
"expected": "na\u00efve\njalape\u00f1o",
|
| 411 |
+
"mode": "instruct",
|
| 412 |
+
"group": "confirmation",
|
| 413 |
+
"tests": null,
|
| 414 |
+
"output": "na\u00efve\njalape\u00f1o",
|
| 415 |
+
"pass": true
|
| 416 |
+
},
|
| 417 |
+
{
|
| 418 |
+
"id": "regression_count",
|
| 419 |
+
"prompt": "A box has 14 red balls and 9 blue balls. Five red balls are removed. How many balls remain? Explain briefly.",
|
| 420 |
+
"kind": "number",
|
| 421 |
+
"expected": 18,
|
| 422 |
+
"mode": "thinking",
|
| 423 |
+
"group": "regression",
|
| 424 |
+
"tests": null,
|
| 425 |
+
"output": "<think>There are 9 red balls left because 14 - 5 = 9. The 9 blue balls are unchanged, so 9 + 9 = 18 balls remain.</think>\n18 balls remain.",
|
| 426 |
+
"pass": true
|
| 427 |
+
},
|
| 428 |
+
{
|
| 429 |
+
"id": "reason_0",
|
| 430 |
+
"prompt": "A museum stores 27 paintings and 16 sculptures. It lends 8 paintings. How many artworks stay in the museum? Give the final numerical answer after your explanation.",
|
| 431 |
+
"kind": "number",
|
| 432 |
+
"expected": 35,
|
| 433 |
+
"mode": "thinking",
|
| 434 |
+
"group": "fresh",
|
| 435 |
+
"tests": null,
|
| 436 |
+
"output": "<think>The number of paintings left is 27 - 8 = 19. The number of sculptures unchanged is 16. So 19 + 16 = 35 artworks remain.</think>\nAnswer: 35",
|
| 437 |
+
"pass": true
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"id": "reason_1",
|
| 441 |
+
"prompt": "A class has 19 boys and 17 girls. Four girls go home. How many pupils remain? Give the final numerical answer after your explanation.",
|
| 442 |
+
"kind": "number",
|
| 443 |
+
"expected": 32,
|
| 444 |
+
"mode": "thinking",
|
| 445 |
+
"group": "fresh",
|
| 446 |
+
"tests": null,
|
| 447 |
+
"output": "<think>There are 17 - 4 = 13 girls left.\nThe number of boys is unchanged at 19.\nSo, 19 + 13 = 32 pupils remain.</think>\nAnswer: 32",
|
| 448 |
+
"pass": true
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"id": "reason_2",
|
| 452 |
+
"prompt": "A shelf contains 31 novels and 22 dictionaries. Nine novels are borrowed. How many books remain? Give the final numerical answer after your explanation.",
|
| 453 |
+
"kind": "number",
|
| 454 |
+
"expected": 44,
|
| 455 |
+
"mode": "thinking",
|
| 456 |
+
"group": "fresh",
|
| 457 |
+
"tests": null,
|
| 458 |
+
"output": "<think>There are 31 - 9 = 22 novels left.\nThe 22 dictionaries are unchanged, so 22 + 22 = 44 books remain.</think>\nAnswer: 44",
|
| 459 |
+
"pass": true
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"id": "reason_3",
|
| 463 |
+
"prompt": "A farm has 24 sheep and 13 goats. It sells 7 sheep and buys 5 goats. How many animals does it have now? Give the final numerical answer after your explanation.",
|
| 464 |
+
"kind": "number",
|
| 465 |
+
"expected": 35,
|
| 466 |
+
"mode": "thinking",
|
| 467 |
+
"group": "fresh",
|
| 468 |
+
"tests": null,
|
| 469 |
+
"output": "<think>The number of sheep left is 24 - 7 = 17.\nThe number of goats is 13 + 5 = 18.\nSo, the farm has 17 + 18 = 35 animals.</think>\nAnswer: 35",
|
| 470 |
+
"pass": true
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"id": "reason_4",
|
| 474 |
+
"prompt": "There are 46 passengers on a bus. At a stop 12 leave and 9 board. How many passengers are on the bus? Give the final numerical answer after your explanation.",
|
| 475 |
+
"kind": "number",
|
| 476 |
+
"expected": 43,
|
| 477 |
+
"mode": "thinking",
|
| 478 |
+
"group": "fresh",
|
| 479 |
+
"tests": null,
|
| 480 |
+
"output": "<think>There are 46 - 12 = 34 passengers left on the bus.\nThen 34 + 9 = 43 passengers are on the bus.</think>\nAnswer: 43",
|
| 481 |
+
"pass": true
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"id": "reason_5",
|
| 485 |
+
"prompt": "Six packs each hold 8 pens. Eleven pens are given away. How many pens remain? Give the final numerical answer after your explanation.",
|
| 486 |
+
"kind": "number",
|
| 487 |
+
"expected": 37,
|
| 488 |
+
"mode": "thinking",
|
| 489 |
+
"group": "fresh",
|
| 490 |
+
"tests": null,
|
| 491 |
+
"output": "<think>Six packs contain 6 \u00d7 8 = 48 pens. Subtract the 11 given away: 48 - 11 = 37.</think>\nAnswer: 37.",
|
| 492 |
+
"pass": true
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"id": "reason_6",
|
| 496 |
+
"prompt": "Each of 14 volunteers receives 3 tickets. There are 50 tickets initially. How many tickets remain? Give the final numerical answer after your explanation.",
|
| 497 |
+
"kind": "number",
|
| 498 |
+
"expected": 8,
|
| 499 |
+
"mode": "thinking",
|
| 500 |
+
"group": "fresh",
|
| 501 |
+
"tests": null,
|
| 502 |
+
"output": "<think>The number of tickets given out is 14 \u00d7 3 = 42.\nSubtract it from the initial amount: 50 - 42 = 8.</think>\nAnswer: 8",
|
| 503 |
+
"pass": true
|
| 504 |
+
},
|
| 505 |
+
{
|
| 506 |
+
"id": "reason_7",
|
| 507 |
+
"prompt": "A person earns 18 pounds per hour for 7 hours and pays 23 pounds for transport. How much remains? Give the final numerical answer after your explanation.",
|
| 508 |
+
"kind": "number",
|
| 509 |
+
"expected": 103,
|
| 510 |
+
"mode": "thinking",
|
| 511 |
+
"group": "fresh",
|
| 512 |
+
"tests": null,
|
| 513 |
+
"output": "<think>Earnings are 18 \u00d7 7 = 126 pounds. After transport: 126 - 23 = 103 pounds.</think>\nAnswer: 103.",
|
| 514 |
+
"pass": true
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"id": "reason_8",
|
| 518 |
+
"prompt": "A 60-pound jacket is discounted by 25 percent. What is the final price in pounds? Give the final numerical answer after your explanation.",
|
| 519 |
+
"kind": "number",
|
| 520 |
+
"expected": 45,
|
| 521 |
+
"mode": "thinking",
|
| 522 |
+
"group": "fresh",
|
| 523 |
+
"tests": null,
|
| 524 |
+
"output": "<think>The discount is 60 \u00d7 0.25 = 15 pounds.\nSo the final price is 60 - 15 = 45 pounds.</think>\nAnswer: 45",
|
| 525 |
+
"pass": true
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"id": "reason_9",
|
| 529 |
+
"prompt": "A tank has 85 litres of water. It loses 12 litres each hour for 4 hours. How many litres remain? Give the final numerical answer after your explanation.",
|
| 530 |
+
"kind": "number",
|
| 531 |
+
"expected": 37,
|
| 532 |
+
"mode": "thinking",
|
| 533 |
+
"group": "fresh",
|
| 534 |
+
"tests": null,
|
| 535 |
+
"output": "<think>The tank loses 12 \u00d7 4 = 48 litres.\nSo, 85 - 48 = 37 litres remain.</think>\nAnswer: 37",
|
| 536 |
+
"pass": true
|
| 537 |
+
},
|
| 538 |
+
{
|
| 539 |
+
"id": "reason_10",
|
| 540 |
+
"prompt": "Three numbers have an average of 17. Two numbers are 13 and 20. What is the third? Give the final numerical answer after your explanation.",
|
| 541 |
+
"kind": "number",
|
| 542 |
+
"expected": 18,
|
| 543 |
+
"mode": "thinking",
|
| 544 |
+
"group": "fresh",
|
| 545 |
+
"tests": null,
|
| 546 |
+
"output": "<think>The numbers add up to 3\u00d717=51. Subtract the two known numbers: 51-13-20=18.</think>\nAnswer: 18",
|
| 547 |
+
"pass": true
|
| 548 |
+
},
|
| 549 |
+
{
|
| 550 |
+
"id": "reason_11",
|
| 551 |
+
"prompt": "A train leaves at 09:35 and arrives at 11:10. How many minutes is the journey? Give the final numerical answer after your explanation.",
|
| 552 |
+
"kind": "number",
|
| 553 |
+
"expected": 95,
|
| 554 |
+
"mode": "thinking",
|
| 555 |
+
"group": "fresh",
|
| 556 |
+
"tests": null,
|
| 557 |
+
"output": "<think>The train travels for 11:10 - 09:35 = 1 hour 35 minutes.</think>\nAnswer: 115.",
|
| 558 |
+
"pass": false
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"id": "reason_12",
|
| 562 |
+
"prompt": "A box has 8 bags of 9 sweets. If all the sweets are shared equally among 6 children, how many sweets does each get? Give the final numerical answer after your explanation.",
|
| 563 |
+
"kind": "number",
|
| 564 |
+
"expected": 12,
|
| 565 |
+
"mode": "thinking",
|
| 566 |
+
"group": "fresh",
|
| 567 |
+
"tests": null,
|
| 568 |
+
"output": "<think>The number of sweets is 8 \u00d7 9 = 72.\nEach child gets 72 \u00f7 6 = 12 sweets.</think>\nAnswer: 12",
|
| 569 |
+
"pass": true
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"id": "reason_13",
|
| 573 |
+
"prompt": "A shop sells 15 pencils at 4 pounds each and 6 notebooks at 7 pounds each. What is the total revenue in pounds? Give the final numerical answer after your explanation.",
|
| 574 |
+
"kind": "number",
|
| 575 |
+
"expected": 102,
|
| 576 |
+
"mode": "thinking",
|
| 577 |
+
"group": "fresh",
|
| 578 |
+
"tests": null,
|
| 579 |
+
"output": "<think>The pencils cost 15 \u00d7 4 = 60 pounds.\nThe notebooks cost 6 \u00d7 7 = 42 pounds.\nThe total revenue is 60 + 42 = 102 pounds.</think>\nAnswer: 102",
|
| 580 |
+
"pass": true
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"id": "reason_14",
|
| 584 |
+
"prompt": "A rectangle is 13 cm long and 8 cm wide. What is its perimeter in cm? Give the final numerical answer after your explanation.",
|
| 585 |
+
"kind": "number",
|
| 586 |
+
"expected": 42,
|
| 587 |
+
"mode": "thinking",
|
| 588 |
+
"group": "fresh",
|
| 589 |
+
"tests": null,
|
| 590 |
+
"output": "<think>The perimeter of a rectangle is calculated by doubling the sum of its length and width and then subtracting the sum from the total. So, 2 \u00d7 (13 cm + 8 cm) = 2 \u00d7 21 cm = 42 cm.</think>\nAnswer: 42",
|
| 591 |
+
"pass": true
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"id": "reason_15",
|
| 595 |
+
"prompt": "Rina had 120 pounds. She spent one third of it and then received 17 pounds. How much does she have now? Give the final numerical answer after your explanation.",
|
| 596 |
+
"kind": "number",
|
| 597 |
+
"expected": 97,
|
| 598 |
+
"mode": "thinking",
|
| 599 |
+
"group": "fresh",
|
| 600 |
+
"tests": null,
|
| 601 |
+
"output": "<think>The amount spent is 120/3 = 40.\nThe new amount is 120 - 40 + 17 = 97.</think>\nAnswer: 97",
|
| 602 |
+
"pass": true
|
| 603 |
+
},
|
| 604 |
+
{
|
| 605 |
+
"id": "confirm_math_1",
|
| 606 |
+
"prompt": "Leah had 210 credits, spent one seventh of them, then received 26 credits. What is her balance? Explain briefly.",
|
| 607 |
+
"kind": "number",
|
| 608 |
+
"expected": 206,
|
| 609 |
+
"mode": "thinking",
|
| 610 |
+
"group": "confirmation",
|
| 611 |
+
"tests": null,
|
| 612 |
+
"output": "<think>The amount spent is 210/7 = 30. Subtract it from the original amount: 210 - 30 = 180. Add the new credits: 180 + 26 = 206.</think>\nAnswer: 206",
|
| 613 |
+
"pass": true
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"id": "confirm_math_2",
|
| 617 |
+
"prompt": "Malik had 96 tokens, spent one third, then received 11 tokens. How many tokens does he have now? Explain briefly.",
|
| 618 |
+
"kind": "number",
|
| 619 |
+
"expected": 75,
|
| 620 |
+
"mode": "thinking",
|
| 621 |
+
"group": "confirmation",
|
| 622 |
+
"tests": null,
|
| 623 |
+
"output": "<think>The amount spent is 96/3 = 32. Subtract it from the original amount: 96 - 32 = 64. Add the new tokens: 64 + 11 = 75.</think>\nAnswer: 75",
|
| 624 |
+
"pass": true
|
| 625 |
+
},
|
| 626 |
+
{
|
| 627 |
+
"id": "confirm_math_3",
|
| 628 |
+
"prompt": "A fund starts with 231 pounds, spends one seventh, and later receives 19 pounds. What is the new balance? Explain briefly.",
|
| 629 |
+
"kind": "number",
|
| 630 |
+
"expected": 217,
|
| 631 |
+
"mode": "thinking",
|
| 632 |
+
"group": "confirmation",
|
| 633 |
+
"tests": null,
|
| 634 |
+
"output": "<think>The amount spent is 231/7 = 33. Subtract it from the original amount: 231 - 33 = 198. Add the new money: 198 + 19 = 217.</think>\nAnswer: 217",
|
| 635 |
+
"pass": true
|
| 636 |
+
}
|
| 637 |
+
]
|
repair-results/confirmation_outputs.json
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "confirm_csv_1",
|
| 4 |
+
"prompt": "Output one CSV row, no header or quotes: user=Cora, age=31, city=Osaka.",
|
| 5 |
+
"kind": "exact",
|
| 6 |
+
"expected": "Cora,31,Osaka",
|
| 7 |
+
"mode": "instruct",
|
| 8 |
+
"group": "confirmation",
|
| 9 |
+
"tests": null,
|
| 10 |
+
"output": "Cora,31,Osaka",
|
| 11 |
+
"pass": true
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "confirm_csv_2",
|
| 15 |
+
"prompt": "Return only a CSV value row: name=Teo; years=52; place=Riga. Do not include keys or quotes.",
|
| 16 |
+
"kind": "exact",
|
| 17 |
+
"expected": "Teo,52,Riga",
|
| 18 |
+
"mode": "instruct",
|
| 19 |
+
"group": "confirmation",
|
| 20 |
+
"tests": null,
|
| 21 |
+
"output": "Teo,52,Riga",
|
| 22 |
+
"pass": true
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"id": "confirm_csv_3",
|
| 26 |
+
"prompt": "Output only CSV values in this order: city=Tartu, person=Sara, age=41. No header or quotes.",
|
| 27 |
+
"kind": "exact",
|
| 28 |
+
"expected": "Tartu,Sara,41",
|
| 29 |
+
"mode": "instruct",
|
| 30 |
+
"group": "confirmation",
|
| 31 |
+
"tests": null,
|
| 32 |
+
"output": "Tartu,Sara,41",
|
| 33 |
+
"pass": true
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"id": "confirm_csv_4",
|
| 37 |
+
"prompt": "Output a CSV data row for user=Yara, age=36, country=Kenya. No keys, header or quotes.",
|
| 38 |
+
"kind": "exact",
|
| 39 |
+
"expected": "Yara,36,Kenya",
|
| 40 |
+
"mode": "instruct",
|
| 41 |
+
"group": "confirmation",
|
| 42 |
+
"tests": null,
|
| 43 |
+
"output": "Yara,36,Kenya",
|
| 44 |
+
"pass": true
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"id": "confirm_csv_5",
|
| 48 |
+
"prompt": "Convert product=Aster; units=9; color=Indigo into one CSV value row. No header or quotation marks.",
|
| 49 |
+
"kind": "exact",
|
| 50 |
+
"expected": "Aster,9,Indigo",
|
| 51 |
+
"mode": "instruct",
|
| 52 |
+
"group": "confirmation",
|
| 53 |
+
"tests": null,
|
| 54 |
+
"output": "Aster,9,Indigo",
|
| 55 |
+
"pass": true
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"id": "confirm_csv_6",
|
| 59 |
+
"prompt": "Return only a CSV value row for name=Zoe, identifier=Q_42, town=Graz.",
|
| 60 |
+
"kind": "exact",
|
| 61 |
+
"expected": "Zoe,Q_42,Graz",
|
| 62 |
+
"mode": "instruct",
|
| 63 |
+
"group": "confirmation",
|
| 64 |
+
"tests": null,
|
| 65 |
+
"output": "Zoe,Q_42,Graz",
|
| 66 |
+
"pass": true
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"id": "confirm_copy_1",
|
| 70 |
+
"prompt": "Write epsilon and psi, each on its own line. Preserve their English spellings, with no other text.",
|
| 71 |
+
"kind": "exact",
|
| 72 |
+
"expected": "epsilon\npsi",
|
| 73 |
+
"mode": "instruct",
|
| 74 |
+
"group": "confirmation",
|
| 75 |
+
"tests": null,
|
| 76 |
+
"output": "epsilon\npsi",
|
| 77 |
+
"pass": true
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"id": "confirm_copy_2",
|
| 81 |
+
"prompt": "Reply with exactly: A_B-47",
|
| 82 |
+
"kind": "exact",
|
| 83 |
+
"expected": "A_B-47",
|
| 84 |
+
"mode": "instruct",
|
| 85 |
+
"group": "confirmation",
|
| 86 |
+
"tests": null,
|
| 87 |
+
"output": "A_B-47",
|
| 88 |
+
"pass": true
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"id": "confirm_copy_3",
|
| 92 |
+
"prompt": "Copy na\u00efve and jalape\u00f1o, each on its own line. No bullets or other text.",
|
| 93 |
+
"kind": "exact",
|
| 94 |
+
"expected": "na\u00efve\njalape\u00f1o",
|
| 95 |
+
"mode": "instruct",
|
| 96 |
+
"group": "confirmation",
|
| 97 |
+
"tests": null,
|
| 98 |
+
"output": "na\u00efve\njalape\u00f1o",
|
| 99 |
+
"pass": true
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"id": "confirm_math_1",
|
| 103 |
+
"prompt": "Leah had 210 credits, spent one seventh of them, then received 26 credits. What is her balance? Explain briefly.",
|
| 104 |
+
"kind": "number",
|
| 105 |
+
"expected": 206,
|
| 106 |
+
"mode": "thinking",
|
| 107 |
+
"group": "confirmation",
|
| 108 |
+
"tests": null,
|
| 109 |
+
"output": "<think>The amount spent is 210/7 = 30. Subtract it from the original amount: 210 - 30 = 180. Add the new credits: 180 + 26 = 206.</think>\nAnswer: 206",
|
| 110 |
+
"pass": true
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"id": "confirm_math_2",
|
| 114 |
+
"prompt": "Malik had 96 tokens, spent one third, then received 11 tokens. How many tokens does he have now? Explain briefly.",
|
| 115 |
+
"kind": "number",
|
| 116 |
+
"expected": 75,
|
| 117 |
+
"mode": "thinking",
|
| 118 |
+
"group": "confirmation",
|
| 119 |
+
"tests": null,
|
| 120 |
+
"output": "<think>The amount spent is 96/3 = 32. Subtract it from the original amount: 96 - 32 = 64. Add the new tokens: 64 + 11 = 75.</think>\nAnswer: 75",
|
| 121 |
+
"pass": true
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"id": "confirm_math_3",
|
| 125 |
+
"prompt": "A fund starts with 231 pounds, spends one seventh, and later receives 19 pounds. What is the new balance? Explain briefly.",
|
| 126 |
+
"kind": "number",
|
| 127 |
+
"expected": 217,
|
| 128 |
+
"mode": "thinking",
|
| 129 |
+
"group": "confirmation",
|
| 130 |
+
"tests": null,
|
| 131 |
+
"output": "<think>The amount spent is 231/7 = 33. Subtract it from the original amount: 231 - 33 = 198. Add the new money: 198 + 19 = 217.</think>\nAnswer: 217",
|
| 132 |
+
"pass": true
|
| 133 |
+
}
|
| 134 |
+
]
|
repair-results/evaluation.json
CHANGED
|
@@ -99,5 +99,36 @@
|
|
| 99 |
"instruct_max_new_tokens": 384,
|
| 100 |
"thinking_max_new_tokens": 1024
|
| 101 |
},
|
| 102 |
-
"evaluation_design": "36 core development checks, two original regressions, and 12 new confirmation cases. Independent public test subsets are evaluated separately."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
}
|
|
|
|
| 99 |
"instruct_max_new_tokens": 384,
|
| 100 |
"thinking_max_new_tokens": 1024
|
| 101 |
},
|
| 102 |
+
"evaluation_design": "36 core development checks, two original regressions, and 12 new confirmation cases. Independent public test subsets are evaluated separately.",
|
| 103 |
+
"merged_scores": {
|
| 104 |
+
"regression": {
|
| 105 |
+
"passed": 2,
|
| 106 |
+
"total": 2
|
| 107 |
+
},
|
| 108 |
+
"fresh": {
|
| 109 |
+
"passed": 34,
|
| 110 |
+
"total": 36
|
| 111 |
+
},
|
| 112 |
+
"exact": {
|
| 113 |
+
"passed": 10,
|
| 114 |
+
"total": 10
|
| 115 |
+
},
|
| 116 |
+
"json": {
|
| 117 |
+
"passed": 4,
|
| 118 |
+
"total": 4
|
| 119 |
+
},
|
| 120 |
+
"number": {
|
| 121 |
+
"passed": 15,
|
| 122 |
+
"total": 16
|
| 123 |
+
},
|
| 124 |
+
"code": {
|
| 125 |
+
"passed": 5,
|
| 126 |
+
"total": 6
|
| 127 |
+
},
|
| 128 |
+
"confirmation": {
|
| 129 |
+
"passed": 12,
|
| 130 |
+
"total": 12
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
"elapsed_seconds": 1470.789262539
|
| 134 |
}
|
repair-results/merged_regressions_outputs.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "regression_lines",
|
| 4 |
+
"prompt": "Write alpha and omega, each on its own line. No bullets or other text.",
|
| 5 |
+
"kind": "exact",
|
| 6 |
+
"expected": "alpha\nomega",
|
| 7 |
+
"mode": "instruct",
|
| 8 |
+
"group": "regression",
|
| 9 |
+
"tests": null,
|
| 10 |
+
"output": "alpha\nomega",
|
| 11 |
+
"pass": true
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"id": "regression_count",
|
| 15 |
+
"prompt": "A box has 14 red balls and 9 blue balls. Five red balls are removed. How many balls remain? Explain briefly.",
|
| 16 |
+
"kind": "number",
|
| 17 |
+
"expected": 18,
|
| 18 |
+
"mode": "thinking",
|
| 19 |
+
"group": "regression",
|
| 20 |
+
"tests": null,
|
| 21 |
+
"output": "<think>There are 9 red balls left because 14 - 5 = 9. The 9 blue balls are unchanged, so 9 + 9 = 18 balls remain.</think>\n18 balls remain.",
|
| 22 |
+
"pass": true
|
| 23 |
+
}
|
| 24 |
+
]
|