Repository navigation
Moonshot: make_long_prompts.py writes distinct texts with split-prefixed ids - #101
Conversation
The first version cycled the source split and its cursor returned to earlier start rows, so long2048.jsonl holds 91 distinct texts among 512, and its ids (long2048-NNNN) reuse the warm-up pool's names. Each prompt now starts at a source row no earlier prompt started at, ids carry the split (long2048-confirm-0000), and the script refuses to write repeated texts. On the confirm split it now writes 512 distinct texts (templated length 2,046-2,048). Existing workload files are not regenerated; P4b's declared long2048.jsonl stays as hashed.
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. |
|
Verdict: REQUEST CHANGES Reviewed head 8d55367, one commit. What checks out
BlockingB1. The documented command would overwrite P4b's declared workload. The docstring still says: Running it with the new code replaces the pinned
|
…red P4 files The docstring's example wrote to long2048.jsonl, P4's declared workload; it now writes to a new name, says the declared files must not be regenerated, and the script refuses to overwrite an existing --out without --force.
|
Verdict: APPROVE Re-reviewed 825fde5.
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
The study encodes the raw texts without the chat template, so every evaluation and calibration text is 2,038 tokens, not 2,048; the JSON's eval_tokens_per_text is the script's cap and stays byte-identical. 2g now gives the lengths, defines the analysed second half (positions 1,019 on, 1,018 predictions per text, 8,144 in all), and Section 4 records the one-off count. The generator sentence now says what the pre-#101 version did and that 8d55367 later changed it (Codex and reviewer on #145).
Prevents the workload defect behind P4b's failed prompt check (#98). The first version of
make_long_prompts.pycycled the source split, and its cursor returned to earlier start rows.So
long2048.jsonlholds 91 distinct texts among its 512 prompts. Its ids (long2048-NNNN) alsoreuse the warm-up pool's names.
Change
long2048-confirm-0000), so a workload and its warm-up pool nevershare an id.
Existing workload files are not regenerated. P4b's declared
long2048.jsonlkeeps its hash, andthe run already made with it is checked by content (#98).
Testing
2,046-2,048, ids
long2048-confirm-0000to-0511.pre-commit runpasses.