Read the reasoning
The exact prompts for two tasks, all eight of their recorded outcomes, the explanation of task 088, and the rule that chose these tasks. The returned code and test bodies are not published in this revision.
100 JavaScript tasks, two runs per version.
SEGO PAI 1.1 is a candidate configuration, not a released version. The baseline is frozen SEGO PAI 1.0. Each count is out of 200 scheduled runs. The hidden tests and grader are not published, so an outside party cannot yet replay the scoring.
A run passes only if the returned code passes every hidden test for its task. Each configuration had 200 scheduled runs (100 tasks, two repetitions). Nothing was dropped or rerun selectively.
| Outcome | SEGO PAI 1.1 candidate | SEGO PAI 1.0 (frozen) |
|---|---|---|
| Passed all hidden tests | 190 | 172 |
| Partial pass (some tests failed) | 2 | 1 |
| No usable final answer | 6 | 27 |
| Timed out | 2 | 0 |
| Scheduled runs | 200 | 200 |
The tasks were generated with AI for this internal study. The records show people wrote the generation instructions and the filter rules, and show no item-by-item human review of the generated tasks. The suite is identified as sego-pai-1.1-F3, version 1.0.0, suite hash 9300b43faa737dd3. Each task is a written specification for a pure JavaScript function with between 12 and 38 hidden tests. Before any SEGO PAI answer existed, fixed rules filtered the generated tasks: the function name had not been used in earlier suites, the task had at least 10 tests, its reference solution passed its own tests, and a do-nothing stub failed them. No AI judge scores any run. Returned code runs in a restricted Node process with an empty environment and a five second limit.
This is the one task where two of the four runs lost points over how a sentence in the prompt was read. The recorded grade does not change.
Write a function that simulates a keypad lock. The lock has three modes: locked, unlocked and lockout. For each timed key event the function applies four steps in order and returns a list of outputs such as "open", "fail", "lockout", "busy", "lock" and "autolock". Two steps matter here.
Two of the 18 hidden tests cover auto-lock. In both, the correct code is entered and the lock opens, then a submit key arrives after the lock should have timed out. The tests expect two outputs for that key: "autolock", and then the result of treating the key as an ordinary submit on an empty buffer, which is "fail". In other words, after auto-locking the same key event is still handled. The task's own reference solution does this, and the other 16 tests are unaffected by the difference.
The tests read "and continue" in step 2 as "carry on with the remaining steps for this same event". Two of the four runs read it as "go on to the next event". They output "autolock" and dropped the key. Both such runs passed 16 of 18 tests. The other two runs read it the way the tests do and passed 18 of 18.
The test reading has support in the prompt: step 1 uses "skip the rest of this event" for the case where an event is skipped, and uses "and continue" for the case where it is not, so the same words in step 2 most naturally mean the same thing. But step 2 has no such contrast beside it, and "continue" in programming often means "next iteration". A careful developer could take it either way. We do not claim the prompt was clear enough, and we do not claim the runs were right.
Grade. The preregistered rule scores any run that fails a hidden test as a failure, and we did not change that for these runs. They remain partial passes counted as failures, in both configurations.
Write a JavaScript function `keypadLock(code, events)`. Simulate an electronic keypad lock. code is a non-empty string of digits. events is an array of [t, key] pairs with non-decreasing integer times t in seconds and key a single-character string. Return an array of output strings. The lock has modes locked (initial), unlocked and lockout, plus an input buffer (initially empty), a failure count (initially 0), and the time of the last buffered keypress. For each event, in order: 1. If in lockout: if t is less than the lockout end time, output "busy" and skip the rest of this event; otherwise return to locked mode with failure count 0 and an empty buffer, and continue. 2. If unlocked and t minus the time it was opened is at least 10, switch to locked with an empty buffer, output "autolock", and continue. 3. If locked and the buffer is non-empty and t minus the last keypress time is greater than 5, empty the buffer. 4. Handle the key. When locked: a digit appends to the buffer and records t as last keypress time; "*" empties the buffer and records t; "#" submits: if the buffer equals code, become unlocked, record t as the opening time, reset failures to 0 and output "open"; otherwise increase failures by 1, and if failures is now 3 enter lockout ending at t+60 and output "lockout", else output "fail". A submit always empties the buffer afterwards (an empty buffer never matches). Any other key when locked is ignored silently. When unlocked: "#" returns to locked with an empty buffer and outputs "lock"; every other key is ignored silently. Return only the code in a single ```js code block. No imports, no explanation.
| Configuration | Rep | Outcome | Tests passed | Returned code (sha256) |
|---|---|---|---|---|
| SEGO PAI 1.1 candidate | 1 | pass | 18 of 18 | 73ee35a8b1b27b20… |
| SEGO PAI 1.1 candidate | 2 | partial | 16 of 18 | 9a52799df23249c8… |
| SEGO PAI 1.0 (frozen) | 1 | partial | 16 of 18 | 803df0d2b2c1a8b5… |
| SEGO PAI 1.0 (frozen) | 2 | pass | 18 of 18 | 4eb685c36080c124… |
For comparison, task 001 passed in all four runs.
Write a JavaScript function `countShortestPaths(n, edges, s, t)`.
Given a directed weighted graph with vertices 0..n-1, find the length of the shortest path from s to t and the number of distinct shortest paths. Each edge is [u, v, w], directed from u to v. An edge is ignored if u or v is not an integer in 0..n-1, or if w is not greater than 0 (zero and negative weights are ignored entirely). Parallel edges are distinct: two different edges with the same endpoints and weight yield different paths, so each is counted separately. Self loops never lie on a shortest path, since weights are positive. Paths are counted as sequences of edges. Return an object {"dist": d, "count": c} with keys in this order. d is the minimum total weight over all paths from s to t, and c is the number of paths attaining it, taken modulo 1000000007. If s equals t (and is valid), the result is {"dist":0,"count":1}. If s or t is not an integer in 0..n-1, or t is unreachable from s, return {"dist":null,"count":0}. Weights are positive integers. Counts must be reduced modulo 1000000007 after each addition so that they stay exact.
Return only the code in a single ```js code block. No imports, no explanation.| Configuration | Rep | Outcome | Tests passed | Returned code (sha256) |
|---|---|---|---|---|
| SEGO PAI 1.1 candidate | 1 | pass | 13 of 13 | b51a756985224466… |
| SEGO PAI 1.1 candidate | 2 | pass | 13 of 13 | 7eb7c599927926d9… |
| SEGO PAI 1.0 (frozen) | 1 | pass | 13 of 13 | 80a749d2d5e380ed… |
| SEGO PAI 1.0 (frozen) | 2 | pass | 13 of 13 | e1a996985017a717… |
The rule was fixed before any returned code was opened, uses no randomness, and was applied once:
One disclosure: the rule was written after we had listed which runs were partial passes (three runs, on tasks 074 and 088), so it is not blind to outcomes. Task 074 had a single partial pass, on the candidate (37 of 38 tests); a simpler rule of the lowest id with any partial pass would have chosen it. Every run of both tasks is in the run table.
One row for each of the 400 scheduled runs: task id, configuration, repetition, outcome (pass, partial, empty, timeout), tests passed and total where recorded, and the sha256 of the returned code as recorded. Both f3-coding-075 timeouts are rows marked timeout.
Download RUN-TABLE.csvDownload recount.py
RUN-TABLE.csv sha256 f4819d06fbd9aa744ec8216c21a3b2c36775247317863ffbb19fd77ea92d96bd
A one-line count, with nothing beyond a standard shell:
awk -F, 'NR>1 && $4=="pass"{p[$2]++} NR>1{n[$2]++} END{for(c in n)print c": "p[c]" of "n[c]}' RUN-TABLE.csv
SEGO PAI 1.1 candidate: 190 of 200
SEGO PAI 1.0 (frozen): 172 of 200
Or run python3 recount.py RUN-TABLE.csv (standard library only). It prints both counts and the outcome breakdown, and exits with an error if either count differs from 190 or 172.
What a recount shows. The table adds up to the published numbers. What it does not show. That each row is what the system actually returned and what the tests actually said. The table is our own record. The code hashes will let anyone check a row if the matching code is released later; no returned code is published in this revision.
The exact prompts for two tasks, all eight of their recorded outcomes, the explanation of task 088, and the rule that chose these tasks. The returned code and test bodies are not published in this revision.
All 400 runs and their outcomes in one file, and a script that reproduces 190 of 200 and 172 of 200. This confirms the totals follow from the table. It does not confirm the table itself.
Not available to outside parties. The hidden tests and grader are not published, so nobody outside can re-grade the saved code. Outside review has not started.
The hidden tests and grader are held by the team that ran the study and have not been released. No outside replay has been done.