I would like to expand the assignment expressed in this document just to be sure we are on the same track:
https://docs.google.com/document/d/1qqz7vs49jbqzt3DDqrvmuSxMU9n4trNYaA4QPsrDcRk/edit
What is asked is a Phyton script that analyzes the txs from a bitcoin node with "unlimited" mempool size, calculating the feerate of all "chains of transactions" as in CPFP.
(I assume a "chain of transactions" as is expressed in the document, is the list of unconfirmed transactions that form the full ancestry of one transaction, forming a "transaction package".)