Pluto's Poetic Journey unable to be graded

Hi @runningw,

After looking at your notebook:

Please attempt the assignments the way they are designed and instructed to implement.

Exercise 2 very clearly asks you to simple copy/paste the LLM output:


Your Task:

Turn these topics into a single Python list.

  • Copy/paste the topics generated from response above into the key_topics list below.

Be sure that:

  • Each topic is stored as a “string”
  • There are no duplicate topics in your list
  • Don’t forget to use a comma , after each entry in the list. For example:
	key_topics = [
		"Topic 1",
		"Topic 2",
		"Topic 3"
	]
key_topics = [
    
    ### START CODE HERE ###
    
    "Copy/Paste your first topic as a string in here",
    
    "Copy/Paste your second topic as a string in here",
    
    "Copy/Paste your third topic as a string in here"
    
    ### END CODE HERE ###

]

print_formatted_list(key_topics)

But you have implemented this in a way that is not required, nor needed:

key_topicsraw=response.splitlines()  
    ### START CODE HERE ###
key_topics=[]
for a in key_topicsraw:
    if a!="":
        key_topics.append(a)
    
    ### END CODE HERE ###



print_formatted_list(key_topics)

No wonder the grader is complaining. As Tom mentioned above, “you have changed the notebook in a way that has made the grader unhappy”.

Please attempt this exercise the way it has been instructed and you’ll see that you’ll pass the tests.

Best,
Mubsi

P.S in Exercise 4’s prompt, you don’t have to specify to the LLM that it should include the lines that are “True”. It is smart enough to understand the structure of your dictionary and figure out itself that it has to use the topics where “to_use” is set to true. I’d encourage you to try it yourself without specifying it, and play with different values of “to_use” to see how the result changes.