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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FormidableLabs__envy__68 | FormidableLabs/envy | 68 | defect | 9471c92ca86601ca26602a0b97db17a1d8bb1e9f | 5eca92a6f9f28560a9a75304293d44af8381f95f | Support request timing data in nodejs | Supports HAR timing data in the node sender. Implements a basic data display in the webUI.
After merging, the web client will be updated to send timing data in a separate PR and optionally we can improve the display format. When both of those are complete we can make a new release.
 check does not ... | null |
FormidableLabs__victory__2316 | FormidableLabs/victory | 2,316 | defect | 09c80335ddb520b327991d6a7e5b3bfc49ebcbf5 | 6cf459b4fdb9ff63edcc207e26fd2a8473b9f0ff | Add Victory Bar v37 | This functionality will work for rendering either one standalone `VictoryBar` component or a single nested `VictoryBar` component nested under a `VictoryChart`.
As discussed, we will need to add functionality for two-way syncing between child props and the provider props so the provider knows about the props of eac... | diff --git a/packages/victory-bar/src/v37/victory-bar.stories.tsx b/packages/victory-bar/src/v37/victory-bar.stories.tsx
new file mode 100644
index 000000000..336d9d914
--- /dev/null
+++ b/packages/victory-bar/src/v37/victory-bar.stories.tsx
@@ -0,0 +1,25 @@
+/* eslint-disable react/no-multi-comp */
+import * as React ... | 4 | 4 | 1 | [{"id": "G0", "claim": "The dataProps object built in the map should carry a type, perhaps BarProps.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The { domain, scale, horizontal } object passed to getBarPosition should be created outside the m... | null |
FormidableLabs__victory__2356 | FormidableLabs/victory | 2,356 | defect | ee440b6b20c2e0f13d3fcbd1d0ff75d36f72c58e | 1013cdcaedea3ff5e0ffa0a39e7b20bebcd1ce29 | Turbo: Property Containers | # What
A POC for "Property Containers", which eliminate some of the boilerplate for our components.
| diff --git a/packages/victory-core/src/victory-state/index.ts b/packages/victory-core/src/victory-state/index.ts
index 831a8cc1f..1380a4b0d 100644
--- a/packages/victory-core/src/victory-state/index.ts
+++ b/packages/victory-core/src/victory-state/index.ts
@@ -1,2 +1,3 @@
export * from "./victory-provider";
export * ... | 5 | 2 | 1 | [{"id": "G0", "claim": "The hardcoded Symbol(\"WithProvider\") id in withVictoryProvider looks like a placeholder, and the provider will need some way of providing unique IDs for each child.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The provider com... | null |
FormidableLabs__victory__2505 | FormidableLabs/victory | 2,505 | defect | efadbf4f270774c38a9eb9a51943b13f858d4e31 | a52a869b5ed5b2ea1c07719b231b72b04d9c856e | Fix inaccurate text size calculations | Addresses https://github.com/FormidableLabs/victory/issues/2475
As mentioned in the issue, the tooltip can appear to not have accurate sizing/padding in some cases.
I investigated and found that the tooltip tries to approximate the size that the text content will be, and then uses that to then size the tooltip box ... | diff --git a/packages/victory-tooltip/src/victory-tooltip.js b/packages/victory-tooltip/src/victory-tooltip.js
index 0335422b2f..1e13d4d576 100644
--- a/packages/victory-tooltip/src/victory-tooltip.js
+++ b/packages/victory-tooltip/src/victory-tooltip.js
@@ -18,6 +18,17 @@ const fallbackProps = {
pointerWidth: 10,
... | 6 | 4 | 1 | [{"id": "G0", "claim": "An open PR (#2352) already does the same thing, so the author should check whether that PR fixes the issue and the team should try to get one of the two PRs merged rather than duplicate the work.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
FormidableLabs__victory__2934 | FormidableLabs/victory | 2,934 | defect | 1d6f7a894fbaf60a92e429813e88e9351203fe31 | 6d12568b004b12a7a93ebce6e211d969081b2cca | fix 'Pie Chart ignores categories prop' | <!--
Have you read Formidable's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/FormidableLabs/.github/blob/master/CODE_OF_CONDUCT.md
-->
### Description
Adds logic to sort pie chart slices by the categories in categories ... | diff --git a/.changeset/proud-bugs-brush.md b/.changeset/proud-bugs-brush.md
new file mode 100644
index 000000000..693ecf863
--- /dev/null
+++ b/.changeset/proud-bugs-brush.md
@@ -0,0 +1,5 @@
+---
+"victory-pie": patch
+---
+
+Added logic to sort pie chart slices by categories prop
diff --git a/demo/ts/components/victo... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new sorting logic should also support `categories: string[]`, since a plain string array is part of the existing categories prop spec, not just `categories: { x: string[] }`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
FormidableLabs__webpack-dashboard__257 | FormidableLabs/webpack-dashboard | 257 | defect | 5b65faae6cd09f13d104916793eea2c37b4afcf7 | 720e2ac5df06576da0d35df8d7990143df37ad28 | [WIP] add unit test for dashboard/index.js and plugin/index.js | @ryan-roemer @parkerziegler The test are testing some default and optional settings but I wanted to go back test the utils file since it seems to be the base fo a lot of other functionality. Also, wanted to give you some chance to see where I have been going with testing and see if it is a good direction to be heading ... | diff --git a/dashboard/index.js b/dashboard/index.js
index 917376a..cc5e00a 100644
--- a/dashboard/index.js
+++ b/dashboard/index.js
@@ -1,13 +1,13 @@
-"use strict";
+'use strict';
-const chalk = require("chalk");
-const blessed = require("blessed");
+const chalk = require('chalk');
+const blessed = require('blessed'... | 4 | 4 | 1 | [{"id": "G0", "claim": "Lint failures remain and the editor changed more existing code than intended, so run `yarn lint --fix` and fix the rest.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Scope the `plugin` and other test variables inside th... | null |
FormidableLabs__webpack-dashboard__332 | FormidableLabs/webpack-dashboard | 332 | defect | 90a8469f1f519aee591e68a12ae1bdbec1916272 | 530b059758b76b4d06c3f96400defb7b1c75b444 | Chore: Various plugin refactoring and simplification. | Refactors the plugin internal logic to be a lot simpler.
- Chore: Refactor internal stats consumption to perform `inspectpack` analysis in the main thread, without using `main` streams. Originally, the `inspectpack` engine did some really heavy CPU stuff (gzipping lots of files), but now the actions are super fast,... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index eccd48e..588b632 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,12 @@
This project adheres to [Semantic Versioning](http://semver.org/).
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/FormidableLab... | 1 | 1 | 1 | [{"id": "G0", "claim": "The ack callback should be passed to socket.emit as the final argument rather than appended to the args array, per the socket.io client API signature socket.emit(eventName[, ...args][, ack]).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FortAwesome__react-fontawesome__598 | FortAwesome/react-fontawesome | 598 | defect | c942c6a5f054fa298e8e6d5214635e38fea78e1e | f8138bd24abb0e539dc14aa42ef7e797983ba4f0 | feat: custom cssPrefix support | Closes #457
Adds full support for `config.cssPrefix` and the legacy `config.familyPrefix` config settings as documented in https://docs.fontawesome.com/apis/javascript/configuration#cssprefix
- Works with no extra effort on regular React applications
- Works with React applications that use server-side renderin... | diff --git a/.tool-versions b/.tool-versions
index 6ace25d..71c0000 100644
--- a/.tool-versions
+++ b/.tool-versions
@@ -1,2 +1 @@
nodejs 22.17.1
-python 3.9.19 2.7.18
diff --git a/package.json b/package.json
index 5c98459..38db81f 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,12 @@
"require": "./di... | 1 | 1 | 0 | [{"id": "G0", "claim": "The debug console.log({ prefix }) statement added in getClassListFromProps should be removed before merging to production.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FortAwesome__react-fontawesome__625 | FortAwesome/react-fontawesome | 625 | defect | f54a9c2da032562e8fc7aed0636bdbbce2f29ef5 | c83bfe6111f85aa39041d8c40588e7d7851acc18 | feat(style): add support for custom gradient fills | Closes #368
# Summary
- Correctly supports the `fill` prop by ensuring it is applied to the svg element while also removing any built-in `fill` props from nested `path` elements so the svg fill takes precedence
- Adds new props for `linearGradient` and `radialGradient` to allow easy application of gradients to i... | diff --git a/src/converter.ts b/src/converter.ts
index cd6ce38..ec3305b 100644
--- a/src/converter.ts
+++ b/src/converter.ts
@@ -7,6 +7,7 @@ import React, {
import type { AbstractElement } from '@fortawesome/fontawesome-svg-core'
+import type { FontAwesomeIconProps } from './types/icon-props'
import { camelize } ... | 7 | 5 | 3 | [{"id": "G0", "claim": "Stripping fill by deleting from (or shallow-copying a child that shares) the input child's attributes object mutates the caller's abstract icon tree, so a reused or memoized abstract object has its built-in fill permanently removed; convert should stay pure by copying the attributes object befor... | null |
FoundationAgents__MetaGPT__1065 | FoundationAgents/MetaGPT | 1,065 | defect | dd348d07071c9d59ec243058922d3d37c90eb6c3 | fcb2ea48638d1890faf277b87acc2e63e59521c5 | add params to search engine | try to add config as requirements: https://github.com/geekan/MetaGPT/issues/957 | diff --git a/examples/search_with_specific_engine.py b/examples/search_with_specific_engine.py
index 1eee762d5a..48bcc67b81 100644
--- a/examples/search_with_specific_engine.py
+++ b/examples/search_with_specific_engine.py
@@ -13,7 +13,7 @@ async def main():
question = "What are the most interesting human facts?"
... | 2 | 2 | 0 | [{"id": "G0", "claim": "Change `params: dict = {}` to `params: dict = Field(default_factory=dict)` so the field does not use a bare mutable default.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the hand-built kwargs dict with `kwargs =... | null |
FoundationAgents__MetaGPT__1097 | FoundationAgents/MetaGPT | 1,097 | defect | 19ccec70801d3d871f4ac2fffae4b23534b7c494 | da98495657bd2d4244b41330d999a38866137f36 | Enable registering and retrieving tools from a path | - Example usage
```python
from metagpt.tools.tool_recommend import BM25ToolRecommender
tools = ["workspace/scikit_learn/sklearn/linear_model"]
req = "Classify wine dataset with logistic regression"
tr = BM25ToolRecommender(tools=tools)
results = await tr.recall_tools(req) # recall only
results = await tr.... | diff --git a/metagpt/roles/di/data_interpreter.py b/metagpt/roles/di/data_interpreter.py
index c30d998e99..42d22400a4 100644
--- a/metagpt/roles/di/data_interpreter.py
+++ b/metagpt/roles/di/data_interpreter.py
@@ -1,7 +1,7 @@
from __future__ import annotations
import json
-from typing import Literal, Union
+from t... | 6 | 1 | 1 | [{"id": "G0", "claim": "The visit_AsyncFunctionDef visitor method may not be needed and could be removed.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's test cases may not be enough and more tests should be added for the new too... | null |
FoundationAgents__MetaGPT__1114 | FoundationAgents/MetaGPT | 1,114 | defect | 643450388a0d69fb73df0b9c358ab49a2377c36e | d7968fdc20cb6881c297372d2ae09fcec73a34f9 | Feat rag add more features | **Features**
<!-- Clear and direct description of the submit features. -->
<!-- If it's a bug fix, please also paste the issue link. -->
- rag add engine like es
- rag add rerank like flare, object-rerank-by-field-val, colbert
**Feature Docs**
<!-- The RFC, tutorial, or use cases about the feature if it's... | diff --git a/examples/rag_pipeline.py b/examples/rag_pipeline.py
index 5a313d7bb6..ae6e7b7bc6 100644
--- a/examples/rag_pipeline.py
+++ b/examples/rag_pipeline.py
@@ -1,6 +1,7 @@
"""RAG pipeline"""
import asyncio
+from functools import wraps
from pydantic import BaseModel
@@ -11,6 +12,9 @@
BM25RetrieverCo... | 3 | 3 | 0 | [{"id": "G0", "claim": "Use the existing handle_exception utility instead of the locally defined catch_exception decorator in examples/rag_pipeline.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The numbered comments should keep a space afte... | null |
FoundationAgents__MetaGPT__1120 | FoundationAgents/MetaGPT | 1,120 | defect | 6450a09d3bb0a0161d6236c23232c35301e1e139 | 54d718a950abff92896bbdb21a1260ba42735cc5 | Add bing search engine to tools module | **Features**
Add bing search engine to tools module | diff --git a/metagpt/tools/__init__.py b/metagpt/tools/__init__.py
index 8d265e9f3c..4b27be287e 100644
--- a/metagpt/tools/__init__.py
+++ b/metagpt/tools/__init__.py
@@ -19,6 +19,7 @@ class SearchEngineType(Enum):
DIRECT_GOOGLE = "google"
DUCK_DUCK_GO = "ddg"
CUSTOM_ENGINE = "custom"
+ Bing = "bing"
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The enum member should use all uppercase, i.e. be renamed from `Bing = \"bing\"` to `BING = \"bing\"`.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
FoundationAgents__MetaGPT__1231 | FoundationAgents/MetaGPT | 1,231 | defect | f201b2f5f32c2d48eab6632bf103e9b3a92fc999 | 98cb45291112f2f83d8495c2c1e7746d6c6bef5b | Feat add Amazon Bedrock support | ## **User description**
**Features**
#1174
- add support for Amazon Bedrock Provider (Meta, Mistral, Amazon, Ai21, Anthropic, Cohere)
- add test for Amazon Bedrock
**config**
```yaml
llm:
api_type: "bedrock"
model: "meta.llama3-70b-instruct-v1:0" # see metagpt/provider/bedrock/utils.py
region_name:... | diff --git a/metagpt/configs/llm_config.py b/metagpt/configs/llm_config.py
index 222e116eef..ae8c57ec5b 100644
--- a/metagpt/configs/llm_config.py
+++ b/metagpt/configs/llm_config.py
@@ -32,6 +32,7 @@ class LLMType(Enum):
MISTRAL = "mistral"
YI = "yi" # lingyiwanwu
OPENROUTER = "openrouter"
+ AMAZON_... | 25 | 15 | 3 | [{"id": "G0", "claim": "Response parsing (json.loads of streamed chunks and access to nested keys like outputText) assumes the Bedrock API response is well-formed and has no error handling for malformed data or missing keys, which could crash.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scop... | null |
FoundationAgents__MetaGPT__1376 | FoundationAgents/MetaGPT | 1,376 | defect | 9f8f0a27fd3e7d6a7f6fcf40103a94829533bdc2 | d7381a745574abdabb319cca069b5863397347a1 | Feature/multi llm | **Features**
- Allow the `Action` object to use the specified LLM configuration;
- Support for multiple LLM configurations. If no LLM is specified, the default LLM configuration is used.
| diff --git a/config/config2.example.yaml b/config/config2.example.yaml
index 64cce630fc..6986e9acbf 100644
--- a/config/config2.example.yaml
+++ b/config/config2.example.yaml
@@ -59,3 +59,21 @@ iflytek_api_key: "YOUR_API_KEY"
iflytek_api_secret: "YOUR_API_SECRET"
metagpt_tti_url: "YOUR_MODEL_URL"
+
+models:
+# "YO... | 3 | 1 | 0 | [{"id": "G0", "claim": "The second placeholder key in the models example of config/config2.example.yaml should be named \"YOUR_MODEL_NAME_2 or YOUR_API_TYPE\" instead of the bare \"YOUR_API_TYPE\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Wh... | null |
FoundationAgents__MetaGPT__1450 | FoundationAgents/MetaGPT | 1,450 | defect | ab846f65e481a655b791959eb0f89fb4b1c84128 | 61141e97b9c0177c88d208cdc0e8dff8e1f2e095 | feat(bedrock): Temporary AWS credentials via env vars + supported models update | **Features**
- Added support for [temporary credentials](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html)
- Added support for [AWS credentials via environment variables](https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html) (`AWS_*`)
* https://github.com/geekan/MetaG... | diff --git a/metagpt/configs/llm_config.py b/metagpt/configs/llm_config.py
index e7c280ee3d..48b66640f5 100644
--- a/metagpt/configs/llm_config.py
+++ b/metagpt/configs/llm_config.py
@@ -57,6 +57,7 @@ class LLMConfig(YamlModel):
# For Cloud Service Provider like Baidu/ Alibaba
access_key: Optional[str] = None... | 4 | 3 | 0 | [{"id": "G0", "claim": "The reviewer asks the author to verify that 4096 is the right max_tokens value (\"is it(4096) rights?\") against the documentation of the other models.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks in which... | null |
FoundationAgents__MetaGPT__1561 | FoundationAgents/MetaGPT | 1,561 | defect | 21d9c5aeed9295aec8dfd49885f57717fd007345 | 0f27029b2c55b5216b789b40c2b1dd48b507978d | fix bug in multi llm | **Features**
fix bug of multi llm #1376
**Influence**
when calling
```python
self.set_actions([action1, action2, action3])
```
will cause
```python
class Role(SerializationMixin, ContextMixin, BaseModel):
def _init_action(self, action: Action):
if not action.private_config:
act... | diff --git a/metagpt/actions/action.py b/metagpt/actions/action.py
index 20c052aa9c..0909ef2fce 100644
--- a/metagpt/actions/action.py
+++ b/metagpt/actions/action.py
@@ -49,6 +49,7 @@ def _update_private_llm(cls, data: Any) -> Any:
llm = create_llm_instance(config)
llm.cost_manager = data.llm... | 1 | 1 | 1 | [{"id": "G0", "claim": "The PR's workaround of setting data.config in _update_private_llm is misplaced; the actual bug is the check in Role._init_action, which should test action.private_llm instead of action.private_config, and a unit test should be added to tests/metagpt/actions/test_action.py.", "category": "correct... | null |
FoundationAgents__MetaGPT__1849 | FoundationAgents/MetaGPT | 1,849 | defect | ba2868974b2ecc3fe4218ad29dd334867c07f678 | 46feec4a45d8beb8f1d28762ae7043c54a1417bd | Use model instead of config.model inside an LLM instance | **Features**
<!-- Clear and direct description of the submit features. -->
<!-- If it's a bug fix, please also paste the issue link. -->
Fixed bug where model configurations interfere with each other between LLM instances: introduced self.model as an independent copy of config.model
Established new code standards: ... | diff --git a/metagpt/provider/base_llm.py b/metagpt/provider/base_llm.py
index 6560fc7ddd..781963434f 100644
--- a/metagpt/provider/base_llm.py
+++ b/metagpt/provider/base_llm.py
@@ -42,7 +42,9 @@ class BaseLLM(ABC):
# OpenAI / Azure / Others
aclient: Optional[Union[AsyncOpenAI]] = None
cost_manager: Opt... | 2 | 1 | 1 | [{"id": "G0", "claim": "The pull request should not delete the several test_compress_messages tests from tests/metagpt/provider/test_base_llm.py.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The self.model initialization repeated in each provider's in... | null |
FoundationAgents__MetaGPT__207 | FoundationAgents/MetaGPT | 207 | defect | 34f437174df7d5ada409d89bf60961484321f185 | dc38226b592e7970e44bdedd62d63633b02a8445 | add qdrant store | This pr is one of https://github.com/geekan/MetaGPT/pull/199 | diff --git a/metagpt/document_store/base_store.py b/metagpt/document_store/base_store.py
index 01877e1069..3dc96c0d6d 100644
--- a/metagpt/document_store/base_store.py
+++ b/metagpt/document_store/base_store.py
@@ -15,7 +15,7 @@ class BaseStore(ABC):
"""FIXME: consider add_index, set_index and think 颗粒度"""
... | 8 | 2 | 0 | [{"id": "G0", "claim": "BaseStore.search should keep an explicitly defined, typed `query` parameter (e.g. `search(self, query: List[float], collection_name: str, ...)`) instead of the PR's `search(self, *args, **kwargs)`.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
FoundationAgents__MetaGPT__291 | FoundationAgents/MetaGPT | 291 | defect | 76fe10ca0a2c047e38f84cb0729aaf379e1cbaab | ad691c62e590a01139447df8a6fb093bfe89fcd3 | Features/tutorial assistant | ### Features: add a new role tutorial assistant.
- Function: simply input a topic to generate a Markdown formatted tutorial document based on that topic.
- Design logic:
- Design a prompt to obtain the directory structure of the input topic through GPT and return it according to the required structure.
... | diff --git a/examples/write_tutorial.py b/examples/write_tutorial.py
new file mode 100644
index 0000000000..167f3eb7c5
--- /dev/null
+++ b/examples/write_tutorial.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python3
+# _*_ coding: utf-8 _*_
+"""
+@Time : 2023/9/4 21:40:57
+@Author : Stitch-z
+@File : tutorial_assistant.p... | 4 | 3 | 2 | [{"id": "G0", "claim": "The pull request should also provide unit tests for the new tutorial actions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions why the prompt template uses double braces `{{` and asks whether the claimed form... | null |
FoundationAgents__MetaGPT__315 | FoundationAgents/MetaGPT | 315 | defect | a90c4309a0dba269e72192521c111c8d316adea6 | 754fa5ccbe76dea5e4caafddd07db9131e67a92d | add support for open-interpreter. | 添加对open-interpreter的支持,有两种方式使用open-interpreter:
Add support for open-interpreter, there are two ways to use open-interpreter:
1. 直接使用open-interpreter的原生能力:
Directly use the native capabilities of open-interpreter:
```python
from metagpt.tools.code_interpreter import OpenCodeInterpreter
figure_path = './tests... | diff --git a/metagpt/actions/clone_function.py b/metagpt/actions/clone_function.py
new file mode 100644
index 0000000000..377c35de41
--- /dev/null
+++ b/metagpt/actions/clone_function.py
@@ -0,0 +1,66 @@
+from pathlib import Path
+import traceback
+
+from metagpt.actions.write_code import WriteCode
+from metagpt.logs i... | 5 | 4 | 2 | [{"id": "G0", "claim": "The run method of CloneFunction should not contain assert statements; unit tests should cover its functionality instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It might be better to initialize the Interpreter inst... | null |
FoundationAgents__MetaGPT__343 | FoundationAgents/MetaGPT | 343 | defect | 2cfa7af826767049181c6bf0b8d492ec6c0803b3 | c2f61cb010b19b98a4f2c02817b6d8fc4ce6ff80 | Fix research action bug && Optimize universal file operation tools | ### Fix research action bug && Optimize universal file operation tools
- Provide a universal function for extracting a list or dict from text, which may contain complex nested structures.
- Optimize file operation tools to provide block reading and writing file functions.
- Fix a bug where the research action did no... | diff --git a/examples/write_tutorial.py b/examples/write_tutorial.py
index 167f3eb7c5..73a9c71b7b 100644
--- a/examples/write_tutorial.py
+++ b/examples/write_tutorial.py
@@ -17,4 +17,4 @@ async def main():
if __name__ == '__main__':
- asyncio.run(main())
\ No newline at end of file
+ asyncio.run(main())
dif... | 6 | 6 | 0 | [{"id": "G0", "claim": "OutputParser.extract_struct should be called with the actual type (list / dict) instead of the string \"list\" / \"dict\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Chunked writing does not reduce memory usage because the con... | null |
FoundationAgents__MetaGPT__492 | FoundationAgents/MetaGPT | 492 | defect | f8ebfa9a742abf3f0b187428a6c14d328c8c1460 | f8f938f333ff781ccc3755c798200df2e1272f87 | Feat chatglm | feat
1. add `metagpt/provider/general_api_requestor.py` which finish general async api for http-based llm model
2. add zhipuai api
3. choose different LLM instance by `LLM()`, but need further to improve.
todo
1. improve the prompt to run the zhipuai successfully
zhipuai runs example and log
currently, it ... | diff --git a/config/config.yaml b/config/config.yaml
index b2c50991dc..bed67083c5 100644
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -7,7 +7,7 @@
## Or, you can configure OPENAI_PROXY to access official OPENAI_API_BASE.
OPENAI_API_BASE: "https://api.openai.com/v1"
#OPENAI_PROXY: "http://127.0.0.1:8118"
-#OP... | 2 | 2 | 1 | [{"id": "G0", "claim": "The API-key check that throws NotConfiguredException in metagpt/config.py appears unnecessary, since metagpt.llm.LLM already implements similar validation logic.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "zhipuai_api.py import... | null |
FoundationAgents__MetaGPT__712 | FoundationAgents/MetaGPT | 712 | defect | 963a489c5d3bc79002840a5136750ff483aeb929 | 57db3b775aa4f80cd4eb1f5420e86e0dda0a68ec | add ActionNode review/revise | **Features**
<!-- Clear and direct description of the submit features. -->
<!-- If it's a bug fix, please also paste the issue link. -->
for raw requirement, search `ActionNode提供Review、Revise` in feishu.
- add ActionNode review/revise in sinple/complex strategy and human/auto mode
- add its unittest
**F... | diff --git a/metagpt/actions/action_node.py b/metagpt/actions/action_node.py
index 6c65b33ef8..6dca00df04 100644
--- a/metagpt/actions/action_node.py
+++ b/metagpt/actions/action_node.py
@@ -9,7 +9,8 @@
we can use typing to extract the type of the node, but we cannot use built-in list to extract.
"""
import json
-... | 9 | 2 | 1 | [{"id": "G0", "claim": "auto_revise always runs an automatic review, so the common scenario where a human performs the review and that review triggers a revise is unsupported — auto_review is too restrictive.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":... | null |
FoundationAgents__MetaGPT__717 | FoundationAgents/MetaGPT | 717 | defect | ce3dc74ef3594db5fd4db9d780de60652358f60c | 6cde039f7f29daadc0719901d729b7557269fac3 | fixbug: role init with is_human=True was not work | bugfix: role init with is_human=True was not work | diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index 3bcd600fc3..71f6ec8f5d 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -166,6 +166,9 @@ def __init__(self, **data: Any):
Role.model_rebuild()
super().__init__(**data)
+ if data.get("is_human"):
+ sel... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use `self.is_human` instead of `data.get(\"is_human\")` for the HumanProvider guard in Role.__init__.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Pre-commit checks fail on a formatting issue (import order / blank lines... | null |
FoundationAgents__MetaGPT__77 | FoundationAgents/MetaGPT | 77 | defect | 007c8c045778eb8ebbd41528e9ec5729d4f4f8a2 | 144af68c09fb498cb23d38281fd9600482b57ed4 | Add a qa engineer to write tests and run tests | Update:
1. implement three new actions: WriteTest, RunCode, DebugError
2. implement QaEngineer, who will write tests and run tests to check Engineer's code from upstream. It will analyze the testing results, direct error messages, if any, to the appropriate coder (Engineer or itself). It will then rewrite problematic... | diff --git a/metagpt/actions/debug_error.py b/metagpt/actions/debug_error.py
index cd6cc4e36e..437f7b9d48 100644
--- a/metagpt/actions/debug_error.py
+++ b/metagpt/actions/debug_error.py
@@ -5,15 +5,47 @@
@Author : alexanderwu
@File : debug_error.py
"""
-from metagpt.actions.action import Action
+import re
+fr... | 20 | 13 | 3 | [{"id": "G0", "claim": "Add the output parameter type (return type annotations) to RunCode's run_text/run_script/run methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debug_error unit test does not seem to be a direct check of DebugErr... | null |
FoundationAgents__MetaGPT__799 | FoundationAgents/MetaGPT | 799 | defect | 59afc5301f55037e7b379497767f4af62fd65b31 | 43b069f453d0ea351ba31b918b4fcb8bae5863e0 | Solve JSONDecodeError | Solve JSONDecodeError, about issue #749
To avoid JSONDecodeError:
Remove comments in output json str, after json value content, maybe start with #, maybe start with //, particularly, it is not inside the string value
Addtionly, if you do not want JSONDecodeError to occur, you can add 'Delete comments in json'... | diff --git a/metagpt/actions/action_node.py b/metagpt/actions/action_node.py
index 6c65b33ef8..ed0e278697 100644
--- a/metagpt/actions/action_node.py
+++ b/metagpt/actions/action_node.py
@@ -23,7 +23,10 @@
TAG = "CONTENT"
LANGUAGE_CONSTRAINT = "Language: Please use the same language as Human INPUT."
-FORMAT_CONSTRA... | 4 | 4 | 1 | [{"id": "G0", "claim": "The two new comment-removal pieces of logic in repair_llm_raw_output.py are the same and would be better merged.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Since ActionNode can generate json or markdown format example... | null |
FoundationAgents__MetaGPT__851 | FoundationAgents/MetaGPT | 851 | defect | 1826c27fbd9d865e2ab48c1c7650c0a170ee6709 | a8a2c23e46e3e6a443663fbdf42e00072e2506c2 | feat: add parse arguments for openai tool_calls. | **Features**
<!-- Clear and direct description of the submit features. -->
<!-- If it's a bug fix, please also paste the issue link. -->
add parse arguments for openai tool_calls. | diff --git a/metagpt/provider/openai_api.py b/metagpt/provider/openai_api.py
index 63e68c9bdf..a20330919d 100644
--- a/metagpt/provider/openai_api.py
+++ b/metagpt/provider/openai_api.py
@@ -8,6 +8,7 @@
"""
import json
+import re
from typing import AsyncIterator, Optional, Union
from openai import APIConnection... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added try/except JSONDecodeError fallback to the regex-based _parse_arguments is not a good approach; instead the code should either reuse the repair-related method or retry parsing until it succeeds.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FoundationAgents__MetaGPT__940 | FoundationAgents/MetaGPT | 940 | defect | 06d72698bb379ecd630fe06fcac509d600c14974 | 21d588ae0e793d5154b9793bb9ba1194e0fb2d07 | Feat add qianfan and dashscope | **Features**
<!-- Clear and direct description of the submit features. -->
<!-- If it's a bug fix, please also paste the issue link. -->
- add baidu qianfan
- add alibaba dashscope
- update repair_llm new case
**Feature Docs**
<!-- The RFC, tutorial, or use cases about the feature if it's a pretty big up... | diff --git a/examples/llm_hello_world.py b/examples/llm_hello_world.py
index 219a303c87..9340f7d5ab 100644
--- a/examples/llm_hello_world.py
+++ b/examples/llm_hello_world.py
@@ -13,7 +13,18 @@
async def main():
llm = LLM()
- logger.info(await llm.aask("hello world"))
+ # llm type check
+ id_ques = "wh... | 8 | 7 | 0 | [{"id": "G0", "claim": "The new QianFan model token cost global variable should be named in all caps.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new QianFan endpoint token cost global variable should be named in all caps.", "category": "... | null |
FoundationAgents__MetaGPT__946 | FoundationAgents/MetaGPT | 946 | defect | fe52bf60325498d3277b6836194a4deb1ebda06f | 638c84a9bcb5e78ea0f2c101583b11c9e37afea7 | Feat:Wrap Openllm, Fireworks and other services into the OpenAILLM class. | **Features**
- Wrapping OpenLLM, FireWorksAI,Moonshot services into OpenAILLM
- OpenLLM, FrreWorksAI, Moonshot will be registered in OpenAILLM class
- Removed OpenLLM and FireWorks class
- Provide a uniform method of calculating usage in OpenAILLM class
- Added support for MistralAI services
**Feature Docs*... | diff --git a/metagpt/configs/llm_config.py b/metagpt/configs/llm_config.py
index 36f5d7ae7e..4ce50c57e0 100644
--- a/metagpt/configs/llm_config.py
+++ b/metagpt/configs/llm_config.py
@@ -18,14 +18,13 @@ class LLMType(Enum):
ANTHROPIC = "anthropic"
SPARK = "spark"
ZHIPUAI = "zhipuai"
- FIREWORKS = "fir... | 3 | 3 | 3 | [{"id": "G0", "claim": "Since the FIREWORKS and OPEN_LLM enums no longer exist at S1, the _select_costmanager branches comparing llm_config.api_type against them are wrong.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since the corresponding enum ... | null |
FoundationAgents__MetaGPT__977 | FoundationAgents/MetaGPT | 977 | defect | 79262f392e2dd478577640ed04bbc6ee2d2f6cbd | 1e04e3410346efafc4c8efcf35700650a2ad5608 | Fix ipykernel error in _plan_and_act of Interpreter. | Fix ipykernel error in _plan_and_act of Role: If you create a lot of ExecuteNbCode instance objects without closing it, you will face the following error:
Traceback (most recent call last):
File "/anaconda3/lib/python3.9/runpy.py", line 197, in _run_module_as_main
File "/opt/anaconda3/lib/python3.9/runpy.py", li... | diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index 3938664ba3..73edfc52b8 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -503,6 +503,9 @@ async def _plan_and_act(self) -> Message:
self.rc.memory.add(rsp) # add to persistent memory
+ if hasattr(self, "execute_code") ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The kernel-termination logic should be added in the Interpreter's code (e.g. when initializing execute_code) rather than in Role._plan_and_act, because executing code is the interpreter's logic and does not belong in the Role class.", "category": "design", "verdict": "supported", "priority": "P1... | null |
FoundationAgents__MetaGPT__980 | FoundationAgents/MetaGPT | 980 | defect | 543f519deb0de72b77b5fb5318175fb77cea2ec8 | bcde5171e0ccf86f8a51d4c7bb28ef18093fe255 | refine parse_outputs in ExecuteNbCode. | 重构ExecuteNbCode中输出解析部分代码。实现同时输出代码片段中的正常打印内容和异常内容,示例如下:
```python
executor = ExecuteNbCode()
code = """
import pandas as pd
df = pd.DataFrame({'ID': [1,2,3], 'NAME': ['a', 'b', 'c']})
print(df.columns) # 需要正常输出的内容
print(df['DUMMPY_ID']) # 会发生异常的代码
"""
output, is_success = await executor.run(code)
assert not ... | diff --git a/metagpt/actions/mi/execute_nb_code.py b/metagpt/actions/mi/execute_nb_code.py
index 3a64a8bec1..4644ef5d5b 100644
--- a/metagpt/actions/mi/execute_nb_code.py
+++ b/metagpt/actions/mi/execute_nb_code.py
@@ -9,7 +9,6 @@
import asyncio
import base64
import re
-import traceback
from typing import Literal, ... | 7 | 7 | 1 | [{"id": "G0", "claim": "is_success should be judged from output_type rather than from a log keyword.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The truncate logic is duplicated between parse_outputs and the outer logic and deciding front/back truncat... | null |
FoundationAgents__MetaGPT__985 | FoundationAgents/MetaGPT | 985 | defect | bbb9645f7c60c35177922d10ccc7ed4b90d261c3 | e39cafdd580ebcf1b587b6de40a51b5deae3fef7 | feat: + tree command | **Features**
Implement the same functionality as the `tree` command.
Example:
```
root
+-- dir1
| +-- file1.txt
| +-- file2.txt
+-- dir2
| +-- subdir1
| | +-- file1.txt
| | +-- file2.txt
| +-- subdir2
| +-... | diff --git a/metagpt/utils/tree.py b/metagpt/utils/tree.py
new file mode 100644
index 0000000000..49b5634c60
--- /dev/null
+++ b/metagpt/utils/tree.py
@@ -0,0 +1,99 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""
+@Time : 2024/3/11
+@Author : mashenquan
+@File : tree.py
+@Desc : Implement the same fun... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add examples to the docstring, which at that point only lists attributes and methods without any usage examples.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Tree class's root and tree attributes should be set as priv... | null |
FoundationDB__fdb-record-layer__3300 | FoundationDB/fdb-record-layer | 3,300 | defect | aaca6bb920974f9d67bbb8207b6507d8dd8d92e8 | 1afbec5e5c592ce20f9db45b3452295ef871ecb5 | Support primitive type arrays contains | This fixes https://github.com/FoundationDB/fdb-record-layer/issues/3674 | diff --git a/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/query/LogicalOperator.java b/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/query/LogicalOperator.java
index 5e8221b49fd..a9f35fc43dc 100644
--- a/fdb-relational-core/src/main/java/com/apple/fou... | 2 | 1 | 0 | [{"id": "G0", "claim": "The primitive-type dispatch added in generateCorrelatedFieldAccess should be designed differently, since Expressions flow Relations wrapping any type, not exclusively Record types.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G8", "claim": "Th... | null |
FoundationDB__fdb-record-layer__3304 | FoundationDB/fdb-record-layer | 3,304 | defect | d218cbb865d90b18253dcff406fb45212cbb6aa0 | 215618421c340420d5fefba11c3001e3e519fbe8 | Transition FormatVersion from constants to an enum | The FormatVersion was just an integers, with an associated set of constants, of the form: `FDBRecordStore.*_FORMAT_VERSION`. This PR starts the migration of the code to a new enum: `FormatVersion`, and introduces setters and getters that align with this.
This leaves around the existing constants, and methods to avoid ... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/metadata/MetaDataEvolutionValidator.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/metadata/MetaDataEvolutionValidator.java
index 816409a54c6..a4e96d2b981 100644
--- a/fdb-record-layer-core/src/main/java/com/apple/f... | 10 | 10 | 4 | [{"id": "G0", "claim": "FDBRecordStore should keep its format version in the new FormatVersion enum rather than continuing to store the member variable as an int.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new FormatVersion class javadoc mischara... | null |
FoundationDB__fdb-record-layer__3343 | FoundationDB/fdb-record-layer | 3,343 | defect | 68f805abea8b16ee461e95abde65dde53e4bd45d | 3b5549b6f2dbf66c6fc7addb99f23a8ba5896784 | Index scrubbing: eliminate legacy mode | Resolves: #3341
Legacy mode was preserved as a fallback in case of a bug in the new, Index Maintainer's scrubbing code. Such a bug was not found and - according to the plan - it is time to eliminate the deprecated API functions:
* useLegacyScrubber
* ignoreIndexTypeCheck | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/IndexingScrubDangling.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/IndexingScrubDangling.java
deleted file mode 100644
index 6d83c31d047..00000000000
--- a/fdb-record-la... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks why the unnested- and joined-index scrub tests now call setAllowRepair(false) where they previously passed useLegacyScrubber(legacy), guessing the reason is that the non-legacy scrubber used to throw an exception.", "category": "correctness", "verdict": "supported", "priority":... | null |
FoundationDB__fdb-record-layer__3375 | FoundationDB/fdb-record-layer | 3,375 | defect | 0759246c0d3be2eb986495774f63b857e57f7858 | 4f0d90f69a5d297cefb44661e487489448e81dc7 | Call Store.Builder.openAsync instead of build | Call `openAsync` on the store builder and adjust tests accordingly.
The store initialization sequence was adjusted to the asynchronous nature of the store creation (best viewed using "hide whitespaces").
The tests were adjusted in two ways:
1. Since the store is now required to exist for the iterator to do its work ... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/runners/throttled/ThrottledRetryingIterator.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/runners/throttled/ThrottledRetryingIterator.java
index 7a736dc7f22..9333f30fe14 ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The `iterator` local assigned in cannotRunWhenClosed appears unused and can be deleted.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replace the fixed 10 ms sleeps that let futures get scheduled in the throttled-iterator ... | null |
FoundationDB__fdb-record-layer__3398 | FoundationDB/fdb-record-layer | 3,398 | defect | daaf68db404b31541d46e4c9fcaf1ca8e742bdbb | 4f9c0a5a63d368f0a38c8fdf29a39713dc00004b | Have ExternalServer dynamically find available ports | Developers have run into a fair number of issues with servers having different paths (e.g. if they have two copies of record layer), and thus not being cleaned up by the store. Instead, it now dynamically picks the ports (within a range), so if you have some leftover processes sitting around, new processes will find di... | diff --git a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlTestExtension.java b/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlTestExtension.java
index 1f5d8a69536..f0991def1db 100644
--- a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlTest... | 3 | 3 | 0 | [{"id": "G0", "claim": "A comment should be added noting that the start method only returns once the server is fully started, so its ports are already in use and there is no race condition.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The review... | null |
FoundationDB__fdb-record-layer__3411 | FoundationDB/fdb-record-layer | 3,411 | defect | 5a507292936e0c2d50b335004cd6e9355a18742c | 93f6623576422cf9fc6356ae7194ed1968413c23 | Planner rewrite rule for simplifying `SelectExpression` predicates | This introduces a new planner rewrite rule called `QueryPredicateSimplificationRule`, it matches `SelectExpression`s with at least one predicate, and attempts to simplify the conjunction of the predicates through the `QueryPredicate` simplification engine and rules (which were introduced in #3404).
If the predicate ... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/matching/structure/MultiMatcher.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/matching/structure/MultiMatcher.java
index 3299908e524..55de60fc6c3 100644
--- a/fdb-record-laye... | 3 | 3 | 1 | [{"id": "G0", "claim": "Update the existing usages of the `some(...)` matcher, which are almost always immediately followed by a check that the matched result is not empty, to use the new `atLeastOne(...)` matcher instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id"... | null |
FoundationDB__fdb-record-layer__3429 | FoundationDB/fdb-record-layer | 3,429 | defect | f60324077dcdc168fb449ab8bb45fe00bfff6f8a | a2e23c91e8a641616df7b1d65aeb1bce7c4c9230 | Add support for AutoCommit(false) | Add support for complex transaction operations in the gRPC server:
- Add state for a connection (so that it can handle a transactional state) to server side (JdbcService)
- Add stateful connection from client to server (bidi connection stream)
Resolves #3453 | diff --git a/fdb-relational-api/src/main/java/com/apple/foundationdb/relational/api/RelationalPreparedStatement.java b/fdb-relational-api/src/main/java/com/apple/foundationdb/relational/api/RelationalPreparedStatement.java
index f65ee353bc3..9d696d6d61c 100644
--- a/fdb-relational-api/src/main/java/com/apple/foundation... | 12 | 12 | 3 | [{"id": "G0", "claim": "close() should not call setAutoCommit(true) when the client will call commit explicitly, because JDBC requires rollback of uncommitted work at premature close.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the added `... | null |
FoundationDB__fdb-record-layer__3488 | FoundationDB/fdb-record-layer | 3,488 | defect | 12005f444f4de6a3314d592f6e9998c01f991847 | 345b44d687d01703e0d56c4b63162924bd697d93 | Add test to verify that temp functions are created in TxnBound database | This PR replaces the `NoOpMetadataOperationsFactory` passed in `TransactionBoundSchemaTemplate` with an implementation of `MetadataOperationsFactory` that supports `getCreateFunctionConstantAction` in the same way as it is supported by the `RecordLayerMetadataOperationsFactory`.
Also adds the test to verify that th... | diff --git a/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/catalog/TransactionBoundDatabase.java b/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/catalog/TransactionBoundDatabase.java
index ebf8651e2a1..0e511c22465 100644
--- a/fdb-relational-core/src/m... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test method should be renamed from createFunction to createTemporaryFunction so the name says what it creates.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FoundationDB__fdb-record-layer__3531 | FoundationDB/fdb-record-layer | 3,531 | defect | b95d8a52d17a6b91d2292affe14b9d9d0dd57750 | 579b36348a261cc9db5b7eb206862c3a3a02fc1d | Handle metrics for the same query but with different setups | Planner metrics previously assumed that it was only reasonable to have a query once within a single block. Having setup can make this more complicated, so this changes the keys for the metrics to have the setup too.
There were a couple unrelated cleanups along the way:
1. `markDirty()` was annotated `@Nullable`, bu... | diff --git a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlExecutionContext.java b/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlExecutionContext.java
index d51adf74369..55ca7f49dc3 100644
--- a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/Ya... | 3 | 1 | 0 | [{"id": "G0", "claim": "QueryAndLocation should not implement Comparable just because the ordering happens to be fixed at that point (the reviewer is not opposed to it, but prefers an explicit Comparator).", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "p... | null |
FoundationDB__fdb-record-layer__3558 | FoundationDB/fdb-record-layer | 3,558 | defect | e35db66deb71e4fcb2908fcd948c968310295b8f | 36ffcbeb64b6dc84cb95f4802903ec611fbfaf4a | Re enable auto test | This allows one to run `@AutomatedTest` tests.
These tests are added to the nightly build. I have tested individual tests locally, but not the overall build, and integration. | diff --git a/fdb-relational-core/fdb-relational-core.gradle b/fdb-relational-core/fdb-relational-core.gradle
index 5c77feb8f4f..3b05fac2d04 100644
--- a/fdb-relational-core/fdb-relational-core.gradle
+++ b/fdb-relational-core/fdb-relational-core.gradle
@@ -63,11 +63,12 @@ dependencies {
testFixturesImplementation(... | 1 | 1 | 0 | [{"id": "G0", "claim": "AutoTest runs should not skip async-to-sync call validation (BlockingInAsyncDetection) unless something actually breaks under it.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FoundationDB__fdb-record-layer__3578 | FoundationDB/fdb-record-layer | 3,578 | defect | 58205dfb91bca89e58917cbb0ae6636b67dab054 | afc98fb37a68f1590505af5110cef462bd27f004 | Introduce KeySpacePath.importData to import previously exported data | This introduces a new `KeySpacePath.importData` that will import `DataInKeySpacePath` as gathered by `KeySpacePath.exportAllData`.
The new method works when importing data exported from other clusters.
Resolves: #3573
Resolves: #3751 -- I thought I was going to pull this out, but went back and resolved it with a... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/keyspace/KeySpacePath.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/keyspace/KeySpacePath.java
index ff228ef1bea..f9e4b7e2164 100644
--- a/fdb-record-layer-core/src/main/... | 9 | 8 | 0 | [{"id": "G0", "claim": "Working on the whole collection in importData seems inefficient and the reviewer asks whether it would make sense to provide a single-item import method (returning the future), with resource control handled externally.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "int... | null |
FoundationDB__fdb-record-layer__3595 | FoundationDB/fdb-record-layer | 3,595 | defect | 7cca9306c9a433a661ea4d7a11ca08d28dbf73f8 | b6fde65588282ae1284f2091693dede3e9df8601 | Reactivate amortization of plan generation of functions. | This restores the memoization of plan generation of both temporary and non-temporary invoked routines.
This fixes #3394. | diff --git a/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/metadata/RecordLayerInvokedRoutine.java b/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/metadata/RecordLayerInvokedRoutine.java
index 82f789bb7c6..1ab13e52005 100644
--- a/fdb-relational-core/s... | 3 | 3 | 0 | [{"id": "G0", "claim": "encapsulate should not wrap its result in a Reference that only ever holds exactly one expression; the reviewer asked why the signature was changed and suggested leaving it as it was.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
FoundationDB__fdb-record-layer__3651 | FoundationDB/fdb-record-layer | 3,651 | defect | 8316741d9e9aed8d9667b853c926986439c2166f | 746cbe1f63f0124bd478403842a77397dd2e64ce | remove sql_type_code remove usage | This PR is a follow-up PR in the series for deprecating using sql_type_codes in JDBC, and instead using "richer" Relational types. The support for relational types were introduced some time bakc in https://github.com/FoundationDB/fdb-record-layer/pull/3510. This PR shifts to relational type usage, away from sql_type us... | diff --git a/fdb-relational-grpc/src/main/java/com/apple/foundationdb/relational/jdbc/RelationalArrayFacade.java b/fdb-relational-grpc/src/main/java/com/apple/foundationdb/relational/jdbc/RelationalArrayFacade.java
index fff506f751d..7deffb3682f 100644
--- a/fdb-relational-grpc/src/main/java/com/apple/foundationdb/rela... | 2 | 2 | 1 | [{"id": "G0", "claim": "For cross-version compatibility the PR needs to keep setting the deprecated java_sql_types_code field (in ParameterHelper and RelationalStructFacade) for at least one more minor version, otherwise old code cannot make sense of the Parameter/ColumnMetadata type.", "category": "correctness", "verd... | null |
FoundationDB__fdb-record-layer__3658 | FoundationDB/fdb-record-layer | 3,658 | defect | 82ece872ff0c974c05b41309d2d1c15c87a89be5 | 023d6aee6d04eaff6fe0444636d89c3a6c50a005 | Support nullable and non-nullable types with same name in the same template | Modify TypeRepository to allow registering 2 types (only different in nullability) in the same schema template.
Use Case:
If we have struct A, and array of A in the same template, A is nullable, while A in the array is non-nullable. This should be allowed. | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/typing/TypeRepository.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/typing/TypeRepository.java
index c8aa4d2d2e4..aae1e1c23b4 100644
--- a/fdb-record-layer-core/src/main/java... | 6 | 5 | 2 | [{"id": "G0", "claim": "The method findCanonicalTypeForStructure is unused within the code base and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Θ(n) canonical-type scan makes building a repository with n types Θ(n²), an... | null |
FoundationDB__fdb-record-layer__3696 | FoundationDB/fdb-record-layer | 3,696 | defect | 7cca9306c9a433a661ea4d7a11ca08d28dbf73f8 | 57d7841da244b2b2128f37a27c8951fcd7e8adbe | Protobuf compliant translation for supporting richer identifiers for tables and columns | This PR makes it possible to have some special characters in the identifiers of most of the constructs in Relational DDL and enables querying on them. Since the tables are defined as Descriptor and stored in DynamicMessage, it is imperative for table and column names to be a valid symbol in protoBuf, which is limited t... | diff --git a/fdb-relational-core/src/main/antlr/RelationalParser.g4 b/fdb-relational-core/src/main/antlr/RelationalParser.g4
index 9cc2bb001ac..1ced5fc9b65 100644
--- a/fdb-relational-core/src/main/antlr/RelationalParser.g4
+++ b/fdb-relational-core/src/main/antlr/RelationalParser.g4
@@ -879,7 +879,7 @@ recordConstruct... | 5 | 3 | 1 | [{"id": "G0", "claim": "The invocation of the method converting a string to a protobuf-friendly form should be moved into visitUid (and the reverse translation applied in the metadata) so that all identifiers are translated uniformly instead of being special-cased at individual call sites.", "category": "design", "verd... | null |
FoundationDB__fdb-record-layer__3722 | FoundationDB/fdb-record-layer | 3,722 | defect | f032a9154e0c2af9fe725938bc8aa11bcf700316 | de9955cdbb97f6d5590d21a52df97e5b1091d26a | Handle multiple updates to the same record in a transaction | The issue at hand is that when running multiple update operations in a single transaction, the partition's document counts and the PK-segment index may get into an inconsistent state. The root cause is that the first update in the transaction clears the doc from the Lucene index and the PK index. Since the changes are ... | diff --git a/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexMaintainer.java b/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexMaintainer.java
index 052276254fd..7c592ae4188 100644
--- a/fdb-record-layer-lucene/src/main/java/com/apple/foundatio... | 7 | 6 | 1 | [{"id": "G0", "claim": "The javadoc of the new lookup method misspells \"the\" as \"teh\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc of the new lookup method should be reworded for clarity.", "category": "d... | null |
FoundationDB__fdb-record-layer__3747 | FoundationDB/fdb-record-layer | 3,747 | defect | 564d9ddb8c53cfd6dac2edd51f29d1360b09b963 | 4d991b173262ebf0225f35b3b9767ce7a56178bd | Introduce Serialization format for DataInKeySpacePath | This adds a new `KeySpacePathSerializer` that supports serializing `DataInKeySpacePath`.
In addition, I discovered that `KeySpacePath` doesn't actually validate the values being added.
I thought about adding the validation to the add method, but felt that was too risky, but I added the validation to the deserializa... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/keyspace/DataInKeySpacePath.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/keyspace/DataInKeySpacePath.java
index afbd34599a6..25f52f2d6b6 100644
--- a/fdb-record-layer-co... | 5 | 4 | 1 | [{"id": "G0", "claim": "serialize() should return KeySpaceProto.DataInKeySpacePath rather than ByteString so the serialized form can be included in a wrapping protobuf.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "DirectoryLayerDirectory.isValueValid t... | null |
FoundationDB__fdb-record-layer__3757 | FoundationDB/fdb-record-layer | 3,757 | defect | d67d8854870e80f2268d39d5200db76e160c31fa | 4af8bfc0cc8e98e8a4e64239442274561daf8498 | Add aggregate and scalar function documentation | ## Summary
Documents standard SQL aggregate and scalar functions with comprehensive examples and runnable tests.
## Aggregate Functions
Added documentation for:
- **COUNT** - Count rows or non-NULL values
- **SUM** - Sum of non-NULL values
- **AVG** - Average (returns DOUBLE)
- **MIN** - Minimum value
- **MAX** - Ma... | diff --git a/docs/sphinx/source/reference/Functions/aggregate_functions.rst b/docs/sphinx/source/reference/Functions/aggregate_functions.rst
index 5a5e4612f6c..5e301aae063 100644
--- a/docs/sphinx/source/reference/Functions/aggregate_functions.rst
+++ b/docs/sphinx/source/reference/Functions/aggregate_functions.rst
@@ ... | 7 | 7 | 2 | [{"id": "G0", "claim": "The bullets in avg.rst's Important Notes are already clearly stated under Parameters and Returns; the reviewer suggests leaving them out and keeping only the Index Requirement.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
FoundationDB__fdb-record-layer__3762 | FoundationDB/fdb-record-layer | 3,762 | defect | 93fc5057f56da10bc1ed22ebaefe28147b392e61 | 98f38c5e7a94e65ded8588a676a425c5a6086e26 | Add operator documentation (BETWEEN, LIKE, IN, IS DISTINCT FROM) | ## Summary
Adds complete documentation for SQL operators: BETWEEN, LIKE, IN, and IS DISTINCT FROM.
## Operators documented
- **BETWEEN** - Range testing with inclusive bounds
- **LIKE** - Pattern matching with wildcards (%, _) and ESCAPE clause
- **IN** - Value list membership testing
- **IS DISTINCT FROM** - NULL-saf... | diff --git a/docs/sphinx/source/reference/sql_commands/DQL/Operators.rst b/docs/sphinx/source/reference/sql_commands/DQL/Operators.rst
index 59cd5c78789..ce5fbfbfd0c 100644
--- a/docs/sphinx/source/reference/sql_commands/DQL/Operators.rst
+++ b/docs/sphinx/source/reference/sql_commands/DQL/Operators.rst
@@ -8,6 +8,10 @... | 2 | 2 | 0 | [{"id": "G0", "claim": "The per-test `supported_version: 4.3.5.0` clauses are probably redundant given the file-level option, and since these operators existed before 4.3.5.0 the clauses should be removed altogether so the tests do not imply the operators only became available in that version.", "category": "maintainab... | null |
FoundationDB__fdb-record-layer__3774 | FoundationDB/fdb-record-layer | 3,774 | defect | d67d8854870e80f2268d39d5200db76e160c31fa | c79485be1d0373f87aee65db52fd4ba48c009eb1 | Add subqueries documentation | Adds documentation for subqueries including EXISTS, correlated subqueries, subqueries in FROM clause, and PartiQL array unnesting. | diff --git a/docs/sphinx/source/reference/Subqueries.rst b/docs/sphinx/source/reference/Subqueries.rst
new file mode 100644
index 00000000000..572118001f7
--- /dev/null
+++ b/docs/sphinx/source/reference/Subqueries.rst
@@ -0,0 +1,232 @@
+==========
+Subqueries
+==========
+
+.. _subqueries:
+
+A subquery is a query nes... | 5 | 5 | 0 | [{"id": "G0", "claim": "Spell the `NEST` alias in lowercase (`nest`) for consistency with `idr` et cetera, since uppercase `NEST` might be mistaken for a SQL keyword.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation should say \"se... | null |
FoundationDB__fdb-record-layer__3780 | FoundationDB/fdb-record-layer | 3,780 | defect | 8f59e82a8330c7c2806a37cc9c0d14fd38c6f06d | 68dfaed72da7c39d7c295e4603ddf5eaf5e77a01 | Add the ability to run header repair as part of record repair | In order to support the ability to repair a store when it may have both corrupt header and corrupt records, this PR adds the ability to repair the header (and to not commit the repair in case of dry run).
- Add read only mode to transactional runner and retrying iterator
- Add read only mode to repair runner
- Cre... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/recordrepair/RecordRepair.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/recordrepair/RecordRepair.java
index 7ca244d8c21..1829156e4df 100644
--- a/fdb-record-layer-core/s... | 6 | 5 | 1 | [{"id": "G0", "claim": "The pull request should call `repairMissingHeader` directly instead of calling `openAsync` first, since the repair itself is safe to run even on a store that opens fine.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `commitWh... | null |
FoundationDB__fdb-record-layer__3828 | FoundationDB/fdb-record-layer | 3,828 | defect | 3db10f82ac2d1a3dcb46206e4e06daa0ed25c895 | eac1ad1d5bfaad3494ceda44384e9335b61f40b3 | Lucene Pending Writes Queue | This is the creation of the queue mechanism that can store Lucene document requests while the index is locked for merges. This PR creates. the basic mechanism that can store and retrieve the messages.
The queue mechanism is not yet used anywhere - these will come in other Prs later.
Tests were added for the basic ope... | diff --git a/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneDocumentFromRecord.java b/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneDocumentFromRecord.java
index 360054d3364..e0007356ff5 100644
--- a/fdb-record-layer-lucene/src/main/java/com/apple/fou... | 4 | 3 | 0 | [{"id": "G0", "claim": "In the class javadoc, remove the comma after \"versionStamp\" (\"The key of each K/V queue entry will be a versionStamp, to ensure...\").", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The method `iterateQueue` should be re... | null |
FoundationDB__fdb-record-layer__3835 | FoundationDB/fdb-record-layer | 3,835 | defect | b83d764a0f17ff41ecb84179a1f2c09055ae3204 | d4959bcc7764a0014371f5a5c52643617111e9a6 | Use merge control to indicate an explicit merge path | Instead of guessing whether or not merge was called automatically during commit, use the merge control to indicate an explicit merge path. This should reduce the vulnerability to unpredicted behavior of 3rd party code.
Resolve #3834 | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/IndexDeferredMaintenanceControl.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/IndexDeferredMaintenanceControl.java
index cc5fdb3844b..5af7a098cd5 100644
--- a/fdb-record-... | 3 | 2 | 1 | [{"id": "G0", "claim": "The whole IndexDeferredMaintenanceControl class should probably be annotated with API.EXPERIMENTAL.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Setting explicitMergePath(true) before repartitioning in IndexingMerger.mergeInde... | null |
FoundationDB__fdb-record-layer__3884 | FoundationDB/fdb-record-layer | 3,884 | defect | 99aedf7f6c21522b88c962ddf8d5f06e43e82dfa | e4108b8b7094eda51f00684bb032ff43036f8baf | Add support for casting and promoting `null` literals to `BYTES`, `VERSION`, and `VECTOR` types | We were missing promotion and casting rules for a few types, namely `BYTES`, `VERSION`, and `VECTOR`. That meant that comparisons on that type like `IS [NOT] DISTINCT FROM null` would fail, as would cast operations like `cast(null AS bytes)`. This adds support for those types.
Strangely enough, this also adds suppor... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/values/CastValue.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/values/CastValue.java
index 0ddfa7e9edc..f479f491175 100644
--- a/fdb-record-layer-core/src/main/java/com/apple... | 1 | 1 | 1 | [{"id": "G0", "claim": "The documentation of the `cast` operator was not updated by this pull request, and the reviewer asks the author to look at it and adapt `cast_operator.rst` accordingly.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FoundationDB__fdb-record-layer__3893 | FoundationDB/fdb-record-layer | 3,893 | defect | 0781b82e6635916b2202d9f07c4d99a0ab3ce100 | 73a02b76b226108218e285eb79bc844640fa933b | `INNER JOIN` syntax now supports `USING` | This PR is a continuation of [Support of INNER JOIN syntax #3799](https://github.com/FoundationDB/fdb-record-layer/pull/3799).
It implements a syntax of INNER JOIN USING() operation.
Simple example:
```
CREATE TABLE a(c1 bigint, c2 bigint, primary key(c1))
CREATE TABLE b(c1 bigint, c3 bigint, primary key(c1))
C... | diff --git a/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/query/SemanticAnalyzer.java b/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/query/SemanticAnalyzer.java
index 2e8c9f06d20..36d49beeb58 100644
--- a/fdb-relational-core/src/main/java/com/apple/f... | 7 | 7 | 3 | [{"id": "G0", "claim": "Use the existing Assert.notNullUnchecked helper instead of the hand-rolled null check when resolving USING references on the right side.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use a LinkedHashMap instead of a Hash... | null |
FoundationDB__fdb-record-layer__3905 | FoundationDB/fdb-record-layer | 3,905 | defect | 52f48878c1cbf6be0ee8e778255d7a3fe2ddc024 | ecadec2dfda1285a222ebca2b77b99a8afb19fe1 | Lucene: handle requests for deferred merges | 1. Require deferred merge when queuing a pending write. This is done to cover cases of a merge indicator without active merge. Requesting a deferred merge will trigger merge and then drain the queue and clear the indicator.
2. Do not require a deferred merge in the explicit merge path. This will prevent an endle... | diff --git a/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexMaintainer.java b/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexMaintainer.java
index e5ee2c3c19d..e103781844c 100644
--- a/fdb-record-layer-lucene/src/main/java/com/apple/foundatio... | 2 | 2 | 1 | [{"id": "G0", "claim": "Tests should be added that assert on the changed behaviour — that mergeRequired is set regardless of whether the ongoing-merge indicator is on or off — since the merge itself probably cannot be triggered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ... | null |
FoundationDB__fdb-record-layer__3907 | FoundationDB/fdb-record-layer | 3,907 | defect | 24c635bac1c371f89c911e6593fbc79215b1f3f0 | 3342a0cfc8735c2523394ffc28bb7827b5f5595e | Fix internal errors from version queries - Part 2 | In version 4.9, we introduced a new pseudo-field, the `__ROW_VERSION`, which effectively pushed down the concept from the relational layer down into the planner level. See: #3809. It would not have been backwards compatible to start using this field right away, as any plans which attempted to reference the pseudo-field... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/metadata/expressions/VersionKeyExpression.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/metadata/expressions/VersionKeyExpression.java
index f25c67db38c..21a9c369886 100644
--- a/fdb-record-layer-core/src/main/java... | 1 | 1 | 0 | [{"id": "G0", "claim": "VersionValue appears to be unused after this change, so delete the class and move VersionFn and its encapsulator into a util class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FoundationDB__fdb-record-layer__3930 | FoundationDB/fdb-record-layer | 3,930 | defect | 2d2742092b3fdd4f325551eb60fcd25d305db9d0 | e09c8d291a6a0e5edf1e7c17c4e39f639ba47b04 | Validate that separate ports are assigned to each `ExternalServer` | Based on errors that we saw during a few release builds, there are times when we were previously allocating the same port to multiple servers. It was very rare, and it is thus hard to reproduce, but we have some pretty definitive logs of this happening, though the exact cause for why is more open ended.
To combat th... | diff --git a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlTestExtension.java b/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlTestExtension.java
index 974db4ccbae..673dc8a0027 100644
--- a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlTest... | 3 | 3 | 1 | [{"id": "G0", "claim": "Add a comment to getAvailablePort documenting that a port is added to the unavailable-ports set even when it is not used (isAvailable==false), so it is taken out of circulation and not retried.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"... | null |
FoundationDB__fdb-record-layer__3934 | FoundationDB/fdb-record-layer | 3,934 | defect | 958be57e215d5e75bff9b90e391a0701e6eade3d | f919c416e9f2a6dbcc8c0754da53d9ac881148f0 | Fix flaky tsst - testAgilityContextConcurrentNonExplicitCommits | AgilityContextType.READ_ONLY is not expected to chnage the DB - no need to asssrt values. | diff --git a/fdb-record-layer-lucene/src/test/java/com/apple/foundationdb/record/lucene/directory/AgilityContextTest.java b/fdb-record-layer-lucene/src/test/java/com/apple/foundationdb/record/lucene/directory/AgilityContextTest.java
index 3e946206c18..b3fae6717c2 100644
--- a/fdb-record-layer-lucene/src/test/java/com/a... | 1 | 1 | 1 | [{"id": "G0", "claim": "For the READ_ONLY context type the test should assert that nothing has changed rather than skipping the assertLoopThreadsValues() check entirely.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FoundationDB__fdb-record-layer__3935 | FoundationDB/fdb-record-layer | 3,935 | defect | 00674646b8f7e2ef030d284fdab9a89344abd2e8 | 8a75bd9bd1ce882e11139e7b627952db70013aee | KeySpaceUtils.pathToUri / toPathString no longer add extra / when path ends with NULL | This changes `KeySpaceUtils.pathToUri` and `toPathString` so that they no longer introduce an extraneous `/` at the end when the path ends with `NULL`. This also updates the parsing tests to help ensure that `pathToUri`, `toPathString` and `toKeySpacePath` all align.
As an example, if you have:
```java
var keySpac... | diff --git a/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/KeySpaceUtils.java b/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/KeySpaceUtils.java
index 99a32b8011b..17d50dfa99b 100644
--- a/fdb-relational-core/src/main/java/com/apple/foundationdb/relati... | 1 | 1 | 0 | [{"id": "G0", "claim": "pathToUriList builds and reverses a mutable ArrayList and returns it; prefer wrapping it in Collections.unmodifiableList or using Guava's Lists.reverse, which returns a view rather than modifying the underlying collection.", "category": "maintainability", "verdict": "supported", "priority": "P2"... | null |
FoundationDB__fdb-record-layer__3941 | FoundationDB/fdb-record-layer | 3,941 | defect | 00674646b8f7e2ef030d284fdab9a89344abd2e8 | 6b4a0c5b80d3fa5b7b58c41bd92de36ccdc73ab6 | Fix filtered index matching for queries with non-compile-time range predicates | This PR fixes an issue where the planner failed to match filtered indexes when query predicates contained non-compile-time ranges, such as join predicates. Previously, `RangeConstraints.encloses()` would bail out if either the candidate range or the query range was not fully compile-time evaluable.
However, this was... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/PredicateMap.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/PredicateMap.java
index 0cd5605f37c..38376532419 100644
--- a/fdb-record-layer-core/src/main/java/com/apple/foundat... | 1 | 1 | 1 | [{"id": "G0", "claim": "The rewritten uniqueness check in PredicateMap.checkUniqueness, which counts distinct parameter aliases (>1) instead of requiring exactly one mapping per predicate, is unexplained and appears wrong, since the index side should not have more than one placeholder for the same field.", "category": ... | null |
FoundationDB__fdb-record-layer__4009 | FoundationDB/fdb-record-layer | 4,009 | defect | a6428ca816280fb030a16e08145f0a0c71908e4d | 4092c0535dc128042e1d403035598f2963dd4c27 | Retry while deserializing in `TransformedRecordSerializer` | This PR adds retry logic for deserialization failures in `TransformedRecordSerializer`
... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/common/TransformedRecordSerializer.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/common/TransformedRecordSerializer.java
index 6e2a89a31d1..31a17b569c3 100644
--- a/fdb-record-layer-core/src/main/... | 10 | 10 | 0 | [{"id": "G0", "claim": "The new fields should be named failOnDeserializeReattempt and deserializeReattemptCount because \"reattempt\" is a single word.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The exception message should read \"decompress... | null |
FoundationDB__fdb-record-layer__4015 | FoundationDB/fdb-record-layer | 4,015 | defect | fda082458ce48d55163f28cdbe959fabb8da90db | 782737e4feb0e55afecedbdd3ca60c6802a21930 | Lucene: Pending write queue: add incarnation | If the store incarnation is increased while the queue is active, we wish all items inserted after the incarnation to appear "newer" than these inserted before the incarnation - regardless of the system's version stamp.
| diff --git a/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexMaintainer.java b/fdb-record-layer-lucene/src/main/java/com/apple/foundationdb/record/lucene/LuceneIndexMaintainer.java
index 09c65950c21..f5cf0638980 100644
--- a/fdb-record-layer-lucene/src/main/java/com/apple/foundatio... | 10 | 6 | 4 | [{"id": "G0", "claim": "The enqueue methods should keep taking the store on every operation to support AgileContexts, rather than passing the store only at construction.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The package-private context-only enqu... | null |
FoundationDB__fdb-record-layer__4042 | FoundationDB/fdb-record-layer | 4,042 | defect | 545aa230004148c30766d59b307da88c756232da | fa0d4e1467165589fde934734c0576018e229dec | Multi-Cluster support for yamsql & support not-registering the driver with FRL | The primary purpose here is to support multi-cluster testing to yaml tests.
In order to support this, a new option was added to FRL to not-register the driver so that you can create multiple different FRL instances, pointing to different clusters.
This is part of the work for: #3823 | diff --git a/fdb-relational-server/src/main/java/com/apple/foundationdb/relational/server/FRL.java b/fdb-relational-server/src/main/java/com/apple/foundationdb/relational/server/FRL.java
index 96f3fdd2d48..3c485a57852 100644
--- a/fdb-relational-server/src/main/java/com/apple/foundationdb/relational/server/FRL.java
+++... | 20 | 14 | 0 | [{"id": "G0", "claim": "The driver field is no longer necessarily \"registered\" and so the name can be misleading.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ConnectionTarget javadoc should document the various options for specifying th... | null |
FoundationDB__fdb-record-layer__4067 | FoundationDB/fdb-record-layer | 4,067 | defect | b104b25ba3fb3c0597860adabef599483eeea1b0 | eb93b14e949b3ad60ac74def8ee276c0d06336ca | LRU eviction metrics to the plan cache | MultiStageCache now tracks LRU capacity evictions separately for each cache level. Three new RelationalCount events:
```
PLAN_CACHE_PRIMARY_LRU_EVICTION
PLAN_CACHE_SECONDARY_LRU_EVICTION
PLAN_CACHE_TERTIARY_LRU_EVICTION
```
are incremented whenever Caffeine evicts an entry due to maximumSize being exceeded.
Bec... | diff --git a/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/api/metrics/RelationalMetric.java b/fdb-relational-core/src/main/java/com/apple/foundationdb/relational/api/metrics/RelationalMetric.java
index 989da5730fb..709aa5b03e2 100644
--- a/fdb-relational-core/src/main/java/com/apple/foundationdb/... | 4 | 2 | 0 | [{"id": "G0", "claim": "The test may fail sporadically because the primary LRU eviction is drained asynchronously into pendingPrimaryLruEvictions and may not have fired by the time the assertions run.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The per... | null |
FoundationDB__fdb-record-layer__4070 | FoundationDB/fdb-record-layer | 4,070 | defect | 75860b7b46ac046e24262d160c6a3f9afb602013 | 5d43b1f4bbe6bc8ccf7c7cc78e81a0ab79a2219e | Support Arrays of byte[] and float in JDBC | This adds test coverage for reading and writing between JDBC / embedded to ensure that the data is interoperable, and that the same code can run against either.
I fixed the easy ones, but left the following issues still unresolved: #3665 #4064
This also adds support to yamsql for the following:
- Floats via a n... | diff --git a/fdb-relational-grpc/src/main/java/com/apple/foundationdb/relational/jdbc/TypeConversion.java b/fdb-relational-grpc/src/main/java/com/apple/foundationdb/relational/jdbc/TypeConversion.java
index b8e4b1165f1..1241130438e 100644
--- a/fdb-relational-grpc/src/main/java/com/apple/foundationdb/relational/jdbc/Ty... | 4 | 3 | 0 | [{"id": "G0", "claim": "Use different constant values for the different SQL types in the test cases, to eliminate possible implicit internal conversion being masked.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new bytes/BINARY support should also... | null |
FoundationDB__fdb-record-layer__4075 | FoundationDB/fdb-record-layer | 4,075 | defect | 59b067b79fb6e340e34ab795497e9e97fa604bb9 | c8175f254b7600eb557bffc6dc0843d2f0e70606 | Increase coverage of `MetaDataEvolutionValidator` tests | While looking at the coverage report generated by #4034, there were a few cases in the `MetaDataEvolutionValidator` that weren't actually being covered. This adds coverage for the remaining ones, so we should have almost 100% coverage on that file. There are still some gaps because some of validations are directly copy... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/metadata/MetaDataEvolutionValidator.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/metadata/MetaDataEvolutionValidator.java
index 040c4775278..e8f68502194 100644
--- a/fdb-record-layer-core/src/main/java/com/apple/f... | 3 | 1 | 0 | [{"id": "G0", "claim": "A comment should be added to the new test proto explaining why RecordOne and RecordTwo have different index definitions.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The metadata validator should default to the strictest ... | null |
FoundationDB__fdb-record-layer__4128 | FoundationDB/fdb-record-layer | 4,128 | defect | 17c3133ab689da24753918f117e8d9ec83e8042d | 84b7d22b6d9e55f86f09ca8e7a522db4fe2a6a6e | Add addExplain annotation to Yamsql framework | When annotating a yamsql test with addExplain, it'll automatically add explains for all queries (with a result/unOrderedResult) in the file, and also corrects any existing explains. | diff --git a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlExecutionContext.java b/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/YamlExecutionContext.java
index 7431ab6ddab..3bb7c6bc4c1 100644
--- a/yaml-tests/src/main/java/com/apple/foundationdb/relational/yamltests/Ya... | 9 | 7 | 0 | [{"id": "G0", "claim": "Since shouldAddExplains appears to imply shouldCorrectExplains, the added condition `isExact && (shouldCorrectExplains() || shouldAddExplains())` may have a redundant disjunct.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Becaus... | null |
FoundationDB__fdb-record-layer__4136 | FoundationDB/fdb-record-layer | 4,136 | defect | 17c3133ab689da24753918f117e8d9ec83e8042d | 7faf444acee8161dec4e1304f939fedd4b1daa2f | Fix infinite `RecursiveCursor` out-of-band behavior | When `recursionLoop()` encountered an out-of-band stop, it built the continuation at `depth - 1` (postorder) or `depth` (preorder before first emit), discarding the child cursor's scan progress. On resume, `addChildNode` would create a fresh node with a START continuation, causing the child cursor to re-scan from the ... | diff --git a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/cursors/RecursiveCursor.java b/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/cursors/RecursiveCursor.java
index 6b9d85591d9..7830bace92d 100644
--- a/fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/curso... | 1 | 1 | 1 | [{"id": "G0", "claim": "For preorder traversal, building the continuation at depth + 1 may occasionally lose a node that had emitPending and hits the scan limit before the first child.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
Foxboron__age-plugin-tpm__32 | Foxboron/age-plugin-tpm | 32 | defect | 3ff950ea9570396ee9b993104322c9150594d01e | 28a5d1e67b41499267a2dfb2a39c502239de119d | plugin/tpm: support persisted shared SRKs | Currently, the plugin will attempt to create a new storage primary every time an operation involving the TPM is performed. This is not only inefficient (since deriving such a primary can be an expensive operation), it also breaks on systems where the TPM has a password set for the owner hierarchy, which causes `CreateP... | diff --git a/plugin/crypto.go b/plugin/crypto.go
index d65e4cc..7f401fa 100644
--- a/plugin/crypto.go
+++ b/plugin/crypto.go
@@ -103,7 +103,7 @@ func DecryptFileKeyTPM(tpm transport.TPMCloser, identity *Identity, remoteKey, f
// We'll be using the SRK for the session encryption, and we need it as the
// parent fo... | 4 | 3 | 1 | [{"id": "G0", "claim": "Switching to the persisted shared SRK, which is typically an RSA-based primary key rather than the ECC-based primary key the plugin currently derives, may break existing TPM2 identities unless the serialized identity format is extended to record which SRK was used to generate a given identity.",... | null |
Foxboron__age-plugin-tpm__42 | Foxboron/age-plugin-tpm | 42 | defect | 1799512069f7e889a94e8d0a9eca59024a3616be | 4cfc76919b250604f792ec2bef1258f9af0c6098 | Fix decryption with multiple recipients | Seems like Identity.Unwrap() was returning too early, i.e. on identity mismatch. The simplest fix was just to check if `err == nil` and return the filekey. Ended up checking for incorrect identity and propagating errors if there's something else.
Fixes #38 #39 | diff --git a/cmd/age-plugin-tpm/testdata/script/tests.txt b/cmd/age-plugin-tpm/testdata/script/tests.txt
index 12b3c36..97de36e 100644
--- a/cmd/age-plugin-tpm/testdata/script/tests.txt
+++ b/cmd/age-plugin-tpm/testdata/script/tests.txt
@@ -19,5 +19,16 @@ stdin encrypted.txt
exec age --decrypt -i ./age-identity.txt -o... | 1 | 1 | 0 | [{"id": "G0", "claim": "Omit the `sh -c` calls in the multi-recipient testscript test and use plain files created on the fly instead of piping (without committing test artifacts), so the maintainer does not have to deal with shell semantics in the test suite.", "category": "testing", "verdict": "supported", "priority":... | null |
FredrikNoren__ungit__1012 | FredrikNoren/ungit | 1,012 | defect | 0109f686edb88eb69d9869e095df80d4cbbc0cc4 | 89a2fee22b845aa5910e9cc1483cfb06168197ec | Add remote branch listing feature | fixes #966
* ability to list all branches including remote branches within branch list bar.
* lots of refactoring to recycle and share git-ref objects and checkout logic for simplified code path
* ability to checkout remote branches[1]
[1] Current implementation of remote branch logic is something that I'm not ... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8bfe3a33a..f3293ebcc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
Use the following format for additions: ` - VERSION: ... | 6 | 6 | 3 | [{"id": "G0", "claim": "The pull-request-added CSS property is misspelled `widht: auto;` and should be `width: auto;`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If `retry` is `0`, the `retry || 3` default would reset the retry count back to `3`... | null |
FredrikNoren__ungit__1263 | FredrikNoren/ungit | 1,263 | defect | 68d69bb150aa200dbf619c10adb9a6cdc4852131 | 2c7b43e5e361c6c1d89d1f2dc4bc19eeee30b7b9 | remove unused imports, make clicktests more reliable, fix git rev-parse with bare repositories, fix crash when directory gets deleted | (also want to check timeouts in appveyor builds)
fixes https://github.com/FredrikNoren/ungit/issues/1265
fixes https://github.com/FredrikNoren/ungit/issues/1266 | diff --git a/bin/credentials-helper b/bin/credentials-helper
index 930550a36..77c8f334b 100755
--- a/bin/credentials-helper
+++ b/bin/credentials-helper
@@ -1,10 +1,10 @@
#!/usr/bin/env node
const winston = require('winston');
+const http = require('http');
const socketId = process.argv[2];
const portAndRootPath = ... | 3 | 1 | 0 | [{"id": "G0", "claim": "Exiting the process during a request/response (the old testing/shutdown endpoint) can result in connection reset errors on the client, which can make tests fail.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G2", "claim": "Git 2.25 chang... | null |
FredrikNoren__ungit__1318 | FredrikNoren/ungit | 1,318 | defect | e6fa906db2a7b1c8a8bb4038294bb36f9fe94a75 | a9ad9160f32ed659019693f75690798dbcf21efe | Fixing some accessibility issues | * Adding alt text to logo and gravatar
* Adding (invisible) labels to dropdown buttons
* Adding `lang="en"` to `<html>`
* Adding aria-labels for `input`s without label
* Removing placeholders when they are identical to label
* Adding `tabindex` to dialog to properly add tabbing behavior
* Use bootstrap alert to d... | diff --git a/components/branches/branches.html b/components/branches/branches.html
index e8ea8839a..573ff05cb 100644
--- a/components/branches/branches.html
+++ b/components/branches/branches.html
@@ -3,8 +3,9 @@
<span data-bind="html: branchIcon"></span>
<span data-bind="text: refsLabel"></span>
</button>... | 3 | 3 | 3 | [{"id": "G0", "claim": "Removing the explicit `type=\"text\"` attributes from the login (and other) inputs breaks the clicktests, and the types should be kept explicit rather than relying on default browser behaviour.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": ... | null |
FreeCAD__FreeCAD__20084 | FreeCAD/FreeCAD | 20,084 | defect | a375752aa4ea4d416f757299c716820546fd41cc | 02127d440bb97babb1bab4555286e051195d278c | remove support to oldest occ <7.5 | The oldest supported os ubuntu 22.04 use occ 7.5.1.
Code that supports occ versions older than 7.5 has been removed | diff --git a/cMake/FindOCC.cmake b/cMake/FindOCC.cmake
index 552f0b18966c9..28577b2e5033e 100644
--- a/cMake/FindOCC.cmake
+++ b/cMake/FindOCC.cmake
@@ -9,7 +9,7 @@
# we first try to find opencascade directly:
if (NOT OCCT_CMAKE_FALLBACK)
- find_package(OpenCASCADE CONFIG QUIET)
+ find_package(OpenCASCADE "7.... | 2 | 2 | 0 | [{"id": "G0", "claim": "The appended TKRWMesh entry should be incorporated into the set(OCC_OCAF_LIBRARIES ...) statement instead of a standalone list(APPEND ...).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The getAngle() and setAngle() func... | null |
FreeCAD__FreeCAD__25979 | FreeCAD/FreeCAD | 25,979 | defect | 5fbd150b18d01c16f86062b6a2e26e31ed4650b3 | 10c4de1316a22e14e99ac4add720eddc95c336b2 | added a copy button which copies all the errors and traceback to clip… | Fixes #25599
This PR fixes #25599 by adding a "Copy" button to the Unit Test dialog, allowing users to copy the details of failing tests directly to the clipboard.
### Before
No easy way to extract the list of Errors from the UI.
<img width="1390" height="1220" alt="image" src="https://github.com/user-attachmen... | diff --git a/src/Mod/Test/Gui/UnitTest.ui b/src/Mod/Test/Gui/UnitTest.ui
index ffc52ab53e10a..86b563d3c0380 100644
--- a/src/Mod/Test/Gui/UnitTest.ui
+++ b/src/Mod/Test/Gui/UnitTest.ui
@@ -122,6 +122,19 @@
</property>
</spacer>
</item>
+ <item>
+ <widget class="QPushButton" name="copyButto... | 7 | 6 | 0 | [{"id": "G0", "claim": "Copy feedback should not use a MessageBox: the success notification should behave differently (e.g. like the About dialog's copy action), and nothing should pop up when there is nothing to copy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"... | null |
FreeCAD__FreeCAD__26938 | FreeCAD/FreeCAD | 26,938 | defect | 19708d4dc171b7524ef8e33b5ee05de8ab32ddc8 | bafd5386eb35c8b0d2c6fa57e1c3a02c05413f8e | Gui: Don't record macro path if default | This is designed to prevent the bug reported in #26921. If the user has their macro directory set to the default value, don't record it into the user preferences, which would then require migration every time we release a new version.
The second commit does a text-based search-and-replace of the new versioned config... | diff --git a/src/Gui/Dialogs/DlgMacroExecuteImp.cpp b/src/Gui/Dialogs/DlgMacroExecuteImp.cpp
index f6e391b5e2424..c75f6ea49bde6 100644
--- a/src/Gui/Dialogs/DlgMacroExecuteImp.cpp
+++ b/src/Gui/Dialogs/DlgMacroExecuteImp.cpp
@@ -413,9 +413,11 @@ void DlgMacroExecuteImp::accept()
void DlgMacroExecuteImp::onFileChooserF... | 7 | 5 | 4 | [{"id": "G0", "claim": "If the user's macro directory differs from the default, choosing the default path afterwards cannot restore it, because the code skips writing MacroPath instead of clearing the stored value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1... | null |
FreeCAD__FreeCAD__27099 | FreeCAD/FreeCAD | 27,099 | defect | dfdabbfc87a89caee001e7635768e8ecfedbef8e | adf15a401d767c8fc22d14c7a3005fea330c2a06 | ExpressionParser: Return unique_ptr from public interface (#27098) | I want to add some more tests around expression parser, and potentially change some production logic. Before doing this I want to fix the interface so it's not returning error-prone raw pointers. ScanResult is a good point at which to start the migration, as doing it at a higher level makes it very easy to have memory ... | diff --git a/src/App/Expression.cpp b/src/App/Expression.cpp
index a14c35305ff2..4311ab5c2e66 100644
--- a/src/App/Expression.cpp
+++ b/src/App/Expression.cpp
@@ -636,25 +636,31 @@ bool isAnyEqual(const App::any &v1, const App::any &v2) {
return !!res;
}
-Expression* expressionFromPy(const DocumentObject *owner... | 2 | 2 | 0 | [{"id": "G0", "claim": "The change triggers linter warnings that should be fixed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Commit messages should be written in the imperative mood and kept terse, without the narrative explanation (motivati... | null |
FreeCAD__FreeCAD__27591 | FreeCAD/FreeCAD | 27,591 | defect | 6006f581c36580edbfe02df9f47e62a9519b26c3 | 419a9084029effa3182f1f9a8de19457108f5f13 | [Backport releases/FreeCAD-1-1] Base: Fix schema issues | # Description
Backport of #27552 to `releases/FreeCAD-1-1`. | diff --git a/src/Base/UnitsSchema.cpp b/src/Base/UnitsSchema.cpp
index decf368f9f06..eb577907d5e7 100644
--- a/src/Base/UnitsSchema.cpp
+++ b/src/Base/UnitsSchema.cpp
@@ -67,7 +67,11 @@ std::string UnitsSchema::translate(const Quantity& quant, double& factor, std::s
const auto value = quant.getValue();
auto... | 1 | 1 | 1 | [{"id": "G0", "claim": "The mT rows in the MagneticFluxDensity schema sweep test should be removed because mT was added after 1.1 was branched off, so the suggestion replacing the rows with {\"1 T\", should be applied.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FreeCAD__FreeCAD__27759 | FreeCAD/FreeCAD | 27,759 | defect | 2fda119f740511dd43f7b950ebebf7ba30d80627 | 31f76b81d4124961eb44c539f0842f9352d8cb8d | Fix #27741: Prevent camel case splitting on numbers in Property Editor. | This PR fixes a display issue where property names like `test3D` are displayed with an unwanted space (`test3 D`) in the Property Editor.
I updated the string formatting loop in `PropertyItem::setPropertyName` to ensure that a space is only inserted if the previous character was explicitly a lowercase letter (`last.... | diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp
index ac29019b9635c..868c217fc996e 100644
--- a/src/Gui/propertyeditor/PropertyItem.cpp
+++ b/src/Gui/propertyeditor/PropertyItem.cpp
@@ -574,18 +574,14 @@ void PropertyItem::setPropertyName(const QString& name, const QString... | 3 | 2 | 1 | [{"id": "G0", "claim": "The comment \"// Prevent camel case splitting on numbers in Property Editor\" does not fit the scope of the code (it also stops splitting on '_'); replace it with a comment that fits this specific code and explains what the loop tries to do.", "category": "documentation", "verdict": "supported",... | null |
FreeCAD__FreeCAD__28540 | FreeCAD/FreeCAD | 28,540 | defect | adf9ba6baa32df463c6906f63190a81e32ac396b | 8f28ee8f317e12eee81f4822b594313e168df88e | Base: use magnitude for unit schema thresholds | Fix unit schema threshold selection for negative quantities by choosing the
display prefix from the quantity magnitude instead of the signed value.
This fixes FEM result displays where negative values could fall back to the
smallest unit band, for example showing `-34479400.00 Pa` instead of
`-34.479400 MPa`, or keepi... | diff --git a/src/Base/UnitsSchema.cpp b/src/Base/UnitsSchema.cpp
index eb577907d5e7..de8f4211dd9f 100644
--- a/src/Base/UnitsSchema.cpp
+++ b/src/Base/UnitsSchema.cpp
@@ -21,6 +21,7 @@
* *
**********************************************************... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new schema test's expected strings with decimal padding may trip locale issues with comma separators, and the reviewer asks to use something which doesn't require decimals.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
FreeCAD__FreeCAD__28924 | FreeCAD/FreeCAD | 28,924 | defect | 591c201769da7bc9048562897da36c71fdddee9f | a1f10d6654f930d1d99041c858a095c044678853 | Gui: Fix several bugs in StyleParameters expression system | Fixes several bugs in the StyleParameters expression system and extends placeholder substitution with inline expression support.
Tuple element names that start with digits (e.g. shade names like `050`) were rejected by the parser. Numeric multiplication and division dropped the unit when one operand was dimensionles... | diff --git a/src/Gui/StyleParameters/ParameterManager.cpp b/src/Gui/StyleParameters/ParameterManager.cpp
index cc4b41009cc90..46aa53743b6af 100644
--- a/src/Gui/StyleParameters/ParameterManager.cpp
+++ b/src/Gui/StyleParameters/ParameterManager.cpp
@@ -27,6 +27,7 @@
#include <QFile>
#include <fstream>
#include <yaml... | 2 | 2 | 1 | [{"id": "G0", "claim": "A comment should be added about the regex not supporting nested braces {} in case someone tries to add it in the future.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Value::get's failure handling must not rely on assert... | null |
FreeOpcUa__freeopcua__113 | FreeOpcUa/freeopcua | 113 | defect | c5895e55bff33161aa08a72f6ed30a105a49d416 | e25be98d14917171a0263f4126f9d77f036a1b27 | UserNameItentityToken implemented | - user and password can be set in connection URL
ie: opc.tcp://user:password@10.0.0.194:4840
| diff --git a/include/opc/common/uri_facade.h b/include/opc/common/uri_facade.h
index 8222897f..6d8be7a5 100644
--- a/include/opc/common/uri_facade.h
+++ b/include/opc/common/uri_facade.h
@@ -33,6 +33,16 @@ namespace Common
return SchemeStr;
}
+ std::string User() const
+ {
+ return UserStr;
+ ... | 5 | 4 | 3 | [{"id": "G0", "claim": "Hardcoding the anonymous PolicyID to \"0\" instead of using the policy string the server offers may fail against other server implementations that rely on a different value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Acti... | null |
FreeRADIUS__freeradius-server__3446 | FreeRADIUS/freeradius-server | 3,446 | defect | d11b7df58915bcfb3156f7f04d12de9296b6a9a4 | 6836de8371157c126b3a1a2bab49a68c5449cb1e | Add the ability to move signed/unsigned integers into dbuffs. | We provide for either wire format or the format of the computer
running the code, and add generic macros that will provide the
appropriate size based on the type of the argument. The names
are now fr_dbuff_encode* and fr_dbuff_net_encode*. | diff --git a/src/lib/util/dbuff.h b/src/lib/util/dbuff.h
index d6cf02db9ef98..fd32dc73725af 100644
--- a/src/lib/util/dbuff.h
+++ b/src/lib/util/dbuff.h
@@ -29,6 +29,7 @@ RCSIDH(dbuff_h, "$Id$")
extern "C" {
# endif
+#include <freeradius-devel/missing.h>
#include <freeradius-devel/util/debug.h>
#include <freerad... | 1 | 1 | 0 | [{"id": "G0", "claim": "The fr_dbuff_net_encode macro should cast `value` explicitly to the integer type of each _Generic branch to avoid compiler warnings from _Generic evaluating every possible type.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FreeRADIUS__freeradius-server__3673 | FreeRADIUS/freeradius-server | 3,673 | defect | dbfa11e919f8e24dd91c4caf6e62a761255fd5c9 | d3ded24616ada463be14d5d581bffafd90f15b3c | v4: Add prepend operator for inserting attributes at the beginning of lists | Implement PR 3667 for FreeRADIUS v4
For DHCP, the sequence of a repeated attribute can be significant.
Adding a prepend operator ^= allows for policy to specifically add attributes at the beginning of a list to specify the sequence of a repeated attribute when returned to the client. | diff --git a/src/lib/server/cf_file.c b/src/lib/server/cf_file.c
index b457563b9d839..705112678d903 100644
--- a/src/lib/server/cf_file.c
+++ b/src/lib/server/cf_file.c
@@ -1671,7 +1671,7 @@ static int parse_input(cf_stack_t *stack)
* so we check for them first.
*/
if (!((*ptr == '=') || (*ptr == '!') || (*ptr ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The pull request needs test cases for the new ^= prepend operator.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The T_OP_PREPEND case in map_list_mod_apply could prepend the first VP and then insert the subsequent VPs, instead ... | null |
FreeRADIUS__freeradius-server__3786 | FreeRADIUS/freeradius-server | 3,786 | defect | cbf547386a4fb0a0209c7dd9837dc675fdc3c77f | 56ccf7d05a169fb3d175e9b04a64b3a28b456caf | Enforce sbuff file max | Don't allow `fr_sbuff_extend_file()` to acquire more than the maximum specified in the context. (That's not quite the same as bytes read given possible buffering; also, in accordance with comments below, it no longer keeps a count of bytes read, instead calculating it.)
| diff --git a/src/lib/util/sbuff.c b/src/lib/util/sbuff.c
index fdd65094cf854..944deeea921dd 100644
--- a/src/lib/util/sbuff.c
+++ b/src/lib/util/sbuff.c
@@ -245,6 +245,7 @@ size_t fr_sbuff_extend_file(fr_sbuff_t *sbuff, size_t extension)
}
available = fctx->buff_end - sbuff->end;
+ if (available > fctx->max - fct... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new `read` counter field in fr_sbuff_uctx_file_t is unnecessary because the total bytes read can be derived from existing sbuff state (reviewers suggested `available + shifted` and `shifted + fr_sbuff_used(self)`; the author identified `shifted + (end - buff)`).", "category": "design", "verd... | null |
FreeRADIUS__freeradius-server__3832 | FreeRADIUS/freeradius-server | 3,832 | defect | 31adc2e4b450677729d768773f5bb3f97c9ed825 | 0d808f4626d81a9289943524f1381a4f90e3122d | rlm_rest - Add option to set http version | This adds enough moving parts to allow direct Okta integration.
1. Option to set the HTTP negotiation version.
2. Get the response status code. | diff --git a/doc/ChangeLog b/doc/ChangeLog
index 2f1987f184ae0..cce9501950b7f 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -52,6 +52,7 @@ FreeRADIUS 3.0.22 Tue 24 Mar 2020 12:00:00 EDT urgency=low
more information about each client.
* Add support for EAPS-AKA authentication to rlm_wimax.
Fixes #3801. Pat... | 1 | 1 | 0 | [{"id": "G0", "claim": "Set the REST-HTTP-Status-Code reply attribute in rest_request_perform instead of in the rest_response_header callback — the curl handle there gives access to the ctx.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FreeRADIUS__freeradius-server__3945 | FreeRADIUS/freeradius-server | 3,945 | defect | 1f64ded2558598a41a9c1a1fd8a8b8806b12bd52 | 4697169622ea5634f245f0d922788814dd6a4d20 | Add pre-order and post-order rbtree iterators. | The test we have is based on static test data with the values
appropriate for pre and post iterators determined by hand. We
can generate additional test cases as desired. | diff --git a/src/lib/util/rbtree.c b/src/lib/util/rbtree.c
index 3a4458eb2822e..8932aa0a3f9e6 100644
--- a/src/lib/util/rbtree.c
+++ b/src/lib/util/rbtree.c
@@ -946,6 +946,182 @@ void *rbtree_iter_next_inorder(fr_rb_tree_iter_t *iter)
return x->data;
}
+/** Initialise a pre-order iterator
+ *
+ * @note If iteratio... | 1 | 1 | 0 | [{"id": "G0", "claim": "The combined iterator test should be broken into separate pre-order and post-order test functions, registered in the test array at the bottom, with the existing test renamed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
FreeRADIUS__freeradius-server__3949 | FreeRADIUS/freeradius-server | 3,949 | defect | 61611a3c3a409fc67673f9854bd079db9b78ccdd | 22a850d985e8de74597f10f8686308b0af6cb433 | Add rbtree_iter_delete() and corresponding test. | rbtree_iter_delete() deletes the current node in an iterator
and remembers the next one; rbtree_iter_next_inorder() notices
when that's happened and uses the saved node, otherwise it
behaves as usual. | diff --git a/src/lib/util/rbtree.c b/src/lib/util/rbtree.c
index 8932aa0a3f9e..128ee8d4f0dd 100644
--- a/src/lib/util/rbtree.c
+++ b/src/lib/util/rbtree.c
@@ -916,6 +916,17 @@ void *rbtree_iter_next_inorder(fr_rb_tree_iter_t *iter)
*/
if (unlikely(iter->node == NIL)) return NULL;
+ /*
+ * rbtree_iter_delete() h... | 2 | 2 | 2 | [{"id": "G0", "claim": "Fix up the iterator initialisers to store a copy of the iterator's next-function pointer in the iterator struct and have rbtree_iter_delete() call that, so that deletion during iteration works for all iterator types instead of only in-order ones.", "category": "design", "verdict": "supported", "... | null |
FreeRADIUS__freeradius-server__5257 | FreeRADIUS/freeradius-server | 5,257 | defect | 29d95aee948815f2f417fee3d01e3b25c97a27a2 | abd0a10b6cd2f7426191100e7c9dd17ea805d099 | Fix typos in src | Misspellings found by [codespell](https://github.com/codespell-project/codespell).
I have tried not to modify vendored/generated files that are clearly maintained elsewhere. Needs double-checking though. | diff --git a/src/bin/checkrad.in b/src/bin/checkrad.in
index fe70343874ae..edcf143b0a92 100644
--- a/src/bin/checkrad.in
+++ b/src/bin/checkrad.in
@@ -321,7 +321,7 @@ sub strip_username {
# between Acct-Session-ID so can't be used to identify and 802.1X session (we ignore it).
#
# If a session matching the username ... | 3 | 2 | 0 | [{"id": "G0", "claim": "The PR's amendment of the MikroTik comment in src/bin/checkrad.in is incorrect - it should read 'RouterOS' (the product name), not 'router'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The amended @brief in src/lib/unlan... | null |
FreeRDP__FreeRDP__10511 | FreeRDP/FreeRDP | 10,511 | defect | 00eb86970d12b7692b9b64dbb2fe696246e6e364 | bbdb59232a9b8b4c3e9a460ec9fa382a41a2a83b | [channels,rail] simplify sending | * Fix #5347: Do not create useless copy of data to send.
| diff --git a/channels/rail/client/rail_main.c b/channels/rail/client/rail_main.c
index 3878807ca590..b1e0b30ae5f3 100644
--- a/channels/rail/client/rail_main.c
+++ b/channels/rail/client/rail_main.c
@@ -82,23 +82,13 @@ static UINT rail_send(railPlugin* rail, wStream* s)
*/
UINT rail_send_channel_data(railPlugin* rai... | 1 | 1 | 1 | [{"id": "G0", "claim": "The line added in rail_send_client_compartment_info_order reads `if (ERROR_SUCCESS != = error)`, a syntax error that clang-tidy reports as 'expected expression' and which breaks compilation.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
FreeRDP__FreeRDP__11086 | FreeRDP/FreeRDP | 11,086 | defect | 87e6ceca988b8e0ee581301e43523b8404c3fb00 | 9b2094ede9fe4d7dfc738edcd78a8a2f72e6f1fb | [primitives,yuv] allow odd height for YUV | rails mode often submits odd resolution heights, so support these in RGB2YUV and YUV2RGB conversions. | diff --git a/libfreerdp/primitives/prim_YUV.c b/libfreerdp/primitives/prim_YUV.c
index fe4fc09ca19a..7240e852e83b 100644
--- a/libfreerdp/primitives/prim_YUV.c
+++ b/libfreerdp/primitives/prim_YUV.c
@@ -717,6 +717,31 @@ static void BGRX_fillYUV(size_t offset, const BYTE* WINPR_RESTRICT pRGB[2],
pV[0][offset] = CONDIT... | 3 | 3 | 0 | [{"id": "G0", "claim": "clang-tidy warning: 'last' is stored during its initialization and never read (dead store) in the added odd-row loop of general_RGBToAVC444YUV_RGBX.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "clang-tidy warning: 'i' i... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.