Pulling external results and Survey answers into an Offering
D3a supports Xuexitong assignments and iTest assessed results; D3b supports Xuexitong Survey answer vectors. Pull is an online, teacher-invoked operation; it never runs in the background or publishes to a platform.
Prepare the native records
Section titled “Prepare the native records”The Offering needs its rostered learners and issuer-scoped OneRoster User snapshots. The source student number must exactly match the roster User’s identifier, including leading zeros. sourcedId is a separate opaque identity. Pull does not match names or create learners.
Create a published Assessment Definition in the Offering with the same maximum as the external assessment. An Observation Assessment cannot be the target. Native Item mappings are optional for aggregate grades, but an item mapping must select an exact Item Version referenced by that Assessment Definition. Published older versions remain selectable even when the Item bank has a newer version.
Attachment stops native learner delivery for that definition. A definition with existing non-erased native Attempts cannot be attached: create a separate definition for the external result. Teachers retain its authored content and editing access. Before any evidence lands, an explicit retarget can move the counterpart to another definition; the previous definition then becomes available for native delivery again.
Configure and Pull
Section titled “Configure and Pull”- Prepare your own Connection through Connections. The current slice accepts a pasted session. A usable session does not establish the account’s identity; each Pull verifies access to its exact external class and assessment.
- Open the Offering’s Platform Bridge tab. Add the external class context, roster issuer, source year and date window. The fallback attribution instant must be inside that window. These fields are authored context. No year or historical window is inferred from today’s date.
- Attach the external assessment to the native definition. Xuexitong task, released work and work-library IDs are distinct; iTest class-test and paper IDs are distinct. The source maximum must agree with the native definition. A source object has one canonical counterpart, independent of the Connection used to read it.
- Select your Connection and explicitly Pull. The result reports landed, unchanged and held records, together with bounded transient issues. Missing or ambiguous identities and grades owned by another writer are held. Fix the underlying roster/context and repeat Pull; there is no persistent queue of unmatched identities.
- After a successful complete read, optionally map its observed external item keys to exact native Item Versions. Repeating Pull applies those mappings. A source structure change invalidates old mappings rather than guessing new links.
An attached binding’s issuer/window/attribution can be corrected before any external evidence lands, while its source namespace stays fixed. After evidence lands, edits cannot silently retarget that evidence. Changes during a Pull make its finalization stale; reload the configuration and repeat explicitly.
What a correction changes
Section titled “What a correction changes”A corrected source grade updates its own result and Gradebook Entry. Identical normalized records keep their timestamps. Zero is a grade. A supported explicit unfinished/ungraded state clears its own aggregate mark; a learner disappearing from a listing does not retract a grade. Unsupported or incomplete source pages refuse the snapshot.
Imported cells display their source and have no native Attempt review/grading action. Native grading and OneRoster writes refuse to overwrite Bridge-owned grades. Use a separate Assessment Definition for a genuinely different result source. Historical external item rows are excluded from active evidence when their parent is ungraded or their structure is no longer current.
Attribution uses a validated source submission instant, falling back to the authored attribution instant, against effective identity bindings and Offering learner membership. The roster identifier is the current issuer assertion from successful snapshots; it does not reconstruct a historical identifier timeline. Tombstones, changed identifiers and competing assertions can therefore hold historical rows rather than guess.
Survey answer vectors
Section titled “Survey answer vectors”- Create an open or closed native Survey and its Questionnaire in an institutional Offering. The initial supported answer items are static SurveyJS text/comment questions with literal text input. Conditional/dynamic logic and other answer types are reported as unsupported. Current native submission windows do not define the external historical source window.
- In the Offering Bridge tab, attach the exact native target and positive numeric external activity ID to the authored Xuexitong class binding. Native scope, anonymity, question semantics and derived index freeze at attachment; titles, status and windows remain editable. Before any accepted snapshot, an explicit unused native retarget or activity-ID correction on the same binding clears obsolete preparation. Saving an unchanged attachment preserves preparation and mappings. Every accepted snapshot, including zero, fixes the used identity/context.
- Select your owned Connection and prepare Survey access with an explicit mobilelearn host-only cookie paste. This is separate from the primary Xuexitong host. Cookie text is cleared before the command is awaited and is never kept in browser storage. Failed preparation preserves the existing session; success does not claim both hosts represent an independently verified same account. Preparation works before the activity starts.
- Map every server-observed external question ID to exactly one native item. The whole mapping must cover both question sets; there is no prompt/order matching. Changed observed source structure requires deliberate mapping replacement.
- Explicitly Pull once the activity is running or ended. Both modes return only aggregate counts and fixed issue categories. The source represents current per-question answers, not a submission/revision history. Every collection requires two matching complete reads; incomplete reads and unresolved/ambiguous/wrong-audience/out-of-period attribution preserve the entire prior graph.
Whole-vector identity is resolved at the authored attribution instant. Each supplied question time is checked against the source period independently. Known declined invitations or opted-out participation exclude those answers; a complete all-excluded cohort may legitimately replace the owned graph with zero responses.
All imported teaching feedback is research-excluded. Identified corrections preserve owned canonical identities. Anonymous equal multisets preserve the graph; a changed complete multiset replaces only its own imported graph using random identities and a shared observation time. There is no hidden Person/student-number receipt for anonymous imports, so targeted anonymous withdrawal is unavailable. Answer text itself can identify its author. Imported vectors emit no fabricated native lifecycle telemetry.
Proof and deployment boundaries
Section titled “Proof and deployment boundaries”Application tests use fictional provider responses and real native SQL. They cover pagination, exact target validation, attribution, source ownership, stale finalization and response/audit privacy. Learner answers, answer keys, learner names/IPs and arbitrary provider payloads are not persisted or returned by assessed-result Pull.
Migrations remain unapplied. The Connections setup is still required; actual Vault encryption/reader privileges, live platform compatibility and password/captcha/browser coexistence are separate acceptance work. A platform refusal is not a successful empty import. Reload after an interrupted or stale request before retrying.