i am trying to use this in a model - the arvo gene...
# avo-2
d
i am trying to use this in a model - the arvo generator is grokking on it - attribute :assessed_by, :reference, references: :user # User or team responsible for performing the assessment
l
Can you comment out that line and run the generator again?
d
ok
works with references removed
l
Cool!
d
that the way forward?
l
Can you please open a ticket with the model code that was failing and the error stack trace so we can troubleshoot in the next few days and fix it for good?
d
FYI the model was generated by CHATGPT
l
Lol
d
I know
l
Intersstingp
d
i am seeing how much i can build
can I paste the data here?
or would you like it in the ticket?
added this ticket
l
thank you
I appreciate it!
yeah, the
attribute
statements are optional AFAIK
d
yes.. I am trying to reverse engineer how the GRC data model in Servicenow works - its for documentary purpose its a rats nests of self referential keys and nonsense -
l
got it
thank you for opening the issue
I thought there was a bug on our end
but seeing how that code was generated by chat gpt, and not being vetted by a developer, I decided it's not worth our time investigating 😛
I hope you understand why I closed it and haven't went too deep in it 🙂
d
no issue I'll delete the attributes and see how it goes
l
nice! thanks!
d
tbf the schema is a mess and i can understand if your code groks stuff it isnt expecting
chatgpt might be a good way to generate some bulk test cases tho
l
yeah. I thought about that
let me know how it goes. maybe you publish a prompt guide or something?