Skip to content

Fix Fibonacci code sample - #3138

Open
hugovk wants to merge 1 commit into
python:mainfrom
hugovk:fix-fib
Open

hugovk wants to merge 1 commit into
python:mainfrom
hugovk:fix-fib

Conversation

@hugovk

@hugovk hugovk commented Sep 21, 2026

Copy link
Copy Markdown
Member

Description

Copilot AI lite review requested due to automatic review settings September 21, 2026 14:04
@hugovk
hugovk requested a review from JacobCoffee as a code owner September 21, 2026 14:04
@JacobCoffee
JacobCoffee enabled auto-merge (squash) September 21, 2026 14:05

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

Changing the code-based seed key can create duplicate published samples instead of updating existing records.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Updates the homepage Fibonacci code sample seed so fib(1000) includes 987.

Changes:

  • Corrects the expected Fibonacci output.
File Description
apps/​codesamples/​factories.py Updates the Fibonacci sample output.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

...
>>> fib(1000)
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987

This branch has not been deployed

No deployments
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.

3 participants