Skip to content

Lab 9 Report

Efe Feyzi Mantaroğlu edited this page Apr 30, 2026 · 24 revisions

Lab 9 Report

Requirements Review

Reassessment and Current Status

Following the successful deployment of our MVP, we conducted a comprehensive stakeholder meeting to gather feedback. The core insight from this evaluation was that the true value of our application lies not just in standard accessibility routing, but in establishing a rich, highly granular, and crowdsourced accessibility database.

Based on this feedback, we reassessed our original requirements and introduced critical new features to our Software Requirements Specification (SRS). To provide a deeper and more personalized context for obstacles, we added hierarchical reporting types (Primary and Sub-categories), Indoor/Outdoor environment contexts, and optional numeric inputs (e.g., incline percentage or step height). Furthermore, we enhanced the community-driven aspect by allowing any registered user to edit existing reports and introduced fully customizable "Accessibility Profiles" to enable personalized routing rules.

Prioritization and Path to Final Delivery

To align our final delivery with the core identity of the app—which is empowering users through precise accessibility data—we have structured our remaining development plan into strict priority phases:

  • Priority 1: Advanced Reporting & Personalized Profiles (The New Requirements) Our immediate focus is to fully implement the new requirements gathered post-MVP. This includes building the UI/UX and backend logic for hierarchical tags, indoor/outdoor context, numeric data inputs, and the "Accessibility Profiles" (allowing users to map their physical capacities to specific routing exclusions).
  • Priority 2: The Report Feed & Advanced Filtering (Req. 1.2.7) Equally important to routing is the ability to discover and explore data. We will prioritize the "Report Feed" module, where users can view a scrollable list of all crowdsourced reports and filter them by location, specific features, and status. This guarantees that users can assess the accessibility of a neighborhood even without initiating turn-by-turn navigation.
  • Priority 3: The Notification System (Req. 1.2.5) Because we now allow any registered user to edit reports, a robust notification system is crucial. We will implement in-app notifications to alert original authors and voters when a report is modified or its status changes, ensuring data integrity and community trust.
  • Priority 4: Gamification & Secondary Features (Req. 1.2.6) Once the core accessibility ecosystem is fully functional, remaining development time will be allocated to the Gamification module (point allocation, badges, and leaderboards) and the User Search module.

Plan to Address Unimplemented Requirements

We recognize the risk of time constraints as we approach final delivery. Our strategy to handle requirements that are not yet fully implemented revolves around a modular Agile approach:

  1. Scope Reduction on Lower Priorities: If time becomes critical, we will scale back the Gamification module. For example, the backend will still calculate and assign points to maintain fairness, but the complex UI for the global Leaderboard or detailed Badge showcases may be simplified or deferred.
  2. Core Viability Over "Nice-to-Haves": Any non-essential features (such as searching for other users by exact display name) will be deprioritized. Our ultimate metric for success is whether a user with specific physical needs can accurately report an obstacle, define their custom profile, and safely navigate or browse the map.
  3. Architectural Readiness: For any feature that cannot be 100% completed by the deadline, we will ensure that the database schemas and backend API endpoints are structurally prepared. This ensures the application remains scalable and that these features can be easily activated in future iterations without technical debt.

Acceptance Testing Strategy

Our strategy centers on Validation, ensuring that we have "built the right thing" by meeting the expectations of our users and stakeholders. We will utilize a Black-box testing approach, focusing purely on the functional and non-functional behavior of the Neighborhood Accessibility Mapper without examining the internal backend code.

Acceptance testing approach

  • Black-box, stakeholder-driven. Scripts are executable from the UI and public APIs only; no knowledge of Spring services or React internals is required to run them. This keeps the stakeholder firmly in the role of acceptance authority.
  • Requirements-based coverage. Every High-priority requirement in the wiki has at least one matching test case, and every test case lists the requirement IDs it validates. This is the test-design lens recommended in the lecture: "examine each requirement, develop a test (or tests) for each requirement."
  • Risk-based prioritisation. Suites covering High-priority requirements (reporting, voting, routing, moderation) get exhaustive scripted coverage. Medium-priority requirements get smoke-level coverage. Low-priority items are exercised only opportunistically during exploratory sessions.
  • Test policies. (i) Every form must be tested with valid input and with at least one invalid input from each of the lecture's data-range categories extreme (long strings, very large numbers), invalid combinations (e.g., ramp report with no nearby stair), (ii) Every authenticated action must be tested once while logged out to verify the auth gate.

Acceptance process — stages we follow

We mirror the six formal stages defined in the lecture to conduct a rigorous internal validation of the system before release:

  1. Define acceptance criteria — established during the initial requirements review; each High-priority requirement has measurable pass conditions (e.g., "report reaches Verified status at ≥5 agreements & ≥60% ratio within 30s").
  2. Derive acceptance tests — author the structured test cases using the "Expected Result" vs. "Actual Result" format; peer-review them against the requirements wiki for coverage gaps before execution.
  3. Run acceptance tests — execute the scripts live within the development environment; a designated internal tester drives the UI while the team documents the results in the standardized test document.
  4. Negotiate test results — for any "Fail" row, the team conducts a post-test review to decide if the deviation is a functional defect (requiring a GitHub issue), a requirement clarification, or an accepted technical limitation.
  5. Reject / accept the system — the final release decision is made based on the aggregate performance: all High-priority cases must be marked "Pass" and no High-severity defects may remain open.

Traceability chain

To ensure accountability and project quality, every defect discovered is traced through a comprehensive chain: Requirement ID → Test Case ID → Test Execution ID (session date + tester) → Defect ID (GitHub issue). This mapping allows the team to identify exactly which requirement is threatened by a bug and which specific test will verify the eventual fix.

Acceptance criteria (when is a requirement "accepted"?)

A requirement is formally accepted by the team when all of the following conditions hold:

  • Every individual test step's Actual Result matches its Expected Behavior (Status = Pass).
  • The entire user flow completes without unhandled errors visible to the end-user or recorded in the backend server logs.
  • The system's non-functional performance (response times and reliability) meets the pre-defined project standards.

Data Strategy

Our data strategy is based on combining real-world observations with additional generated data to ensure both realism and sufficient system coverage.

To capture realistic usage, we will collect data directly near the university campus (including Hisarustu and part of Etiler). Team members will use the application while moving around and create reports based on actual accessibility conditions such as obstacles, pathways, and navigation issues. This helps ground the system in real user experiences.

Alongside this, we will generate additional data to expand the dataset and simulate more complex scenarios. This includes creating multiple user accounts, as well as adding extra reports to test system behavior under higher activity and different interaction patterns.

The generated data will be designed to stay consistent with what we observe in the real-world data. We will use the campus data as a reference and ensure that locations, report types, and descriptions in the synthetic data follow similar patterns.

Finally, we will validate the overall dataset by testing complete user flows, from report creation to moderation, using different roles. This ensures that the data not only looks realistic but also supports meaningful and practical testing of the system.

Example Acceptance Tests

T-201: Registered User Creates Obstacle Report with Media

Stakeholder: Registered User (end user) | Priority: High | Goal: Verify a user can file a report with photos, tags, and location, and see it appear on the map.

T-201 Step No Instruction Expected Behavior Actual Result Note
1 Log in as a registered user and tap "Report Obstacle" on the Home map. Reporting form opens with the GPS pin prefilled at user location.
2 Attach 5 photos of a broken sidewalk. All 5 thumbnails render; a 6th attempt is rejected with "max 5 files".
3 Select tag "Outdoor → Pavement → Broken" and add description "Cracked tiles near tram stop". Tag chip appears; description is preserved.
4 Submit the report. Toast "Report submitted" appears within 2s; modal closes.
5 Pan the map to the report location. A pin with status "Pending" is visible at the submitted coordinates.

T-202: Community Voting Promotes Report to Verified

Stakeholder: Registered Users (community) | Priority: High | Goal: Confirm req. 1.2.3.7 — a report reaches Verified at ≥5 agreements with ≥60% ratio.

T-202 Step No Instruction Expected Behavior Actual Result Note
1 Open a Pending report card on the map. Status badge shows "Pending"; Agree/Disagree buttons are enabled.
2 Cast 4 Agree votes from 4 different test accounts. Vote counter increments to 4; status remains "Pending".
3 Cast a 5th Agree vote (total 5/5 agree = 100%). Status badge updates to "Verified" within 30s across all open sessions.
4 Refresh the page as a guest user. The report still shows "Verified" status.

T-203: Accessible Routing with Color-Coded Alternatives

Stakeholder: Registered User with mobility needs | Priority: High | Goal: Verify req. 1.2.4 — multiple routes are calculated and visually distinguished by accessibility level.

T-203 Step No Instruction Expected Behavior Actual Result Note
1 From Home, choose "Route", set start = current GPS, end = "Boğaziçi Güney Kampüs". Route panel opens; ≥1 route is computed within 2 seconds.
2 Inspect the rendered routes. At least 2 alternatives are drawn, each with a distinct color matching an accessibility legend (e.g. green=fully accessible, yellow=partial, red=stairs).
3 Tap the green route. Turn-by-turn directions list opens with distance and ETA.
4 Toggle "Ramp assisted". Route is recomputed within 2s; the new route does not cross any obstacle pin tagged such as "Missing Ramp".

T-204: Guest User Filters Reports by Accessibility Tag

Stakeholder: Guest visitor | Priority: High | Goal: Verify req. 1.1.1.1 — guests can search and filter without authentication.

T-204 Step No Instruction Expected Behavior Actual Result Note
1 Open the web app in a private browser window (no session). Map loads centered on user GPS in ≤5s.
2 Open the filter panel and enable "Missing Ramp". Pins not matching the tag are hidden; matching pins remain.
3 Tap a pin. Report detail drawer opens; existing comments are visible to the guest, but the comment input is replaced with a "Log in to leave a comment" message linking to /login.
4 Tap the "Agree" (vote) button. The app redirects to the Login page.

T-205: Admin Moderates an Inappropriate Report

Stakeholder: Admin | Priority: High | Goal: Verify req. 1.1.1.3 — admin can review and remove reports via dashboard.

T-205 Step No Instruction Expected Behavior Actual Result Note
1 Log in as admin and open /admin. Dashboard lists reports sorted by recency.
2 Open a report flagged by ≥3 users. Detail view shows reporter, photos, vote breakdown, and "Remove" / "Approve" buttons.
3 Click "Remove". Report is deleted.
4 Refresh the public map. The removed report's pin is gone.

T-206: Password Complexity at Signup (Security NFR 2.3)

Stakeholder: New user | Priority: High | Goal: Verify password rule — ≥8 chars, upper, lower, special.

T-206 Step No Instruction Expected Behavior Actual Result Note
1 Open Signup and enter password "password". Inline error: "Must contain uppercase letter and special character". Submit disabled.
2 Change password to "Password1". Inline error: "Must contain a special character". Submit still disabled.
3 Change password to "Password1!". All complexity hints turn green; Submit becomes enabled.
4 Submit the form. Account is created; user lands on Home logged in.

T-207: Ramp Report Rejected When No Stair Is Nearby

Stakeholder: Registered User | Priority: High | Goal: Regression for commits badc533 / 13cc10b — a ramp report cannot be filed where no stair exists.

T-207 Step No Instruction Expected Behavior Actual Result Note
1 Open "Report Ramp" while standing in an open park (no stairs within ~30m via Overpass). Form opens with a warning "No stair found near this location".
2 Attempt to submit anyway. Backend returns HTTP 400 with message "No stair found near this location"; UI shows a clear error toast and does not navigate away.
3 Move to a location next to a known stair and re-open the form. Warning is gone; submit is enabled.
4 Submit the ramp report. Backend returns 201; the ramp pin appears on the map within 5s.

🛠️ Individual Contributions

  • Burak Altunay

    • Added T-205 (Admin Moderates an Inappropriate Report)
  • Mustafa Aytekin

    • Authored T-206 (Password Complexity at Signup); validated all test steps against live deployment at mapcess.live.
  • Efe Feyzi Mantaroğlu

    • Added T-204 (Guest User Filters Reports by Accessibility Tag)
    • Discussed on Acceptance Test Criteria
  • Alaaddin Eren Namlı

    • Authored the Requirements Review section to outline our post-MVP strategy and feature prioritization.
    • Documented and added the newly established system requirements to the repository wiki.
    • Added T-201 (Registered User Creates Obstacle Report with Media)
  • Mert Özüstün

    • Worked on Data Strategy part and wrote it on the report
    • Added T-202 (Community Voting Promotes Report to Verified)
  • Mücahit Şimşek

    • Added T-203 (Accessible Routing with Color-Coded Alternatives)
    • Discussed on Acceptance Test Criteria
  • Yeldos Urashev

    • Added T-207 (Ramp Report Rejected When No Stair Is Nearby)
    • Discussed the Requirements Prioritization

logo Mapcess

Team Members

Final Milestone Deliverables

MVP Deliverables

Lab Reports

Communication Plan

Weekly Meetings

Sub-Group Meetings

Other Meetings

Project Documentation

RAM

Scenarios and Mock-ups

Use Case Diagrams (Initial)

Use Case Diagram (Final)

Class Diagram (Final)

Sequence Diagram (Final)

Standards & Conventions

Test & Coverage Plan

Mapping API Comparison Report

MVP Demo

Final Demo

Clone this wiki locally