Repository navigation
Conversation
Written by Claude (Anthropic) via Claude Code.
|
Someone is attempting to deploy a commit to the lucas-ht Team on Vercel. A member of the Team first needs to authorize it. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b7b6870022
ℹ️ 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".
| ok = {g["unit"] for g in ds.groups if g["kind"] != "dag"} | set(ds.unit_ids) | ||
| return sorted({row_id(ds, p) for p in pool} & ok) |
There was a problem hiding this comment.
Preserve later chain steps in exported pools
For the shipped full-mask data, apprenticeship alternatives can satisfy the professional-experience requirement via final steps 1864, 1872, or 1880, but ok contains only g["unit"] for each chain, which is its first step, so the intersection removes all of those qualifying final steps. Path.buildSections consumes the exported data.pools, and selecting one of these visible alternatives (for example plan #12 for rncp6-1) therefore puts the apprenticeship projects under Extra XP while the Experiences card reports 2/2 without showing the projects that supplied that total; export all realizable chain members or otherwise preserve their pool membership.
Useful? React with 👍 / 👎.
| function parseInitial(params: SearchParams): PlannerInitialState { | ||
| const titles = (first(params.titles) ?? "") | ||
| .split(",") | ||
| .filter((key): key is TitleKey => TITLE_KEYS.includes(key as TitleKey)); |
There was a problem hiding this comment.
Deduplicate titles before initializing selection
When a shared or manually edited URL contains duplicates such as ?titles=rncp6-1,rncp6-1, this filter retains both copies. Clicking that active title then sees current.length > 1 and removes both copies, leaving selected empty; the combination lookup fails and the page shows no path even though the toggle is intended to keep at least one title selected. Deduplicate the parsed keys before storing them as the initial selection.
Useful? React with 👍 / 👎.
Adds a
/plannerpage (no login needed): pick one or more RNCP titles and it shows the shortest list of projects to get them, fastest in days or fewest projects.optimizer/, plain Python, no deps): solves the 15 title combinations offline and writessrc/data/planner.json, so the page computes nothing at runtime.python3 optimizer/build.py --no-variantsregenerates it (~15 min).Checks:
tsc,biome format, cspell andoptimizer/test_planner.pypass.biome lintreports only pre-existing issues outside these files.