Skip to content

fix(phylogenies): figure keys may carry capitals (RFC-79 R3) - #442

Merged
ElisaBarreto merged 1 commit into
mainfrom
fix/phylogeny-key-capitals
Nov 15, 2026
Merged

ElisaBarreto merged 1 commit into
mainfrom
fix/phylogeny-key-capitals

Conversation

@ElisaBarreto

Copy link
Copy Markdown
Owner

Closes #441.

check:phylogenies refused trait_fruit_color_RGB.png as an unknown name, and the list and the file route would never have shown it: the figure key pattern was ^[a-z0-9_]+$, while trait keys may carry capitals (fruit_color_RGB, flower_color_UV_reflectance).

  • RFC-79 R3: key matches ^[A-Za-z0-9_]+$, the characters of a trait key; still looked up in the list, never joined into a path.
  • The check, the list and the route param use that pattern.
  • Tests: the check accepts and the list shows a capitalised trait key; the route fixture's trait now has capitals, so every route test serves one.
  • Guide changelog and openapi hash (rule 10).

CodeRabbit (local): one finding, asking that the web not lowercase ?trait. It doesn't (textParam only trims), so no change.

🤖 Generated with Claude Code

…FC-79 R3)

fruit_color_RGB's figure was refused by check:phylogenies and would never
have been listed or served: the key pattern allowed lowercase only.

Closes #441

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: eb4bfc58-7b74-4e9e-b630-f07b88afeaf5
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ElisaBarreto
ElisaBarreto merged commit 1449cb0 into main Nov 15, 2026
15 checks passed
@ElisaBarreto
ElisaBarreto deleted the fix/phylogeny-key-capitals branch November 15, 2026 10:55
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.

Phylogenies: figure keys may carry capitals (fruit_color_RGB)

1 participant