Skip to content

Found hallucinated code #55

Description

@ahuang11

I was looking through LLM generated code in
https://github.com/uw-ssec/rse-plugins/pull/34/files#diff-57dec4526a0ac7d2c86735ac97e7915b5049375ac781f13ca313d0cea679d97aR280

And noticed a hallucination:
pn.param.ParamMethod.from_param

Seems like there's multiple instances of this hallucinated method

It should be pn.Param, e.g.

pn.Param(dashboard.param)]

Since these code snippets are essentially MRVE, I think these hallucinations can be addressed by giving the LLM a sandbox code server where it can test these small snippets. For ones involving UI, I think giving it a browser can help as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions