Peanut Sheller Packet

Source: examples/text/peanut_sheller_packet.py

Introduction

Render the text prompt packet for the Fu et al. peanut shelling problem.

Technical Implementation

This page is generated from the top-of-file module docstring and the example source code. The full script is included below for direct inspection.

 1from __future__ import annotations
 2
 3import design_research_problems as derp
 4
 5
 6def main() -> None:
 7    """Render and print the full prompt packet for the text problem."""
 8    problem = derp.get_problem("ideation_peanut_shelling_fu_cagan_kotovsky_2010")
 9    print(problem.render_brief())
10
11
12if __name__ == "__main__":
13    main()

Expected Results

Run Command

PYTHONPATH=src python3 examples/text/peanut_sheller_packet.py

Run the command shown below from repository root. Output should summarize the problem setup, a baseline solution, or diagnostic values relevant to this example.