AI teaching features: QA guide on production

One tab per sub-ticket of SP-593. Each tab tells QA how to switch the feature on, what to click on production, what you should see, and what it costs. The content refresh ticket (SP-682) is not part of this page.

SP-593 · 3 Dec 2026

Status as of 3 Dec 2026

Stage
Released. The ticket is Done and the feature runs on production (skillpixel.vn).
Ticket
SP-679: Lecture video generation from PowerPoint and transcript
Walkthrough
Done on production on 2 and 3 Dec 2026, tenant SkillPixel, on the draft private course "Hoan Course - Test" only. One good job finished. One broken-file job failed as expected.
Screenshots
Real production screens, not mock data. The admin email is hidden in the admin shots.
Feature flag now
On for the whole SkillPixel tenant (it was off before this walkthrough). Every instructor of the tenant now sees the Lecture video tab.

Why this exists

Instructors already have slides and a written script. Recording a narrated video by hand takes hours. This feature takes the script (.xlsx) and the slides (.pptx), adds an AI voice, renders a video and puts it in the course video library with captions. QA needs to check the full path on production: switch it on, run one job, see the cost, and see a clear error for a bad file.

What happens, in one picture

Step 1

Admin turns it on

Platform admin, tenant, Features, "Lecture video generation".

Step 2

Instructor uploads

Course, Lecture video tab, script .xlsx and slides .pptx.

Step 3

Confirm the voice

AI suggests the language. The instructor confirms it.

Step 4

Render

Status "Đang dựng" with the current stage and minutes.

Step 5

In the library

"Đã đưa vào thư viện". Bunny prepares playback, captions follow.

Rules for testing on production. Use only the course "Hoan Course - Test" (draft, private). Do not upload to any other course. Each good job costs real money (about 0.19 USD for the files below). Only one job can run per course at a time.

Test files

Download these files before you start. The slides come from MIT OpenCourseWare (15.082J Network Optimization, Fall 2010, CC BY-NC-SA 4.0). They have many PowerPoint animations: 44 effects on 13 slides. The script has 17 English sentences, about 110 seconds. Every instruction line on the slides is also in the script.

FileUse it for
BFS_test_13slides.pptxGood case. The slides.
BFS_test_script.xlsxGood case. The script. The file name becomes the video name.
slide_hong.pptxError case. A text file renamed to .pptx.
Test_loi_slide_hong.xlsxError case. Same script under another name.

This is how the slide animations look in PowerPoint itself (exported by PowerPoint, 46 seconds, no sound). Compare it with the video the system makes.

How to test it

  1. Check the starting state in Platform admin

    Open Platform admin, Tenants, SkillPixel, Features. Search "lecture_video". The switch "Lecture video generation" shows the tenant setting. Below it are three settings: the language model, the render deadline (90 minutes) and the job estimate (50000 VND).

    Platform admin Features page for SkillPixel, Lecture video generation switch off, render deadline 90, job estimate 50000
    Before the walkthrough: the switch is off. Plan "No plan", 17 overrides on this tenant.
  2. Check that instructors cannot see it while it is off

    Open the course as its instructor. The course has five tabs and no "Video bài giảng" tab. Typing the address /lecture-video by hand shows a 404 page.

    Course Hoan Course - Test with five tabs and no lecture video tab
    Off: five tabs, from Nội dung to Đánh giá.
    404 page when opening the lecture video address while the feature is off
    Off: the direct address gives 404.
  3. Turn it on

    Click the switch. A message confirms "lecture_video.enabled → true (TENANT scope)". The change is saved at once, but the LMS keeps the tenant settings for up to 5 minutes. Open a new browser tab, or wait 5 minutes, before you check the course.

    Lecture video generation switch on, with a confirmation message at the bottom right
    The switch is on, the confirmation message is at the bottom right.
  4. Open the new tab and pick the files

    The course now has a sixth tab, "Video bài giảng". Choose BFS_test_script.xlsx and BFS_test_13slides.pptx. Leave "Ngôn ngữ và giọng đọc" on "Tự động nhận diện" so you also test the language step. Click "Bắt đầu tạo video".

    Lecture video page with empty file inputs and an empty list
    On: the sixth tab and an empty list.
    Both test files chosen and the start button enabled
    Both files chosen, the start button is active.
  5. Watch the job move

    The list refreshes every 5 seconds. You do not need to stay on the page.

    New job Hoan Course - Test - BFS_test_script with status Đang chờ
    23:57:42: the job is created, status "Đang chờ". Name: course name plus the script file name.
    Language step: detected English, American voice preselected, Tiếp tục tạo video button
    About 1.5 minutes later: "Chọn ngôn ngữ giọng đọc". Detected English, American voice preselected. Click "Tiếp tục tạo video".
    Status Đang dựng, stage beats, 0 minutes
    "Đang dựng", stage "beats" (matching slides to sentences), 0 minutes.
    Status Đang dựng, stage deliver, 3 minutes
    Stages seen: beats, render, deliver. Here: "deliver" after 3 minutes.
  6. Check the result

    At about 00:04 the status turned to "Đã đưa vào thư viện". The row says captions are still being added, and that Bunny may need a few minutes before the video plays. "Xem video" opens the player.

    Status Đã đưa vào thư viện with captions in progress and a Xem video link
    Delivered about 6.5 minutes after upload, about 4.5 minutes after the language was confirmed.
    Player dialog showing Bunny's Processing video screen
    Right after delivery the player shows Bunny's "Processing video" screen. This is expected for a few minutes.
  7. Test a broken file

    Choose Test_loi_slide_hong.xlsx and slide_hong.pptx and start. The job fails at once with "Tệp không dùng được" and a clear message to check the file formats. No video is made and no AI cost is added.

    Failed job with status Tệp không dùng được and the explanation under it
    The failed row. Note two issues listed below: the row shows an internal id instead of a name, and the short popup was in English.

What one job costs

Open Platform admin, SkillPixel, AI. The tenant had no AI use in December before this test, so all numbers below come from the one good job.

AI page before the test: no AI requests, 0 USD
Before: "No AI requests in this period", 0.00 USD.
AI page after the job: 27 requests, 5,925 tokens, estimated cost 0.1887 USD
After: 27 requests, 5,925 tokens, 0.1887 USD, all paid by the platform key.
By feature table and AI statement: 0.19 USD, 4,913 VND
The cost by step and the open December statement: 0.19 USD, 4,913 VND at 26,030 VND per USD.
StepWhat it doesRequestsCost
Lecture video lesson profileAI reads the script and works out its columns.10.0268 USD
lecture_video.languageAI detects the narration language.10.0045 USD
Lecture video renderThe video render.20.1168 USD
Lecture video narration (text-to-speech)The AI voice, one request per sentence group.230.0407 USD
Total270.1887 USD

Checked by hand. 0.0268 + 0.0045 + 0.1168 + 0.0407 = 0.1888 USD; the page shows 0.1887 because each line is rounded. 0.1887 × 26,030 = 4,912 VND; the statement shows 4,913 because it converts each request on its own day.

What the school would pay. The lecture video credit counts cost × USD rate × 1.5, so this job would use about 7,370 VND of credit. Before a job starts, the system holds back one estimate (50,000 VND).

Usage, AI credit tab: no AI text allowance and no AI lecture video allowance
Usage, AI credit: SkillPixel has no lecture video allowance. In the code, a tenant with no allowance is not limited, so jobs run and the cost is still recorded. The "credit too low" error cannot be tested on this tenant without setting an allowance first.

Test cases and results

CaseExpectedResult on 2–3 Dec
Feature offNo tab. Direct address gives 404.Pass
Turn on in adminTab appears after a new tab or up to 5 minutes.Pass (needed a fresh load)
Good files, auto languageAI detects English and waits for the instructor to confirm.Pass
Render and deliverStatus reaches "Đã đưa vào thư viện".Pass (about 6.5 minutes)
Play the videoPlays in the dialog after Bunny finishes.Pending Bunny still showed "Processing video" at 00:12, 8 minutes after delivery. Check again.
CaptionsCaptions attach after delivery.Pending still "being added" at 00:12
Cost in adminLecture video lines appear on the AI page.Pass 0.1887 USD
Broken .pptxFails at once with a clear message, no cost.Pass with 2 display issues below
Credit too low (429)Start is refused with a message.Not tested tenant has no allowance

Issues found

None of these blocks the feature. They are display problems for the ticket owner to triage.

WhereWhat we sawExpected
Lecture video list, running jobStage shows internal English words: "Bước: beats", "render", "deliver".A Vietnamese label for each stage.
Lecture video, broken fileThe popup said "deck.pptx is not an Office file. It may have been renamed rather than saved in that format." in English on the Vietnamese page.A Vietnamese message.
Lecture video list, failed jobThe name column shows the internal id "PBaClS9Ae7O68cDcdqbvX" instead of the course and file name.Same name pattern as a good job.
Lecture video list, failed job"Số lần thử: 0/3" shows for a file error, but this kind of error cannot be retried.Hide the counter when retry is not possible.
Platform admin, AI pageThe language step shows the raw key "lecture_video.language" instead of a name.A readable name like the other lines.
Platform admin, AI pageTop tiles show "$0.1887"; the statement below shows "0.19 USD".One money format.

Known limits

After testing

  1. The flag "Lecture video generation" is still on for the SkillPixel tenant. Decide whether to keep it on. To turn it off, click the same switch in Platform admin.
  2. The test video "Hoan Course - Test - BFS_test_script" stays in the course video library of "Hoan Course - Test". It is not attached to any lesson.
  3. Add the result to SP-679 and raise tickets for the issues above if the owner agrees.