code for graduate thesis projects of luanyingling