publicai-dev's picture
Trajector-SWE-20K open sample: 2,000 sessions
64625a2
|
Raw History Blame Contribute Delete
3.07 kB
# Release checks
This file records what was run on the released files. It describes procedures, not guarantees.
## Pipeline (applies to all 20,000 sessions)
1. **Deterministic replacement** with the frozen redaction rules (`redact_v2.py`, SHA-256 `2b9ee88d…245b8`, RFC 3161 timestamp 2026-10-28). Credentials, contact details, identity documents and embedded files are replaced wherever their values occur; usernames in paths receive salted pseudonyms; session identifiers are rewritten to random UUIDs.
2. **Whole-session screening** on the redacted text, each layer removing any session it flags:
- an independent credential gate (regular-expression detectors separate from the replacement rules);
- a language-model screen of every line that still resembles a credential, with all random-looking values masked by shape descriptors (length, character classes, entropy) before leaving the machine; verdicts "credential" and "cannot tell" both remove the session;
- a cross-session search for every credential value registered during replacement in any session;
- rules for password literals in explicit password positions (short values, `key => value` arrays, `password: value`, `sshpass -p`, `echo … | sudo -S`, URL `user:password@host` forms, `authorization` header literals) and for dotted high-entropy tokens.
3. **Selection**: one session per near-duplicate cluster; sessions touching SWE-bench Verified repositories excluded; the 20,000 are the surviving members of a public subset fixed before redaction plus a hash-ordered top-up from the rest of the consented collection.
## Additional screen for the open sample (2,000 sessions)
- Candidates were taken in hash order (`sha256("sample2k|" + session_id)`) from the 20,000.
- For each candidate, **every line containing a credential keyword** (password, pwd, secret, token, key, auth, credential, 口令, 密码, 密钥) was sent to the language-model screen with values masked, without the shape filter used in the main pipeline.
- Lines judged "credential" were triaged by an AI assistant on the masked text, without human review; sessions it considered a plausible residual, sessions with unresolved verdicts, and sessions where a password keyword was followed by a visible random-looking value were kept out of the sample. Lines judged "cannot tell" were checked only by that keyword rule. The sample is therefore biased towards sessions with fewer credential-like strings.
- This screen only sees lines containing a keyword. Credentials with no keyword nearby (bare keys in lists, cookie values, URL path keys, password hashes) and personal data such as card numbers are outside it.
- 13 sessions were replaced after an external full-context review of the sample found residual values in them. The replacements have not had that review.
- The sample is also run through the credential gate again after extraction.
## Reporting
If you find a residual credential or personal detail in either part, write to opensource@publicai.io; affected sessions are removed in the next revision.