course checker

The wild world of course registration heats up during the last round of selection, where occasionally seats are released due to dropouts and the remaining dash for the vacancy. But what if I told you there’s a clever way to outsmart the system? No more frantic refreshing, here’s nifty little program I concocted that plays the waiting game for you. It keeps an eagle eye on course availability and sends you an email the moment a spot opens up. ...

March 13, 2024

SHERLOCK

This is a trailor of SHERLOCK - my machine learning final project. I’ve really been obsessively perfecting my final course thesis (as we’ve talked about it before here). Though immensely energy and time consuming, they’re just for fun but I’m proud of them for their beauty. and the result is pretty nice as well. Abstract We introduce SHERLOCK, an innovative machine learning model designed to differentiate human-written code from AI-generated code in educational settings. By combining perturbation analysis with advanced machine learning, SHERLOCK significantly outperforms existing detection techniques, achieving a precision rate over 0.8 and a model score beyond 0.75. Our contribution addresses a critical need in maintaining academic integrity in programming courses amidst the rise of AI coding tools, marking an interesting direction to the field of AI-generated content detection. ...

January 13, 2024

the code that can send email in linux server

I often encounter a recurring issue when running projects on a remote server and trying to collect data afterward. The setup in my run_script.sh usually includes a line for sending emails once the job is done. #!/bin/bash #BSUB -J StockTraderTestRun # Set the job name to StockTraderTestRun #BSUB -q gpu # Submit to the long queue #BSUB -o /nfsshare/home/tang/StockTrader/%J.out # Standard output file #BSUB -e /nfsshare/home/tang/StockTrader/%J.err # Standard error file #BSUB -N # Send email at job finish #BSUB -u ariana_tang@outlook.com # Set your email address # Change directory to where the main.py script is located # Execute the main.py script cd /nfsshare/home/tang/StockTrader/StockTradingDRL_upload/ python /nfsshare/home/tang/StockTrader/StockTradingDRL_upload/main.py novel_lstm_positive But here’s the rub: the email dispatch never functions as intended. There’s a subtle irony in how my efforts to debug are commensurate with the perceived benefits of receiving an email notification post-job completion. Admittedly, I’ve been somewhat negligent, routinely plugging in the line #BSUB -u ariana_tang@outlook.com # Set your email address and occasionally altering the address, half-hoping for a spontaneous fix. ...

November 5, 2023