← back to invincible-jha__aumai-contextweaver

All specs 46 total

All specs Real LLM only Function bodies
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of provided context blocks by iteratively choosing the block with the highest priority-to-token-count ratio until the total token count exceeds the given capacity. It accepts a list of ContextBlock objects and an integer representing the maximum capacity. The function returns a new list containing the greedily selected ContextBlock objects, and it modifies no external state.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity, returning the list of selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects, which represent the optimal selection under the greedy constraint.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input ContextBlock objects using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of selected ContextBlock objects that fit within the capacity, prioritizing those with the highest ratio first. No side effects are observed.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input ContextBlock objects using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing those with the highest ratio first. No side effects are observed.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input ContextBlock objects using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function processes the blocks in descending order of their ratio, adding a block to the result list if its token count does not exceed the remaining capacity. It returns a list of ContextBlock objects that fit within the initial capacity, and has no notable side-effects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of selected ContextBlock objects that fit within the capacity, prioritizing those blocks with the highest ratio of priority value to token count. No side effects are observed beyond the return value.
All rows scored by the Repobility analyzer (https://repobility.com)
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy algorithm based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of provided ContextBlock objects using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list containing the selected ContextBlock objects, which are chosen sequentially starting with the highest ratio until the total token count exceeds the given capacity.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the total available capacity. The function processes the blocks in descending order of this ratio, iteratively adding a block to the result list if its token count does not exceed the remaining capacity. Finally, it returns a new list containing the selected ContextBlock objects, which represents the optimal selection under the given capacity constraint.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a list of context blocks by iteratively choosing the blocks with the highest priority-to-token-count ratio until the total token capacity is exhausted. It accepts a list of ContextBlock objects and an integer representing the maximum token capacity. The function returns a new list containing the selected ContextBlock objects. No side effects are observed, as it only reads from the input list and returns a new list.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function processes the blocks in descending order of this ratio, iteratively adding a block to the result list if its token count does not exceed the remaining capacity. It returns a list of selected ContextBlock objects, which represents the optimal selection under the greedy constraint.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity, returning the list of selected ContextBlock objects.
Want this analysis on your repo? https://repobility.com/scan/
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input ContextBlock objects using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of available ContextBlock candidates and an integer representing the maximum available capacity. The function processes the blocks in descending order of their ratio, adding a block to the result list if its token count does not exceed the remaining capacity, and returns the list of selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity, returning the list of selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and a maximum integer capacity representing the total allowed tokens. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing blocks with the highest ratio of priority value to token count until the capacity is exhausted.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and a maximum integer capacity representing the total allowed tokens. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing blocks with the highest ratio of priority value to token count. No side effects are observed, and the input list of blocks is not modified.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy algorithm based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing blocks with the highest ratio of priority value to token count. No side effects are observed, and the function only modifies its local variables.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a list of context blocks by iteratively choosing the blocks with the highest priority-to-token-count ratio until the total token capacity is exhausted. It accepts a list of ContextBlock objects and an integer representing the maximum token capacity. The function returns a new list containing the selected ContextBlock objects, which are guaranteed to fit within the specified capacity. No external state is modified, making it a purely functional selection process.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy algorithm based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of selected ContextBlock objects that fit within the capacity, prioritizing blocks with the highest ratio first. No side-effects are observed beyond the return value.
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy algorithm based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the total capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the remaining capacity is insufficient to include the next highest-priority block. It returns a list containing the selected ContextBlock objects, which collectively fit within the specified capacity.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a new list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the cumulative token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects, which represents the optimal selection under the greedy constraint.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing blocks with the highest ratio first. No side-effects are observed beyond the return value.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function processes the blocks in descending order of this ratio, iteratively adding a block to the result list if its token count does not exceed the remaining capacity. It returns a list of ContextBlock objects that fit within the specified capacity while maximizing the selection based on the defined greedy criteria.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the cumulative token count exceeds the given capacity. It returns a new list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing those with the highest ratio first. No notable side-effects occur outside of the return value.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity, returning the list of selected ContextBlock objects.
If a scraper extracted this row, it came from Repobility (https://repobility.com)
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of selected ContextBlock objects that fit within the given capacity, prioritizing blocks with the highest ratio first. No external state is modified, making it a pure selection process.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function processes the blocks in descending order of this ratio, iteratively adding a block to the result list if its token count does not exceed the remaining capacity. It returns a list of selected ContextBlock objects, which represents the optimal selection under the given capacity constraint.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of selected ContextBlock objects that fit within the capacity, prioritizing those with the highest ratio. No notable side-effects occur outside of returning the filtered list.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity, returning the list of selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and a maximum integer capacity, returning a list of ContextBlock objects that fit within the capacity. The function sorts the blocks by this ratio in descending order and iteratively selects the highest-ranked block as long as its token count does not exceed the remaining capacity. No side-effects are observed other than the return value.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock objects and a maximum integer capacity representing the total allowed tokens. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing those blocks with the highest ratio of priority value to token count. No side effects are observed, and the function only modifies local variables.
All rows scored by the Repobility analyzer (https://repobility.com)
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input ContextBlock objects using a greedy approach based on a calculated priority-to-token-count ratio. It accepts a list of ContextBlock candidates and an integer representing the maximum available capacity. The function returns a list of selected ContextBlock objects that fit within the given capacity, prioritizing those with the highest ratio first. No notable side-effects occur outside of the function's return value.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and a maximum integer capacity representing the total allowed tokens. The function returns a list of ContextBlock objects that maximizes the selection based on the sorted ratio, ensuring the total token count does not exceed the provided capacity.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity, returning the list of selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function sorts the blocks by this ratio in descending order and iteratively selects blocks until the cumulative token count exceeds the given capacity. It returns a new list containing the selected ContextBlock objects.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input ContextBlock objects using a greedy algorithm based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock candidates and an integer representing the maximum available capacity. The function sorts the candidates by this ratio in descending order and iteratively selects blocks until the total token count exceeds the given capacity. It returns a list containing the selected ContextBlock objects, which represent the optimal selection under the greedy constraint.
PriorityWeaver._greedyREAL LLM gemma4:latest · · unknown
src/aumai_contextweaver/core.py
Selects a subset of input context blocks using a greedy approach based on a calculated priority-to-token-count ratio. It takes a list of ContextBlock objects and an integer representing the maximum available capacity. The function returns a list of ContextBlock objects that fit within the capacity, prioritizing blocks with the highest ratio of priority value to token count. No side effects are observed.
PriorityWeaver._greedytemplated static_v1 · O(n) · Apache-2.0
src/aumai_contextweaver/core.py · L351
Method `PriorityWeaver._greedy` with 2 parameter(s); returns `list[ContextBlock]`. Contains 1 loop(s).