Commit 16f435f
fix(decisioning): inline env var literal + drop INVALID_REQUEST backticks (#423 fix-pack)
The docstring-vs-code consistency test (#424, just merged) caught two
issues in this PR:
1. The strict-mode env-var read used os.environ.get(_STRICT_VALIDATE_ENV)
indirection, which the consistency test's regex doesn't follow.
Inline the literal 'ADCP_DECISIONING_STRICT_VALIDATE_PLATFORM' string
so the test sees the read.
2. The docstring wrapped 'INVALID_REQUEST' in backticks on lines near
env-var context keywords, tripping the test's SCREAMING_CASE heuristic
(it treats backtick-wrapped uppercase tokens as candidate env vars).
INVALID_REQUEST is a spec error code, not an env var — drop the
backticks so it's plain prose.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 63c0320 commit 16f435f
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
387 | 390 | | |
388 | 391 | | |
389 | 392 | | |
| |||
502 | 505 | | |
503 | 506 | | |
504 | 507 | | |
505 | | - | |
| 508 | + | |
506 | 509 | | |
507 | 510 | | |
508 | 511 | | |
509 | 512 | | |
510 | 513 | | |
511 | 514 | | |
512 | | - | |
| 515 | + | |
513 | 516 | | |
514 | 517 | | |
515 | 518 | | |
| |||
0 commit comments