Skip to content

burn(docs): Add JSDoc comments to emit helper functions#36

Merged
bkmashiro merged 1 commit intomainfrom
burn/docs/c0s5xn/add-jsdoc-comments-to-emit-helper-functi
Apr 6, 2026
Merged

burn(docs): Add JSDoc comments to emit helper functions#36
bkmashiro merged 1 commit intomainfrom
burn/docs/c0s5xn/add-jsdoc-comments-to-emit-helper-functi

Conversation

@bkmashiro
Copy link
Copy Markdown
Owner

Task

  • ID: 01KNHK34QE044638XCY2C0S5XN
  • Type: docs
  • Priority: 1
  • CLI: claude

Description

The ~25 internal helper functions in src/emit/index.ts between lines 413-514 (fnNameToPath, qualifiedFunctionRef, humanFunctionName, emitFunctionHeader, formatSourceMarker, watchDispatcherName, watchPrevObjective, throttleDispatcherName, throttleObjective, retryDispatcherName, retryObjective, profilerSafeName, profilerStartPlayer, profilerDeltaPlayer, profilerTotalPlayer, profilerCountPlayer, benchmarkWrapperName, benchmarkStartPlayer, benchmarkDeltaPlayer, profilerStartLines, profilerEndLines, etc.) have no documentation. Add a JSDoc block to each explaining: what it computes, what each parameter represents, and what the return value is used for. Focus especially on the naming convention helpers (watch/throttle/retry/profiler/benchmark) since their relationship to generated Minecraft scoreboard objectives and storage paths is non-obvious.

Changes

src/emit/index.ts | 274 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 272 insertions(+), 2 deletions(-)

Generated by burn-harness

@bkmashiro bkmashiro marked this pull request as ready for review April 6, 2026 16:25
@bkmashiro bkmashiro force-pushed the burn/docs/c0s5xn/add-jsdoc-comments-to-emit-helper-functi branch from 35e7844 to faf222c Compare April 6, 2026 16:25
@bkmashiro bkmashiro merged commit b96d281 into main Apr 6, 2026
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@bkmashiro bkmashiro deleted the burn/docs/c0s5xn/add-jsdoc-comments-to-emit-helper-functi branch April 6, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant