cse4589-pa1

所属分类:教育系统应用
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2019-01-23 21:25:53
上 传 者sh-1993
说明:  CSE 4 589的自动分级器和学生模板:编程作业1(PA1)[供TA和课程讲师使用]
(AutoGrader & Student Template for the CSE 4 589: Programming Assignment 1 (PA1) [For use by TA & Course Instructors])

文件列表:
Grader/ (0, 2019-01-23)
Grader/local/ (0, 2019-01-23)
Grader/local/grader.cfg (450, 2019-01-23)
Grader/local/grader_controller.py (4170, 2019-01-23)
Grader/local/pa1_grader.py (31688, 2019-01-23)
Grader/local/pa1_parser.py (1207, 2019-01-23)
Grader/local/remote_api.py (1611, 2019-01-23)
Grader/local/utils.py (2785, 2019-01-23)
Grader/remote/ (0, 2019-01-23)
Grader/remote/allblock_client.exp (527, 2019-01-23)
Grader/remote/author.exp (220, 2019-01-23)
Grader/remote/blocked_client.exp (554, 2019-01-23)
Grader/remote/blocking_client.exp (371, 2019-01-23)
Grader/remote/bonus_client_r.exp (351, 2019-01-23)
Grader/remote/bonus_client_s.exp (565, 2019-01-23)
Grader/remote/bonus_server.exp (156, 2019-01-23)
Grader/remote/broadcast_client_s.exp (469, 2019-01-23)
Grader/remote/buffer_client_r.exp (380, 2019-01-23)
Grader/remote/buffer_client_s.exp (600, 2019-01-23)
Grader/remote/cse4589test.pdf (5242880, 2019-01-23)
Grader/remote/cse4589test.txt (10000000, 2019-01-23)
Grader/remote/exception_block_bd.exp (278, 2019-01-23)
Grader/remote/exception_block_bg.exp (534, 2019-01-23)
Grader/remote/exception_blocked.exp (260, 2019-01-23)
Grader/remote/exception_login.exp (372, 2019-01-23)
Grader/remote/exception_send.exp (397, 2019-01-23)
Grader/remote/exception_unblock.exp (492, 2019-01-23)
Grader/remote/exit.exp (187, 2019-01-23)
Grader/remote/grader_remote.py (5058, 2019-01-23)
Grader/remote/ip.exp (192, 2019-01-23)
Grader/remote/list_client.exp (348, 2019-01-23)
Grader/remote/list_server.exp (226, 2019-01-23)
Grader/remote/logout_client.exp (356, 2019-01-23)
Grader/remote/port.exp (194, 2019-01-23)
Grader/remote/refresh_client.exp (356, 2019-01-23)
Grader/remote/sblocked_client.exp (278, 2019-01-23)
Grader/remote/sblocked_server.exp (254, 2019-01-23)
... ...

# CSE 4/589: Programming Assignment 1 (PA1) AutoGrader If you have landed at this repository directly, you first should read up on bit of a background [here](https://cse4589.github.io/). ## Introduction PA1 AutoGrader itself runs as a distributed server-client application, with multiple server instances deployed (one-time setup) by the course staff and the client side distributed to the students/Teaching Assistants (TAs), which they can use to test the submission and get a score. The AutoGrader takes as input, on the client side, the student source code which is first uploaded to each of the grading machines, built and then tested for a given test case. The [_Grader_](/Grader) directory holds both the client and server components. The [_Template_](/Template) directory contains the source for the code template distributed to students (see [here](https://docs.google.com/document/d/1Rct0Hv8vmQc6Yub_3SH4ElDkly8rSgNnDKSjrChPjqw/pub)). ## Requirements * **Five(5)** Linux hosts/machines * Networking setup such that all the five hosts are _reachable_ from each other * User accounts and work/disk space for each student to be able to do development/testing to complete the assignment *** ### List of UB CSE hosts * stones.cse.buffalo.edu * euston.cse.buffalo.edu * embankment.cse.buffalo.edu * underground.cse.buffalo.edu * highgate.cse.buffalo.edu ### Student User Accounts and Work Directories Students should already have user accounts on the above hosts as part of the UB CSE infrastructure. However, the home folders of students reside on a disk space that is shared among all CSE student servers. Given that PA1 involves implementation of file transfers, this makes home folders unsuitable for students to do development/testing of PA1. As a fix, CSE-IT creates a directory for each student on a non-shared disk mounted at ```/local``` on each of the five hosts. Typically, the course instructor provides the list of students enrolled in the course each semester to CSE-IT and folders are created for each student. For example, for Fall 2017, for a student with UB-IT name [ubitname] the work/test directory could be ```/local/Fall_2017/[ubitname]``` *** ### Notes * Instructor/Course staff **NEED** to inform the students of work directory's path to be used for all their assignment related work. * Care should be taken in setting correct permissions for the student work folders so that they are only accessible by the student that the folder is assigned to. ## AutoGrader: Server Server source, requirements, and setup instructions are hosted under the [_Grader/remote_](/Grader/remote) directory. The server side is written completely in python and makes use of expect scripts to interact (I/O) with the submission being tested. When run, it exposes an HTTP server which the client uses for all communication. ## AutoGrader: Client Client (distributed to students) source is hosted under the [_Grader/local_](/Grader/local) directory. Note that typically the client side of the grader is distributed as a single executable binary, instead of the raw python source files to avoid imposing any additional setup requirements on student machine environments. Setup instructions include steps to convert the python source to a Linux executable. It should be fairly straightforward to adapt the conversion process for any other OS the course staff wishes to support. In addition, we also include steps to run the grader directly from source to allow for easy debugging.

近期下载者

相关文件


收藏者