新南威尔士大学COMP1531Iteration1课业解析
题意:
通过测试、开发和维护python后端服务器写几个开发文档
解析:
1.在协议接口中为所有的功能创建测试
2.写一个pdf,记录你当前对产品的了解和对用户需求的理解
3.对规范和所提供功能的解释提出假设,写在assumptions.md里
4.写一个计划文档,介绍自己下一步将如何进行开发阶段,写在plan.md
5.写下对团队合作如何成功运作以及对团队合作的思考,写在Reflection.md
涉及知识点:
团队合作思考,开发计划文档
更多可加v讨论
v:lili_950826
COMP1531 Major Project
Aims:
• To provide students with hands on experience testing, developing, and
maintaining a backend server in python.
• To develop students’ problem solving skills in relation to the software
development lifecycle.
• Learn to work effectively as part of a team by managing your project,
planning, and allocation of responsibilities among the members of your
team<
• Gain experience in collaborating through the use of a source control and
other associated modern team-based tools.
• Apply appropriate design practices and methodologies in the
development of their solution
• Develop an appreciation for product design and an intuition of how a
typical customer will use a product.
Changelog
Nothing here yet
Background
To manage the transition from trimesters to hexamesters in 2020, UNSW
has established a new focus on building an in-house digital collaboration
and communication tool for groups and teams.
Rather than re-invent the wheel, UNSW has decided that it finds the
functionality of Slack to be nearly exactly what it needs. For this reason,
UNSW has contracted out Rayden Pty Ltd (a small software business run
by Rob and Hayden) to build the new product. In UNSW’s attempt to
connect with the younger and more “hip” generation that fell in love with
flickr, Tumblr, etc, they would like to call the new UNSW-based product
slackr.
Rayden Pty Ltd has sub-contracted two software firms:
• BananaPie Pty Ltd (two software developers, Sally and Bob, who will build
the initial web-based GUI)
• YourTeam Pty Ltd (a team of talented misfits completing COMP1531 in
19T3), who will build the backend python server and possibly assist in the
GUI later in the project
In summary, UNSW contracts Rayden Pty Ltd, who sub contracts:
• BananaPie (Sally and Bob) for front end work
• YourTeam (you and others) for backend work
Rayden Pty Ltd met with Sally and Bob (the front end development team)
2 weeks ago to brief them on this project. While you are still trying to get
up to speed on the requirements of this project, Sally and Bob understand
the requirements of the project very well.
Because of this they have already specified a common interface for the
front end and backend to operate on. This allows both parties to go off
and do their own development and testing under the assumption that
both parties comply will comply with the common interface. This is the
interface you are required to use
Beside the information available in the interface that Sally and Bob
provided, you have been told (so far) that the features of slackr that
UNSW would like to see implemented include:
/server/echo.py
/server/echo_test.py
• Remember that we encourage you to write stub functions for all of the
functions we provide. Stub functions are dummy implementations of
functions that allow them to be trivially tested. E.G. A stub function for a
user to login may always return a dummy auth token “123456”. This will
allow your tests to successfully compile. It is expected that some errors
may appear in your tests as you write them that you won’t discover until
you develop the backend in iteration 2.
You may also wish to create some helper files with extra helper functions
if that would assist you writing your tests.
(More info) User Stories
The scaffold for user stories will be provided in the lecture on Monday
23rd September. Please refer to that lecture for information about the
structure of the user stories.
Submission
This iteration is due to be submitted at 5pm Sunday 6th October (week 3).
You will then be demonstrating this in your week 4 lab. All team members
must attend this lab session.
To submit, run this command in the CSE environment:
1531 submit iteration1
This will submit the contents of your repo on GitLab and perform a check
to make sure that the files above are present. Make sure that everything
you intend to submit is included in your repo. User stories should be
entered into GitLab on the task board for your project.
Marking Criteria
40%
understanding of good test
design
10%
10%
15%
Advice
• Do NOT attempt to try and write or start a web server. Don’t overthink
how these functions are meant to connect to a frontend yet. This is for the
next iteration. In this iteration you are just focusing on the high level
functions that will eventually be used for a web server.
• While we don’t encourage you to implement the functions (because the
specification may change, and there are no marks for implementation),
we do encourage you to sufficiently “stub” out the functions to ensure
they’re testable and that your python tests can actually compile and
run
Demonstration
When you demonstrate this iteration in your week 4 lab, the breakdown
will go approximately like this:
• 5 minutes of demonstration of the code you produced
• 5 minutes of demonstration of your stories, assumptions, and plan
• 10 minutes of Q&A from the tutor(s)
Iteration 2: Servers and Products
Details will be released in week 4
Iteration 3: Improvements from customer
feedback
Details will be released in week 7
Interface pecifications from Sally and Bob
Data types
string
integer
string
string
string
string
string
boolean
datetime
integer
string
string
integer
integer
List of dictionaries, where each dictionary
contains types { u_id, message, time_created,
is_unread }
List of dictionaries, where each dictionary
contains types { id, name }
List of dictionaries, where each dictionary
contains types { u_id, name_first, name_last }
Functions
(email,
password) { token }
(token) {}
(email,
password,
name_first,
name_last) { token }
(email) {}
(reset_code) {}
(token,
channel_id,
u_id) {}
(token,
channel_id) { name,
owner_members,
all_members }
(token,
channel_id,
start) { messages,
start, end }
(token,
channel_id) {}
(token,
channel_id) {}
(token,
channel_id,
u_id) {}
(token,
channel_id,
u_id) {}
(token) { channels }
(token) { channels }
(token, name,
is_public) { channel_id }
(token,
message,
time_sent) {}
(token,
message) {}
(token,
message_id) {}
(token,
message,
message_id) {}
(token,
message_id,
react_id) {}
(token,
message_id) {}
(token,
message_id) {}
(token,
message_id) {}
(token) { email,
name_first,
name_last,
handle_str }
(token,
name_first,
name_last) {}
(token, email) {}
(token,
handle_str) {}
(token,
img_url,
x_start,
y_start, x_end,
y_end) {}
(token) { time_finish }
(token,
message) {}
(token,
query_str) { messages }
(token, u_id,
permission_id) {}
(token, u_id,
permission_id) {}
Due Dates and Weightings
8pm Sunday 6th
October (week
3) In YOUR week 4
laboratory 30%
8pm Sunday
27th October
(week 6) In YOUR week 7
laboratory 40%
8pm Sunday
17th November
(week 9) In YOUR week 10
laboratory 30%
Expectations
While it is up to you as a team to decide how work is distributed between
you, for the purpose of assessment there are certain key criteria all
members must.
• Code contribution
• Documentation contribution
• Usage of git/GitLab
• Attendance
• Peer assessment
• Academic conduct
The details of each of these is below.
While, in general, all team members will receive the same mark (a sum of
the marks for each iteration), if you as an individual fail to meet these
criteria your final project mark may be scaled down, most likely quite
significantly.
Code contribution
All team members must contribute code to the project. Tutors will assess
the degree to which you have contributed by looking at your git history
and analysing lines of code, number of commits, timing of commits, etc. If
you contribute significantly less code than your team members, your work
will be closely examined to determine what scaling needs to be applied.
Documentation contribution
All team members must contribute documentation to the project. Tutors
will assess the degree to which you have contributed by looking at your git
history but also asking questions (essentially interviewing you) during
your demonstration.
Note that, contributing more documentation is not a substitute for not
contributing code.
Peer Assessment
You will be required to complete a form in week 10 where you rate each
team member’s contribution to the project and leave any comments you
have about them. Information on how you can access this form will be
released closer to Week 10. Your other team members will not be able to
see how you rated them or what comments you left.
If your team members give you a less than satisfactory rating, your
contribution will be scrutinised and you may find your final mark scaled
down.
Attendance
It is generally assumed that all team members will be present at the
demonstrations and at weekly check-ins. If you’re absent for more than
80% of the weekly check-ins or any of the demonstrations, your mark may
be scaled down.
If, due to exceptional circumstances, you are unable to attend your lab for
a demonstration, inform your tutor as soon as you can so they can record
your absence as planned.
Plagiarism
The work you and your group submit must be your own work. Submission
of work partially or completely derived from any other person or jointly
written with any other person is not permitted. The penalties for such an
offence may include negative marks, automatic failure of the course and
possibly other academic discipline. Assignment submissions will be
examined both automatically and manually for such submissions.
Relevant scholarship authorities will be informed if students holding
scholarships are involved in an incident of plagiarism or other
misconduct.
Do not provide or show your project work to any other person, except for
your group and the teaching staff of COMP1531. If you knowingly provide
or show your assignment work to another person for any reason, and
work derived from it is submitted you may be penalized, even if the work
was submitted without your knowledge or consent. This may apply even if
your work is submitted by a third party unknown to you.
Note, you will not be penalized if your work has the potential to be taken
without your consent or knowledge.