Refactor Makefile for OS detection and commands#19
Open
LancasterLiu wants to merge 1 commit into
Open
Conversation
alextfkd
added a commit
to alextfkd/TorchCode
that referenced
this pull request
May 17, 2026
For each problem, insert a brief "どこで使う" memo (callout style) and a "もっと詳しく" collapsible (HTML <details>) right after the formula. Implementation: - build.py render_intro: accept `memo` and `details` fields on PROBLEM. Splits intro_md at the first "### ..." subsection so memo+details land between the formula (in the top half) and any sub-sections like "### Example" / "### Algorithm" (in the bottom half). - 16 specs in problem_specs/: add `memo` and `details` fields with practical context (where this op is used + history + gotchas + related problem cross-refs like duoan#19, #56, etc.). - 13 existing templates in templates/: insert the memo + details block directly into the markdown cell using "### Signature" as the universal anchor (universal because all my Japanese translations follow that structure). Result: each notebook now has practical context right under the formula, without forcing the reader to expand the details upfront. <details> works in GitHub / Jupyter / Colab markdown rendering. Rebuilt 16 spec-driven templates+solutions, refreshed all 29 practice/ copies via build_weeks.py --reset. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.