Commit 4416642
Your Name
feat(quality): 3 output quality improvements for investigation-grade results
QFix 1 — trace_call_path disambiguation + file paths:
- When multiple callable symbols match, includes a 'candidates' array
with name, label, file_path, line for each (like IDE go-to-definition)
- Every BFS result node now includes file_path, label, start_line
- Adds matched_file, matched_label, matched_line to the root response
QFix 2 — domain-weighted flow terminal naming:
- Reduced BFS max_results from 200 to 50 to prevent generic utility
functions from becoming terminals
- Terminal candidates scored by: name length (domain names are longer),
CamelCase bonus, domain verb bonus (Handler, Controller, Service, etc.),
penalty for generic names (update, get, set, findOne, push, etc.)
- Result: 2/300 flows end in generic names (was ~280/300)
- Step count range: 3-51 (was 3-201)
QFix 3 — FTS5 search structural filtering:
- Exclude File/Module/Folder/Section/Variable/Project nodes from results
- Structural boost: Function/Method +10, Class/Interface/Type +5, Route +8
- High fan-in bonus: nodes with >5 CALLS in-degree get +3
- Result: 'authentication middleware' returns verifyJwt, apiMiddleware,
createAuthRequestConfig (was returning Folder/Module/Section noise)1 parent e0d6cca commit 4416642
2 files changed
Lines changed: 129 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
1512 | 1523 | | |
1513 | 1524 | | |
1514 | 1525 | | |
| |||
1563 | 1574 | | |
1564 | 1575 | | |
1565 | 1576 | | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
1566 | 1606 | | |
1567 | 1607 | | |
1568 | 1608 | | |
| |||
1591 | 1631 | | |
1592 | 1632 | | |
1593 | 1633 | | |
| 1634 | + | |
1594 | 1635 | | |
1595 | | - | |
1596 | | - | |
1597 | | - | |
1598 | | - | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1603 | 1643 | | |
1604 | 1644 | | |
1605 | 1645 | | |
| |||
1616 | 1656 | | |
1617 | 1657 | | |
1618 | 1658 | | |
| 1659 | + | |
1619 | 1660 | | |
1620 | | - | |
1621 | | - | |
1622 | | - | |
1623 | | - | |
1624 | | - | |
1625 | | - | |
1626 | | - | |
1627 | | - | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
1628 | 1668 | | |
1629 | 1669 | | |
1630 | 1670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2058 | 2058 | | |
2059 | 2059 | | |
2060 | 2060 | | |
2061 | | - | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
2062 | 2064 | | |
2063 | 2065 | | |
2064 | 2066 | | |
2065 | 2067 | | |
2066 | 2068 | | |
2067 | | - | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
2068 | 2076 | | |
2069 | 2077 | | |
2070 | | - | |
| 2078 | + | |
| 2079 | + | |
2071 | 2080 | | |
2072 | 2081 | | |
2073 | 2082 | | |
| |||
2085 | 2094 | | |
2086 | 2095 | | |
2087 | 2096 | | |
2088 | | - | |
| 2097 | + | |
2089 | 2098 | | |
2090 | 2099 | | |
2091 | 2100 | | |
2092 | 2101 | | |
2093 | | - | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
2094 | 2105 | | |
2095 | 2106 | | |
2096 | 2107 | | |
| |||
4612 | 4623 | | |
4613 | 4624 | | |
4614 | 4625 | | |
4615 | | - | |
| 4626 | + | |
4616 | 4627 | | |
4617 | 4628 | | |
4618 | 4629 | | |
4619 | 4630 | | |
4620 | 4631 | | |
4621 | 4632 | | |
4622 | | - | |
| 4633 | + | |
| 4634 | + | |
| 4635 | + | |
| 4636 | + | |
| 4637 | + | |
| 4638 | + | |
| 4639 | + | |
| 4640 | + | |
| 4641 | + | |
| 4642 | + | |
| 4643 | + | |
| 4644 | + | |
| 4645 | + | |
| 4646 | + | |
| 4647 | + | |
| 4648 | + | |
| 4649 | + | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
4623 | 4654 | | |
4624 | 4655 | | |
4625 | 4656 | | |
4626 | 4657 | | |
4627 | 4658 | | |
4628 | 4659 | | |
4629 | 4660 | | |
4630 | | - | |
| 4661 | + | |
4631 | 4662 | | |
4632 | 4663 | | |
4633 | 4664 | | |
| |||
4636 | 4667 | | |
4637 | 4668 | | |
4638 | 4669 | | |
4639 | | - | |
4640 | | - | |
| 4670 | + | |
| 4671 | + | |
| 4672 | + | |
| 4673 | + | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
| 4678 | + | |
| 4679 | + | |
| 4680 | + | |
| 4681 | + | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
| 4685 | + | |
| 4686 | + | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
| 4690 | + | |
| 4691 | + | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
| 4695 | + | |
| 4696 | + | |
| 4697 | + | |
| 4698 | + | |
| 4699 | + | |
| 4700 | + | |
| 4701 | + | |
| 4702 | + | |
4641 | 4703 | | |
4642 | | - | |
| 4704 | + | |
4643 | 4705 | | |
4644 | 4706 | | |
4645 | 4707 | | |
| |||
0 commit comments