Skip to content

Prompt One Shot Failure: Write a Fundamental Piotroski F-score Algorithm #2343

@jaredbroad

Description

@jaredbroad

Prompt:
"Write a Fundamental Piotroski F-score Algorithm"

Failure:

  1. Compile succeeded when it should have failed.
  2. Backtest Runtime Error Message

Runtime Error: 'Fundamental' object has no attribute 'share_class_reference'
at _extract_fundamentals
shares = f.share_class_reference.shares_outstanding
^^^^^^^^^^^^^^^^^^^^^^^
in main.py: line 141
at _select_fundamentals
data = self._extract_fundamentals(f)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
in main.py: line 65

Metadata

Metadata

Assignees

No one assigned

    Labels

    One Shot Prompt FailureReport prompts that generate syntax or runtime errors due to AI inefficiencies

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions