Skip to content

[Doc] Fix graph doc issues#762

Open
hughperkins wants to merge 47 commits into
mainfrom
hp/fixup-graph-doc
Open

[Doc] Fix graph doc issues#762
hughperkins wants to merge 47 commits into
mainfrom
hp/fixup-graph-doc

Conversation

@hughperkins

@hughperkins hughperkins commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Issue: #

Brief Summary

  • fix up graph.md doc
  • also make trying to use streams from graph throw exception

copilot:summary

Walkthrough

copilot:walkthrough

Add RULE 3 to the doc-quality agent prompt: within a single doc, information
must be ordered so a first-time reader can follow it top-to-bottom without
jumping ahead (no forward references). Includes carve-outs for roadmaps,
optional "see below" pointers, backward references, cross-doc references, and
conventional preamble ordering, and hands pure undefined-term cases to Rule 1.
Adds the [order] tag and reworks the violation cap so one rule cannot crowd
out the others.
The doc-quality check now enforces a third rule (reading order / no forward
references); describe it and its carve-outs in contributing.md.
Both added cognitive load to the agent for little gain. Revert to the original
"stop after 10 violations" cap and remove the Rule 1/Rule 3 delineation note.
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@hughperkins hughperkins marked this pull request as ready for review June 26, 2026 15:25
Comment thread docs/source/user_guide/graph.md Outdated
hughperkins and others added 3 commits June 26, 2026 14:13
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	docs/source/user_guide/contributing.md
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
@hughperkins hughperkins added the awaiting review pass New PR or review comments addressed label Jun 26, 2026
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Comment thread docs/source/user_guide/graph.md Outdated
Comment thread docs/source/user_guide/graph.md Outdated
Comment thread docs/source/user_guide/graph.md Outdated
Comment thread docs/source/user_guide/graph.md Outdated
Comment thread docs/source/user_guide/graph.md
Comment thread docs/source/user_guide/graph.md
Comment thread docs/source/user_guide/graph.md Outdated
@duburcqa duburcqa removed the awaiting review pass New PR or review comments addressed label Jul 1, 2026
Comment thread docs/source/user_guide/performance.md Outdated
@github-actions

Copy link
Copy Markdown

Per review, streams/fastcache/perf_dispatch do not reduce launch latency.
Keep only graphs under "Reducing launch latency" and move the others to a
new "Other performance tools" section.
@hughperkins hughperkins added the awaiting-ci-to-pass awaiting-ci-to-pass label Jul 14, 2026
@hughperkins

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8865124849

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/source/user_guide/performance.md Outdated
Cached graph replay collapses per-task C++/driver launch cost, but the
Python kernel wrapper still runs on every call; only graph_do_while cuts
the per-call Python cost by turning many iterations into one call.
@hughperkins

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 38c8ad1ecb

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/source/user_guide/performance.md Outdated
Intro said all four tools reduce launch latency, contradicting the
"Other performance tools" section; reframe them as performance tools
built on the execution model.
@github-actions

Copy link
Copy Markdown

@hughperkins

Copy link
Copy Markdown
Collaborator Author

@codex review

@hughperkins hughperkins added the awaiting-codex-review awaiting-codex-review label Jul 14, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d950487304

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/source/user_guide/graph.md
Previously stream_parallel groups inside a graph kernel were silently
serialized rather than rejected, so users could combine two mutually
incompatible features without warning. Raise a QuadrantsSyntaxError at
compile time instead, and document that streams (both qd_stream and
qd.stream_parallel) are incompatible with graphs.
@hughperkins

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cb8bca0bd2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread python/quadrants/lang/ast/ast_transformer.py
@github-actions

Copy link
Copy Markdown

The doc-quality check reviews the full file once touched; qd.ad.Tape was
flagged as an undefined term. Link it (and "autodiff") to autodiff.md.
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Doc-quality check flagged graph=True as an undefined term once streams.md
was touched; link it (and "graphs") to graph.md.
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

The restriction applies to any return value (result_buffer_size > 0), not
just struct returns; "struct" is the internal representation and misleads
readers. Say "No return values" instead.
@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-ci-to-pass awaiting-ci-to-pass awaiting-codex-review awaiting-codex-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants