instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
actor-framework__actor-framework__999 | actor-framework/actor-framework | 999 | defect | 2381afd49a9b831df9cc048e8b52c3a864687f80 | d15b86998bab32db4343d388b527a0532e137420 | Enable compact list notation in config files | Adds support for `from..to..step` syntax (borrowed form `bash` & friends) in config files (steps are optional). Particularly useful for defining affinity groups (see https://github.com/actor-framework/actor-framework/pull/980).
Two motivating examples:
- `[1..3]` expands to `[1, 2, 3]`
- `[4..-4..-2]` expands to `... | diff --git a/libcaf_core/caf/detail/parser/chars.hpp b/libcaf_core/caf/detail/parser/chars.hpp
index 564662a311..d6d33c878d 100644
--- a/libcaf_core/caf/detail/parser/chars.hpp
+++ b/libcaf_core/caf/detail/parser/chars.hpp
@@ -38,7 +38,11 @@ constexpr bool in_whitelist(char whitelist, char ch) {
}
inline bool in_wh... | 2 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks what the parser does for a range like '-2..+2..-2' (end greater than begin with a negative step), a case the new range tests do not cover.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The InsideList tag is pas... | null |
actualbudget__actual__2928 | actualbudget/actual | 2,928 | defect | 259e84cea5bdcef24235ad3c8a6d2e7e5bcbd27f | 6e2885fb335441254606e9c8063daa49cb30e884 | API: add getBudgets() methods to list all budgets in the local cache or remote server. | Fixes #2901. | diff --git a/packages/api/methods.test.ts b/packages/api/methods.test.ts
index 4a3cc090015..5f7e3b13323 100644
--- a/packages/api/methods.test.ts
+++ b/packages/api/methods.test.ts
@@ -58,6 +58,19 @@ describe('API CRUD operations', () => {
await api.loadBudget(budgetName);
});
+ // api: getBudgets
+ test('g... | 4 | 4 | 2 | [{"id": "G0", "claim": "Add an API method that also lists the remote files/budgets (the list-remote-files style endpoint), since that would be more useful than listing only the local cached budgets.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Unify th... | null |
actualbudget__actual__2930 | actualbudget/actual | 2,930 | defect | 6a21f8e3de7fda25afe4345a0af3aad6d90d4966 | aba231bdafc2b48087297028f45d1f5cd2232f54 | Add getAccountBalance() API. | Closes #2189 by adding a `getAccountBalance()` API function that takes the account ID as first argument, and an optional date cutoff (for finding balances on previous days). | diff --git a/packages/api/methods.test.ts b/packages/api/methods.test.ts
index 4a3cc090015..9a9e2fb9ed3 100644
--- a/packages/api/methods.test.ts
+++ b/packages/api/methods.test.ts
@@ -251,7 +251,7 @@ describe('API CRUD operations', () => {
);
});
- //apis: createAccount, getAccounts, updateAccount, closeAcc... | 2 | 2 | 1 | [{"id": "G0", "claim": "The 'api/account-balance' handler type declaration uses property shorthand ('{ id; cutoff? }') instead of fully typed properties ('id: string; cutoff?: Date').", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new getAccount... | null |
actualbudget__actual__3399 | actualbudget/actual | 3,399 | defect | b3669b300110a4c69289a319efc4d9bc4a877e02 | 834861462b52125603e08b870f59d5386d1a8d96 | Fix regression in case sensitivity for `is`/`matches` operator | Fixes #3347.
A few changes here:
- The actual bugfix is to remove the custom `imported_payee` field type in favour of reusing the logic for `string`. Instead, we do a two-stage mapping, from field to type and then from the type to the type-specific logic.
- In order to facilitate the above, I removed the `fieldTyp... | diff --git a/packages/desktop-client/src/components/filters/FiltersMenu.jsx b/packages/desktop-client/src/components/filters/FiltersMenu.jsx
index 7994eddc673..2c379293cea 100644
--- a/packages/desktop-client/src/components/filters/FiltersMenu.jsx
+++ b/packages/desktop-client/src/components/filters/FiltersMenu.jsx
@@ ... | 2 | 1 | 0 | [{"id": "G0", "claim": "EditRuleModal should use `getValidOps` consistently to retrieve valid operations for all condition fields instead of keeping a separate hack for recurring dates and amount inflow/outflow, which would make the code more maintainable and less error-prone.", "category": "maintainability", "verdict"... | null |
actualbudget__actual__3641 | actualbudget/actual | 3,641 | defect | 05dda5f9d71897c999fda9abf91a09ec2c747e74 | 1b513f463446ae6c4569d480f2da51396c0b3a0f | Clarify logic to generate splits from rules | Closes #3353 and fixes another bug I found in the process (if you add amounts that _don't_ add up to the total, previously there _was no error_). Process I used to test this:
1. Add unit tests for #3353 and validate the specific test fails.
2. Add tests for the other bug and validate they fail.
3. Refactor and simpl... | diff --git a/packages/loot-core/src/server/accounts/rules.test.ts b/packages/loot-core/src/server/accounts/rules.test.ts
index 468a89dc95f3..36ee572e97ba 100644
--- a/packages/loot-core/src/server/accounts/rules.test.ts
+++ b/packages/loot-core/src/server/accounts/rules.test.ts
@@ -516,6 +516,193 @@ describe('Rule', ()... | 8 | 1 | 0 | [{"id": "G0", "claim": "Adding 1 to splitIndex to compute splitTransactionIndex might cause confusion or off-by-one indexing errors against the newTransactions array.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The repetitive action objects in fixe... | null |
actualbudget__actual__3676 | actualbudget/actual | 3,676 | defect | 3d9e90f7978c6274b238aebe1e2b78c89bb4976e | f56dc4f175a4bc895e5b43098fc4336554c9a8bd | allow 4 decimal places in file imports | fixes #3638
Still ignores 3 decimal places since that would break things for lots of people.
I should have allowed this before, but I didn't know if any banks actually exported 4 places. I guess we know now.
| diff --git a/packages/loot-core/src/shared/util.ts b/packages/loot-core/src/shared/util.ts
index 04e33702c93..2dec806cc8e 100644
--- a/packages/loot-core/src/shared/util.ts
+++ b/packages/loot-core/src/shared/util.ts
@@ -427,9 +427,9 @@ export function looselyParseAmount(amount: string) {
amount = amount.replace('... | 3 | 1 | 1 | [{"id": "G0", "claim": "The test suites do not include cases that specifically verify the updated decimal-place handling in looselyParseAmount; add cases for parsing amounts with 1-2 decimal places, with 4-9 decimal places, and confirm exactly-3-decimal amounts are still handled per existing logic.", "category": "testi... | null |
actualbudget__actual__4908 | actualbudget/actual | 4,908 | defect | 8da1c593627f36d9d0f25254c3700f22883fac3e | e97e648b14d25e88cd23bb1c085e4a224c513300 | Fix title first null undefined | Fixed a undefined reference issue
closes #4906 | diff --git a/packages/loot-core/src/shared/util.test.ts b/packages/loot-core/src/shared/util.test.ts
index 63a599e6297..e53854d5dbf 100644
--- a/packages/loot-core/src/shared/util.test.ts
+++ b/packages/loot-core/src/shared/util.test.ts
@@ -3,6 +3,7 @@ import {
getNumberFormat,
setNumberFormat,
currencyToAmoun... | 1 | 1 | 1 | [{"id": "G0", "claim": "The titleFirst signature should be widened to string | null | undefined instead of staying string and needing @ts-ignore to call it with null/undefined in the new tests.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
actualbudget__actual__5288 | actualbudget/actual | 5,288 | defect | 7b71374e79d8d6537ce75831f641ae27bf953f4a | 47e684060b8a8c7d881a7ee055086c2c54a75287 | [Goals] Round template amounts if hide decimals is set | In the case of currencies where there are no decimal places, templates may still try to budget factional amounts in a category. This blocks that from happening if the hide decimal setting is enabled. All templates will round away fractional amounts if the processing returns it.
fixes #3846
| diff --git a/packages/loot-core/src/server/budget/category-template-context.test.ts b/packages/loot-core/src/server/budget/category-template-context.test.ts
index db71da85825..bbea4d2ef57 100644
--- a/packages/loot-core/src/server/budget/category-template-context.test.ts
+++ b/packages/loot-core/src/server/budget/categ... | 3 | 3 | 2 | [{"id": "G0", "claim": "The new test mocks return `data: 'false'` (a string) while the implementation expects `data` to be an array of rows (it checks `hideDecimal.data.length > 0` and reads `data[0].value`), so the mock data structure must be fixed to match implementation expectations and will cause runtime errors.", ... | null |
actualbudget__actual__5421 | actualbudget/actual | 5,421 | defect | 6e2154d40181416d42da6e984a791a5e7a48e008 | 76bfd845d6e0638a2276690a8c56cf5004a92249 | Fix translate rule stages | This PR adds internationalization support for rule stage labels in the rules interface
Fixes #5338
<img width="705" height="527" alt="Capture d’écran 2025-07-29 à 21 35 46" src="https://github.com/user-attachments/assets/ad262501-93fa-4d6a-be56-e9860b7c1b6e" />
problematic test log :
```
[chromium] › e2e/h... | diff --git a/packages/desktop-client/e2e/help-menu.test.ts b/packages/desktop-client/e2e/help-menu.test.ts
index 779849bef1f..f3bd8a8ab46 100644
--- a/packages/desktop-client/e2e/help-menu.test.ts
+++ b/packages/desktop-client/e2e/help-menu.test.ts
@@ -28,6 +28,7 @@ test.describe('Help menu', () => {
await page.ge... | 2 | 1 | 1 | [{"id": "G0", "claim": "translateRuleStage can return null for unknown stage values, so RuleRow could render nothing for an existing stage; it should fall back to displaying the raw stage value.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "transla... | null |
actualbudget__actual__5761 | actualbudget/actual | 5,761 | defect | cc0812113a32203b6e05556b217040d2d5fd0870 | a3b91e1dfa8b0bffab8b90018c62a841cdc0eb80 | Avoid repeated calls to payee.find in useDisplayPayee.ts | Fixes #5755. | diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.test.tsx b/packages/desktop-client/src/components/transactions/TransactionsTable.test.tsx
index 222d646a927..643128ff80c 100644
--- a/packages/desktop-client/src/components/transactions/TransactionsTable.test.tsx
+++ b/packages/desktop-c... | 1 | 1 | 0 | [{"id": "G0", "claim": "The release notes entry should be rewritten so it is understandable to people reading the release notes, per the suggested wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
actualbudget__actual__6050 | actualbudget/actual | 6,050 | defect | 844cd3433aebc58a4f913e302d94601d9e743c1f | cb19544dc2d59816c73a0c2881f89bd11e0a2388 | Recognize HTTP GET parameters to prefill new transaction on mobile | Fixes #6031
Allow mobile new transaction page to be prefilled via HTTP GET parameters. To test, use this branch and visit:
```
http://localhost:3001/transactions/new?category=Food&amount=23.42&account=HSBC&date=2025-10-31&cleared=true&payee=Kroger¬es=Das+ist+eine+Notiz.+Sie+ist+nicht+sehr+lang!
```
All input ... | diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx
index 4bbb438ba1d9..371656d6a970 100644
--- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx
+++ b/packages/desktop... | 6 | 4 | 2 | [{"id": "G0", "claim": "If searchParams.get('amount') returns a non-numeric string, the expression (\"abc\" || 0) * 100 evaluates to NaN, which will cause issues in calculations and display.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The date fr... | null |
actualbudget__actual__6247 | actualbudget/actual | 6,247 | defect | 879fd1b05400d15edc9f8ef991786bbd228f8c4b | e20fc38085e00646e98bfbdbc633bfa97293ea02 | fix: Handle unicode minus in number parsing | Fixes #6206.
When importing CSV files generated by Numbers on macOS, amounts may contain the Unicode minus sign (U+2212) instead of the ASCII hyphen-minus. This caused parsing to fail (resulting in positive numbers instead of negative).
This PR updates `looselyParseAmount`, `currencyToAmount`, and `stringToIntege... | diff --git a/packages/loot-core/src/shared/util.test.ts b/packages/loot-core/src/shared/util.test.ts
index 4eeddffa7a9..d16dc606d26 100644
--- a/packages/loot-core/src/shared/util.test.ts
+++ b/packages/loot-core/src/shared/util.test.ts
@@ -3,6 +3,7 @@ import {
getNumberFormat,
setNumberFormat,
currencyToAmoun... | 3 | 1 | 1 | [{"id": "G0", "claim": "In looselyParseAmount, when input contains both parentheses and a Unicode minus (e.g. '(−3.45)'), the blanket Unicode-minus-to-ASCII replacement before the parentheses handling yields '--3.45', so parseFloat returns NaN and the amount silently becomes null — a regression from the previous behavi... | null |
actualbudget__actual__6414 | actualbudget/actual | 6,414 | defect | d0dc1efda3916e234d5a8ec2c98204c4b81d1495 | a9d399c03b34f7408287ed5cf954bd9981ffd8ef | Add Formula Rule function to set-split-amount | This pull request looks to add the ability to leverage the Formula Rule feature to set the transaction amount for split transactions.
The use case this in mind with this was when importing a Mortgage Payment transaction, you can use the Formula feature to calculate the Principal and Interest portions of the payment.... | diff --git a/packages/desktop-client/src/components/rules/RuleEditor.tsx b/packages/desktop-client/src/components/rules/RuleEditor.tsx
index 346f8cf228f..86ccf55211e 100644
--- a/packages/desktop-client/src/components/rules/RuleEditor.tsx
+++ b/packages/desktop-client/src/components/rules/RuleEditor.tsx
@@ -645,21 +645... | 11 | 8 | 5 | [{"id": "G0", "claim": "For set-split-amount the formula toggle button still appears for remainder splits even though no editor is visible and the backend ignores formulas there, and the button's icon logic contains an unreachable branch, so the toggle should be gated on the method and the icon simplified.", "category"... | null |
actualbudget__actual__6746 | actualbudget/actual | 6,746 | defect | 323403b5f738d9c90dfb106096eea735c1fb8356 | 4d21a4999d869b1fef407877321f5b538a5b819a | Add Tag API | ## Summary
Add public API methods for tag management (`getTags`, `createTag`, `updateTag`, `deleteTag`), enabling external integrations and scripts to work with tags programmatically.
## Motivation
Tags were [recently added to Actual](https://github.com/actualbudget/actual/pull/5032) but lack public API exposu... | diff --git a/packages/api/methods.test.ts b/packages/api/methods.test.ts
index db7180e44bf..2ee098c6093 100644
--- a/packages/api/methods.test.ts
+++ b/packages/api/methods.test.ts
@@ -356,6 +356,143 @@ describe('API CRUD operations', () => {
);
});
+ // apis: createTag, getTags, updateTag, deleteTag
+ test... | 3 | 1 | 1 | [{"id": "G1", "claim": "The api/tag-create handler should build its argument with tagModel.fromExternal instead of manually destructuring the tag fields.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The manual type coercion in tagModel.fromExternal can l... | null |
actualbudget__actual__6812 | actualbudget/actual | 6,812 | defect | 19edbeb5c237ffb0bfa77090f7f01c55f59be8f3 | 00faeeaeb800a138834c3725930785e10626eeb2 | fix(i18n): respect browser preferred languages when supported | Instead of relying on the first browser language, the application now iterates through navigator.languages and selects the first supported locale, with a fallback to English. (Fixes #4229)
<!--- actual-bot-sections --->
<hr />
<!--- bundlestats-action-comment key:combined start --->
### Bundle Stats
Bundle | Files c... | diff --git a/packages/desktop-client/src/i18n.ts b/packages/desktop-client/src/i18n.ts
index fae40cd2d5b6..230088b6518d 100644
--- a/packages/desktop-client/src/i18n.ts
+++ b/packages/desktop-client/src/i18n.ts
@@ -40,44 +40,55 @@ i18n
},
});
-export const setI18NextLanguage = (language: string) => {
- if (!... | 2 | 2 | 1 | [{"id": "G0", "claim": "The release note has a stray space in 'navigator. languages' and is too technical for a Bugfix note; rewrite it as non-technical user-facing wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Mixed-case tags like pt-BR... | null |
actualbudget__actual__6922 | actualbudget/actual | 6,922 | defect | 266e7f9caca554f576e83ce5acd3b6183f402db1 | b2be4dab2369d060704330dda9168be524921d7a | [Goals] fix tracking budget balance carryover for templates | Fix this discord comment https://discord.com/channels/937901803608096828/1470510871326232627
Im a little surprised this never came up before. Tracking budget expense categories were entirely unhandled in regards to what to count as rolled forward funds.
<!--- actual-bot-sections --->
<hr />
<!--- bundlestats... | diff --git a/packages/loot-core/src/server/budget/category-template-context.ts b/packages/loot-core/src/server/budget/category-template-context.ts
index 5c663f52874..de1cbc44c29 100644
--- a/packages/loot-core/src/server/budget/category-template-context.ts
+++ b/packages/loot-core/src/server/budget/category-template-co... | 2 | 1 | 0 | [{"id": "G0", "claim": "Several JPY tests that call CategoryTemplateContext.init (around lines 1428-1431 and at 1432, 1468, 1501, 1533, 1546) lack an isReflectBudget mock, which happens to work only because the bare vi.fn() returns falsy undefined and will silently misbehave if the implementation checks a strict boolea... | null |
actualbudget__actual__6926 | actualbudget/actual | 6,926 | defect | eb9f9b3a73b17bc6d8d45673887d9a866fea1149 | 935a98dcfc5cde3510cd3bd629e90276f78d095d | Duplicate reimport fix in ui and API | Addresses #6678
Added override option to the importTransactions API and direct file import UI, allowing users to control whether previously deleted (or merged) transactions are reimported. Added to the docs for the API; including the previously undocumented opts parameter (defaultCleared, dryRun, reimportDeleted). ... | diff --git a/packages/api/methods.test.ts b/packages/api/methods.test.ts
index db7180e44bfc..b682453c6517 100644
--- a/packages/api/methods.test.ts
+++ b/packages/api/methods.test.ts
@@ -740,6 +740,77 @@ describe('API CRUD operations', () => {
);
expect(transactions[0].notes).toBeNull();
});
+
+ test('Tra... | 10 | 5 | 0 | [{"id": "G0", "claim": "The UI docs say reimportDeleted defaults to false while the API docs say it defaults to true, which may confuse users of both, so note this difference in one or both docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
actualbudget__actual__6958 | actualbudget/actual | 6,958 | defect | cf5fe67e7b0ef592ad2f7326d136a76aa224f3cd | 307501f52ca2848b851b7ff003bf8b24c017dbc6 | Improve category server app and react query mutation error handling | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/desktop-client/src/budget/mutations.ts b/packages/desktop-client/src/budget/mutations.ts
index a19fefc344e..c490499d067 100644
--- a/packages/desktop-client/src/budget/mutations.ts
+++ b/packages/desktop-client/src/budget/mutations.ts
@@ -5,8 +5,7 @@ import type { QueryClient, QueryKey } from '@ta... | 4 | 1 | 1 | [{"id": "G0", "claim": "Errors thrown inside the batchMessages callback — including the validation throws this PR adds to deleteCategory — are silently swallowed because batchMessages calls errorHandler(e) without re-throwing, so they will not propagate to callers and client onError handlers never fire; either rethrow ... | null |
actualbudget__actual__6966 | actualbudget/actual | 6,966 | defect | 078da08ad52e71156eb4de2488a5514d58d9ba49 | da8d6d094683b6526b1fe702d24157ce7a41903f | Prevent single-slash paths from being parsed as filepaths | Fixes #6854
The previous UNIX_PATH_REGEX pattern matched any string starting with '/' followed by one or more path segments. This caused simple words like '/transaction' or '/word' in transaction notes to be incorrectly parsed as file paths and rendered as clickable buttons.
This change updates the regex to requ... | diff --git a/packages/desktop-client/src/notes/linkParser.ts b/packages/desktop-client/src/notes/linkParser.ts
index bd881e57e7b..3a90da2f2d5 100644
--- a/packages/desktop-client/src/notes/linkParser.ts
+++ b/packages/desktop-client/src/notes/linkParser.ts
@@ -13,7 +13,7 @@ export type ParsedSegment =
const MARKDOWN_L... | 3 | 2 | 1 | [{"id": "G0", "claim": "No test coverage exists for the file path regex behavior; the reviewer asked for tests documenting the intended UNIX_PATH_REGEX behavior.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new regex drops detection of single-segm... | null |
actualbudget__actual__6992 | actualbudget/actual | 6,992 | defect | c6656a281500be5b205d8d47e4f2e629aa8d98e7 | 329403d95dc96c7e594705e49db108d1a3d563ad | Address some more low-hanging fruit for ts-strict-ignore | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/desktop-client/src/components/App.tsx b/packages/desktop-client/src/components/App.tsx
index 264d2ca813f1..d42f907c1dc3 100644
--- a/packages/desktop-client/src/components/App.tsx
+++ b/packages/desktop-client/src/components/App.tsx
@@ -1,4 +1,3 @@
-// @ts-strict-ignore
import React, { useEffect,... | 3 | 1 | 0 | [{"id": "G0", "claim": "getDownloadError's inline error type in packages/loot-core/src/shared/errors.ts could extend the newly added ErrorWithMeta type instead of duplicating its fields, to stay consistent with the other error functions.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope"... | null |
actualbudget__actual__6993 | actualbudget/actual | 6,993 | defect | c031d9aa4fe9d8d7faa603ea54addc5921c38d3d | 76674a2ad1cbaa581aa9f3c0c5f7225ffa004fc3 | Fix operator precedence grouping for */ and +/- | ## Summary
- replace operator parser chaining with explicit additive/multiplicative/exponent parsing
- ensure `*` and `/` are parsed at the same precedence level
- ensure `+` and `-` are parsed at the same precedence level
- add tests that verify left-to-right evaluation for same-precedence operators
## Testing
- Adde... | diff --git a/packages/loot-core/src/shared/arithmetic.test.ts b/packages/loot-core/src/shared/arithmetic.test.ts
index 3b41afb3686..e9eb37d1e36 100644
--- a/packages/loot-core/src/shared/arithmetic.test.ts
+++ b/packages/loot-core/src/shared/arithmetic.test.ts
@@ -39,6 +39,13 @@ describe('arithmetic', () => {
expe... | 3 | 2 | 0 | [{"id": "G0", "claim": "The `while` loop makes `^` left-associative (2^3^2 evaluates to 64) whereas the standard convention is right-associative (2^3^2 = 512) — pre-existing behavior worth tracking, with a suggested recursive fix.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_exis... | null |
actualbudget__actual__7111 | actualbudget/actual | 7,111 | defect | 8081b8829e2aabee2e78e0a86736a4ee86403b71 | 7ff0f6de8a365f3fb32658d9e2a0501c03d9eca2 | [AI] Implement sync recovery | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/AGENTS.md b/AGENTS.md
index f9f5c620716..3bfa8ef9fef 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -314,6 +314,7 @@ Always run `yarn typecheck` before committing.
**React Patterns:**
+- The project uses **React Compiler** (`babel-plugin-react-compiler`) in the desktop-client. The compiler auto-memoizes co... | 4 | 4 | 1 | [{"id": "G0", "claim": "The new 'network-failure' message repeats itself with 'try refreshing the page and try again', and the copy should be tightened by dropping the redundant 'and try again'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The t... | null |
actualbudget__actual__7125 | actualbudget/actual | 7,125 | defect | f9e09ca59b06bf9cc495feeedeac778a257fdfa5 | 715d17f23278f5b2310b710913862ac4b82167a7 | Fix shared error array in SimpleFin batch sync error handling | ## Description
Fixes a bug in the SimpleFin batch sync error handling where all accounts were sharing a single `errors` array when a batch sync operation failed. This caused each account to receive all errors instead of just its own error.
The issue was that the `errors` array was declared once outside the loop a... | diff --git a/packages/loot-core/src/server/accounts/app-bank-sync.test.ts b/packages/loot-core/src/server/accounts/app-bank-sync.test.ts
new file mode 100644
index 00000000000..28a9eeec043
--- /dev/null
+++ b/packages/loot-core/src/server/accounts/app-bank-sync.test.ts
@@ -0,0 +1,136 @@
+import * as db from '../db';
+i... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use `it(...)` instead of `test(...)` for all test blocks in app-bank-sync.test.ts, per the repo's coding guidelines for test files.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Make the test assertions order-independent by look... | null |
actualbudget__actual__7139 | actualbudget/actual | 7,139 | defect | 078603cadfc8fd2a0776402ebdf2ca60a6fa4706 | cd6cd45bdf90e3dee43fb38eb5f2b2c1a50a1590 | Add "only import transactions since" | If specified, we filter out transactions before the given date.
## Description
I have many more transactions in my bank accounts than are relevant for my use of Actual; I'd like to be able to easily filter these out at import time. Right now I have to manually modify the OFXes and it's not pretty 🙀
## Relate... | diff --git a/packages/desktop-client/src/components/modals/ImportTransactionsModal/ImportTransactionsModal.tsx b/packages/desktop-client/src/components/modals/ImportTransactionsModal/ImportTransactionsModal.tsx
index c42f70bf11a3..04b20cfaa24a 100644
--- a/packages/desktop-client/src/components/modals/ImportTransaction... | 2 | 2 | 1 | [{"id": "G0", "claim": "The import preview only re-runs when startDate changes, so when the user adjusts the CSV/QIF date column mapping or date format after setting the filter, the preview remains stale until startDate is modified again.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "... | null |
actualbudget__actual__7168 | actualbudget/actual | 7,168 | defect | bf1d220ced5c13cc4a9ab766d0b6b3d6708aa9dd | 6445180974a0252743acb8bd8b6a849a550dbd14 | lint: promote no-floating-promises and require-array-sort-compare to error and fix violations | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/.oxlintrc.json b/.oxlintrc.json
index c51a563682f..f1c3d9b4823 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -102,8 +102,8 @@
// we want to allow unions such as "{ name: DbAccount['name'] | DbPayee['name'] }"
"typescript/no-duplicate-type-constituents": "off",
"typescript/await-thenabl... | 3 | 2 | 1 | [{"id": "G0", "claim": "Queued `executeJavaScript` promises can reject unobserved — `void ...map()` (and later `void Promise.all()`) discards the reference while each rejection stays unhandled after the queue is cleared — so `Promise.allSettled()` should be used instead.", "category": "correctness", "verdict": "uncerta... | null |
actualbudget__actual__7184 | actualbudget/actual | 7,184 | defect | c53c5c2f368ae5c42e303631c3e17bc557ee8c5a | e7359b9833b350bc57d33f6b4b1934b8fd599823 | Upgrade to Vite 8 | <!-- stack:managed:start -->
… → [#7187](https://github.com/actualbudget/actual/pull/7187) → (this PR)
<hr />
<!-- stack:managed:end -->
<!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/a... | diff --git a/packages/api/package.json b/packages/api/package.json
index d80da890b0b9..51e531f7aebf 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -29,7 +29,7 @@
"vite": "^7.3.1",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-peggy-loader": "^2.0.1",
- "vitest": "^4.0.18"
+ "... | 6 | 3 | 3 | [{"id": "G0", "claim": "Storybook will fail to resolve `@actual-app/components/styles` because the new `resolve: { tsconfigPaths: true }` config only works when path mappings exist in tsconfig.json, and no `@actual-app/*` paths exist, so the import needs path aliases or an explicit `resolve.alias` in `viteFinal`.", "ca... | null |
actualbudget__actual__7236 | actualbudget/actual | 7,236 | defect | 6d9b1a1d72ff736041001a9e4c6fa0a2759e7860 | 7f89ff40606d335ba71dd85079e6c7af88442ea1 | [AI] Refactor ThemeInstaller to handle pasted CSS more gracefully | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/desktop-client/src/components/settings/ThemeInstaller.test.tsx b/packages/desktop-client/src/components/settings/ThemeInstaller.test.tsx
index 1af0bb02d9e..60f6d279eb2 100644
--- a/packages/desktop-client/src/components/settings/ThemeInstaller.test.tsx
+++ b/packages/desktop-client/src/components/... | 1 | 1 | 1 | [{"id": "G0", "claim": "When a catalog theme is already installed and the user reopens the installer, only pastedCss (from overrideCss) is restored while cachedCatalogCss and selectedCatalogTheme stay at their initial empty/null values, so editing the textarea and clicking Apply sends cssContent: '' instead of the cata... | null |
actualbudget__actual__7239 | actualbudget/actual | 7,239 | defect | f5a72448bd7d3bfd2b8e337f76903d2546a8416c | 8237da8e7b0a2bce7b17ccc0ab3120396fa045f8 | [AI] Custom Themes: custom font family | ## Description
<!-- What does this PR do? Why is it needed? Please give context on the "why?": why do we need this change? What problem is it solving for you?-->
Allow installing a theme with a custom font
## Related issue(s)
<!-- e.g. Fixes #123, Relates to #456 -->
https://github.com/actualbudget/actua... | diff --git a/packages/desktop-client/index.html b/packages/desktop-client/index.html
index 7a7e3d677dd..d6b338568e4 100644
--- a/packages/desktop-client/index.html
+++ b/packages/desktop-client/index.html
@@ -31,7 +31,8 @@
body,
button,
input {
- font-family:
+ font-family: var(
+ ... | 9 | 5 | 5 | [{"id": "G0", "claim": "Don't accept an empty --font-family: if a theme sets --font-family: with no value the custom property is still present, so the var() fallback stack is skipped and the app drops to the browser default font instead of the existing Inter/system stack.", "category": "correctness", "verdict": "suppor... | null |
actualbudget__actual__7240 | actualbudget/actual | 7,240 | defect | f5a72448bd7d3bfd2b8e337f76903d2546a8416c | 379e55ed37090c9aa4168b6a55164ba58dd17f1a | [AI] Improve CLI query command with new flags, subcommands, and docs | The "query" cli command is pretty powerful for agents, but because of lack of documentation and feature functionality - it's not really _as beneficial_. So I am making it more useful for agents by adding docs and some more functionality.
<!--- actual-bot-sections --->
<hr />
<!--- bundlestats-action-comment key:combi... | diff --git a/packages/cli/src/commands/query.test.ts b/packages/cli/src/commands/query.test.ts
new file mode 100644
index 00000000000..71e3de03c65
--- /dev/null
+++ b/packages/cli/src/commands/query.test.ts
@@ -0,0 +1,346 @@
+import * as api from '@actual-app/api';
+import { Command } from 'commander';
+
+import { prin... | 4 | 3 | 2 | [{"id": "G0", "claim": "parseOrderBy accepts input like ':desc' where the field name before the colon is empty, producing { \"\": \"desc\" }, which is likely invalid for the query builder.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The group-by ... | null |
actualbudget__actual__7242 | actualbudget/actual | 7,242 | defect | f5a72448bd7d3bfd2b8e337f76903d2546a8416c | 9cc585198f364d70c91017782b9699dd8b7ecbb1 | Fix updateTransaction corrupting split parents with partial updates | ## Summary
When `api.updateTransaction(id, { notes: '...' })` is called on a split parent transaction, the `updateTransaction()` helper in `shared/transactions.ts` replaces the parent with the sparse update object instead of merging it with the existing transaction data. This causes:
1. `recalculateSplit()` sees `amo... | diff --git a/packages/loot-core/src/shared/transactions.test.ts b/packages/loot-core/src/shared/transactions.test.ts
index bedd5a6ec0b..028eb8e9b1c 100644
--- a/packages/loot-core/src/shared/transactions.test.ts
+++ b/packages/loot-core/src/shared/transactions.test.ts
@@ -201,6 +201,40 @@ describe('Transactions', () =>... | 2 | 2 | 0 | [{"id": "G0", "claim": "The verbose explanatory comment above the parent merge should be dropped because the code is explanatory enough and the comment is too verbose.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release note should be sho... | null |
actualbudget__actual__7270 | actualbudget/actual | 7,270 | defect | 9232e0d91030f882acc5b545f4a8a1ec320c9374 | d8a2843a5ba5c17d24cda53370757850eeb0346a | Fix/5840 escape search wildcards | ## Description
When a user types special characters such as ? or % into the transaction quick search bar, all transactions were returned instead of only those matching the literal character. This happened because these characters were being passed unescaped into $like query patterns, where they acted as regex wildca... | diff --git a/packages/desktop-client/src/queries/index.ts b/packages/desktop-client/src/queries/index.ts
index dc2c7910699..7a8b811e597 100644
--- a/packages/desktop-client/src/queries/index.ts
+++ b/packages/desktop-client/src/queries/index.ts
@@ -84,6 +84,7 @@ export function transactionsSearch(
dateFormat: Synced... | 6 | 5 | 4 | [{"id": "G0", "claim": "escapedSearch in transactionsSearch does not escape backslashes in the user input, so a literal backslash passes through unescaped and is interpreted as an escape character by unicodeLike; the backslash must be escaped too.", "category": "correctness", "verdict": "supported", "priority": "P1", "... | null |
actualbudget__actual__7272 | actualbudget/actual | 7,272 | defect | 9232e0d91030f882acc5b545f4a8a1ec320c9374 | 7e986ec0a8810419421735d73141649d02957ce8 | Fix leftover balance usage in budget covering logic (#7131) | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/loot-core/src/server/budget/actions.ts b/packages/loot-core/src/server/budget/actions.ts
index 01de568cc09..2b9c956823e 100644
--- a/packages/loot-core/src/server/budget/actions.ts
+++ b/packages/loot-core/src/server/budget/actions.ts
@@ -520,6 +520,10 @@ export async function coverOverbudgeted({
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The release note sentence in upcoming-release-notes/7272.md should be reworded to be more user-facing rather than reading like an internal implementation detail.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Targeted regre... | null |
actualbudget__actual__7324 | actualbudget/actual | 7,324 | defect | f7e9ced9e39289d9329a43b878a64374a58e9736 | 7143b0c11027ed18c322d574cb4a99add0659a5a | Fixes query for tag starting in $ | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/loot-core/src/server/transactions/transaction-rules.test.ts b/packages/loot-core/src/server/transactions/transaction-rules.test.ts
index 949f16d8eb4..099c501853a 100644
--- a/packages/loot-core/src/server/transactions/transaction-rules.test.ts
+++ b/packages/loot-core/src/server/transactions/trans... | 3 | 2 | 0 | [{"id": "G0", "claim": "Wrap the `case 'hasTags':` body in a block because the Biome linter rule `noSwitchDeclarations` (an error) flags the const declarations directly under the case and will fail the lint check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ... | null |
actualbudget__actual__7373 | actualbudget/actual | 7,373 | defect | c0c2d1630ede6d58347af9e6a194dfa701f1fa37 | 8ce62108552e7ebc0703cdb6df5fc09d8e5798b8 | fix formula date variable in rules | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/desktop-client/src/hooks/useFormulaExecution.ts b/packages/desktop-client/src/hooks/useFormulaExecution.ts
index b687365ba1e..d498933aa2e 100644
--- a/packages/desktop-client/src/hooks/useFormulaExecution.ts
+++ b/packages/desktop-client/src/hooks/useFormulaExecution.ts
@@ -329,6 +329,7 @@ export ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The dateFormats list is now duplicated across the server rule action and both client HyperFormula init sites, so one shared constant should be extracted and reused in all of them.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
actualbudget__actual__7378 | actualbudget/actual | 7,378 | defect | 353e12a0092de93712d8cfb73bc2fa481e0e2c5c | ddd71c37397b683539d5232c5fdb0ca56845abf9 | [AI] Fix CLI accounts list: compute balances, hide closed, sort by group | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/api/package.json b/packages/api/package.json
index b6e026f1c3b..0252f57ec3f 100644
--- a/packages/api/package.json
+++ b/packages/api/package.json
@@ -11,6 +11,7 @@
"types": "@types/index.d.ts",
"exports": {
".": {
+ "types": "./@types/index.d.ts",
"development": "./index.ts... | 8 | 3 | 2 | [{"id": "G0", "claim": "The help-text example \"166500 = 1,665.00\" uses a thousands separator the formatter never produces (it outputs fixed decimals like 1665.00), so the example is misleading.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
actualbudget__actual__7469 | actualbudget/actual | 7,469 | defect | 65b154151f8fbe6921e2b561f95905bddd187b81 | 054652cc744488df55dc51e4e3c9ef9907367a66 | [AI] Add publishConfig.imports sync validator with pre-commit integration | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/bin/__tests__/validate-publish-imports.test.ts b/bin/__tests__/validate-publish-imports.test.ts
new file mode 100644
index 00000000000..7c87f7a67bd
--- /dev/null
+++ b/bin/__tests__/validate-publish-imports.test.ts
@@ -0,0 +1,205 @@
+import fs from 'node:fs';
+import os from 'node:os';
+import path from 'n... | 3 | 3 | 3 | [{"id": "G0", "claim": "main() runs on every import of the module because the entrypoint is unguarded, so importing it (e.g. from tests) executes repo-wide validation/fix logic as a side effect.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "main() ... | null |
actualbudget__actual__7494 | actualbudget/actual | 7,494 | defect | 69cd4fc13af5f9efbea89c31f7210be6e048c70a | 2e28faec51da233d8e25d909b4282920f51aa966 | :electron: Desktop app tests for exporting budget file | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/desktop-client/e2e/page-models/configuration-page.ts b/packages/desktop-client/e2e/page-models/configuration-page.ts
index 5329fcdfa03..a54f1eabec5 100644
--- a/packages/desktop-client/e2e/page-models/configuration-page.ts
+++ b/packages/desktop-client/e2e/page-models/configuration-page.ts
@@ -19,... | 2 | 2 | 1 | [{"id": "G0", "claim": "The export test uses a fixed file path (e2e/data/export-test.zip), so stale artifacts from earlier runs can make the file-stat/size assertions pass even when the export fails in the current run; use a per-test export file path instead.", "category": "testing", "verdict": "supported", "priority":... | null |
actualbudget__actual__7527 | actualbudget/actual | 7,527 | defect | dc8694cc3a21199a5f27fcd52a35f5d0e026c777 | db5df4f7cab40802aaabdcb129c7f858fa3116f4 | consolidate internal naming patterns used for budget types | <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --... | diff --git a/packages/loot-core/src/server/budget/actions.ts b/packages/loot-core/src/server/budget/actions.ts
index bfa8eabd948..26dde1ec1ba 100644
--- a/packages/loot-core/src/server/budget/actions.ts
+++ b/packages/loot-core/src/server/budget/actions.ts
@@ -43,10 +43,10 @@ function calcBufferedAmount(
type BudgetTa... | 1 | 1 | 1 | [{"id": "G0", "claim": "Replace mockResolvedValueOnce(false) with mockReturnValueOnce(false) for the synchronous isTrackingBudget mock at all eight occurrences (lines 1154, 1219, 1274, 1334, 1377, 1422, 1465, 1497) in category-template-context.test.ts, because a returned Promise is truthy and invalidates the branch int... | null |
actualbudget__actual__7534 | actualbudget/actual | 7,534 | defect | 711939f71cecb22657f0fc35fbdf8f87fef29daf | dcac103533cc44d1d0e868851a940e5a38c0df29 | [AI] crdt: typecheck test files and clean up lint issues | - typechecking crdt test files
- fixing lint files in crdt package
- some other low-hanging fruit prior to new version release
<!--- bundlestats-action-comment key:combined start --->
### Bundle Stats
Bundle | Files count | Total bundle size | % Changed
------ | ----------- | ----------------- | ---------
de... | diff --git a/.oxlintrc.json b/.oxlintrc.json
index ec15eb393fc..eb07b4dca9d 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -416,6 +416,16 @@
"rules": {
"eslint/no-empty-function": "off"
}
+ },
+ // crdt enforces the repo's "TODO: enable this" typescript rules as errors
+ {
+ "f... | 2 | 1 | 0 | [{"id": "G0", "claim": "Optional: unify the error message construction style across error classes, since ClockDriftError now uses array spread while InvalidError still uses .concat(...).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Upgrade pro... | null |
ad-freiburg__qlever__1422 | ad-freiburg/qlever | 1,422 | defect | 0ae5ce18c3e074873bb2084f451441fb1e69da54 | 37f23d48ca0a1973d5b0bc320be023025d408c64 | Fix query planning for join with `SERVICE` clause | There is a bug in the optimization introduced by #1341, which checks whether the sibling operand of a join with a `SERVICE` operations has a small result (and if yes, passes that result to the `SERVICE` clause as `VALUES` in order to reduce the result size of the `SERVICE` call). Instead of just adding the sibling oper... | diff --git a/src/engine/QueryPlanner.cpp b/src/engine/QueryPlanner.cpp
index a1978b3bd1..d023796a5d 100644
--- a/src/engine/QueryPlanner.cpp
+++ b/src/engine/QueryPlanner.cpp
@@ -1779,28 +1779,41 @@ auto QueryPlanner::createJoinWithHasPredicateScan(
// ________________________________________________________________... | 1 | 1 | 0 | [{"id": "G0", "claim": "Johannes should make the minor changes to the fix that the reviewer asked for (no specific change named).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ad-freiburg__qlever__1457 | ad-freiburg/qlever | 1,457 | defect | f986808b5fd0652d8dbd850dcedb3ba4b9d4e008 | 0a62647f161e37ccd915edbb31eed81e8712afd1 | Fix static initialization order fiasco for global constants | QLever uses several global constants defined in the files `Constants.h` and `ConstantsIndexBuilding.h`. So far, many of them were defined as `static const` variables, which are prone to the so-called [static initialization order fiasco](https://en.cppreference.com/w/cpp/language/siof). In particular, this caused unexpe... | diff --git a/src/engine/CheckUsePatternTrick.cpp b/src/engine/CheckUsePatternTrick.cpp
index 5a0fde8cfb..fd153adc0d 100644
--- a/src/engine/CheckUsePatternTrick.cpp
+++ b/src/engine/CheckUsePatternTrick.cpp
@@ -118,7 +118,8 @@ static void rewriteTriplesForPatternTrick(const PatternTrickTuple& subAndPred,
} else {
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Make the minor changes agreed with Johannes in the 1-1 (agreed-upon minor changes in the static-initialization fix).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
ad-freiburg__qlever__1538 | ad-freiburg/qlever | 1,538 | defect | 996315fc8b72168273bb63a58cdff09b4f9ab49f | 729f6c6d7c8dfe39e1a03d0ad589bceb678200ae | Prepare the url parser for SPARQL Update | HTTP requests via GET and POST are now handled according to the SPARQL standard, in particular:
1. `UPDATE`s have to be sent via `POST` requests.
2. Url parameters can now be specified multiple times. In particular, there can be multiple values for the parameters `default-graph-uri` and `named-graph-uri` which are an... | diff --git a/src/engine/Server.cpp b/src/engine/Server.cpp
index 41526026c1..cf1552e20e 100644
--- a/src/engine/Server.cpp
+++ b/src/engine/Server.cpp
@@ -168,35 +168,46 @@ ad_utility::url_parser::ParsedRequest Server::parseHttpRequest(
const ad_utility::httpUtils::HttpRequest auto& request) {
// For an HTTP re... | 11 | 10 | 4 | [{"id": "G0", "claim": "The new `Operation` namespace should be renamed (reviewer suggests lowercase names such as `queryTypes`, `requestTypes` or `rdfQueryTypes`).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment above `paramsToMa... | null |
ad-freiburg__qlever__1590 | ad-freiburg/qlever | 1,590 | defect | db089f88b6dc2d8b6ad782cb6edbadf718c60b6d | 7e558b31d51de2728585b81e17505eb0998e8877 | Refactor `Server.h/.cpp` to prepare it for SPARQL UPDATE | Split the very large function `Server::processQuery` into several smaller functions, such that they can be reused by the `processUpdate` function (which for the most part still has to be implemented). | diff --git a/src/engine/Server.cpp b/src/engine/Server.cpp
index f22ab3b799..ff6625a8d2 100644
--- a/src/engine/Server.cpp
+++ b/src/engine/Server.cpp
@@ -451,19 +451,31 @@ Awaitable<void> Server::process(
if (auto timeLimit = co_await verifyUserSubmittedQueryTimeout(
checkParameter("timeout", std::nu... | 8 | 7 | 1 | [{"id": "G0", "claim": "The `template <bool isQuery>` design of the new processing wrapper is not ideal and should perhaps be a function reference (or otherwise made self-explanatory).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The NOTE above the que... | null |
ad-freiburg__qlever__1604 | ad-freiburg/qlever | 1,604 | defect | f1490771f7a70d49bc1d3d08a95e31488aaa505e | d0b00bc5c1649c082369dad28525090b166c87ea | Enable parsing of Updates | The SPARQL parser now parses all UPDATE requests. In practice, this means that the `SPARQL UPDATE is not yet supported by QLever` message is now emitted by the Server, and not anymore by the Parser, which means that we are one step close to the support of SPARQL UPDATE. | diff --git a/src/parser/sparqlParser/SparqlQleverVisitor.cpp b/src/parser/sparqlParser/SparqlQleverVisitor.cpp
index 7e8ae8facf..1ad3a89231 100644
--- a/src/parser/sparqlParser/SparqlQleverVisitor.cpp
+++ b/src/parser/sparqlParser/SparqlQleverVisitor.cpp
@@ -211,21 +211,17 @@ ParsedQuery Visitor::visit(Parser::QueryCon... | 1 | 1 | 1 | [{"id": "G0", "claim": "At least a single (non-overengineered) test for the update case should be added, since the subrules already have tests and coverage needs to stay happy after the PR removed updateQueryUnsupported and enabled update parsing.", "category": "testing", "verdict": "supported", "priority": "P1", "scop... | null |
ad-freiburg__qlever__1700 | ad-freiburg/qlever | 1,700 | defect | 2953f1620837d97e1c79144d366f012ec70076a3 | 9417c625d0983664b1b02c6bd209acdee0a4e104 | Fix the cost estimate of the `Spatial Join` operation | Previously, the cost estimate of the `SpatialJoin` class didn't account for the cost of computing the children. This is now fixed. | diff --git a/src/engine/SpatialJoin.cpp b/src/engine/SpatialJoin.cpp
index 34a66298b5..07541ecc6a 100644
--- a/src/engine/SpatialJoin.cpp
+++ b/src/engine/SpatialJoin.cpp
@@ -213,10 +213,13 @@ size_t SpatialJoin::getResultWidth() const {
// ____________________________________________________________________________
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The getCostEstimate function can be simplified control-flow-wise: return early when either child is missing and compute the actual cost via an immediately invoked lambda, so the function has less nesting and gets rid of the dummy initialization of the estimate value.", "category": "maintainabili... | null |
ad-freiburg__qlever__1703 | ad-freiburg/qlever | 1,703 | defect | 6c0e792e50f82179429b5f43f07f6b04951bbfd2 | 0917636c8f7e8de3f7a6d8cd8d99403b59313363 | Implementation of `EXISTS` and `NOT EXISTS` | This implements `EXISTS` via a new `ExistsJoin` operation. Namely, for each operation involving an expression (for example, a `BIND` or a `FILTER`), an `ExistJoin` operation is added for each occurence of `EXISTS` in that expression. The `ExistsJoin` adds an additional column (with a unique variable name) that contains... | diff --git a/src/engine/Bind.cpp b/src/engine/Bind.cpp
index 95de8a4dfe..ed98495d72 100644
--- a/src/engine/Bind.cpp
+++ b/src/engine/Bind.cpp
@@ -5,12 +5,22 @@
#include "Bind.h"
#include "engine/CallFixedSize.h"
+#include "engine/ExistsJoin.h"
#include "engine/QueryExecutionTree.h"
#include "engine/sparqlExpress... | 6 | 6 | 0 | [{"id": "G0", "claim": "The comment in `ExistsExpression::getCacheKey` does not make clear for which scenario the `ExistsJoin`-not-yet-set-up case (returning a random cache key) is relevant, and the reviewer asks when it ever happens that query processing starts before query planning is completed.", "category": "docume... | null |
ad-freiburg__qlever__1732 | ad-freiburg/qlever | 1,732 | defect | 432cd644b34bd04f8e0f2c005e797e44d87e0f33 | b968bb741fb2765c93c5afcc87d365cf73a61fff | Magic service query for text search. | In addition to the `ql:contains-word` and `ql:contains-entity` predicate,
the text search can now be also triggered via a dedicated SERVICE that allows to explicitly specify the variable names for score and match variables. | diff --git a/src/engine/CheckUsePatternTrick.cpp b/src/engine/CheckUsePatternTrick.cpp
index e7da58ea14..8855008b25 100644
--- a/src/engine/CheckUsePatternTrick.cpp
+++ b/src/engine/CheckUsePatternTrick.cpp
@@ -72,9 +72,12 @@ bool isVariableContainedInGraphPatternOperation(
} else if constexpr (std::is_same_v<T, p... | 9 | 9 | 5 | [{"id": "G0", "claim": "The long chain of || std::is_same_v<T, ...> in CheckUsePatternTrick should be refactored to use ad_utility::SameAsAny<T, ...> instead of repeating the || and is_same_v.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The v... | null |
ad-freiburg__qlever__1740 | ad-freiburg/qlever | 1,740 | defect | 098b79c715f9992972a8d3452f5bd10e303c6ce4 | b9948ff68f580224c79bfe1cb8c590da3cbce99e | Support uncompressed or fully in-memory vocabulary | So far, QLever's vocabulary (the set of distinct IRIs and literals) is compressed (on the level of individual IRIs and literals) and resides on disk by default. It can be configured that certain IRIs or literals reside in RAM. However, there was some overhead for determining whether an IRI or literal resides in memory ... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3679de4c51..67b2feb62b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -203,6 +203,16 @@ if (${USE_CPP_17_BACKPORTS})
add_definitions("-DQLEVER_CPP_17 -DCPP_CXX_CONCEPTS=0")
endif()
+set(VOCAB_IN_MEMORY OFF CACHE BOOL "Store QLever's vocabulary completely i... | 7 | 4 | 1 | [{"id": "G0", "claim": "Use the modern `add_compile_definitions` command instead of `add_definitions` for the compile-time macros this PR adds to CMakeLists.txt, for clarity and proper scoping.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
ad-freiburg__qlever__1848 | ad-freiburg/qlever | 1,848 | defect | dae336078ae812441449ee9d9a370114657101a4 | 8449acc86070bdf66f6001f0834bb4685112cafa | Fix collisions of internally added variables for subqueries | This fixes a bug where names of internal variables were wrongly reused between the body of a subquery (e.g. in the implementation of anonymous nodes (`[]`), and for internal aliases needed for `ORDER BY(expression)` or `GROUP BY(expression)`.
Fixes #1561 | diff --git a/src/parser/ParsedQuery.h b/src/parser/ParsedQuery.h
index 5629f49833..b15cf1d5fe 100644
--- a/src/parser/ParsedQuery.h
+++ b/src/parser/ParsedQuery.h
@@ -173,16 +173,6 @@ class ParsedQuery {
return _rootGraphPattern._graphPatterns;
}
- // TODO<joka921> This is currently necessary because of the ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a small unit test to the query planner that the buggy query from the issue now works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ad-freiburg__qlever__1868 | ad-freiburg/qlever | 1,868 | defect | 608244430d0afbcf2c1a29c14f0d1d00749dcce6 | 7b936cd8902b7e1275f2fecb9ffbe4aab32d0736 | Don't apply language filter if no matching triple pattern exists | QLever has two efficient ways of applying language filter: One using the tagged predicates like `@en@rdfs:label` and one that joins with the `ql:langtag` predicate. The latter one can only be safely applied, if the filtered variable appears somewhere in a triple, otherwise entities with a language tag that are created ... | diff --git a/src/parser/GraphPattern.h b/src/parser/GraphPattern.h
index d5f82f0fe9..f05cd40655 100644
--- a/src/parser/GraphPattern.h
+++ b/src/parser/GraphPattern.h
@@ -42,8 +42,9 @@ class GraphPattern {
// pattern.
// Modify query to take care of language filter. `variable` is the variable,
- // `languageIn... | 2 | 2 | 0 | [{"id": "G0", "claim": "Add a comment explaining that if the variable appears in some other triple, the query can still be joined with the ql:langtag predicate.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "At least add a TODO that many more case... | null |
ad-freiburg__qlever__1889 | ad-freiburg/qlever | 1,889 | defect | b76c0c864f124a20b7a59b83a74e3346649c5747 | 978d3c5850c7c88cae4ccc39f1fcc068c0ed65ad | Allow REGEX expressions with a dynamically computed regular expression | Add support for the `REGEX` function in the case where the regular expression is dynamically computed by the query, e.g.
`REGEX(?input, ?regex)` or `REGEX(?input, CONCAT("bla", "*"))`. Previously, QLever only supported hardcoded regular expressions like `REGEX(?input, "bla*")`.
The implementation optimizes for the ca... | diff --git a/src/engine/sparqlExpressions/RegexExpression.cpp b/src/engine/sparqlExpressions/RegexExpression.cpp
index 84b1e4c4e3..81d4344184 100644
--- a/src/engine/sparqlExpressions/RegexExpression.cpp
+++ b/src/engine/sparqlExpressions/RegexExpression.cpp
@@ -6,6 +6,7 @@
#include "./RegexExpression.h"
+#include... | 2 | 2 | 0 | [{"id": "G0", "claim": "The empty regex string is not covered by the precomputed-regex path in the constructor and should also get precomputed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G6", "claim": "ReplacementStringGetter does not need the multiple inherit... | null |
ad-freiburg__qlever__1906 | ad-freiburg/qlever | 1,906 | defect | 707f5e7826fd40d00ce520d17d3d59e960f2cfdb | 225a7523e19cb234947c3d585bb4a19629fe050f | Let `STRAFTER` and `STRBEFORE` preserve datatype and language tag | So far, `STRAFTER` and `STRBEFORE` on a string with a datatype or language tag removed the datatype or language tag, respectively. This is now fixed. Continuation of #1905. | diff --git a/src/engine/sparqlExpressions/StringExpressions.cpp b/src/engine/sparqlExpressions/StringExpressions.cpp
index 0e60120b69..6443c983e2 100644
--- a/src/engine/sparqlExpressions/StringExpressions.cpp
+++ b/src/engine/sparqlExpressions/StringExpressions.cpp
@@ -198,27 +198,24 @@ using IriOrUriExpression =
usi... | 7 | 6 | 3 | [{"id": "G0", "claim": "The STRAFTER/STRBEFORE impls should drop `LiftStringFunction` and take `optional<Literal>` directly, or a dedicated `LiftLiteralFunction` should be implemented in a separate PR, since `LiftStringFunction` only lifts `std::string` functions.", "category": "design", "verdict": "supported", "priori... | null |
ad-freiburg__qlever__1921 | ad-freiburg/qlever | 1,921 | defect | d110bd9883a352e4135580039e88c0571a59f3d8 | c31c9de93a326e531cafcad4e2ccf088808a758e | Fixes for "Persist updates between server restarts (#1903)" | This PR applies some follow-up fixes for #1903 that were omitted from the original PR due to time constraints.
In particular
1. Fix the duplicate writing of the delta triples.
2. Add some unit tests to improve the code coverage. | diff --git a/src/engine/ExecuteUpdate.cpp b/src/engine/ExecuteUpdate.cpp
index 7080178670..2f162e34a6 100644
--- a/src/engine/ExecuteUpdate.cpp
+++ b/src/engine/ExecuteUpdate.cpp
@@ -24,8 +24,6 @@ UpdateMetadata ExecuteUpdate::executeUpdate(
deltaTriples.insertTriples(cancellationHandle,
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The new rethrowsOnInvalidFileAccess test's handling of file permissions is fragile: the absl::Cleanup `remove` may also fail once all permissions are removed, re-running the tests while the tmp file is still present may fail, and in environments where one lacks the permission to set the permissi... | null |
ad-freiburg__qlever__1925 | ad-freiburg/qlever | 1,925 | defect | d110bd9883a352e4135580039e88c0571a59f3d8 | 9a642e755471ab3e63c0bef4673697e75bfab45b | Correct datatypes and language tags for the `UCASE` and `LCASE` functions | With this PR the `UCASE` and `LCASE` function now preserve the language tag of the input, as well as the datatype if it is `xsd:string`. This is the correct behavior according to the SPARQL standard. | diff --git a/src/engine/sparqlExpressions/StringExpressions.cpp b/src/engine/sparqlExpressions/StringExpressions.cpp
index de3c64bd1b..7be96b1515 100644
--- a/src/engine/sparqlExpressions/StringExpressions.cpp
+++ b/src/engine/sparqlExpressions/StringExpressions.cpp
@@ -135,27 +135,25 @@ using IriOrUriExpression =
usi... | 5 | 5 | 2 | [{"id": "G0", "claim": "The blank line added in test/ExportQueryExecutionTreesTest.cpp should be removed.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The comment in src/parser/Literal.h should mark the parameter name as code: `newContent`.", "category"... | null |
ad-freiburg__qlever__1940 | ad-freiburg/qlever | 1,940 | defect | f2eb25a476faa9894530ae778add116efaf9a3cd | 2d18f39970aa6de03f2a19302a4813c9531575f5 | Phase out `STXXL`, part 2 = now completed | This completes the phase-out of `STXXL`, started in #1926, by replacing the few remaining uses with already existing functionality like `ad_utility::CompressedExternalIdTableSorter`. Background: https://github.com/stxxl/stxxl is no longer maintained. As of this writing, the last commit is from 15.11.2018. The text inde... | diff --git a/.github/workflows/check_index_version.yml b/.github/workflows/check_index_version.yml
index 14f31b77fd..ecba7a725b 100644
--- a/.github/workflows/check_index_version.yml
+++ b/.github/workflows/check_index_version.yml
@@ -46,10 +46,10 @@ jobs:
compiler-version: ${{matrix.compiler-version}}
- ... | 4 | 4 | 3 | [{"id": "G0", "claim": "The comment added in test/CMakeLists.txt is wrong: it is the general use of static file names that has to be fixed, not the *.text-index name.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Sorting the text index through an... | null |
ad-freiburg__qlever__1946 | ad-freiburg/qlever | 1,946 | defect | 95e6371ba2568f6b2d4ca56361828a695333bd4d | 85ccdefa9ff62658765571449504c5c90a5145b5 | Allow each `Operation` to specify how to make sure its result is sorted | Introduce an interface that allows every `Operation` to specify how to make sure that its result is sorted according to a given ordering of the columns. Operations which cannot do that themselves return `std::nullopt`, which causes the operation to be wrapped inside a `Sort` operation. However, if the operation has a m... | diff --git a/src/engine/Operation.cpp b/src/engine/Operation.cpp
index c30aa2b0ae..8c99995e05 100644
--- a/src/engine/Operation.cpp
+++ b/src/engine/Operation.cpp
@@ -673,3 +673,18 @@ std::unique_ptr<Operation> Operation::clone() const {
AD_EXPENSIVE_CHECK(getCacheKey() == result->getCacheKey());
return result;
... | 15 | 11 | 1 | [{"id": "G0", "claim": "The documentation of the new PreconditionAction interface is too sparse; the class comment should give more context, e.g. an example noting the three states it can represent.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
ad-freiburg__qlever__1949 | ad-freiburg/qlever | 1,949 | defect | 96865035c90afdd4207faed4c022fd3f70c249ab | 9a957b5b39991331a54317ccd9bd1e33a16efcf6 | Refactor the code for building the text index | Refactor of the code for building (and using) the text index, for improved readability and maintainability. No change in functionality. In particular, creates two new files `TextIndexBuilder.h` and `TextIndexBuilder.cpp`. | diff --git a/src/index/IndexImpl.Text.cpp b/src/index/IndexImpl.Text.cpp
index 1b06192aa5..0831a9126e 100644
--- a/src/index/IndexImpl.Text.cpp
+++ b/src/index/IndexImpl.Text.cpp
@@ -582,73 +582,6 @@ std::string_view IndexImpl::wordIdToString(WordIndex wordIndex) const {
return textVocab_[WordVocabIndex::make(wordIn... | 5 | 4 | 1 | [{"id": "G0", "claim": "Use absolute (project-rooted) include paths instead of \"TextScoringEnum.h\" in TextIndexReadWrite.h and TextIndexReadWrite.cpp.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a short docstring explaining what readCon... | null |
ad-freiburg__qlever__1977 | ad-freiburg/qlever | 1,977 | defect | 5bdcee14f7f75d75afe0d4f781cb6ab316d95d7a | cd9a4f7b0d8da2bfd1c2cde1a1ff6432b5e7c976 | Make the `CompactStringVectorWriter` movable | Implement a move-constructor and move-assignment for `CompactStringVectorWriter`. Verify the desired behavior with an extensive unit test. We need this semantics as a preparation of #1740. | diff --git a/src/global/Pattern.h b/src/global/Pattern.h
index 0638163d23..bfb9c4c2b3 100644
--- a/src/global/Pattern.h
+++ b/src/global/Pattern.h
@@ -1,6 +1,7 @@
// Copyright 2018, University of Freiburg,
// Chair of Algorithms and Data Structures.
-// Author: Florian Kramer (florian.kramer@mail.uni-freiburg.de)
+//... | 4 | 2 | 0 | [{"id": "G0", "claim": "The author should use the existing `ad_utility::unique_cleanup::UniqueCleanup` (with a custom cleanup function) instead of hand-writing move constructors and move-assignment operators, even though the `Data` wrapper would remain.", "category": "design", "verdict": "opposed", "priority": "P3", "s... | null |
ad-freiburg__qlever__1983 | ad-freiburg/qlever | 1,983 | defect | 76f09840bb85e47988ed98fe76b0a79a9dd9aa77 | 30a4db7713e4debe37ebddca1a22b626e9ae29bd | Handle `SplitVocabulary` correctly in `LocalVocabEntry` and `Vocabulary::getId` | Remaining integration work for `SplitVocabulary`: With the merge of #2111 and #1740, users can now select a vocabulary type, including `on-disk-compressed-geo-split`. For this type, `LocalVocabEntry` and `Vocabulary::getId` did not yet produce correct results when given a `geo:wktLiteral`. This change adds the required... | diff --git a/src/global/ValueId.h b/src/global/ValueId.h
index dca08c1597..fd3834dd3b 100644
--- a/src/global/ValueId.h
+++ b/src/global/ValueId.h
@@ -85,7 +85,7 @@ class ValueId {
/// The maximum value for the unsigned types that are used as indices
/// (currently VocabIndex, LocalVocabIndex and Text).
- stat... | 14 | 14 | 2 | [{"id": "G0", "claim": "Constrain the SplitVocabulary template parameters via the CPP_template macro (e.g. ad_utility::InvocableWithExactReturnType) and be more explicit with the documentation.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "joka921 asks ... | null |
ad-freiburg__qlever__2006 | ad-freiburg/qlever | 2,006 | defect | 907e86a6d2b1992244cb614a2be5da5f99d12481 | 203919ffe2859ee1e4e4cd50304fbdb254d67846 | Give `ProgressBar` users control over timer if needed | So far, the timer for a `ProgressBar` was always started as soon as the `ProgressBar` was created. However, some input generation processes (for example, `osm2rdf` feeding OSM triples to QLever's index builder) have a long startup time before they produce the first item but then produce items fast. In such a scenario. ... | diff --git a/src/index/IndexImpl.cpp b/src/index/IndexImpl.cpp
index a7f5cde75f..94c2835e85 100644
--- a/src/index/IndexImpl.cpp
+++ b/src/index/IndexImpl.cpp
@@ -28,6 +28,7 @@
#include "util/JoinAlgorithms/JoinAlgorithms.h"
#include "util/ProgressBar.h"
#include "util/ThreadSafeQueue.h"
+#include "util/Timer.h"
#i... | 3 | 3 | 0 | [{"id": "G0", "claim": "Using a 1ms sleep in the getTimer test may be too short on some systems and could make the timing measurement flaky; increase the delays to 10ms for test stability.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment line ... | null |
ad-freiburg__qlever__2048 | ad-freiburg/qlever | 2,048 | defect | 5db4c50fbfe2e3758f2b51d5d050d7e738e0e631 | 55522808a0c24f4727f4df7077a0d1c45c79289f | Have a single counter per SPARQL query for internal variables | The following query led to an assertion failure so far, for the following reason. Line 2 and 3 both create an internal variable (due to the `[]` in this case, but internal variables can also be created for other reasons, e.g., property paths). The generic name for this variable is created using an internal counter. So ... | diff --git a/src/parser/ParsedQuery.cpp b/src/parser/ParsedQuery.cpp
index 709bd199c3..90f6f41174 100644
--- a/src/parser/ParsedQuery.cpp
+++ b/src/parser/ParsedQuery.cpp
@@ -40,10 +40,11 @@ string SparqlTriple::asString() const {
// ________________________________________________________________________
Variable ... | 4 | 4 | 0 | [{"id": "G0", "claim": "The factory function `internalVariableGenerator` should be named `makeInternalVariableGenerator`, since it is a factory function and that name would be more lucid.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new fu... | null |
ad-freiburg__qlever__2063 | ad-freiburg/qlever | 2,063 | defect | 1147417139fe0b982462465b88895dcf8aa8845d | c3b300d42c03aa0d48463cfab9b3f30bc35e54f1 | Add pre-filter for `IN` and `NOT IN` | Add pre-filters for expressions as in `?subject wdt:P31 ?type . FILTER (?type IN (wd:Q5, wd:16521))` (all humans and taxa) or `?subject wdt:P31 ?type . FILTER (?type NOT IN (wd:Q13442814))` (all entities expect scholarly articles). | diff --git a/src/engine/sparqlExpressions/PrefilterExpressionIndex.cpp b/src/engine/sparqlExpressions/PrefilterExpressionIndex.cpp
index 6e88c00a33..f2a8fecdc0 100644
--- a/src/engine/sparqlExpressions/PrefilterExpressionIndex.cpp
+++ b/src/engine/sparqlExpressions/PrefilterExpressionIndex.cpp
@@ -718,6 +718,58 @@ Bloc... | 7 | 7 | 4 | [{"id": "G0", "claim": "The STR() handling is wrong (a prefilter for FILTER(STR(?x) IN (...)) would have to match language-tagged and typed literals, IRIs and numbers too), so the STR support should be left out of this PR for now.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduc... | null |
ad-freiburg__qlever__2089 | ad-freiburg/qlever | 2,089 | defect | 61f14810b3bf6c9ff59ddf5c6c60713b5ad07e5c | 831b9abe50ee7f6509c1e7332d6103569a06eb1d | Implement `LOAD` | Implement the Graph Update operation `LOAD`.
On the side, fix a lifetime issue with the `LocalVocab` of the `Result` object produced by an update query. Namely, the `Result` only lived inside `computeGraphUpdateQuads`, so that the `LocalVocab` IDs were no longer live when being passed to `DeltaTriples::insertTriples... | diff --git a/src/engine/CheckUsePatternTrick.cpp b/src/engine/CheckUsePatternTrick.cpp
index aaaf14b145..7b822de667 100644
--- a/src/engine/CheckUsePatternTrick.cpp
+++ b/src/engine/CheckUsePatternTrick.cpp
@@ -66,6 +66,8 @@ bool isVariableContainedInGraphPatternOperation(
return ad_utility::contains(arg._inline... | 8 | 8 | 2 | [{"id": "G0", "claim": "The new `p::Load` branch in `isVariableContainedInGraphPatternOperation` should instead be added to the `SameAsAny` clause with the `FAIL` below, since a `LOAD` should never be inside a `GROUP BY` and that is easier on the coverage.", "category": "design", "verdict": "supported", "priority": "P2... | null |
ad-freiburg__qlever__2103 | ad-freiburg/qlever | 2,103 | defect | c033e971181f2530d47650a80ac769af9d265564 | 55b696044eb74d5d0ca7a8c2b48c279db7771765 | Don't drop `FILTER` operations with unbound variables | So far, QLever silently dropped `FILTER` operations that referred to variables that were unbound in the respective group graph pattern. This is now fixed. For example, the following query now has an empty result as it should:
```sparql
SELECT * {
BIND (3 as ?a)
FILTER (?a < ?b)
}
``` | diff --git a/src/engine/QueryPlanner.cpp b/src/engine/QueryPlanner.cpp
index 6d453522d8..035f0d0401 100644
--- a/src/engine/QueryPlanner.cpp
+++ b/src/engine/QueryPlanner.cpp
@@ -269,7 +269,8 @@ std::vector<SubtreePlan> QueryPlanner::optimize(
// it might be, that we have not yet applied all the filters
// (it mi... | 4 | 3 | 0 | [{"id": "G0", "claim": "Remove the stray empty statement `;` after `t.setColumnSubset(std::array<ColumnIndex, 0>{});` in the IdTable test.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Prefer `EXPECT_*` over `ASSERT_*` for the id-table comparis... | null |
ad-freiburg__qlever__2105 | ad-freiburg/qlever | 2,105 | defect | c033e971181f2530d47650a80ac769af9d265564 | 198ce1c21c806657b8c9835ad5ae5fd6b763773e | Fix bug in `TransitivePathBase::knownEmptyResult` for empty path | The implementation for `TransitivePathBase::knownEmptyResult()` returned `true` for empty paths with a non-empty result, which led to an assertion error. This is now fixed and a query like the following now returns the correct result:
```sparql
SELECT * {
?s <nexistepas>* ?o
}
``` | diff --git a/src/engine/TransitivePathBase.cpp b/src/engine/TransitivePathBase.cpp
index 136708bbc9..7b491a2ff2 100644
--- a/src/engine/TransitivePathBase.cpp
+++ b/src/engine/TransitivePathBase.cpp
@@ -258,11 +258,7 @@ std::string TransitivePathBase::getCacheKeyImpl() const {
// ______________________________________... | 1 | 1 | 1 | [{"id": "G0", "claim": "Printing minDist_ and maxDist_ unconditionally in getDescriptor() shows a very large literal (e.g. SIZE_MAX for maxDist_) in every descriptor, so the reviewer asks to leave the previous conditional formatting that only shows the interval when it is not a full transitive hull, keeping descriptors... | null |
ad-freiburg__qlever__2115 | ad-freiburg/qlever | 2,115 | defect | dc5f4f5491cbd15af399dc95e7d56e654ad94c85 | 6db5c293fc05fac2ff1e86ab407c99df10b2a3b1 | More correct behavior of `FROM [NAMED]` , `USING [NAMED]` and `WITH` | The following is fixed now, where everything said about `FROM [NAMED]` for queries also holds for `USING [NAMED]` for updates:
1. If a `FROM NAMED` clause is used, but no `FROM` clause, then the default graph for the `WHERE` clause is empty.
2. If a `FROM` clause is used, but no `FROM NAMED` clause, then all `GRAPH... | diff --git a/src/engine/Describe.cpp b/src/engine/Describe.cpp
index b3f1e6c4a8..ec27ed5db1 100644
--- a/src/engine/Describe.cpp
+++ b/src/engine/Describe.cpp
@@ -52,7 +52,7 @@ string Describe::getCacheKeyImpl() const {
// `subtree_`. However, the named graphs only determine the result for
// `subtree_` (the reso... | 2 | 2 | 0 | [{"id": "G0", "claim": "The doc comment of the new defaultGraphs() accessor (src/parser/DatasetClauses.h line 55, snapshot S1) should be clarified: the reviewer was left unsure whether there can be more than one default graph.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
ad-freiburg__qlever__2117 | ad-freiburg/qlever | 2,117 | defect | 14f89099438930511ad89b270cb4e86137be7dab | 61cb1ddf2dc95944f215752a665f3ae22a3ebe83 | Implement Graph Store HTTP Protocol operations `PUT`, `DELETE`, and `TSOP` | This continues work from #1727, which implements the Graph Store HTTP Protocol operations `GET` (get all triples from the specified graph) and `POST` (insert triples from payload in the specified graph). This change also implements `PUT` (replace the triples in the specified graph with the triples from the payload) and... | diff --git a/src/engine/GraphStoreProtocol.cpp b/src/engine/GraphStoreProtocol.cpp
index f82788284e..04f69e0c42 100644
--- a/src/engine/GraphStoreProtocol.cpp
+++ b/src/engine/GraphStoreProtocol.cpp
@@ -4,23 +4,24 @@
#include "engine/GraphStoreProtocol.h"
-#include "parser/SparqlParser.h"
#include "parser/Tokeniz... | 19 | 17 | 1 | [{"id": "G0", "claim": "The header guard of the new src/engine/HttpError.h should use the QLEVER_SRC_ENGINE_HTTPERROR_H format instead of QLEVER_HTTPERROR_H.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The bare HttpError(no_content) throws sh... | null |
ad-freiburg__qlever__2148 | ad-freiburg/qlever | 2,148 | defect | 3a89a06f31ceeda922efd551e266896b06e66fc4 | 8449f6d7a98a43726894999fdaccea0c3b8957a1 | Quick fix for handling `LIMIT` and `OFFSET` in Cartesian product join | In the current code, the `CartesianProductJoin` operation dynamically sets the limit and offset for its children and then resets them to their original values. However, this mechanism is flawed because the resetting happens too early for lazily evaluated children, which then falsely operate with the reset values. This ... | diff --git a/src/engine/CartesianProductJoin.cpp b/src/engine/CartesianProductJoin.cpp
index a62d8c5b02..4cef2cafcb 100644
--- a/src/engine/CartesianProductJoin.cpp
+++ b/src/engine/CartesianProductJoin.cpp
@@ -7,6 +7,12 @@
#include "engine/CallFixedSize.h"
#include "util/Views.h"
+namespace {
+constexpr std::strin... | 2 | 2 | 0 | [{"id": "G0", "claim": "The wording of the newly added `recomputeMessage` error message is confusing — the reviewer does not understand the \"in case the index changed\" part — and the message should also reflect that cloning is forbidden.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"... | null |
ad-freiburg__qlever__2155 | ad-freiburg/qlever | 2,155 | defect | 3a89a06f31ceeda922efd551e266896b06e66fc4 | 2bc55fbd6de256b3981ff8510357440c93cb239a | Optimize export performance by reusing a fixed-size buffer | A query result is internally a table of fixed-size `Id`s and has to be converted to a string representation when exporting it with one of the standard media types. So far, QLever did this using `std::ostringstream`, which requires many (typically small) memory allocations. This is now improved by reusing a fixed-size b... | diff --git a/src/engine/ExportQueryExecutionTrees.h b/src/engine/ExportQueryExecutionTrees.h
index 4b012b2a6a..a64ef0b338 100644
--- a/src/engine/ExportQueryExecutionTrees.h
+++ b/src/engine/ExportQueryExecutionTrees.h
@@ -11,6 +11,7 @@
#include "parser/data/LimitOffsetClause.h"
#include "util/CancellationHandle.h"
... | 6 | 5 | 0 | [{"id": "G0", "claim": "ExportQueryExecutionTrees.h could only forward-declare stream_generator so that the implementation header is included solely in the .cpp file.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The promise's type aliases should... | null |
ad-freiburg__qlever__2159 | ad-freiburg/qlever | 2,159 | defect | 3811450fb10fb1b17ec17be4679d9d8629a99c09 | 6f73d49ace2c274da2ed52235d3eb19f0297c9a7 | Fix bug in parallel Turtle parser for small input files | The parallel Turtle parser dynamically splits the input into batches and has to take care that predicate-object lists aka triple statements are not split in the middle. To that end, the parser searches for a particular regex, which is supposed to match the final `.` of a triple statement but can also match in the middl... | diff --git a/src/parser/ParallelBuffer.cpp b/src/parser/ParallelBuffer.cpp
index 37ce07b53ed..8a729790d6c 100644
--- a/src/parser/ParallelBuffer.cpp
+++ b/src/parser/ParallelBuffer.cpp
@@ -43,7 +43,7 @@ std::optional<size_t> ParallelBufferWithEndRegex::findRegexNearEnd(
const BufferType& vec, const re2::RE2& regex... | 2 | 1 | 1 | [{"id": "G0", "claim": "The correct way to fix this is to make the `if` in `RdfParallelParser<T>::initialize` a loop that initially reads batches until the `declarationParser` has finished (which should also make the chunk-size workaround go away), plus a unit test that reproduces the bug.", "category": "design", "verd... | null |
ad-freiburg__qlever__2187 | ad-freiburg/qlever | 2,187 | defect | 27208d34da5b4399f7bdb9e767b2bc495838c289 | 1a3a9d992d779816d4bd4ecde3b6a34e46bf9a93 | Improve descriptor for `SpatialJoin` operation | So far, the descriptor of the `SpatialJoin` operation referred to the type of spatial join via a number, e.g., `Spatial Join ?a to ?b of type 0`. Now it refers to the type via a human-readable string, e.g., `Spatial Join of ?a and ?b using intersects`. | diff --git a/src/engine/SpatialJoin.cpp b/src/engine/SpatialJoin.cpp
index a57b2293ff..6d22f59be2 100644
--- a/src/engine/SpatialJoin.cpp
+++ b/src/engine/SpatialJoin.cpp
@@ -184,8 +184,9 @@ string SpatialJoin::getDescriptor() const {
return absl::StrCat("MaxDistJoin ", left, " to ", right, " of ",
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The test should not downcast the root operation to SpatialJoin* via static_cast, because getDescriptor is virtual and dispatches to the correct implementation anyway.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Spa... | null |
ad-freiburg__qlever__2188 | ad-freiburg/qlever | 2,188 | defect | 27208d34da5b4399f7bdb9e767b2bc495838c289 | c5b644ad956ca84e260d8da3e0c6a5dc6a49c6b2 | Support `FILTER geof:sfWithin(?geom1, ?geom2)` and `qlss:joinType qlss:within` | Add support for the missing `FILTER geof:sfWithin(?geom1, ?geom2)`, which is equivalent to `FILTER geof:sfContains(?geom2, ?geom1)`. The former is hence implemented via the already existing *contains* spatial join, but with the two arguments swapped. Also add the corresponding `qlss:joinType qlss:within` to `SERVICE ql... | diff --git a/src/engine/SpatialJoin.cpp b/src/engine/SpatialJoin.cpp
index a57b2293ff..ceaed835e8 100644
--- a/src/engine/SpatialJoin.cpp
+++ b/src/engine/SpatialJoin.cpp
@@ -401,13 +401,21 @@ PreparedSpatialJoinParams SpatialJoin::prepareJoin() const {
return std::pair{idTablePtr, std::move(resTable)};
};
+ ... | 1 | 1 | 1 | [{"id": "G0", "claim": "A query using `geof:sfWithin` with the spatial join fails with a `vector::_M_range_check` out-of-range error (which does not happen with `geof:sfContains`), so the WITHIN-as-swapped-CONTAINS path returns broken results.", "category": "correctness", "verdict": "supported", "priority": "P0", "scop... | null |
ad-freiburg__qlever__2196 | ad-freiburg/qlever | 2,196 | defect | 448925d582b264371e45940471cf9e82a6822118 | f244c615169d9f66734c602ac843ba3938d219fd | Implement `lazySingleValueRange` | This abstraction is an `input_range` that consists of a single value which it lazily produces by evaluating a callback.
This abstraction is useful to "artificially" move a single, fully materialized intermediate result into a range, to for a unified interface with "true" lazy results and thus has many applications wh... | diff --git a/src/engine/Result.h b/src/engine/Result.h
index a5de2f336c..2e3b004ed7 100644
--- a/src/engine/Result.h
+++ b/src/engine/Result.h
@@ -213,6 +213,14 @@ class Result {
static SharedLocalVocabWrapper getMergedLocalVocab(const Result& result1,
const Resu... | 4 | 4 | 1 | [{"id": "G0", "claim": "Use the existing `ad_utility::InvocableWithExactReturnType<F, IdTableVocabPair>` trait instead of the hand-written `std::is_invocable_v` + `std::is_same` condition on `lazyResultFromSingleValue`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {... | null |
ad-freiburg__qlever__2203 | ad-freiburg/qlever | 2,203 | defect | 8a50bbe86fdffd178bdb77c87829a23ba89c42a3 | c18fed9ba36a5b692d12a1feecf5407d1d15a405 | Add destructors to `WordWriter`s of `GeoVocabulary` and `SplitVocabulary` | Add destructors to `WordWriter`s of `GeoVocabulary` and `SplitVocabulary`. This is a necessary fix but also a first step to diagnosing #2200 | diff --git a/src/index/vocabulary/GeoVocabulary.cpp b/src/index/vocabulary/GeoVocabulary.cpp
index 9f949f13a7..1bd2cd7a76 100644
--- a/src/index/vocabulary/GeoVocabulary.cpp
+++ b/src/index/vocabulary/GeoVocabulary.cpp
@@ -83,6 +83,16 @@ void GeoVocabulary<V>::WordWriter::finishImpl() {
geoInfoFile_.close();
}
+/... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add unit tests covering the WordWriter destructor logic — creating and immediately destroying a word writer without calling finish, and after an explicit finish call — for both GeoVocabulary and SplitVocabulary.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
ad-freiburg__qlever__2204 | ad-freiburg/qlever | 2,204 | defect | 562396cc756734eaa6c24037373d7a911402270d | 845e0732787ae078e8867d81a59bcd23a85ef899 | Add GeoSPARQL function `geof:geometryN` | Add support for the GeoSPARQL function `geof:geometryN`, which takes two arguments, a WKT literal and an integer `k`. If the WKT literal describes a multi-part geometry (`MULTIPOINT`, `MULTILINESTRING`, `MULTIPOLYGON`, `GEOMETRY_COLLECTION`), the function extracts the `k`th geometry if it exists. If the WKT literal des... | diff --git a/src/engine/sparqlExpressions/GeoExpression.cpp b/src/engine/sparqlExpressions/GeoExpression.cpp
index c08af40b29..d79f424bec 100644
--- a/src/engine/sparqlExpressions/GeoExpression.cpp
+++ b/src/engine/sparqlExpressions/GeoExpression.cpp
@@ -66,6 +66,10 @@ NARY_EXPRESSION(MetricLengthExpression, 1,
... | 4 | 4 | 1 | [{"id": "G0", "claim": "The comment \"// Value getter that returns only integer values (unlike `NumericValueGetter` which returns double or int)\" should get a full stop at the end.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "IntValueGetter (... | null |
ad-freiburg__qlever__2205 | ad-freiburg/qlever | 2,205 | defect | e1533d356dcf192e8c3a1c68ca41fb59ed661efa | b6e549151c1a8685aa3670fe60073a88901c5176 | Prefilter `SpatialJoin` input using bounding boxes from `GeoVocabulary` | For a `SpatialJoin` operation, use the precomputed bounding boxes (available if the index was built with vocabulary type `on-disk-compressed-geo-split`) to reduce the number of rows of the larger operand before the actual spatial join is computed. Specifically, eliminate all rows from the larger operand where the bound... | diff --git a/src/engine/SpatialJoinAlgorithms.cpp b/src/engine/SpatialJoinAlgorithms.cpp
index f6a9114405..15a8a5345f 100644
--- a/src/engine/SpatialJoinAlgorithms.cpp
+++ b/src/engine/SpatialJoinAlgorithms.cpp
@@ -21,6 +21,7 @@
#include "engine/ExportQueryExecutionTrees.h"
#include "engine/SpatialJoin.h"
+#include... | 10 | 9 | 1 | [{"id": "G0", "claim": "Add a small comment explaining what exactly the new `prefilterBox` parameter does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Extract the prefilter-box-to-lat-lng conversion code inside `libspatialjoinParse` into a help... | null |
ad-freiburg__qlever__2216 | ad-freiburg/qlever | 2,216 | defect | 7e1403d52d885ff175b2d93092d9d49145e77ad0 | 98345e27d668c1fc0f0da94bc0e3ac78fe94bc26 | Fix `GROUP BY` for group from vector with single entry | Fix a bug in `GroupByImpl::processGroup`, so that in addition to `sparqlExpression::isConstantResult`, it also accepts `sparqlExpression::isVectorResult` with a single entry. For example, the latter is produced by the following query. Fixes #2123
```
SELECT (COALESCE(SAMPLE(?x)) AS ?y) WHERE {}
GROUP BY ?x
``` | diff --git a/src/engine/GroupByImpl.cpp b/src/engine/GroupByImpl.cpp
index 23df5b539b..58699482cd 100644
--- a/src/engine/GroupByImpl.cpp
+++ b/src/engine/GroupByImpl.cpp
@@ -212,29 +212,38 @@ void GroupByImpl::processGroup(
sparqlExpression::ExpressionResult expressionResult =
aggregate._expression.getPimpl(... | 1 | 1 | 0 | [{"id": "G0", "claim": "The AD_FWD on this line does exactly nothing and is redundant, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
ad-freiburg__qlever__2217 | ad-freiburg/qlever | 2,217 | defect | db0bdd147c22c2cf4480e295593d9e023a7afc96 | 07fd890c582c2dd909c0d12cdfab9b4bae1350f7 | Refactor error handling in `GraphStoreProtocol` and `SparqlProtocol` operations | Implement a new exception class `HttpError` that captures the HTTP status code which corresponds to an error. Consistently use this new class wherever possible, in particular, in the `SparqlProtocol` and `GraphStoreProtocol` classes. This is preparation for #2117, where the remaining graph store protocol operations wil... | diff --git a/src/engine/GraphStoreProtocol.cpp b/src/engine/GraphStoreProtocol.cpp
index 88dccd854e..a52b1119fe 100644
--- a/src/engine/GraphStoreProtocol.cpp
+++ b/src/engine/GraphStoreProtocol.cpp
@@ -11,12 +11,14 @@
// ____________________________________________________________________________
void GraphStoreProt... | 6 | 3 | 0 | [{"id": "G0", "claim": "Restructure the mediatype parsing in extractMediatype so the try/catch is wrapped in an immediately-invoked lambda assigned to a plain (non-optional) vector, as suggested.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a TODO ... | null |
ad-freiburg__qlever__2250 | ad-freiburg/qlever | 2,250 | defect | 41864b6cc95e167e098ee7466af37ccc8a925723 | 8d830a183e41ff11c79302e8b5e9daf14b55d310 | Fix two nasty bugs in `CompressedExternalIdTable` | We stumbled upon this when building an index for a dataset, where all subjects are blank nodes. Then the assertion `(numBlocksPushed_ == 0) != compressAndWriteFuture_.valid()` failed. In the process of fixing the bug, another bug showed its face. Both bugs are now fixed as follows:
1. We make sure that `compressAndW... | diff --git a/src/engine/idTable/CompressedExternalIdTable.h b/src/engine/idTable/CompressedExternalIdTable.h
index ee2dcff74b..26f4d47221 100644
--- a/src/engine/idTable/CompressedExternalIdTable.h
+++ b/src/engine/idTable/CompressedExternalIdTable.h
@@ -378,6 +378,10 @@ class CompressedExternalIdTableBase {
com... | 4 | 4 | 2 | [{"id": "G0", "claim": "The empty no-op lambda passed to std::async could be replaced with a more descriptive approach, e.g. a named function or a comment within the lambda clarifying its purpose as a no-op placeholder.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {... | null |
ad-freiburg__qlever__2259 | ad-freiburg/qlever | 2,259 | defect | 59391af58bd1a72623c1d4e78cf6832809842fab | 0944718876b38c3382011bdeff5cbf086e0b92a9 | Add runtime parameter `spatial-join-max-num-threads` | Add a runtime parameter `spatial-join-max-num-threads` to limit the number of threads for a `SpatialJoin` operation. Setting it to `0` amounts to taking the number of CPU threads, which was the previous behavior. The default is now `8`, since further threads seem to provide little additional performance gain. | diff --git a/src/ServerMain.cpp b/src/ServerMain.cpp
index ba5eb81db4..023873b37b 100644
--- a/src/ServerMain.cpp
+++ b/src/ServerMain.cpp
@@ -150,6 +150,10 @@ int main(int argc, char** argv) {
optionFactory.getProgramOption<"enable-prefilter-on-index-scans">(),
"If set to false, the prefilter procedures ... | 3 | 3 | 0 | [{"id": "G0", "claim": "In the new test helper, avoid raw pointers and use std::dynamic_pointer_cast<SpatialJoin> instead of a static_cast on the root operation.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Extract spatialJoin->runtimeInfo().detai... | null |
ad-freiburg__qlever__2260 | ad-freiburg/qlever | 2,260 | defect | 41864b6cc95e167e098ee7466af37ccc8a925723 | f6e40887daa592294f419ad52520b84f3839b941 | Add `keepJoinColumns` argument to various functions involved in `Join` operations | This enables dropping join columns from the result produced by a `Join` operation. For now, the default `keepJoinColumns = true` is used everywhere. In several of the next PRs, this will be used to actually drop join columns from the result. | diff --git a/src/engine/VariableToColumnMap.cpp b/src/engine/VariableToColumnMap.cpp
index ff7f221a2b..5aedc4f8b2 100644
--- a/src/engine/VariableToColumnMap.cpp
+++ b/src/engine/VariableToColumnMap.cpp
@@ -20,11 +20,37 @@ copySortedByColumnIndex(VariableToColumnMap map) {
VariableToColumnMap makeVarToColMapForJoinOpe... | 3 | 3 | 0 | [{"id": "G0", "claim": "Please add a trailing newline to test/joinAlgorithms/CMakeLists.txt.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The short k alias for keepJoinCols in the VariableToColumnMap tests adds nothing and should be replaced b... | null |
ad-freiburg__qlever__2263 | ad-freiburg/qlever | 2,263 | defect | 41864b6cc95e167e098ee7466af37ccc8a925723 | 6130b5d49f6988c0f22c47f8b39edcdbf1d10704 | Implement `IndexScan::makeTreeWithStrippedColumns` | Handling the stripping of columns directly in the `IndexScan` class (as opposed to via an intermediate `StripColumns` operation) has the advantage, that all the optimizations of the form "if my child is an IndexScan, then I can do something smart" won't break when stripping columns. | diff --git a/src/engine/CMakeLists.txt b/src/engine/CMakeLists.txt
index 9c6a7cf25e..6a5a802ca0 100644
--- a/src/engine/CMakeLists.txt
+++ b/src/engine/CMakeLists.txt
@@ -16,5 +16,5 @@ add_library(engine
CountConnectedSubgraphs.cpp SpatialJoinAlgorithms.cpp PathSearch.cpp ExecuteUpdate.cpp
Describe.cp... | 5 | 5 | 2 | [{"id": "G0", "claim": "In `IndexScan::getResultWidth()`, the two-line `auto res = varsToKeep_.value().size(); return res;` should be simplified to a direct `return varsToKeep_.value().size();`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `co_awai... | null |
ad-freiburg__qlever__2265 | ad-freiburg/qlever | 2,265 | defect | 7fefc4b7900758a4965059dd664e24b59b461bfc | 7b2ff2a74a2e29a18887db8372188879439bfd7d | Implement index nested loop join for `OPTIONAL` | Follow-up to #2251, which implements index nested loop joins for `OPTIONAL`, under the same conditions as in #2251. Here is an analogous example query, which fails with an out-of-memory error with the current code but now completes, albeit slowly. On the side, fix a minor bug in the algorithm for computing a lazy opti... | diff --git a/src/engine/ExistsJoin.cpp b/src/engine/ExistsJoin.cpp
index c67896395b..522ed18d0f 100644
--- a/src/engine/ExistsJoin.cpp
+++ b/src/engine/ExistsJoin.cpp
@@ -298,7 +298,7 @@ std::optional<Result> ExistsJoin::tryNestedLoopJoinIfSuitable() {
result.addEmptyColumn();
ad_utility::chunkedCopy(
ql::... | 14 | 9 | 1 | [{"id": "G0", "claim": "The helper functions in OptionalJoin should also be renamed to include `IndexNestedLoopJoin` in their names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The five lines fetching left and right subresults before an index... | null |
ad-freiburg__qlever__2273 | ad-freiburg/qlever | 2,273 | defect | bb1bb545dc099b30bf4d400ea55398fa4d3b5e1d | 5659783f122a258e6a98883de8323f3408330b3e | More unit tests for column-stripping in `IndexScan` class + a bug fix | #2263 enabled an `IndexScan` operation to strip columns that are not needed in any of the ancestor operations, and added basic unit tests. This change adds more extensive unit tests.
Also, each `QueryExecutionTree` now explicitly distinguishes (via a strongly typed Boolean `HideStrippedColumns`) between the followin... | diff --git a/src/engine/QueryExecutionTree.cpp b/src/engine/QueryExecutionTree.cpp
index 34204f8b55..298d327a08 100644
--- a/src/engine/QueryExecutionTree.cpp
+++ b/src/engine/QueryExecutionTree.cpp
@@ -112,8 +112,12 @@ QueryExecutionTree::setPrefilterGetUpdatedQueryExecutionTree(
std::vector<Operation::PrefilterV... | 1 | 1 | 1 | [{"id": "G0", "claim": "The reviewer asks why the precondition AD_CORRECTNESS_CHECK that the stripped-column tree is non-null was dropped from makeTreeWithStrippedColumns.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
ad-freiburg__qlever__2289 | ad-freiburg/qlever | 2,289 | defect | 59391af58bd1a72623c1d4e78cf6832809842fab | 5fe0326d400f3e50f74a5de1c9d784d0812a53ee | Use `enum class JoinType` to indicate the type of join | Simplify the code (in particular, function signatures) for the various joins by introducing
`enum class JoinType { JOIN, OPTIONAL, MINUS };`
This is a follow-up to #2026. No change of functionality | diff --git a/src/engine/Minus.cpp b/src/engine/Minus.cpp
index 2b56c53ac6..ee3bf8788b 100644
--- a/src/engine/Minus.cpp
+++ b/src/engine/Minus.cpp
@@ -300,7 +300,7 @@ Result Minus::lazyMinusJoin(std::shared_ptr<const Result> left,
[&rowAdder](auto& leftBlocks, auto& rightBlocks) {
ad_utility... | 4 | 4 | 0 | [{"id": "G0", "claim": "Replace the enum plus `ConstantJoinType` alias with static constexpr constants named `MinusJoinTag`, `OptionalJoinTag` and `OrdinaryJoinTag` so call sites read more simply.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Bind the r... | null |
ad-freiburg__qlever__2311 | ad-freiburg/qlever | 2,311 | defect | 07042b42aff4d8efc5541cb8bcc0babbf863a79e | 2b9213527b74289d01b17096e0d480475fd15583 | Reduce number of threads for small inputs to `libspatialjoinParse` | So far, `SpatialJoinAlgorithms::libspatialjoinParse` always spawns exactly the number of threads as configured by the `spatial-join-max-num-threads` runtime parameter, which by default is 8. The parallel parser feeds the geometries to the threads in batches of 10,000. This change ensures that there are never more threa... | diff --git a/src/engine/SpatialJoinAlgorithms.cpp b/src/engine/SpatialJoinAlgorithms.cpp
index be47302844..e2b37d08b6 100644
--- a/src/engine/SpatialJoinAlgorithms.cpp
+++ b/src/engine/SpatialJoinAlgorithms.cpp
@@ -89,6 +89,15 @@ std::pair<util::geo::I32Box, size_t> SpatialJoinAlgorithms::libspatialjoinParse(
... | 4 | 4 | 1 | [{"id": "G0", "claim": "Add a static_assert that WKT_PARSER_BATCH_SIZE is non-zero so the requiredBatches computation cannot underflow or divide by zero.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The runtime information does not display the red... | null |
ad-freiburg__qlever__2312 | ad-freiburg/qlever | 2,312 | defect | baa8421dc8063d413210f59410c9a620a0372788 | d4386394a838bb30908d3bd924ea000bff703bd3 | Index nested loop join for `MINUS` and `EXISTS` when left side is larger | So far, the index nested loop join optimization for `EXISTS` and `MINUS` from #2251 is only used when the left side is smaller than the right side (the left side is fully materialized and sorted, and the sort on the right side is skipped). With this change, the optimization is also used in the reverse case: when the le... | diff --git a/src/engine/ExistsJoin.cpp b/src/engine/ExistsJoin.cpp
index b67eb49516..1880e95fcc 100644
--- a/src/engine/ExistsJoin.cpp
+++ b/src/engine/ExistsJoin.cpp
@@ -70,6 +70,9 @@ size_t ExistsJoin::getResultWidth() const {
// ____________________________________________________________________________
std::ve... | 6 | 4 | 0 | [{"id": "G0", "claim": "If the pattern of applying a column subset and creating a static view now appears multiple times in this module, it should be factored out.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new requestLaziness parameter ... | null |
ad-freiburg__qlever__2321 | ad-freiburg/qlever | 2,321 | defect | 5d149561292cb4e8a25aa11128fc42f9692b048d | 968de500eb81a6e0a0f0a40b8aa352c0038278ac | Make `range-v3` and `std::ranges` compatible with each other | With this PR, In C++20 mode all `view`s from `std::ranges` are also `view`s according to `range-v3` and vice versa.
This allows to use the `ql::views` namespace by default, but to explicitly use views from `range-v3` when there is no `std::views` counterpart (yet).
Note: Most of the changes are in our fork of the ... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95b0420bd9..ff45009790 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -114,9 +114,11 @@ FetchContent_Declare(
FetchContent_Declare(
range-v3
GIT_REPOSITORY https://github.com/joka921/range-v3
- GIT_TAG 34f2567718ce085193750b543b5fe654ed41... | 2 | 2 | 0 | [{"id": "G0", "claim": "CMakeLists.txt should be commented to explain what the joka921 range-v3 fork does and why the chances of it getting merged into ranges-v3 master are slim-to-none; also the fork should at some point be moved to the ad-freiburg organisation.", "category": "documentation", "verdict": "supported", "... | null |
ad-freiburg__qlever__2340 | ad-freiburg/qlever | 2,340 | defect | 184687b94fcee61b67b82fb06a36f1f38c3f404c | e1566411787f63727124caa3908a6c8e74a37ad8 | Use `boost::asio::steady_timer` instead of the deprecated `boost::asio::deadline_timer` | Fixes #2334 | diff --git a/src/util/http/websocket/QueryToSocketDistributor.cpp b/src/util/http/websocket/QueryToSocketDistributor.cpp
index 0b7868e663..e7b50adc0f 100644
--- a/src/util/http/websocket/QueryToSocketDistributor.cpp
+++ b/src/util/http/websocket/QueryToSocketDistributor.cpp
@@ -12,8 +12,7 @@ namespace ad_utility::webso... | 1 | 1 | 0 | [{"id": "G0", "claim": "A deprecated `deadline_timer` is still used in `MessageSenderTest.cpp`, so this PR does not fully replace every use of the deprecated timer and that remaining use should be replaced too.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}] | null |
ad-freiburg__qlever__2356 | ad-freiburg/qlever | 2,356 | defect | 8b08560122f8fcf801b0b251a4fe12ccebff7e7c | 46e2c68b6abf4f74c9cd3eadc238284a16d6e5c7 | Vocabulary merging without `mmap`ed files | In the first stage of index building, QLever parses the input in batches and creates a so-called partial vocabulary for each batch. Each partial vocabulary contains a list of distinct words and the preliminary ("local") `Id` for each word. After parsing, the partial vocabularies are merged. In the process of this merge... | diff --git a/src/index/ConstantsIndexBuilding.h b/src/index/ConstantsIndexBuilding.h
index 1e7478dab5..c950e91d28 100644
--- a/src/index/ConstantsIndexBuilding.h
+++ b/src/index/ConstantsIndexBuilding.h
@@ -52,9 +52,10 @@ constexpr inline size_t BZIP2_MAX_TOTAL_BUFFER_SIZE = 1 << 30;
constexpr inline size_t THRESHOLD_... | 8 | 7 | 0 | [{"id": "G0", "claim": "The ~IdMap destructor swallows all exceptions with an empty catch(...) block, which could mask errors such as disk full or permission issues; use the existing ad_utility exception-handling utilities (ignoreExceptionIfThrows or terminateIfThrows) or at least log and document why exceptions are ig... | null |
ad-freiburg__qlever__2373 | ad-freiburg/qlever | 2,373 | defect | 3db56ecc303dde7d7c60da8b821ef87f2f37a032 | ee3ed1d97d93fced4cf2ddd76497bcc45319cc9f | Fix expression evaluation for grouped variables in lazy `GROUP BY` | When evaluating expressions on grouped variables, QLever substitutes, for each group, the `VariableExpression` with the grouped variable by a `VectorIdExpression` with the variable value (repeated x times if the group has x elements) . This breaks when the `GROUP BY` is lazy and more than one block is produced. This re... | diff --git a/src/engine/GroupByImpl.cpp b/src/engine/GroupByImpl.cpp
index a2e5893dae..99d15e5c40 100644
--- a/src/engine/GroupByImpl.cpp
+++ b/src/engine/GroupByImpl.cpp
@@ -1307,24 +1307,33 @@ GroupByImpl::getHashMapAggregationResults(
}
// _________________________________________________________________________... | 3 | 2 | 0 | [{"id": "G0", "claim": "Simplify the convoluted immediately-invoked lambda that builds the substituted VectorIdExpression (suggested: end the lambda with `};` and call `newExpression()` at the use site).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
ad-freiburg__qlever__2389 | ad-freiburg/qlever | 2,389 | defect | dd11b9ca2ed4e4da246c525bdc191dbf001f5daa | 462f3672b60bae42c4cd279aba241cc6015c8f18 | Implement variant of `stream_generator` that works for C++17 | QLever has a `stream_generator` that can `co_yield` string views, which are aggregated (via concatenation) in batches before being yielded to a consumer. This generator is implemented using coroutines, which require C++20.
There are now macros `STREAMABLE_GENERATOR_TYPE`, `STREAMABLE_YIELDER_TYPE`, `STREAMABLE_YIELD... | diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf1c35585a..01c01929e2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,6 +33,11 @@ option(USE_PRECOMPILED_HEADERS "Use precompiled headers to reduce compile times"
# on clang and g++
option(COMPILER_VERSION_CHECK_DEACTIVATED "Disable compiler version check" O... | 5 | 5 | 2 | [{"id": "G0", "claim": "Add comments and tests for the newly added C++17 StreamConsumer class in stream_generator.h.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a comment to the new C++17 computeResult overload declaration in ExportQueryExecution... | null |
ad-freiburg__qlever__2431 | ad-freiburg/qlever | 2,431 | defect | 463d9abae67b6487905e853a0124405f7a990b66 | ca3f0881bc2b66b1db91f6a755d253232f5ef6ad | Additional backports to C++17, in particular of `std::atomic_flag` | 1. Implement a backport of `std::atomic_flag` for C++17, with extensive unit tests
2. Add missing `using ::ranges::indirect_unary_predicate` in `backports/concepts.h`
3. Add missing operators for comparing `move_sentinel` with `move_iterator`
4. Add macros `QL_CONSTEXPR`, `QL_NODISCARD`, `QL_MAYBE_UNUSED`, so that ... | diff --git a/src/backports/atomic_flag.h b/src/backports/atomic_flag.h
new file mode 100644
index 0000000000..c64dbb3587
--- /dev/null
+++ b/src/backports/atomic_flag.h
@@ -0,0 +1,95 @@
+// Copyright 2025 The QLever Authors, in particular:
+//
+// 2025 Johannes Kalmbach <kalmbach@cs.uni-freiburg.de>, UFR
+//
+// UFR = ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The comment sentence \"Now the symmetric operators between a sentinel and an iterator.\" in src/backports/iterator.h is incomplete and should be reworded.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The mutex-based imple... | null |
ad-freiburg__qlever__2440 | ad-freiburg/qlever | 2,440 | defect | 7df10c2ca16661fb7e63ff7c10870380deca308d | 72e9495321f0e239ed9cb09d8c433d54d434b65a | Correct handling of `LIMIT` and `OFFSET` when stripping columns of `IndexScan` | When stripping columns from an index scan operation, the limit and offset were not correctly transferred. For example, in the following query, the `LIMIT 10` had no effect.
```sparql
SELECT ?type WHERE {
SELECT ?subject ?type WHERE { ?subject a ?type } LIMIT 10
} GROUP BY ?type
```
This is now fixed. In particu... | diff --git a/src/engine/IndexScan.cpp b/src/engine/IndexScan.cpp
index 1593d07dc4..f8bb90d773 100644
--- a/src/engine/IndexScan.cpp
+++ b/src/engine/IndexScan.cpp
@@ -718,11 +718,13 @@ IndexScan::makeTreeWithStrippedColumns(
}
}
- return ad_utility::makeExecutionTree<IndexScan>(
+ auto tree = ad_utility::ma... | 2 | 2 | 1 | [{"id": "G0", "claim": "Make sure the pull request description is sufficient, in particular by stating in which queries the bugs could be seen.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The query with a sub-select containing a single triple p... | null |
ad-freiburg__qlever__2453 | ad-freiburg/qlever | 2,453 | defect | b105427beac0ccd8ed85dd3eb6000786f7219f22 | 30cc6fbf863a2a45f609c7985614f104e9451f39 | Update block metadata once instead of four times | So far, the metadata was updated four times during an update operation. Now, it is updated only once after the operation | diff --git a/src/engine/ExecuteUpdate.cpp b/src/engine/ExecuteUpdate.cpp
index 00ec27ba7d..c93e02552a 100644
--- a/src/engine/ExecuteUpdate.cpp
+++ b/src/engine/ExecuteUpdate.cpp
@@ -38,6 +38,9 @@ UpdateMetadata ExecuteUpdate::executeUpdate(
std::move(toInsert.idTriples_), tracer);
}
... | 4 | 3 | 0 | [{"id": "G0", "claim": "Remove the now-empty tracer.beginTrace(\"updateMetadata\")/tracer.endTrace(\"updateMetadata\") pair in DeltaTriples.cpp that was left behind once the metadata update no longer happens there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":... | null |
ad-freiburg__qlever__2463 | ad-freiburg/qlever | 2,463 | defect | 07042b42aff4d8efc5541cb8bcc0babbf863a79e | 9ca8c7b83e4e26c2c83f51a3610b46fcfe249324 | Include time for parsing in `JSON` returned for update operations | Parsing an update request can take significant time, in particular, for `INSERT DATA` and `DELETE DATE` requests with many triples. So far, the parsing time was not reported in the JSON returned upon completion of an update operation. Now it is.
Technically, `TimeTracer` is now passed as a `shared_ptr` instead of a... | diff --git a/src/engine/Server.cpp b/src/engine/Server.cpp
index a98137d22d..ce050fef21 100644
--- a/src/engine/Server.cpp
+++ b/src/engine/Server.cpp
@@ -486,7 +486,8 @@ CPP_template_def(typename RequestT, typename ResponseT)(
this](std::vector<ParsedQuery> operations, std::string operationName,
... | 3 | 3 | 2 | [{"id": "G0", "claim": "Parsing time is not reset to 0 for chained updates, so stale parsing time from an earlier update leaks into the next one.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The share of time unaccounted for in the returned JSON i... | null |
ad-freiburg__qlever__2469 | ad-freiburg/qlever | 2,469 | defect | 3f7a4ccad4f322dbce5c85f517844651b4b189a0 | d8145c2c54058a0a0b0dcabe22b72598681202e4 | Speed up the precomputation for `geof:area` from #2430 | The precomputation introduced in #2430 for `geof:area` and `geof:metricArea` took forever for the complete OSM data. This is now fixed by using `S2Polygon::DestructiveUnion` instead of `S2Polygon.InitToUnion` for computing the union of multipolygons. This avoids the quadratic running time when computing the covered are... | diff --git a/src/index/vocabulary/GeoVocabulary.cpp b/src/index/vocabulary/GeoVocabulary.cpp
index 514cc549fe..d82f7a420e 100644
--- a/src/index/vocabulary/GeoVocabulary.cpp
+++ b/src/index/vocabulary/GeoVocabulary.cpp
@@ -68,6 +68,9 @@ uint64_t GeoVocabulary<V>::WordWriter::operator()(std::string_view word,
const v... | 4 | 3 | 0 | [{"id": "G0", "claim": "MetricAreaVisitor should not take a std::unique_ptr<S2Polygon>: it should do a correctness check that the pointer is not nullptr and then take a const S2Polygon&, since it doesn't need unique-pointerness (asking whether S2 guarantees non-null pointers).", "category": "design", "verdict": "suppor... | null |
ad-freiburg__qlever__2477 | ad-freiburg/qlever | 2,477 | defect | 07042b42aff4d8efc5541cb8bcc0babbf863a79e | 28dc2b250fca42d0e208091641b4b4c945bf170b | Faster vocabulary lookup for update operations | A significant part of an `INSERT DATA { ... }` or `DELETE DATA { ... }` operation (or the corresponding Graph Store Protocol operation) is spent for looking up the IRIs and literals in the operation in QLever's vocabulary [NOTE 2]. So far, these lookups were made one after the other, in the order in which the IRIs or l... | diff --git a/src/engine/ExecuteUpdate.cpp b/src/engine/ExecuteUpdate.cpp
index 00ec27ba7d..cc8e4e710d 100644
--- a/src/engine/ExecuteUpdate.cpp
+++ b/src/engine/ExecuteUpdate.cpp
@@ -46,61 +46,101 @@ std::pair<std::vector<ExecuteUpdate::TransformedTriple>, LocalVocab>
ExecuteUpdate::transformTriplesTemplate(
cons... | 10 | 6 | 0 | [{"id": "G0", "claim": "The AD_LOG_INFO logging of the transformed insert/delete template sizes in computeGraphUpdateQuads is leftover debug output and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The FRIEND_TEST(ExecuteUpda... | null |
ad-freiburg__qlever__2484 | ad-freiburg/qlever | 2,484 | defect | a8c9d865aac01c673ffa3b56758a12dbb94f7676 | 5340eeeb7274dce96dc1f543428451799c640f45 | Fix `GROUP BY` optimizations when operand has `LIMIT` or `OFFSET` | Three of our `GROUP BY` optimizations (`computeGroupByForSingleIndexScan`, `computeGroupByForJoinWithFullScan`, and `computeGroupByObjectWithCount`) ignored the limit and offset of their operand. For example, the following query was executed as if the `OFFSET` and `LIMIT` weren't there.
```sparql
SELECT ?x (COUNT(?x)... | diff --git a/src/engine/GroupByImpl.cpp b/src/engine/GroupByImpl.cpp
index e7e974dfff..157d9d95ec 100644
--- a/src/engine/GroupByImpl.cpp
+++ b/src/engine/GroupByImpl.cpp
@@ -754,10 +754,11 @@ std::optional<IdTable> GroupByImpl::computeGroupByForSingleIndexScan() const {
}
// Distinct counts are only supported ... | 1 | 1 | 1 | [{"id": "G0", "claim": "With `LIMIT 0` the code can still reach the `push_back` and emit a row when it should not; add a unit test to catch this and address the problem somewhere.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
ad-freiburg__qlever__2486 | ad-freiburg/qlever | 2,486 | defect | a8c9d865aac01c673ffa3b56758a12dbb94f7676 | 7a4b9f7014aafd28a19a252f3cc094b56bbbe62a | Fix formatting of floating point numbers | When exporting floating point numbers, they are now formatted as follows, compared to how they were formatted so far:
1. Large numbers are shown using scientific notation [no change]
2. Fractional numbers shown with no more digits than necessary [no change]
3. Fractional numbers are shown with a precision of 13 di... | diff --git a/src/engine/ExportQueryExecutionTrees.cpp b/src/engine/ExportQueryExecutionTrees.cpp
index a290de4b7c..7c00c83ca3 100644
--- a/src/engine/ExportQueryExecutionTrees.cpp
+++ b/src/engine/ExportQueryExecutionTrees.cpp
@@ -1401,7 +1401,8 @@ ExportQueryExecutionTrees::computeResultAsQLeverJSON(
const char* ... | 1 | 1 | 1 | [{"id": "G0", "claim": "Instead of gating the passthrough on the literal containing a decimal point, the formatter should use the more precise `%.13g`, and since that does not add the `.0` when `modf` is zero (and the `modf`-based implementation drops the `.0` in corner cases), the string probably has to be postprocess... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.