Skip to content
FENGJIA666Public

About

An accountable campus operations desk with inspectable routing, supervisor corrections and a replayable work-order ledger.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Hallshift

A campus dispatcher opens an inbox after a lecture. One room has a leaking tap, another has a dead projector, and a third needs a spill cleaned up before the next class. Hallshift turns each free-text report into an accountable maintenance ticket. A supervisor can inspect the routing decision, assign a different team, or withdraw a dispatch while preserving its history.

Open the live dispatch desk · Watch the 64-second demo · Download the demo MP4

Community & Operations entry by FENGJIA666.

Run locally

With Node.js and Python 3 installed, run the package’s static web server from the project directory and open the displayed site in your browser. The app bundles its routing model and requires no installation, account or API key.

npm start

Open the local workspace. Enter a fresh report in your own words and include a room when you know it. Create the ticket, inspect the decision record, then use the supervisor role to resolve a review, correct an assignment, or withdraw a ticket.

Decision map

Decision Technique Operational effect
Which crew should own this report? An in-browser statistical text classifier learns queue-specific word frequencies from 90 authored reports, 30 per team. Normalized scores rank Facilities, IT and Custodial. Each receipt names the strongest terms supporting its first choice.
Where is the work? Explicit location parsing looks for a usable site identifier. A report without a recognized location enters supervisor review.
Does the text mention an urgent hazard? Deterministic checks flag hazard phrases. A supervisor receives the report for assessment before a routine dispatch can be recorded.
Is there enough evidence to dispatch? Policy requires a top score of at least 0.73 and a lead of at least 0.30. Location, active hazards, resolved reports and competing requests are checked too. A qualifying report creates an assignment in the local queue. A review ticket keeps the context and reasons for human action.
Who may change this ticket? Role checks and ticket-state rules guard mutations. Dispatchers submit, viewers inspect, and supervisors approve, reassign or withdraw using a written reason.

A small, trained classifier makes a fresh prediction for every report and runs offline. It uses smoothed word frequencies to compare the three queues. The score expresses the model’s preference across those queues. Operational rules give the desk an explicit reason to pause even when the model strongly favors one crew. The four typed decisions on every receipt are location, queue, safety and routing. Permission checks run separately when a user attempts to change a ticket.

Accountability in the workspace

  • Inputs are the report text and the active demonstration role. The model and fixtures use authored examples.
  • State includes each original request, its assessment, the active queue entry, and an ordered event history. Supervisors can follow a ticket through review, dispatch, correction and withdrawal.
  • Recovery keeps the ticket and its previous transitions visible after a correction or withdrawal. A person can establish the owner of a mixed request, add the reason for an override and review the resulting assignment.
  • Scope is a single local workspace. A dispatch changes the prototype's queue. Contacting a maintenance crew or emergency service requires an operator using the campus's usual channels. The role selector lets judges exercise the access policy in one browser. A shared campus deployment would bind those roles to authenticated identities.

Follow a correction

Enter The waste bin in Room D104 has a broken pedal and needs a new hinge. Hallshift dispatches this report to Custodial with a 0.908 queue score. The object is a waste bin, but the job is to replace a hinge. A supervisor reassigns the ticket to Facilities, gives the reason, then opens the audit trail to see both destinations in order. The same operator can withdraw the order once the repair is confirmed. The full case is H18 in the replay.

Reproduce the test evidence

With Node.js 22 or newer:

npm test
node tests/replay.js
node tests/replay.js --write

Twenty evaluation reports were authored separately from the model examples. Each includes an intended crew when the request has one. The set includes routine campus work, missing locations, urgent hazards, unclear tasks, and tickets where a piece of equipment is mentioned but belongs to a different crew from the work requested. The replay records the engine's scores, decisions, action and outcome for every report. Run the replay after changing the classifier or decision policy to see how behavior changes. Use the write option to refresh the JSON. During development the mixed pipe-and-network report helped refine the multi-team review policy. These are a repeatable scenario benchmark.

On this build, 14 of the 20 reports entered a crew queue and six went to a supervisor. Twelve of the 14 dispatches reached the intended crew. The replay identifies both incorrect assignments, including the D104 work order above.

Workflow tests also exercise denied writes, duplicate prevention, blank input, supervisor decisions, missing-location verification, reassignment, withdrawal, preserved prior history and a persisted-state round trip.

Browser verification covers two open Chrome tabs, a mobile viewport, role changes, correction, withdrawal and recovery after a full reload.

About

An accountable campus operations desk with inspectable routing, supervisor corrections and a replayable work-order ledger.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages