| CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 06:53:54 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=1b65b7bdd106c16d19bb651f3ceaf1c98ad708b917433114de6b5be908aadc8ba%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22de3lo2CxuZ_kQe7Z7_89DXEo4JeiyF5B%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d4aecd9845dfa6-BLR
Auto-grade SWC - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // REM name of this file: nppGradingScript.bat. It's named a bat batch file to enable syntax coloring, but it's actually a text file
- NPP_SAVE //saves current file
- CD $(CURRENT_DIRECTORY) //make sure this is executed in the directory of (viewing) the source code!!!!!!
- echo $(CURRENT_DIRECTORY)
- SET MAINDIR = C:\Users\BruceSmith\Google Drive\courses\m140\assignments\18fa\P4-Binsort
- // REM ************************* adjust these for current assignment ******************************
- // REM AFTER COMPILING (via ctrl-shft-j) :
- // REM $(INPUT1) is the name of the file containing genomic data we are searching through
- // REM
- // REM "C:\Program Files\Java\jdk1.8.0_11\bin\java.exe" $(NAME_PART) $(INPUT1) 3 //3 is number of trials
- // REM where the input files are in a directory noted below
- SET GRADED_RESULT = $(CURRENT_DIRECTORY)\p4grade.txt
- SET STU_NAME = $(CURRENT_DIRECTORY)\stuName.txt
- SET OUTFILE = "$(CURRENT_DIRECTORY)\out.txt"
- SET TIMESTAMP = "$(CURRENT_DIRECTORY)\ts.txt"
- SET RUBRICMASTER = $(MAINDIR)\P4rubric.txt
- SET INPUT1 = $(MAINDIR)\data sets\input02.txt
- SET INPUT2 = $(MAINDIR)\data sets\input03.txt
- SET OUTPUT = $(CURRENT_DIRECTORY)\out.csv
- //cmd /c del "$(STU_NAME)"
- // REM ******************************************************************
- // REM Use DOS powershell to read name and email in first 3 lines
- cmd /c powershell -command "& {get-content "$(FILE_NAME)" | select-object -first 3}" > "$(STU_NAME)" < nul
- // REM Append rubric master to 3 lines with student name:
- cmd /c type "$(RUBRICMASTER)" >> "$(STU_NAME)"
- //REM generate a more sensible file name
- cmd /c copy "$(STU_NAME)" "$(GRADED_RESULT)"
- //REM Run at least two data sets and write to a file, concatenate runs to first
- cmd /c echo ------- 1 --------- >> "$(GRADED_RESULT)"
- cmd /c java $(NAME_PART) "$(INPUT1)" "$(OUTPUT)" >> "$(GRADED_RESULT)"
- cmd /c pause
- cmd /c echo ------- 2 --------- >> "$(GRADED_RESULT)"
- cmd /c java $(NAME_PART) "$(INPUT2)" "$(OUTPUT)" >> "$(GRADED_RESULT)"
- //REM append output to rubric to give student results
- //REM cmd /c type $(STU_NAME) >> $(GRADED_RESULT)
- NPP_OPEN $(GRADED_RESULT)
- cmd /c explorer $(CURRENT_DIRECTORY)
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ Y
JavaScript | 5 sec ago | 0.25 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ A
JavaScript | 14 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ L
JavaScript | 23 sec ago | 0.25 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ H
JavaScript | 32 sec ago | 0.25 KB
-
⭐⭐⭐Profit Method⭐⭐
Java | 3 min ago | 0.10 KB
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 3 min ago | 0.10 KB
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 3 min ago | 0.10 KB
-
⭐⭐⭐Instant Profit Method⭐⭐
Java | 4 min ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand