aider-ce 0.87.12__py3-none-any.whl → 0.87.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of aider-ce might be problematic. Click here for more details.
- aider/__init__.py +1 -1
- aider/_version.py +2 -2
- aider/repomap.py +33 -6
- {aider_ce-0.87.12.dist-info → aider_ce-0.87.13.dist-info}/METADATA +7 -7
- {aider_ce-0.87.12.dist-info → aider_ce-0.87.13.dist-info}/RECORD +9 -9
- {aider_ce-0.87.12.dist-info → aider_ce-0.87.13.dist-info}/WHEEL +0 -0
- {aider_ce-0.87.12.dist-info → aider_ce-0.87.13.dist-info}/entry_points.txt +0 -0
- {aider_ce-0.87.12.dist-info → aider_ce-0.87.13.dist-info}/licenses/LICENSE.txt +0 -0
- {aider_ce-0.87.12.dist-info → aider_ce-0.87.13.dist-info}/top_level.txt +0 -0
aider/__init__.py
CHANGED
aider/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '0.87.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 87,
|
|
31
|
+
__version__ = version = '0.87.13'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 87, 13)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
aider/repomap.py
CHANGED
|
@@ -612,6 +612,7 @@ class RepoMap:
|
|
|
612
612
|
personalization[rel_fname] = current_pers # Assign the final calculated value
|
|
613
613
|
|
|
614
614
|
tags = list(self.get_tags(fname, rel_fname))
|
|
615
|
+
|
|
615
616
|
if tags is None:
|
|
616
617
|
continue
|
|
617
618
|
|
|
@@ -643,7 +644,7 @@ class RepoMap:
|
|
|
643
644
|
if ident in references:
|
|
644
645
|
continue
|
|
645
646
|
for definer in defines[ident]:
|
|
646
|
-
G.add_edge(definer, definer, weight=0.
|
|
647
|
+
G.add_edge(definer, definer, weight=0.01, ident=ident)
|
|
647
648
|
|
|
648
649
|
for ident in idents:
|
|
649
650
|
if progress:
|
|
@@ -658,12 +659,32 @@ class RepoMap:
|
|
|
658
659
|
is_camel = any(c.isupper() for c in ident) and any(c.islower() for c in ident)
|
|
659
660
|
if ident in mentioned_idents:
|
|
660
661
|
mul *= 10
|
|
661
|
-
|
|
662
|
+
|
|
663
|
+
# Prioritize function-like identifiers
|
|
664
|
+
if (
|
|
665
|
+
(is_snake or is_kebab or is_camel)
|
|
666
|
+
and len(ident) >= 8
|
|
667
|
+
and "test" not in ident.lower()
|
|
668
|
+
):
|
|
662
669
|
mul *= 10
|
|
663
|
-
|
|
664
|
-
|
|
670
|
+
|
|
671
|
+
# Downplay repetitive definitions in case of common boiler plate
|
|
672
|
+
# Scale down logarithmically given the increasing number of references in a codebase
|
|
673
|
+
# Ideally, this will help downweight boiler plate in frameworks, interfaces, and abstract classes
|
|
665
674
|
if len(defines[ident]) > 5:
|
|
666
|
-
mul *=
|
|
675
|
+
mul *= math.log((5 / (len(defines[ident]) ** 2)) + 1)
|
|
676
|
+
|
|
677
|
+
# Calculate multiplier: log(number of unique file references * total references ^ 2)
|
|
678
|
+
# Used to balance the number of times an identifier appears with its number of refs per file
|
|
679
|
+
# Penetration in code base is important
|
|
680
|
+
# So is the frequency
|
|
681
|
+
# And the logarithm keeps them from scaling out of bounds forever
|
|
682
|
+
# Combined with the above downweighting
|
|
683
|
+
# There should be a push/pull that balances repetitiveness of identifier defs
|
|
684
|
+
# With absolute number of references throughout a codebase
|
|
685
|
+
unique_file_refs = len(set(references[ident]))
|
|
686
|
+
total_refs = len(references[ident])
|
|
687
|
+
ext_mul = math.log(unique_file_refs * total_refs**2 + 1)
|
|
667
688
|
|
|
668
689
|
for referencer, num_refs in Counter(references[ident]).items():
|
|
669
690
|
for definer in definers:
|
|
@@ -671,7 +692,13 @@ class RepoMap:
|
|
|
671
692
|
# if referencer == definer:
|
|
672
693
|
# continue
|
|
673
694
|
|
|
674
|
-
|
|
695
|
+
# Only add edge if file extensions match
|
|
696
|
+
referencer_ext = Path(referencer).suffix
|
|
697
|
+
definer_ext = Path(definer).suffix
|
|
698
|
+
if referencer_ext != definer_ext:
|
|
699
|
+
continue
|
|
700
|
+
|
|
701
|
+
use_mul = mul * ext_mul
|
|
675
702
|
if referencer in chat_rel_fnames:
|
|
676
703
|
use_mul *= 50
|
|
677
704
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aider-ce
|
|
3
|
-
Version: 0.87.
|
|
3
|
+
Version: 0.87.13
|
|
4
4
|
Summary: Aider is AI pair programming in your terminal
|
|
5
5
|
Project-URL: Homepage, https://github.com/dwash96/aider-ce
|
|
6
6
|
Classifier: Development Status :: 4 - Beta
|
|
@@ -86,22 +86,22 @@ The current priorities are to improve core capabilities and user experience of t
|
|
|
86
86
|
* [x] Refactor codebase to have the main loop run asynchronously
|
|
87
87
|
* [x] Update test harness to work with new asynchronous methods
|
|
88
88
|
|
|
89
|
-
2. **Repo Map Accuracy**
|
|
90
|
-
* [
|
|
89
|
+
2. **Repo Map Accuracy** - [Discussion](https://github.com/dwash96/aider-ce/issues/45)
|
|
90
|
+
* [x] [Bias page ranking toward active/editable files in repo map parsing](https://github.com/Aider-AI/aider/issues/2405)
|
|
91
|
+
* [ ] [Include AST information in repo map for richer context](https://github.com/Aider-AI/aider/issues/2688)
|
|
91
92
|
* [ ] [Handle non-unique symbols that break down in large codebases](https://github.com/Aider-AI/aider/issues/2341)
|
|
92
|
-
* [ ] [Include AST information in repo map for richer context](https://github.com/Aider-AI/aider/issues/2688)
|
|
93
93
|
|
|
94
|
-
3. **Context Discovery**
|
|
94
|
+
3. **Context Discovery** - [Discussion](https://github.com/dwash96/aider-ce/issues/46)
|
|
95
95
|
* [ ] Develop AST-based search capabilities
|
|
96
96
|
* [ ] Enhance file search with ripgrep integration
|
|
97
97
|
* [ ] Implement RAG (Retrieval-Augmented Generation) for better code retrieval
|
|
98
98
|
* [ ] Build an explicit workflow and local tooling for internal discovery mechanisms
|
|
99
99
|
|
|
100
|
-
4. **Context Delivery**
|
|
100
|
+
4. **Context Delivery** - [Discussion](https://github.com/dwash96/aider-ce/issues/47)
|
|
101
101
|
* [ ] Use workflow for internal discovery to better target file snippets needed for specific tasks
|
|
102
102
|
* [ ] Add support for partial files and code snippets in model completion messages
|
|
103
103
|
|
|
104
|
-
5. **TUI Experience**
|
|
104
|
+
5. **TUI Experience** - [Discussion](https://github.com/dwash96/aider-ce/issues/48)
|
|
105
105
|
* [ ] Add a full TUI (probably using textual) to have a visual interface competitive with the other coding agent terminal programs
|
|
106
106
|
* [ ] Re-integrate pretty output formatting
|
|
107
107
|
* [ ] Implement a response area, a prompt area with current auto completion capabilities, and a helper area for management utility commands
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
aider/__init__.py,sha256=
|
|
1
|
+
aider/__init__.py,sha256=JImLym1wv6gAAMhoWAQIr3gMJop9sC7pLmAPzE-TGpc,497
|
|
2
2
|
aider/__main__.py,sha256=Vdhw8YA1K3wPMlbJQYL5WqvRzAKVeZ16mZQFO9VRmCo,62
|
|
3
|
-
aider/_version.py,sha256=
|
|
3
|
+
aider/_version.py,sha256=Auv4ljHrmM0qPOhxSVayLoeyohpSIr7sJFSt90kyCPI,708
|
|
4
4
|
aider/analytics.py,sha256=c5ujaCcMc3yG-9rz_0oSsqBwmVQRxJnui6iE_yDyY_M,7507
|
|
5
5
|
aider/args.py,sha256=iQQHrpraUzBVDuSTc0SKvBY3tZpRX5LzgsUWQ4eGJMc,32541
|
|
6
6
|
aider/args_formatter.py,sha256=CBRnzHyZk-fFCK0ekAzb6C4PPJOU-VTpWIIsJe3qUhk,6369
|
|
@@ -28,7 +28,7 @@ aider/openrouter.py,sha256=FAdv7L8xgILXgmC_b1gnuYJStmpaPyiZMp-7nSdInlQ,4642
|
|
|
28
28
|
aider/prompts.py,sha256=Qv-JS8BzGjusEPmR3-qmjjvN3S9mb7W4KpWiGui-Jk0,1954
|
|
29
29
|
aider/reasoning_tags.py,sha256=VOg5wM7JSrMo47OyS1FFuLrr2cp2KyutEC4_zsUsCbY,2288
|
|
30
30
|
aider/repo.py,sha256=ZLq0E6gwm7KabzYASib-7bqv-E55JZOWCpXfC3IZJeE,22922
|
|
31
|
-
aider/repomap.py,sha256=
|
|
31
|
+
aider/repomap.py,sha256=KA-ucbHNiLqHQ-iaCyPX5otJdugqexRUY0bwyaLPBlE,35082
|
|
32
32
|
aider/report.py,sha256=WobVDEK6YxB0GpHrF5twTfUYH5dsNWFIHFsB9lds7E8,5899
|
|
33
33
|
aider/run_cmd.py,sha256=9-NpSL4hlqIndf_EN1jnmWfjX7vIPbDgKgGPGRAr2Rw,4223
|
|
34
34
|
aider/scrape.py,sha256=RyKlO3cN2QvfovaLQFJNx8j1Zaz6Qx2wqWhYO9H2Yug,8334
|
|
@@ -258,9 +258,9 @@ aider/website/docs/usage/tutorials.md,sha256=ZKBztbUtucHOiv9h8gvWiWTP6MTSsFyz4mA
|
|
|
258
258
|
aider/website/docs/usage/voice.md,sha256=BtX7pHRgHRWUmrNbS4JssC-SO8RrJ_OetBCtIYpO0pU,3452
|
|
259
259
|
aider/website/docs/usage/watch.md,sha256=OVF14lGtv1vhSXRE8PpxQ3YW-uXSifarUbmLBjmLRyA,7940
|
|
260
260
|
aider/website/share/index.md,sha256=P51aDw9AT8AVbsU7v6g1tWuMjly7y_plM_ZI1ScaT8Y,3172
|
|
261
|
-
aider_ce-0.87.
|
|
262
|
-
aider_ce-0.87.
|
|
263
|
-
aider_ce-0.87.
|
|
264
|
-
aider_ce-0.87.
|
|
265
|
-
aider_ce-0.87.
|
|
266
|
-
aider_ce-0.87.
|
|
261
|
+
aider_ce-0.87.13.dist-info/licenses/LICENSE.txt,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
262
|
+
aider_ce-0.87.13.dist-info/METADATA,sha256=G9pEOuSrPj87WEz4MLuhzRu0h03zCEG8iB9Kzc3dz78,20297
|
|
263
|
+
aider_ce-0.87.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
264
|
+
aider_ce-0.87.13.dist-info/entry_points.txt,sha256=OxI0JxfyJrc24nTmsdvpaWUx8Flz2huOij_-ifp-48w,69
|
|
265
|
+
aider_ce-0.87.13.dist-info/top_level.txt,sha256=uwOA6ycgSiRLrBsaRBcIeN_eBKAX78U01_KDEHR8mBk,6
|
|
266
|
+
aider_ce-0.87.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|