What this category's data looks like
In the foreign teacher appointment and course scheduling scenario, the materials entering the conversation logs and auditing function are mainly of three types: appointment contracts, work permit materials, and course scheduling tables. Appointment contracts provide the teacher's name, position, contract start and end dates, and signatures of both parties; work permit materials provide the permit number, validity period, issuance date, and receipt; course scheduling tables provide the course name, class, week number, instructor, and scheduling signature. The three types of materials are updated by appointment batch and semester, and their field characteristics are multiple names, multiple dates, and multiple signature positions. The same teacher's name spelling, number of teaching hours, and effective date are prone to inconsistency across different materials. The conversation logs and auditing function does not maintain a version ledger for the materials; it only retains conversation evidence by application and session dimension, for manual or external systems to compare against the fields, dates, and signatures of appointment contracts, work permit materials, and course scheduling tables during registration, export, and review.
Configuration and implementation checks
This part is executed by the conversation record interface (by application and session dimension), which outputs the session message list and the total record count, including role and reference information. "Handover-ready deployment status and operation records" are then completed by manual or external systems.
| Object | Check | Verification action |
|---|---|---|
| Appointment contract | The teacher's name, position, contract start and end dates, and signature must be aligned item by item with the work permit materials and course scheduling table | Take the contract and the other two materials and check side by side whether the name spelling, position title, start and end dates, signature, and receipt are complete |
| Work permit materials | The permit number, validity period, issuance date, and receipt must be consistent with the dates in the appointment contract and course scheduling table | Check the permit number and validity period, compare the contract start and end dates with the week numbers in the course scheduling table, and confirm that the receipt is not missing |
| Course scheduling table | The course name, class, week number, instructor, and scheduling signature must be consistent with the appointment contract and work permit materials | Check the instructor and class row by row by week number, and verify whether the scheduling signature corresponds to the contract position |
| Conversation record interface return | The total record count total and response code of 200 must be consistent with the full result retrieved by pagination | Pull pages by application and session identifier, pull two consecutive pages and compare total, sample one record to check the role, reference information, and time, and record the number of references and reference text tokens |
Three common errors
- Phenomenon: The same teacher's name spelling, number of teaching hours, or effective date does not match between the appointment contract and the course scheduling table. Cause: The two materials are registered separately, and field alignment by appointment batch has not been done.
- Phenomenon: The work permit materials have been replaced with a new version, but the appointment contract and course scheduling table still reference the old permit number and old validity period. Cause: The versions were not synchronized, and the same batch was not checked during handover.
- Phenomenon: The course scheduling table has scheduling records but lacks the instructor's signature or receipt, and the appointment contract lacks signatures from both parties. Cause: The signature and receipt steps were not closed-loop, and the handover form lacks the corresponding record items.
How to verify the setup
Acceptance of this function: retrieve all records by pagination according to the total record count total, sample one record to check the role, reference information, and time, confirm response code of 200, and separately record the number of references and reference text tokens.
Business test: check item by item once according to the handover form, see which record item is missing, and focus on checking the fields, dates, and signatures of the appointment contract, work permit materials, and course scheduling table.
- Pull conversation records by pagination according to the application and session identifier, pull two consecutive pages and compare total and offset, and confirm that the number of records matches the total.
- Open one record to check the role field, references, and elapsed time field, and check whether
_id,dataIdandvalueare consistent with the handover form.