Group8_GOAT_666 — Alpha Sprint Essay 3 (November 25–26)
| Item | Content |
| Course | EE308FZ Software Engineering · 2601_FZU-MU_SE |
| Assignment | Fifth Assignment — Alpha Sprint |
| Team / Project | GOAT_666 · ShanHai-Travel |
| Reporting period | November 25–26, 2026 · Days 5–6 |
| Report prepared by | 林昊旻 and 赵鸿夫 |
| Goal | Connect the remaining user and management pages to the API, check the main workflows, and record the remaining work before release. |
| Repository | ShanHai-Travel |
| Sprint index | Team collection |
| Previous report | Sprint Essay 2 |
| References | Project source code; docs/sprint/issues.md; docs/sprint/test-report.md; docs/API.md |
1. Focus of this block
The previous block covered the first seven pages and the API for favourites, comments, orders and uploads. This block focuses on the pages that use several of those services together: booking, the account centre, publishing, administration and analytics.
A booking page needs more than a working payment button. Its selected package, traveller details, order record and payment status must agree. The same applies to publishing: uploading an image and saving a post are separate requests, but the user expects one continuous task. These connections are the main focus of this report.
2. Sprint progress and burn-up
The sprint keeps the team's original scope of 120 SP. This block contributes 26 SP, bringing the Day-6 checkpoint to 108/120 SP (90%).
| Block | Days | Theme | Story points closed | Checkpoint |
| 1 | Nov 21–22 | Database, seed data, API skeleton (auth + catalogue) | 46 | 38% |
| 2 | Nov 23–24 | Remaining API (social, booking, upload), first six pages wired | 36 (total 82) | 68% |
| 3 | Nov 25–26 | Account centre, publishing, admin console, dashboard, testing | 26 (total 108) | 90% |
| 4 | Nov 27–28 | Documentation, one-click launcher, clean-machine acceptance | 12 (total 120) | 100% |

*Burn-up using the team's checkpoint figures. The dashed segment after Day 6 is the planned finish, not completed work.*
The final two days are reserved for documentation, launch instructions, packaging and reproducibility checks. Those items should remain visible as unfinished work until they have been checked.
3. Work covered by this checkpoint
3.1 Booking and order status
The booking page uses a three-step flow: select travel options, enter traveller information, and confirm payment. page-booking.js loads catalogue data, tracks the selected room and extras, and updates the price summary as the selection changes.
The backend saves the order header and its items in a database transaction. Payment is a simulation: the API updates the order status and returns mock: true. It does not connect to a payment provider. The account centre then uses the order API to display pending, paid, cancelled and refunded orders.

*Figure 1. Booking options and the price summary. Screenshot supplied with the project.*
3.2 Account centre
The account centre brings together the user's orders, posts, favourites and settings. Its tabs load their own data instead of keeping separate demonstration lists. Order actions call the payment or cancellation endpoint and then refresh the displayed records. Password changes also use the backend API.

*Figure 2. Orders in the account centre. Screenshot supplied with the project.*
3.3 Publishing
The publishing page supports a cover image, a photo gallery, tags, drafts and editing an existing post. Images are uploaded before their returned URLs are included in the post data. The shared API client sends uploads as FormData, letting the browser set the multipart boundary.
The upload route limits each request to nine files and each file to 5 MB. It checks the filename extension against jpg, jpeg, png, webp and gif. This is an extension check, rather than a check of the actual image contents.

*Figure 3. Post editing and image selection. Screenshot supplied with the project.*
3.4 Administration and analytics
The administration page connects management controls to the API. The backend also checks administrator permissions, so hiding a button in the browser is not the only access control. User status updates use the same active and banned values on both sides.
The analytics page requests aggregated data for the selected date range. It displays visits, order information and rankings. The project includes generated visit records for demonstration; these should not be presented as traffic from real visitors.

*Figure 4. Administration overview. Screenshot supplied with the project.*

*Figure 5. Analytics dashboard with demonstration data. Screenshot supplied with the project.*
4. Task and code records
Work in this block is shared equally between 林昊旻 and 赵鸿夫. The division below covers implementation, integration checks and testing for the listed modules.
| Member | Responsibilities | Related tasks / files | Contribution |
| 林昊旻 | Account centre and publishing: order actions, user settings, image upload, draft/edit flow, and related integration tests | #21–#22; frontend/js/page-profile.js, frontend/js/page-publish.js | 50% |
| 赵鸿夫 | Admin console and dashboard: management actions, permission checks, date-range switching, and related integration tests | #23–#24; frontend/admin.html, frontend/insights.html | 50% |
| Both | Review the user workflows, organise screenshots and test findings, and prepare this sprint report | This report and its evidence | Included above |
Relevant integration commits in the supplied repository:
| Commit | Content | Relation to this checkpoint |
| 3eb4043 | Express and MySQL backend | Previously integrated API used by the management pages |
| 8fa743b | Frontend pages connected to the API | Previously integrated page code reviewed in this block |
| a03bef9 | API reference, deployment guide and running screenshots | Supporting documentation and evidence recorded for November 26 |
The first two commits predate this reporting period. They identify the code under review rather than new submissions made on November 25–26. These are shared project integration records, not separate personal commits by the two members. Task numbers above refer to the project's backlog; Their detailed descriptions are available in docs/sprint/issues.md.
5. Verification
The supplied test report records a November 26 run with 43 automated checks and no failures. It also contains manual cases covering booking steps, price calculations, order actions, publishing and management controls. These results are taken from the team test report.
| Area | Check recorded in the project materials |
| Booking | Move through all three steps and check that selections remain available when going back |
| Orders | Create an order, simulate payment, cancel or refund it, and check the resulting status |
| Amounts | Compare the order total with its saved line items |
| Publishing | Upload images and save a draft; check that the draft appears in the user's posts |
| Permissions | A normal user receives 403 when requesting the administrator overview |
| Management | Check user status values and the rejection of destination deletion when orders reference it |
| Analytics | Switch between 7-, 30- and 90-day ranges and check that the displayed series changes |
The final manual sheet also contains later handover cases. Those later checks are not counted as work completed in this reporting period.
6. Problems and fixes
6.1 The admin page still used the prototype's login state
The test report records that admin.html still relied on the old sh_role value. This could make the page disagree with the session used by the API. The legacy branch was removed and the page was connected to the shared session guard, SH.site.guard('admin'). Backend administrator checks remain responsible for rejecting unauthorised API requests.
The regression check is to open the page with both a normal account and an administrator account, then check the API response as well as the visible page.
6.2 The frontend and backend disagreed on user status values
The frontend sent disabled, while the backend expected active or banned. The values were aligned, and the backend validates the submitted status. This avoids a control appearing to work while the account remains unchanged.
The regression check is to change the status, reload the user list, and confirm that the saved value is the one shown by the page.
7. Next block: November 27–28
1. Update the burn-up chart after the remaining 12 SP have been checked.
2. Check the API reference against the implemented fields and error codes.
3. Follow the launch instructions from a clean setup and record any missing steps.
4. Finish the screenshot package, testing essay and sprint summary.
5. Review the complete user flows once more, including refreshes, rejected requests and empty states.
8. Reflection
Checking pages separately can miss the problems between them. An order may be created correctly while the account page still shows an old status. An upload may succeed while the draft loses its image URL. The useful check is to follow the whole task, refresh the page, and see whether the saved result still matches what was submitted. That takes longer than checking a successful request, but it gives a clearer picture of what is actually ready.
相关推荐
Group 10 :Beta Stage Collection of Essays — StudentSys / Campus Smart Service
【代码】Group 10 :Beta Stage Collection of Essays — StudentSys / Campus Smart Service。
智慧城市工程施工管理智能体理场景的设计与实施方案.docx
智慧城市工程施工管理智能体理场景的设计与实施方案.docx
数字医院医疗质量智能体理场景的设计与实施方案.docx
数字医院医疗质量智能体理场景的设计与实施方案.docx
【风力涡轮发电机】用于电磁暂态(EMT)研究的第四类(即全变流器)风力发电机系统的通用模型研究(Simulink仿真实现)
内容概要:本文研究了一种用于电磁暂态(EMT)仿真的第四类全变流器型风力发电机系统的通用化建模方法,并基于Simulink平台实现了该模型的仿真。该模型全面涵盖了风力机气动特性、传动系统动力学、发电机电气特性、全功率电力电子变流器及其核心控制策略,包括最大功率点跟踪(MPPT)、有功与无功功率解耦控制、电网同步控制等,旨在为高比例风电接入的现代电力系统提供一个高精度、高效率的动态仿真工具。研究重点在于构建能够准确反映全变流器风机在各类电网扰动下动态响应行为的综合性模型,以支撑复杂电网的暂态稳定性分析、并网适应性评估、保护与控制策略的验证。文中详细阐述了各子系统模块的数学建模原理、参数设计依据及模块间的耦合关系,并通过不同运行工况下的仿真结果,验证了所建模型的动态准确性和工程实用性。; 适合人群:具备电力系统分析、电力电子技术、自动控制理论及Matlab/Simulink仿真基础的研究生、高校科研人员以及从事新能源发电并网仿真、电力系统规划与运行的工程技术人员。; 使用场景及目标:①研究高渗透率风电对电网电磁暂态过程(如短路故障、电压跌落)的影响机制;②开发与验证适用于风电场的新型继电保护、低电压穿越(LVRT)及高电压穿越(HVRT)控制策略;③进行含大规模风电的电力系统小干扰与大干扰稳定性评估;④作为高等院校相关专业进行风力发电系统动态特性教学与科研的先进仿真案例。; 阅读建议:读者应结合Matlab/Simulink环境,亲手搭建并调试文中所述模型,尤其关注变流器双闭环(电流环、电压环)控制器的设计、参数整定及其与电网强度的交互影响,建议深入研读文中引用的经典文献以巩固对风电机组控制理论与实践的理解。
西周BC809年世界历史地图矢量文件SHP格式.zip
本资源为《西周BC809年世界历史地图矢量文件SHP格式》压缩包,文件大小约 24.49 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。


