MCPcopy
hub / github.com/openai/plugins / reportable_count

Function reportable_count

plugins/codex-security/scripts/workbench_progress.py:11–16  ·  view source on GitHub ↗
(
    current_phase: str, requested_phase: str | None, count: int | None
)

Source from the content-addressed store, hash-verified

9
10
11def reportable_count(
12 current_phase: str, requested_phase: str | None, count: int | None
13) -> int | None:
14 if count is None and requested_phase in PHASES[3:] and current_phase in PHASES[:3]:
15 return 0
16 return count
17
18
19if __name__ == "__main__":

Callers 1

update_progressFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected