Repository navigation
Commit 180dc27
committed
fix(static): tighten description trigger analysis precision
Address MohammedAlkindi's follow-up on the repaired head: the
invocation-intent slash branch now requires a token-start slash, so a
slash embedded in a larger token (CI/CD) no longer reads as
slash-command invocation intent for TR2. Trigger-phrase extraction
skips filler words between the verb and the phrase, so 'asks to create
a poster' no longer flags TR1 on 'to'.
Regression tests: test_description_embedded_slash_not_invocation_intent
and test_description_trigger_phrase_skips_filler_words;
test_patterns_new.py 501 passed, ruff lint and format clean.
Signed-off-by: Deepak Jain <[email protected]>1 parent 3300434 commit 180dc27
2 files changed
Lines changed: 31 additions & 3 deletions
File tree
- src/skillspector/nodes/analyzers
- tests/unit
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
528 | 531 | | |
529 | 532 | | |
530 | | - | |
| 533 | + | |
531 | 534 | | |
532 | 535 | | |
533 | 536 | | |
534 | 537 | | |
535 | 538 | | |
536 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
537 | 542 | | |
538 | 543 | | |
539 | 544 | | |
540 | | - | |
| 545 | + | |
| 546 | + | |
541 | 547 | | |
542 | 548 | | |
543 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2302 | 2302 | | |
2303 | 2303 | | |
2304 | 2304 | | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
| 2322 | + | |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
2305 | 2327 | | |
2306 | 2328 | | |
2307 | 2329 | | |
| |||
0 commit comments