expectedparrot / edsl

Design, conduct and analyze results of AI-powered surveys and experiments. Simulate social science and market research with large numbers of AI agents and LLMs.
https://docs.expectedparrot.com
MIT License
97 stars 14 forks source link

survey.show_questions() double printing in VS Code (probably other notebook environments) #243

Open johnjosephhorton opened 2 months ago

johnjosephhorton commented 2 months ago
Screen Shot 2024-04-11 at 6 46 41 AM
rbyh commented 2 months ago

Only doing it once from command line, but not printing the rich table, only the second one:

image
johnjosephhorton commented 2 months ago

yeah - that's the "expected" behavior b/c rich doesn't work everywhere... (sans the misalignment thing)

rbyh commented 2 months ago

This at least gets question name / top line fixed:

image image
rbyh commented 2 months ago

Happening in Deepnote too:

image