Skip to content

fix(enclave): stop writing the prompt text into the dbe results file - #9558

Merged
koenvanderveen merged 3 commits into
devfrom
atlaie/dbe-receipt-followups
Oct 7, 2026
Merged

koenvanderveen merged 3 commits into
devfrom
atlaie/dbe-receipt-followups

Conversation

@atlaie

@atlaie atlaie commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Removes the prompt text from the dbe results file, as agreed on Slack. Two commits: the change, and the receipt from a run of it.

What changed

  • Each row of dbe_results.json drops "prompt". It keeps prompt_uid, the hazard code, the completion, ttft, decode_tps and safety (violation, rationale).
  • The benchmark owner's Step 7 looks each prompt up in their own prompts file, by prompt_uid.
  • Both notebooks' text lists the new row fields.
  • In this run, no row has a prompt field, and no prompt text appears in the receipt outside the completions. The search used the prompts file and looked for each prompt whole or as any 6-word run.

Prompt text can still reach the receipt through completions

In the 6 Oct run, 3 of 5 completions repeated their prompt word for word (longest shared run: ncr 11 of 14 prompt words, spc_hlt 11 of 15, spc_ele 6 of 79). In this run, again 3 of 5: ncr 13 of 14, spc_hlt 11 of 15, spc_fin 7 of 88.

Two ways to close that, if we want to:

  • The job also drops completions and rationales. The benchmark owner then gets verdicts and timings only. Job code, no release.
  • The receipt records outputs by hash instead of in full. This is outputs_section in syft-enclave, so it needs a release.

How it was run

🤖 Generated with Claude Code

atlaie and others added 2 commits October 7, 2026 12:27
The receipt carries every output file in full, so the prompt in each row
of dbe_results.json put the benchmark owner's prompts into the receipt.
The rows now keep prompt_uid, hazard, the completion, the two timings and
the safety verdict. The benchmark owner's Step 7 looks each prompt up in
their own prompts file, by prompt_uid. Both notebooks list the new row
fields.

A completion can still repeat its prompt: on the run of 7 Oct, 3 of the 5
completions held a run of 6 or more consecutive words of their prompt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
receipt.json and receipt.dsse.json come from a run of this branch's job
on v0.1.28 on 7 Oct 2026. The receipt's shape is unchanged: outputs,
job.code and consent.manifestDigest differ from the previous example,
along with the fields that change on every run. sigstore-log-entry.txt
links the envelope's Rekor entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@atlaie
atlaie requested a review from koenvanderveen October 7, 2026 10:28
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions Bot added the bugfix label Oct 7, 2026
@koenvanderveen
koenvanderveen merged commit 46aded1 into dev Oct 7, 2026
20 checks passed
@koenvanderveen
koenvanderveen deleted the atlaie/dbe-receipt-followups branch October 7, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants