the `pipe=` request key; < 0: none
| 3676 | double g_pipe = -1.0; // --prefill-pipe; < 0: not given (STRATA_PREFILL_PIPE, else 0) |
| 3677 | double g_pipe_req = -1.0; // the `pipe=` request key; < 0: none |
| 3678 | double pipe_value() { |
| 3679 | if (g_pipe_req >= 0.0) return g_pipe_req; |
| 3680 | if (g_pipe >= 0.0) return g_pipe; |
| 3681 | static const double env = [] { |
| 3682 | const char* v = std::getenv("STRATA_PREFILL_PIPE"); |
| 3683 | return v != nullptr && v[0] != '\0' ? std::max(0.0, std::atof(v)) : 0.0; |
| 3684 | }(); |
| 3685 | return env; |
| 3686 | } |
| 3687 | // the smallest chunk the rule picks (STRATA_PREFILL_PIPE_FLOOR, on the 256-token grid, 256..4096; default 512) |
| 3688 | int64_t pipe_floor() { |
| 3689 | static const int64_t f = [] { |
no test coverage detected