Repository navigation
Conversation
The full Weka corpus has 338M hash ID occurrences but only 5.7M distinct values when counted per trace. Reusing one int object per distinct value within a trace cuts preparation memory; values, ordering and serialization are unchanged. Signed-off-by: Robert Washbourne <rawashbourne@gmail.com>
Bugbot is paused — your team has an unpaid invoiceBugbot is paused because your team has an unpaid invoice. Pay it from the billing page in the Cursor dashboard and Bugbot resumes automatically. (requestId: e124c787-403f-44ed-9576-568d889f3a1e) |
Try out this PRQuick install: pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@d95c1f2768d9a704729e417ea1ae6f42e9221e44Recommended with virtual environment (using uv): uv venv --python 3.12 && source .venv/bin/activate
uv pip install --upgrade --force-reinstall git+https://github.com/ai-dynamo/aiperf.git@d95c1f2768d9a704729e417ea1ae6f42e9221e44Last updated for commit: |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d95c1f2768
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @model_validator(mode="after") | ||
| def _share_hash_id_values(self) -> Self: | ||
| """Reuse immutable IDs within their trace-local namespace.""" |
There was a problem hiding this comment.
Document the trace-wide hash-ID interning
This validator adds an internal Weka loading and memory-management mechanism, but the commit does not update any documentation. For internal-only mechanics, the repository requires documentation under docs/reference/ rather than skipping it, so this change remains incomplete until that reference (and its docs/index.yml entry if it is new) is added.
AGENTS.md reference: AGENTS.md:L164-L164
Useful? React with 👍 / 👎.
The full Weka corpus has 338M hash ID occurrences but only 5.7M distinct values when counted per trace. Reusing one int object per distinct value within a trace cuts preparation memory. Values, ordering and serialization are unchanged; adds tests.