fix: import localized topics and flattened Sessionize speakers
This commit is contained in:
1 parent
5c93d4a0cb
commit
648daa0794
6 files changed
+226
-88
No files matched your search
@@ -131,6 +131,26 @@ cross-event slot/dependent mismatches fail atomically instead of cascading
|
||||
foreign-event rows. This is local validation only; it does not write migration
|
||||
history or deploy anything.
|
||||
|
||||
## Sessionize Excel Transform
|
||||
|
||||
The sidecar's [Excel transform tests](../../apps/sidecar/tests/transform-excel.test.js)
|
||||
use Node's built-in test runner and the installed `xlsx` dependency. They
|
||||
generate synthetic workbooks in memory, without real personal data, server
|
||||
startup, HTTP calls, or database access:
|
||||
|
||||
```bash
|
||||
npm test --prefix apps/sidecar
|
||||
node --check apps/sidecar/src/transform-excel.js
|
||||
node --check apps/sidecar/src/server.js
|
||||
```
|
||||
|
||||
Coverage includes the localized topic header, trimmed/case-insensitive header
|
||||
matching, nonempty Area/Topic fallback, complete comma-separated topic strings,
|
||||
flattened multi-speaker session grouping, duplicate speaker IDs/emails, singular
|
||||
Speaker Id fallback, legacy two-sheet plural Speaker Ids, scheduled time and
|
||||
metadata preservation, service-session classification, and unscheduled-row
|
||||
filtering. See [supported Excel formats](./sidecar.md#what-it-does).
|
||||
|
||||
## Files
|
||||
|
||||
- [`supabase/tests/rpc_tests.sql`](../../supabase/tests/rpc_tests.sql) — the test
|
||||
|
||||
Reference in new issue
Block a user