Reads every pd_name_cleanup_staging row still marked
pending_analysis and decides a bucket from the staged name.
The read joins oc_product and oc_manufacturer for
the live model, MPN, and manufacturer. Names with fewer than three commas
go to Bucket B (ai_ready) with the proposal fields cleared.
Names with three or more commas are split on the first comma. The text
before that comma becomes the proposed title after model and MPN removal.
When that title is 70 characters or fewer, the remaining comma-separated
pieces become a FEATURES list and the row is saved as Bucket A
(auto_processed). When the title is still longer than 70
characters, or nothing is left after model and MPN removal, the row goes
to Bucket B. This phase does not change oc_product or
oc_product_description.
action=split.php maintenance/productNameCleanup_phase2_split.php from the fsadmin directory. JSON clients send format=json or the XMLHttpRequest header. Those callers skip navigation.bucket_b, ai_ready, proposed name and spec snippet cleared, proposed character count 0.pending_analysis are not written again.0
status = pending_analysis
11,592
status = auto_processed
4,100
status = ai_ready
| Metric | Value |
|---|---|
| Database | opencart_fsreal_oc3 |
| Rows processed | 0 |
| Bucket A auto_processed | 0 |
| Bucket A with no remaining features | 0 |
| Bucket B ai_ready | 0 |
| Bucket B fewer than 3 commas | 0 |
| Bucket B title still over 70 | 0 |
| Bucket B title empty after model/MPN removal | 0 |
| Rows skipped | 0 |
| Batches committed | 0 |
| Execution time | 0.034 seconds |
| Memory usage | 2.00 MB |