Repository navigation
Use a deterministic clock in the benchmark TTFT test - #3783
Merged
ashhart merged 2 commits intoNov 19, 2026
Merged
Conversation
This was referenced Nov 18, 2026
Owner
|
Thanks @AIFlowML. This is a clear fix.
The diff applies cleanly to current main, and the test file passes 31/31 with it. No changes requested from our side.
|
This was referenced Nov 18, 2026
Closed
ashhart
force-pushed
the
codex/stabilize-cache-ttft-test
branch
from
November 19, 2026 00:02
b7c22f8 to
3d320e3
Compare
Owner
|
Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
joshuaswarren
pushed a commit
to joshuaswarren/TensorFold
that referenced
this pull request
Nov 19, 2026
8 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
The TTFT unit test added synthetic arrival offsets to a real send timestamp and allowed floating-point rounding to determine whether its exact three-second assertion passed. Pin the test's send clock and require a nonempty result set before checking every row. The test still distinguishes first content from response headers and role or usage frames.
mainat8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8.Checks on this head
b7c22f8593c9035fd572d2f0fd8825a558f56c83.Receipt
N/A. This change pins the clock inside a benchmark test fixture.
Checklist
Igor Lessio - AIFLOW LABS