base_commit
stringlengths
40
40
created_at
stringdate
2014-12-24 09:18:48
2025-10-28 22:36:38
image_name
stringlengths
39
88
instance_id
stringlengths
11
60
interface
stringlengths
33
16.8k
language
stringclasses
16 values
license
stringclasses
13 values
patch
stringlengths
275
32k
pr_description
stringlengths
0
37.8k
problem_statement
stringlengths
0
235k
repo
stringlengths
6
55
test_patch
stringlengths
205
31.9k
FAIL_TO_PASS
listlengths
1
28.8k
PASS_TO_PASS
listlengths
0
24.6k
install_config
dict
meta
dict
f52f0bf3d18ca418d1eec4afd1370751fdd914ce
2021-06-22 22:21:33
prime/primeintellect/elastic-synthetics:316-f52f0bf
elastic__synthetics-316
No new interfaces are introduced.
ts
MIT
diff --git a/src/core/runner.ts b/src/core/runner.ts index 2872cf5..649a22a 100644 --- a/src/core/runner.ts +++ b/src/core/runner.ts @@ -131,6 +131,7 @@ export default class Runner extends EventEmitter { journeys: Journey[] = []; hooks: SuiteHooks = { beforeAll: [], afterAll: [] }; screenshotPath = join(CACHE_...
fix: capture beforeAll hook errors + fix #280 + We capture the beforeAll hook errors and any error that happens in any one of the hooks would be captured and all journeys that run on the current invocation will report that error event with `failed` status to be able to captured as part of the Uptime UI. + `afterAll...
propagate errors from `beforeAll` and `afterAll` hooks + Now error in the `beforeAll` and `afterAll` hooks would be captured and reported as error, but they will not be associated with the reporters in the correct way. + Without associating these errors, the Uptime UI will have no information about what happened duri...
elastic/synthetics
diff --git a/__tests__/core/runner.test.ts b/__tests__/core/runner.test.ts index a60b6ed..d4ba7d9 100644 --- a/__tests__/core/runner.test.ts +++ b/__tests__/core/runner.test.ts @@ -147,6 +147,23 @@ describe('runner', () => { }); }); + it('run journey - failed on beforeAll', async () => { + const error = n...
[ "run journey - failed on beforeAll" ]
[ "log to specified fd", "computes trace of the tab", "compute user timing metrics", "compute user experience trace and metrics", "computes layout shift", "computes cls with session window", "calculate cls score with simulated sessions", "cls to 0 when no events found", "computes filmstrips", "add s...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci --quiet" ], "log_parser": "parse_log_js_4", "test_cmd": "npm run test:unit -- --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a9b06a635a7d3458c8e2ed2b10cc3fd1e02b5f37
2021-03-03 15:16:02
prime/primeintellect/webpack-contrib-copy-webpack-plugin:590-a9b06a6
webpack-contrib__copy-webpack-plugin-590
Function: pattern.priority Location: src/options.json (pattern object schema) and documentation README.md Inputs: number priority – optional numeric value; defaults to 0 if omitted. Must be a finite number. Outputs: The value is stored on the pattern and used by CopyPlugin to order asset emission; higher numbers are em...
js
MIT
diff --git a/README.md b/README.md index af0b3ea..b20837a 100644 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ module.exports = { | [`filter`](#filter) | `{Function}` | `undefined` | Allows to filter copied assets. ...
Feat: added `priority` option <!-- HOLY CRAP a Pull Request. We ❤️ those! If you remove or skip this template, you'll make the 🐼 sad and the mighty god of Github will appear and pile-drive the close button from a great height while making animal noises. Please place an x (no spaces!) in all [ ] that...
[Feature] Add order option Hello, In a project I am developing, I have an issue with copying files with the same name from multiple sources. Configuration of copy webpack plugin is as follows: ``` new CopyWebpackPlugin([ { from: 'node_modules/engine/static', test: /\.(css|html|png)$/, force: true }...
webpack-contrib/copy-webpack-plugin
diff --git a/test/__snapshots__/validate-options.test.js.snap b/test/__snapshots__/validate-options.test.js.snap index a08f0ef..fd384cb 100644 --- a/test/__snapshots__/validate-options.test.js.snap +++ b/test/__snapshots__/validate-options.test.js.snap @@ -14,7 +14,7 @@ exports[`validate options should throw an error o...
[ "should successfully validate the \"patterns\" option with \"[{\"from\":\"test.txt\",\"to\":\"dir\",\"priority\":5}]\" value", "should throw an error on the \"patterns\" option with \"undefined\" value", "should throw an error on the \"patterns\" option with \"true\" value", "should throw an error on the \"pa...
[ "should exported", "should successfully validate the \"patterns\" option with \"[\"test.txt\"]\" value", "should successfully validate the \"patterns\" option with \"[\"test.txt\",\"test-other.txt\"]\" value", "should successfully validate the \"patterns\" option with \"[\"test.txt\",{\"from\":\"test.txt\",\"...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2ad5f638789af3e37a3a07ed3f4d4938a8209ed4
2024-08-15 19:30:10
prime/primeintellect/bvanelli-actualpy:56-2ad5f63
bvanelli__actualpy-56
Method: ActionType.SET_SPLIT_AMOUNT Location: actual.rules (enum ActionType) Inputs: None (enum member) Outputs: Enum value representing the “set‑split‑amount” operation (string value `"set-split-amount"`). Used by Action.op to trigger split‑amount handling. Method: Condition.get_value(self) → Any Location: actual.rul...
python
MIT
diff --git a/actual/__init__.py b/actual/__init__.py index 3ae112c..564c3a7 100644 --- a/actual/__init__.py +++ b/actual/__init__.py @@ -402,7 +402,7 @@ class Actual(ActualServer): def run_rules(self): ruleset = get_ruleset(self.session) - transactions = get_transactions(self.session) + tr...
feat: Implement custom set split amount rules. Closes #53
Operation ActionType.SET_SPLIT_AMOUNT not supported ### Description I've a rule that given a certain payee, it creates a split transaction of 50% each. it seems that the code here is not supporting it. is there a way to support this or a hint on how i can create a pr?
bvanelli/actualpy
diff --git a/tests/test_rules.py b/tests/test_rules.py index bc28ec9..71d22c4 100644 --- a/tests/test_rules.py +++ b/tests/test_rules.py @@ -5,6 +5,7 @@ from unittest.mock import MagicMock import pytest from actual import ActualError +from actual.exceptions import ActualSplitTransactionError from actual.queries im...
[ "tests/test_rules.py::test_category_rule", "tests/test_rules.py::test_datetime_rule", "tests/test_rules.py::test_string_condition", "tests/test_rules.py::test_numeric_condition", "tests/test_rules.py::test_complex_rule", "tests/test_rules.py::test_invalid_inputs", "tests/test_rules.py::test_value_type_c...
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
db37bd27a105006980e5a4788acc23c6de9225df
2023-12-06 22:00:23
prime/primeintellect/rust-bitcoin-rust-bitcoin:2255-db37bd2
rust-bitcoin__rust-bitcoin-2255
Method: Script.minimal_non_dust(&self) Location: impl Script in bitcoin::blockdata::script::borrowed.rs Inputs: self – a reference to the Script whose dust threshold is being queried. Outputs: crate::Amount – the minimum value an output with this script must have to be non‑dust, calculated using the default dust‑relay‑...
rust
CC0-1.0
diff --git a/bitcoin/src/blockdata/script/borrowed.rs b/bitcoin/src/blockdata/script/borrowed.rs index 117e34d0..828a23b9 100644 --- a/bitcoin/src/blockdata/script/borrowed.rs +++ b/bitcoin/src/blockdata/script/borrowed.rs @@ -10,6 +10,7 @@ use secp256k1::{Secp256k1, Verification}; use super::PushBytes; +use crate:...
Fix: TxOut::minimal_non_dust and Script::dust_value Fixes #2192 TxOut::minimal_non_dust has 3 problems. 1. There is an invisible dependency on Bitcoin Core's default minrelaytxfee value. It has been made explicit. 2. There is an off by one error. The dust limit comparison uses < and therefore `+ 1` was not need...
`Script::dust_value` method name disagrees with the documentation Dust is a value that is not economically spendable and can not be broadcasted. The method is called `dust_value` which suggest it returns a value that is too small (and always returning 0 would be a valid implementation) but the documentation says "Retur...
rust-bitcoin/rust-bitcoin
diff --git a/bitcoin/src/blockdata/script/tests.rs b/bitcoin/src/blockdata/script/tests.rs index c0a4c10b..e0a60f4e 100644 --- a/bitcoin/src/blockdata/script/tests.rs +++ b/bitcoin/src/blockdata/script/tests.rs @@ -6,6 +6,7 @@ use hex_lit::hex; use super::*; +use crate::FeeRate; use crate::blockdata::opcodes; use...
[ "address::tests::invalid_address_parses_error", "address::tests::test_fail_address_from_script", "address::tests::test_address_debug", "address::tests::test_address_type", "address::tests::test_is_related_to_pubkey_p2pkh_uncompressed_key", "address::tests::test_is_related_to_pubkey_p2pkh", "address::tes...
[]
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": "1.89.0", "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
db0bbaa5c604fd8efdd4618de47d4c1205097ce5
2020-07-03 10:55:29
prime/primeintellect/filecoin-project-specs-actors:592-db0bbaa
filecoin-project__specs-actors-592
Method: Actor.AddBalance(rt Runtime, providerOrClientAddress *addr.Address) *adt.EmptyValue Location: actors/builtin/market/market_actor.go Inputs: - rt: Runtime providing execution context, including the message value received. - providerOrClientAddress: *addr.Address of the provider or client whose escrow balance is...
go
custom-check-github
diff --git a/actors/builtin/market/market_actor.go b/actors/builtin/market/market_actor.go index 48ceeb2e..dc06f931 100644 --- a/actors/builtin/market/market_actor.go +++ b/actors/builtin/market/market_actor.go @@ -118,11 +118,15 @@ func (a Actor) WithdrawBalance(rt Runtime, params *WithdrawBalanceParams) *adt.E // ...
Add balance should not be called with negative value Closes #591
Market: AddBalance should fail on being passed a negative amount Currently, this would work.
filecoin-project/specs-actors
diff --git a/actors/builtin/market/market_test.go b/actors/builtin/market/market_test.go index d94fa03c..ec8bd074 100644 --- a/actors/builtin/market/market_test.go +++ b/actors/builtin/market/market_test.go @@ -126,6 +126,19 @@ func TestMarketActor(t *testing.T) { } }) + t.Run("fails when called with negative...
[ "TestMarketActor", "TestMarketActor/AddBalance", "TestMarketActor/AddBalance/fails_when_called_with_negative_value" ]
[ "TestPieceSize", "TestBitFieldUnset", "TestBitFieldContains", "TestSectorSizeString", "TestSectorSizeShortString", "TestBigIntSerializationRoundTrip", "TestNewInt", "TestInt_MarshalUnmarshalJSON", "TestOperations", "TestOperations/Sum", "TestOperations/Sub", "TestOperations/Mul", "TestOperat...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
b4d790dd57b324c20ea9031b4769ba4d75ecd691
2025-02-24 20:09:20
prime/primeintellect/aws-cloudformation-cfn-lint:3965-b4d790d
aws-cloudformation__cfn-lint-3965
No new interfaces are introduced.
python
MIT-0
diff --git a/src/cfnlint/rules/functions/RefFormat.py b/src/cfnlint/rules/functions/RefFormat.py index c734e6403..64a9b651b 100644 --- a/src/cfnlint/rules/functions/RefFormat.py +++ b/src/cfnlint/rules/functions/RefFormat.py @@ -8,6 +8,7 @@ from __future__ import annotations from copy import deepcopy from typing impo...
Ignore custom resource Ref *Issue #, if available:* fix #3964 *Description of changes:* - Update E1041 to ignore custom resources when using a Ref By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
aws::ec2::networkinterface E1041 bug ### CloudFormation Lint Version 1.25.1 ### What operating system are you using? windows ### Describe the bug [cfn-lint] E1041: {'Ref': 'EniSg'} does not match destination format of 'AWS::EC2::SecurityGroup.Id' the custom function finds the SG Id and returns it for a !Ref in o...
aws-cloudformation/cfn-lint
diff --git a/test/unit/rules/functions/test_ref_format.py b/test/unit/rules/functions/test_ref_format.py index 9e13087c0..5c7b26013 100644 --- a/test/unit/rules/functions/test_ref_format.py +++ b/test/unit/rules/functions/test_ref_format.py @@ -21,6 +21,7 @@ def template(): "Resources": { "MyBucke...
[ "test/unit/rules/functions/test_ref_format.py::test_validate[Valid" ]
[ "test/unit/rules/functions/test_ref_format.py::test_validate[Invalid" ]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
6116ec6685b33652e9e25def9b8897ed4b015c7d
2024-08-15 16:07:43
prime/primeintellect/editorconfig-checker-editorconfig-checker:360-6116ec6
editorconfig-checker__editorconfig-checker-360
Method: ValidationError.Equal(self, error2 ValidationError) bool Location: pkg/error/error.go Inputs: - receiver ValidationError (the error to compare) - error2 ValidationError – the other error to compare against Outputs: bool – true if both errors have identical message text, line number, and AdditionalIdenticalErro...
go
MIT
diff --git a/.gitignore b/.gitignore index 48ec4f0..adf17e0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ editorconfig-checker.test coverage.txt result-bin path +node_modules diff --git a/README.md b/README.md index 10115c2..b4b687b 100644 --- a/README.md +++ b/README.md @@ -138,9 +138,15 @@ If you run th...
feat: consolidate adjacent error messages This changes the human output format to collect multiple identical error messages on consecutive lines into one error message that list both the starting and ending line. This is still missing a properly written testcase, I so far only tested with make (cd tes...
it would be nice if editorconfig-checker could collect instances of the same issues found in adjacent lines into a single report line I've just put a bunch of generated json documents into one of our repositories, but forgot to either ignore them or adjust their indentation to fit our editorconfig. However this lead...
editorconfig-checker/editorconfig-checker
diff --git a/pkg/error/__snapshots__/pathseparator-backslash/error_test.snap b/pkg/error/__snapshots__/pathseparator-backslash/error_test.snap new file mode 100644 index 0000000..3f3bc0f --- /dev/null +++ b/pkg/error/__snapshots__/pathseparator-backslash/error_test.snap @@ -0,0 +1,47 @@ + +[TestFormatErrors - 1] +[]log...
[ "TestGetErrorCount", "TestValidationErrorEqual", "TestConsolidateErrors", "TestFormatErrors", "TestLoggerDebug", "TestLoggerVerbose", "TestLoggerWarning", "TestWarning", "TestLoggerOutput", "TestOutput", "TestLoggerError", "TestError", "TestPrintLogMessage" ]
[ "TestNewConfig", "TestGetExcludesAsRegularExpression", "TestMerge", "TestParse", "TestSave", "TestGetAsString", "TestDecodeBytesText", "TestIsBinaryFile", "TestGetContentType", "TestIsAllowedContentType", "TestPathExists", "TestGetRelativePath", "TestAddToFiles", "TestGetFiles", "TestGet...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.24.7", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
41a48da66062b4e948ef1f6ce5183d2752304ecf
2015-04-08 12:07:19
prime/primeintellect/mozilla-services-cliquet:203-41a48da
mozilla-services__cliquet-203
Function: initialize(config, version=None, project_name=None, default_settings=None) Location: cliquet/__init__.py Inputs: - **config**: a `Configurator` instance whose `add_settings` and `get_settings` methods are used. - **version** *(optional)*: string specifying the application version. - **project_name** *(option...
python
custom-check-github
diff --git a/cliquet/__init__.py b/cliquet/__init__.py index 2392479f..4ed489ed 100644 --- a/cliquet/__init__.py +++ b/cliquet/__init__.py @@ -301,7 +301,7 @@ def initialize_cliquet(*args, **kwargs): initialize(*args, **kwargs) -def initialize(config, version=None, project_name=None): +def initialize(config, v...
Provide default settings in initialize (fixes #136)
Provide extra default settings in initialize_cliquet In order to extend and override cliquet default settings in applications.
mozilla-services/cliquet
diff --git a/cliquet/tests/test_initialization.py b/cliquet/tests/test_initialization.py index 6b4b1496..22a7c4b4 100644 --- a/cliquet/tests/test_initialization.py +++ b/cliquet/tests/test_initialization.py @@ -59,6 +59,12 @@ class InitializationTest(unittest.TestCase): self.assertEqual(config.registry.setting...
[ "cliquet/tests/test_initialization.py::InitializationTest::test_overriden_default_settings" ]
[ "cliquet/tests/test_initialization.py::InitializationTest::test_environment_values_override_configuration", "cliquet/tests/test_initialization.py::InitializationTest::test_fails_if_no_version_is_specified", "cliquet/tests/test_initialization.py::InitializationTest::test_fails_if_specified_version_is_not_string"...
{ "base_image_name": "python_base_37", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
c5a300a4357d40d202f92dd08894ea520f2ade3f
2025-02-08 09:28:44
prime/primeintellect/sissbruecker-linkding:984-c5a300a
sissbruecker__linkding-984
No new interfaces are introduced.
python
MIT
diff --git a/bookmarks/templates/bookmarks/head.html b/bookmarks/templates/bookmarks/head.html index b28a1ca..c83d16e 100644 --- a/bookmarks/templates/bookmarks/head.html +++ b/bookmarks/templates/bookmarks/head.html @@ -36,5 +36,8 @@ {% if not request.global_settings.enable_link_prefetch %} <meta name="turbo-p...
Add RSS link to shared bookmarks page Closes #879
[New feature] Add a link to public RSS from public bookmarks page Hello! This is my first issue. I recently set up a public page with shared bookmarks and invited friends to follow my public RSS, but then I realized that the public RSS URL is only available in settings. I think it should be possible for a user looki...
sissbruecker/linkding
diff --git a/bookmarks/tests/test_bookmark_archived_view.py b/bookmarks/tests/test_bookmark_archived_view.py index 040a5f8..e6d92fb 100644 --- a/bookmarks/tests/test_bookmark_archived_view.py +++ b/bookmarks/tests/test_bookmark_archived_view.py @@ -503,3 +503,10 @@ class BookmarkArchivedViewTestCase( self.asse...
[ "bookmarks/tests/test_bookmark_shared_view.py::BookmarkSharedViewTestCase::test_includes_public_shared_rss_feed" ]
[ "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase::test_allowed_bulk_actions", "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase::test_allowed_bulk_actions_with_sharing_enabled", "bookmarks/tests/test_bookmark_archived_view.py::BookmarkArchivedViewTestCase...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
76bf5e7ddae7e9bc05c1763eb750d237104beccd
2023-06-21 16:49:54
prime/primeintellect/kiegroup-github-action-build-chain:446-76bf5e7
kiegroup__github-action-build-chain-446
Function: executeCommand(node: NodeExecution, command: string, opts?: ExecOptions) → Promise<ExecuteCommandResult> Location: src/service/command/execute-command-service.ts (method of class ExecuteCommandService) Inputs: - **node** – the NodeExecution being processed (provides project, depth, etc.). - **command** – the ...
ts
null
diff --git a/package-lock.json b/package-lock.json index 4df6100..72ae3af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kie/build-chain-action", - "version": "3.3.0", + "version": "3.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name...
fix: fail fast should stop execution if any phase fails Fixes #445
fail fast does not stop command execution once the `BEFORE` command fails ``` [BEFORE] [kiegroup/kogito-runtimes] bash -c "if [ ! -z 'quarkus-3' ] && [ -f .ci/environments/update.sh ]; then .ci/environments/update.sh quarkus-3 rewrite push_changes; fi" [INFO] NOT OK [Executed in 1235095.288113 ms] [ERROR] The pr...
kiegroup/github-action-build-chain
diff --git a/test/unitary/service/command/execute-command-service.test.ts b/test/unitary/service/command/execute-command-service.test.ts index 83f58c1..33ef8e1 100644 --- a/test/unitary/service/command/execute-command-service.test.ts +++ b/test/unitary/service/command/execute-command-service.test.ts @@ -2,7 +2,7 @@ imp...
[ "phase: \"before: sequential: fail fast\"", "phase: \"current: parallel: fail fast\"" ]
[ "treatCommand", "start no end", "start and end", "\"cross_pr\"", "\"full_downstream\"", "\"single_pr\"", "\"branch\"", "\"invalid\"", "\"info\"", "\"trace\"", "\"debug\"", "undefined input should return undefined instead of \"empty string\"", "undefined input should return undefined instead ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest unitary/ --no-color --verbose" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4d9ecf757c7fa76e0f95fbc86083aaf439bde5f2
2024-08-04 14:44:59
prime/primeintellect/epiforecasts-scoringutils:882-4d9ecf7
epiforecasts__scoringutils-882
Function: quantile_score(observed, predicted, quantile_level, separate_results = FALSE, output = c("matrix", "data.frame", "vector")) Location: R/metrics-quantile.R Inputs: - **observed**: numeric vector of length *n* (or matrix with *n* rows) containing observed values. - **predicted**: numeric matrix of size *n × N* ...
r
custom-check-github
diff --git a/NAMESPACE b/NAMESPACE index 364bc6522..23c7325aa 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -104,6 +104,7 @@ importFrom(checkmate,check_number) importFrom(checkmate,check_numeric) importFrom(checkmate,check_set_equal) importFrom(checkmate,check_vector) +importFrom(checkmate,test_atomic_vector) importFro...
<!-- Thanks for opening this pull request! Below we have provided a suggested template for PRs to this repository and a checklist to complete before opening a PR --> ## Description This PR closes #878. As discussed in #878, the quantile score didn't actually work for a vector input for `predicted`. This PR fi...
Fix `quantile_score()` The current `quantile_score()` doesn't work with a single vector as an input. The following line ``` tau_diff <- sweep(obs_smaller_pred, 2, quantile_level) ``` needs to be changed to ``` if (is.atomic(observed)) { tau_diff <- ifelse(obs_smaller_pred, 1 - quantile_level, quantile_...
epiforecasts/scoringutils
diff --git a/tests/testthat/test-metrics-quantile.R b/tests/testthat/test-metrics-quantile.R index b02637993..6b1a12fba 100644 --- a/tests/testthat/test-metrics-quantile.R +++ b/tests/testthat/test-metrics-quantile.R @@ -950,3 +950,22 @@ test_that("ae_median_quantile() works as_expected", { dim(1:10) }) + + + +# ...
[ "metrics-quantile" ]
[ "Context", "convenience-functions", "default-scoring-rules", "forecast", "get_-functions", "get_correlations", "input-check-helpers", "inputs-scoring-functions", "metrics-binary", "metrics-point", "metrics-sample", "metrics-validate", "pairwise_comparison", "pit" ]
{ "base_image_name": "r_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "java...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
95b2de37ae7ea2cde50b23dfd657938a4cf60d25
2023-11-27 19:02:52
prime/primeintellect/pytest-dev-pyfakefs:916-95b2de3
pytest-dev__pyfakefs-916
Method: FakeOsModule.walk(self, top, topdown=True, onerror=None, followlinks=False) Location: pyfakefs/fake_os.py (exposed through the FakeOsModule instance as ``os``) Inputs: - **top** – a path‑like object (str or ``pathlib.Path``) designating the directory to walk. - **topdown** (bool, default True) – traversal orde...
python
Apache-2.0
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9ae289..de4595e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: - flake8-bugbear args: ["--extend-ignore=E203", "--max-line-length=88"] - repo: https://github.com/pre-commit/mirrors-m...
Fix result of os.walk with a path-like top directory - used to return a Path object for the top dir instead of a string - fixes #915 #### Tasks - [x] Unit tests added that reproduce the issue or prove feature is working - [x] Fix or feature added - [x] Entry to release notes added - [x] Pre-commit CI shows no e...
FakeOsModule.walk return a (Path, list, list) generator instead of a (str, list, list) when a pathlib object is used as input **Describe the bug** method FakeOsModule.walk of <pyfakefs.fake_os.FakeOsModule> is returning a Path object as first element instead of a string as the os.walk method do. **How To Reproduce*...
pytest-dev/pyfakefs
diff --git a/pyfakefs/tests/fake_pathlib_test.py b/pyfakefs/tests/fake_pathlib_test.py index 81ebdfd..15bb7a0 100644 --- a/pyfakefs/tests/fake_pathlib_test.py +++ b/pyfakefs/tests/fake_pathlib_test.py @@ -1139,6 +1139,18 @@ class FakePathlibUsageInOsFunctionsTest(RealPathlibTestCase): with self.assertRaises(No...
[ "pyfakefs/tests/fake_pathlib_test.py::FakePathlibUsageInOsFunctionsTest::test_walk" ]
[ "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_init_collapse", "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_init_with_segments", "pyfakefs/tests/fake_pathlib_test.py::FakePathlibInitializationTest::test_initialization_type", "pyfakefs/tests/fake_pathlib_...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
d89ad1ef9f01f2c6b69268adc3ddcee5d8972b6b
2021-06-04 12:29:14
prime/primeintellect/weaveworks-eksctl:3810-d89ad1e
weaveworks__eksctl-3810
Function: New(cfg *api.ClusterConfig, ctl *eks.ClusterProvider, clientSet kubernetes.Interface) *Manager Location: pkg/actions/nodegroup/nodegroup.go Inputs: cfg – cluster configuration; ctl – provider wrapper; clientSet – any implementation of kubernetes.Interface (e.g., real clientset or a fake for testing) Outputs: ...
go
custom-check-github
diff --git a/pkg/actions/nodegroup/get.go b/pkg/actions/nodegroup/get.go index a67e94b5c..4be30899a 100644 --- a/pkg/actions/nodegroup/get.go +++ b/pkg/actions/nodegroup/get.go @@ -10,6 +10,7 @@ import ( "github.com/kris-nova/logger" "github.com/pkg/errors" "github.com/weaveworks/eksctl/pkg/cfn/manager" + kubewra...
Return k8s version when listing nodegroup(s) ### Description <!-- Please explain the changes you made here. Help your reviewers my guiding them through your key changes, implementation decisions etc. You can even include snippets of output or screenshots. A good, clear description == a faster review :) -->...
Return k8s version when listing nodegroup(s) Currently, the k8s version of a nodegroup is not returned when doing `get nodegroup`. The nodegroup's version can only be retrieved by checking through the AWS console.
weaveworks/eksctl
diff --git a/integration/tests/crud/creategetdelete_test.go b/integration/tests/crud/creategetdelete_test.go index 9eb5d576a..252bfd040 100644 --- a/integration/tests/crud/creategetdelete_test.go +++ b/integration/tests/crud/creategetdelete_test.go @@ -285,6 +285,7 @@ var _ = Describe("(Integration) Create, Get, Scale ...
[ "TestNodegroup", "TestKubernetes", "TestConcatManifests" ]
[ "TestAddon", "TestCluster", "TestFargate", "TestGitops", "TestEKS", "TestIRSA", "TestLabel", "TestAddonsDefault", "TestAMI", "TestUseAMI", "TestUseAMI/0:_Root_device_mapping_not_at_index_0_(Windows_AMIs_in_some_regions)", "TestUseAMI/1:_Only_one_device_mapping_(AL2_AMIs)", "TestUseAMI/2:_Dif...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
b885ed9487534c5a51647ec09dbcb10a12a2637d
2025-03-12 13:57:25
prime/primeintellect/andregasser-bigbone:533-b885ed9
andregasser__bigbone-533
Method: Scope.contains(scopeName: Scope.Name) Location: class Scope (social.bigbone.api.Scope) Inputs: `scopeName` – an individual scope enum value (e.g., `Scope.READ.ACCOUNTS`). Must not be null. Outputs: Returns `true` if the current Scope instance directly includes the given name or includes its parent scope (...
kotlin
MIT
diff --git a/bigbone/src/main/kotlin/social/bigbone/api/Scope.kt b/bigbone/src/main/kotlin/social/bigbone/api/Scope.kt index abc727746..4925c5d2d 100644 --- a/bigbone/src/main/kotlin/social/bigbone/api/Scope.kt +++ b/bigbone/src/main/kotlin/social/bigbone/api/Scope.kt @@ -18,6 +18,35 @@ class Scope(private vararg val s...
# Description Allow comparison between different scopes, both created by the library as well as returned by Mastodon, including: - contains(scopeName) to check for individual scopes - isSubsetOf(scope) to compare two scopes - Scope.fromString(scopeString) to create Scope from string (for example returned by Masto...
Allow comparison between scopes Mastodon documentation states that a requested scope may be a subset of a previously allowed scope. For example, an application might be created with the scope `read`, but a specific access token later requested by the app for a specific user might be restricted to `read:accounts`. It w...
andregasser/bigbone
diff --git a/bigbone/src/test/kotlin/social/bigbone/api/ScopeTest.kt b/bigbone/src/test/kotlin/social/bigbone/api/ScopeTest.kt new file mode 100644 index 000000000..9e81339d6 --- /dev/null +++ b/bigbone/src/test/kotlin/social/bigbone/api/ScopeTest.kt @@ -0,0 +1,126 @@ +package social.bigbone.api + +import org.amshove.k...
[ "deserialize() (social.bigbone.api.entity.MediaAttachmentTest)", "Dismiss an announcement and verify that the method was called correctly() (social.bigbone.api.method.AnnouncementMethodsTest)", "Dismiss announcement with exception() (social.bigbone.api.method.AnnouncementMethodsTest)", "Add reaction to announ...
[]
{ "base_image_name": "kotlin-jdk-21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
00893744eb56d0e44fa7f59ea28dd3e0da8ff0e8
2024-01-05 15:00:14
prime/primeintellect/projectlombok-lombok:3578-0089374
projectlombok__lombok-3578
Method: AbstractRunTests.transformCode(File file, TestParameters parameters) → TransformationResult Location: test/core/src/lombok/AbstractRunTests.java (abstract method) Inputs: - file : java.io.File – the source file to be processed. - parameters : lombok.TestParameters – container for per‑test settings (encoding, f...
java
custom-check-github
diff --git a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java index dd646e57..9411b9ba 100644 --- a/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java +++ b/src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java @@ -1,5 +1,5 @@ /* - * Copyright...
Handle field initializer in diet mode This PR fixes #1443 The eclipse parser disables diet parse for field initializers, and if one of these initializers contains an anonymous type, it may also contain a method with a lombok annotation. In some cases, eclipse will resolve the bindings after the diet parse and lombok...
NullPointerException in Eclipse Oxygen Generally, using SneakyThrows and NonNull in anonymous classes cause the eclipse compiler to throw NullPointerExceptions. The smallest reproduction I could figure out so far is to have a fresh 'Java' eclipse oxygen, using JDK7 as the workspace default JDK, create a new standard J...
projectlombok/lombok
diff --git a/test/core/src/lombok/AbstractRunTests.java b/test/core/src/lombok/AbstractRunTests.java index 51ec41c5..0cb379ff 100644 --- a/test/core/src/lombok/AbstractRunTests.java +++ b/test/core/src/lombok/AbstractRunTests.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2018 The Project Lombok Authors. + * Copyright...
[ "ecj-LockedInInitializer.java(lombok.transform.TestWithEcj)", "ecj-SneakyThrowsInInitializer.java(lombok.transform.TestWithEcj)", "ecj-SynchronizedInInitializer.java(lombok.transform.TestWithEcj)" ]
[ "testUsesMethodWithName(lombok.bytecode.TestClassFileMetaData)", "testUsesMethodWithNameAndDescriptor(lombok.bytecode.TestClassFileMetaData)", "testContainsLong(lombok.bytecode.TestClassFileMetaData)", "testContainsFloat(lombok.bytecode.TestClassFileMetaData)", "testGetInterfaces(lombok.bytecode.TestClassFi...
{ "base_image_name": "java_21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
869e35e978164cdff43e1b2135553bb0e76cc57a
2020-10-09 10:24:58
prime/primeintellect/sveltejs-prettier-plugin-svelte:152-869e35e
sveltejs__prettier-plugin-svelte-152
No new interfaces are introduced.
ts
MIT
diff --git a/src/print/index.ts b/src/print/index.ts index 5b121a5..8bcaba0 100644 --- a/src/print/index.ts +++ b/src/print/index.ts @@ -16,8 +16,8 @@ import { isNodeSupportedLanguage, isLoneMustacheTag, isOrCanBeConvertedToShorthand, - getNextNode, - getNodeEnd, + isIgnoreDirective, + doesEm...
Next line after comment would not be formatted Fixes #151. There were two bugs here: * every comment was treated as a `prettier-ignore-next` attribute * the detection of whether the next node was an embedded node that had been removed from the AST did not work when the comment was the last child node
HTML comments inside svelte markup cause formatting to fail **Describe the bug** HTML comments inside svelte markup prevents remaining markup from being formatted. **To Reproduce** For example (with `"svelteStrictMode": true`) this: ```svelte <Component foo={bar} /> <!-- comment --> <Component fo...
sveltejs/prettier-plugin-svelte
diff --git a/test/formatting/samples/prettier-ignore/input.html b/test/formatting/samples/prettier-ignore/input.html index dec7f44..8d3ab56 100644 --- a/test/formatting/samples/prettier-ignore/input.html +++ b/test/formatting/samples/prettier-ignore/input.html @@ -1,3 +1,4 @@ <!-- prettier-ignore --> <div id="x" clas...
[ "formatting › index.ts › formatting: prettier-ignore" ]
[ "formatting › index.ts › formatting: allow-shorthand-false", "formatting › index.ts › formatting: attribute-add-quotes", "formatting › index.ts › formatting: attribute-convert-single-quotes", "formatting › index.ts › formatting: attribute-with-linebreaks", "formatting › index.ts › formatting: attribute-wrap...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js", "test_cmd": "npx ava --verbose" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
b2dc1f70fc5c9f4da81983b1ecda66486263c872
2023-03-23 18:40:36
prime/primeintellect/awslabs-aws-ddk:284-b2dc1f7
awslabs__aws-ddk-284
No new interfaces are introduced.
ts
Apache-2.0
diff --git a/src/config/configurator.ts b/src/config/configurator.ts index 48739bc..fc0f8ab 100644 --- a/src/config/configurator.ts +++ b/src/config/configurator.ts @@ -116,7 +116,9 @@ class ConfiguratorAspect implements cdk.IAspect { node.addPropertyOverride(this.propertyName, this.propertyValue); } - ...
feat: configuration by resource ids ### Relates - Closes #278 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Configurator doesnt work as expected when using resource-ids ### Describe the bug Configurator has 2 ways of working with either resource ids or globally using service like AWS::Lambda::Function. The former is needed to ensure each instance of resource can be given distinctive attributes if needed. Currently if resour...
awslabs/aws-ddk
diff --git a/test/config.test.ts b/test/config.test.ts index 285bf47..375b121 100644 --- a/test/config.test.ts +++ b/test/config.test.ts @@ -1,10 +1,11 @@ import { assert } from "console"; import path from "path"; import * as cdk from "aws-cdk-lib"; -import { Template } from "aws-cdk-lib/assertions"; +import { Match...
[ "Config Override By Id" ]
[ "KMS Defaults", "S3EventStage created the event pattern without a prefix", "S3EventStage created the event pattern with a prefix", "S3EventStage created the event pattern with a list of prefixes", "S3EventStage created the event pattern with multiple buckets", "S3EventStage created the event pattern for m...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --no-color --verbose" }
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
89add66178d8b276fa5b50bf58e23d0894054686
2020-04-20 21:47:12
prime/primeintellect/amzn-ion-java:289-89add66
amzn__ion-java-289
No new interfaces are introduced.
java
Apache-2.0
diff --git a/src/com/amazon/ion/impl/IonWriterSystemText.java b/src/com/amazon/ion/impl/IonWriterSystemText.java index 0e78e95c..f577c26e 100644 --- a/src/com/amazon/ion/impl/IonWriterSystemText.java +++ b/src/com/amazon/ion/impl/IonWriterSystemText.java @@ -366,6 +366,9 @@ class IonWriterSystemText Symbol...
Adds a space after a fieldname's colon when pretty-printing Resolves #288 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
When pretty-printing, add a space immediately after fieldname: Currently, pretty-printing {total:dollars::45} produces: ``` { total:dollars::45 } ``` This becomes more readable if a space is added after total:, as in: ``` { total: dollars::45 } ```
amzn/ion-java
diff --git a/test/com/amazon/ion/impl/IonMarkupWriterTest.java b/test/com/amazon/ion/impl/IonMarkupWriterTest.java index b84d7a7d..f7067d05 100644 --- a/test/com/amazon/ion/impl/IonMarkupWriterTest.java +++ b/test/com/amazon/ion/impl/IonMarkupWriterTest.java @@ -54,7 +54,7 @@ public class IonMarkupWriterTest extends Io...
[ "com.amazon.ion.impl.IonMarkupWriterTest" ]
[ "com.amazon.ion.impl.IonReaderBinaryRawLargeStreamTest", "com.amazon.ion.impl.IonImplUtilsTest", "com.amazon.ion.impl.BinaryWriterWithLocalSymtabsTest", "com.amazon.ion.impl.CharacterReaderTest", "com.amazon.ion.impl.ByteBufferTest", "com.amazon.ion.impl.UnifiedInputStreamXTest", "com.amazon.ion.impl.It...
{ "base_image_name": "java_11", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
e12d7ed609a3193acf2da9a7009d3abfaa29f64e
2025-06-15 11:48:03
prime/primeintellect/getmoto-moto:8984-e12d7ed
getmoto__moto-8984
Method: Route53Backend.change_tags_for_resource(self, resource_type: str, resource_id: str, tags: Any) Location: moto/route53/models.py, class Route53Backend Inputs: - **resource_type** (str): The type of Route53 resource (e.g., `"hostedzone"`). - **resource_id** (str): Identifier of the resource. For hosted zon...
python
Apache-2.0
diff --git a/moto/route53/models.py b/moto/route53/models.py index 1a64dd772..228bb393b 100644 --- a/moto/route53/models.py +++ b/moto/route53/models.py @@ -68,7 +68,7 @@ def create_route53_zone_id( # type: ignore tags: Tags = None, ) -> str: # New ID's look like this Z1RWWTK7Y8UDDQ - return "".join([ran...
Route53: change_tags_for_resource(): Validate ZoneId parameter Fixes #8931 - Increases the size of the HostedZoneID to 22 characters (inline with AWS) - This was originally introduced in #1184, which was 8 years ago, so maybe the length was 15 back then? In any case, it's 22 now for new hosted zones. - Adds Res...
Route53 Hosted Zone tags can be looked up by /hostedzone/<id>, should fail ### Description When creating a Route53 hosted zone, the boto response contains an id of the form `/hostedzone/<id>`. When using moto, this can then be passed into `change_tags_for_resource`, whereas AWS requires the `/hostedzone/` prefix to be...
getmoto/moto
diff --git a/tests/test_route53/test_route53.py b/tests/test_route53/test_route53.py index 5cffe26d5..c8afc1b58 100644 --- a/tests/test_route53/test_route53.py +++ b/tests/test_route53/test_route53.py @@ -478,7 +478,7 @@ def test_list_or_change_tags_for_resource_request(): "HealthThreshold": 123, ...
[ "tests/test_route53/test_route53_hosted_zone_ids.py::test_hosted_zone_id_in_change_tags" ]
[ "tests/test_route53/test_route53.py::test_create_hosted_zone", "tests/test_route53/test_route53.py::test_get_hosted_zone", "tests/test_route53/test_route53.py::test_list_hosted_zones", "tests/test_route53/test_route53.py::test_delete_hosted_zone", "tests/test_route53/test_route53.py::test_delete_hosted_zone...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
9055a27e37dcfdb889894c876e743f084b2ad4c8
2025-01-19 12:54:02
prime/primeintellect/xknx-xknx:1642-9055a27
xknx__xknx-1642
Function: Climate.__init__(self, xknx: XKNX, name: str, *, group_address_on_off: GroupAddressesType = None, group_address_on_off_state: GroupAddressesType = None, group_address_temperature_setpoint: GroupAddressesType = None, group_address_temperature_setpoint_state: GroupAddressesType = None, group_address_mode: Group...
python
MIT
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c704cb61..df83b218 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: - tomli exclude_types: [csv, json] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.8.3' + rev...
Add swing and horizontal swing to climate device <!-- You are awesome! Thanks for contributing to our project! Please, DO NOT DELETE ANY TEXT from this template!. --> ## Description Add swing and horizontal swing support to climate device Fixes #466 ## Type of change <!-- Please tick the applicable o...
Feature request: Add Fan mode and Swing mode to climate KNX devices Hi All, Would it be possible to add Fan Mode and Swing Mode to KNX Climate devices? It is supported by Home Assistant in other Climate integrations (e.g. Sensibo Climate). If needed I can help with testing, I have a KNX modules for Mitsubishi A/C unit...
XKNX/xknx
diff --git a/requirements/testing.txt b/requirements/testing.txt index 71d8adca..9c109460 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -7,7 +7,7 @@ pytest==8.3.4 pytest-asyncio==0.25.2 pytest-cov==6.0.0 pytest-icdiff==0.9 -ruff==0.8.6 +ruff==0.9.2 setuptools==75.8.0 tox==4.23.2 tox-gh-a...
[ "test/devices_tests/climate_test.py::TestClimate::test_swing", "test/devices_tests/climate_test.py::TestClimate::test_horizontal_swing", "test/str_test.py::TestStringRepresentations::test_climate" ]
[ "test/devices_tests/climate_test.py::TestClimate::test_support_temperature", "test/devices_tests/climate_test.py::TestClimate::test_support_target_temperature", "test/devices_tests/climate_test.py::TestClimate::test_support_operation_mode", "test/devices_tests/climate_test.py::TestClimate::test_support_operat...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
6543d2a4c61b9a02e3d326355982772ed409dfde
2019-06-09 07:17:10
prime/primeintellect/rust-lang-annotate-snippets-rs:3-6543d2a
rust-lang__annotate-snippets-rs-3
Method: DisplayListFormatter::new(color: bool, anonymized_line_numbers: bool) Location: src/formatter/mod.rs Inputs: - **color** – `bool` indicating whether ANSI colors should be applied (when true the formatter uses a color stylesheet, otherwise a no‑color stylesheet). - **anonymized_line_numbers** – `bool` indicat...
rust
Apache-2.0
diff --git a/examples/expected_type.rs b/examples/expected_type.rs index 6c6ed01..6ad3c36 100644 --- a/examples/expected_type.rs +++ b/examples/expected_type.rs @@ -37,6 +37,6 @@ fn main() { }; let dl = DisplayList::from(snippet); - let dlf = DisplayListFormatter::new(true); + let dlf = DisplayListFor...
Add option to anonymize line numbers With the current diagnostics emitter of Rust, the `-Z ui-testing` flag allows to 'anonymize' line numbers in the UI test output. This means that a line such as: 2 | concat!(b'f'); is turned into: LL | concat!(b'f'); This is done because it makes the ...
Provide a way to 'anonymize' line numbers when building a Snippet In the rust test suite there's the option to replace line numbers in the diagnostics output with letters, so that changes in the output produce less noisy diffs. With that flag enabled, the following ``` error: cannot concatenate a byte string lit...
rust-lang/annotate-snippets-rs
diff --git a/tests/fixtures.rs b/tests/fixtures.rs index 869ca2e..b6fc147 100644 --- a/tests/fixtures.rs +++ b/tests/fixtures.rs @@ -46,7 +46,7 @@ fn test_fixtures() { let expected_out = read_file(&path_out).expect("Failed to read file"); let dl = DisplayList::from(snippet); - let dlf = Displ...
[ "test_format_label", "test_format_slice_annotation_standalone", "test_format_slices_continuation", "test_format_slice", "test_format_title", "test_fixtures", "test_anon_lines", "test_different_annotation_types", "test_fold_line", "test_raw_annotation_aligned", "test_inline_marks_empty_line", "...
[]
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7cf9ba361be9822e92989476c5fb690351481a3a
2024-10-20 06:22:13
prime/primeintellect/cogent3-cogent3:2050-7cf9ba3
cogent3__cogent3-2050
Function: split_name_and_support(name_field: str | None) -> tuple[str | None, float | None] Location: cogent3.core.tree module Inputs: - **name_field** – a string (or None) representing the Newick name field; may be empty, contain only a support value (e.g., `"24"`), only a name (e.g., `"edge.98"`), or a name and supp...
python
BSD-3-Clause
diff --git a/src/cogent3/core/tree.py b/src/cogent3/core/tree.py index 3df647b30..d12319495 100644 --- a/src/cogent3/core/tree.py +++ b/src/cogent3/core/tree.py @@ -27,6 +27,7 @@ Definition of relevant terms or abbreviations: from __future__ import annotations +import contextlib import json import numbers impor...
ENH: add function to split the internal name field in newick into name and support value, fixes #2045 #2045 ## Summary by Sourcery Add a new function to split internal node name fields in Newick format into separate name and support values, and implement corresponding tests to ensure correct functionality. New Featu...
ENH: extend support for bootstrap values from newick strings `cogent3` stores support values (e.g. from a bootstrap) as `<phylonode>.params["support"]` entry. This information is also stored in some versions of newick strings. For example, IQTree uses `((a,b)##:0.1,..` and `((a,b)node_name/##:0.1,..` where `##` is an i...
cogent3/cogent3
diff --git a/tests/test_core/test_tree.py b/tests/test_core/test_tree.py index c05b8d42a..cca1f4342 100644 --- a/tests/test_core/test_tree.py +++ b/tests/test_core/test_tree.py @@ -14,7 +14,8 @@ from numpy.testing import assert_allclose, assert_equal from cogent3 import load_tree, make_tree, open_ from cogent3._ver...
[ "tests/test_core/test_tree.py::TreeTests::test_make_tree", "tests/test_core/test_tree.py::TreeNodeTests::test_Parent", "tests/test_core/test_tree.py::TreeNodeTests::test_ancestors", "tests/test_core/test_tree.py::TreeNodeTests::test_append", "tests/test_core/test_tree.py::TreeNodeTests::test_bifurcating", ...
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
bdc38f8e7c7a717b408bb520f62708510bc81fd4
2020-07-01 07:21:19
prime/primeintellect/opengovsg-gogovsg:241-bdc38f8
opengovsg__gogovsg-241
Method: UrlSearchService.search(query: string, options?: { page?: number; sortOrder?: SearchResultsSortOrder }) Location: src/server/services/UrlSearchService.ts Inputs: - **query** *(string)* – the search term entered by the user. - **options.page** *(number, optional)* – pagination offset; defaults to the first p...
ts
custom-check-github
diff --git a/src/server/api/index.ts b/src/server/api/index.ts index 0452e11a..18133ad5 100644 --- a/src/server/api/index.ts +++ b/src/server/api/index.ts @@ -1,5 +1,6 @@ import Express from 'express' import jsonMessage from '../util/json' +import { ERROR_404_PATH } from '../constants' const router = Express.Route...
fix: remove unnecessary info from search api ## Problem The search API returns some properties that are unnecessary for search. [Closes #235] ## Solution Change the api such that only info necessary are returned. i.e `shortUrl`, `longUrl`, `description`, `contactEmail`.
Remove unnecessary info from search API **Describe the bug** Remove `createdAt` and `updatedAt` from search results as these are not crucial to display.
opengovsg/GoGovSG
diff --git a/test/server/services/UrlSearchService.test.ts b/test/server/services/UrlSearchService.test.ts index 7b2cfebb..b0b4e8c5 100644 --- a/test/server/services/UrlSearchService.test.ts +++ b/test/server/services/UrlSearchService.test.ts @@ -1,9 +1,6 @@ import { UrlSearchService } from '../../../src/server/servic...
[ "Should return results from repository with clicks stripped" ]
[ "should return domain name", "should correctly identify facebook bots", "example mac user agent", "example mobile safari user agent", "file with many dots", "normal file", "no extensions", "no type", "with type", "one is 1", "ten is 10", "hundred is 100", "hundreds does not round up to thous...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npm test -- --verbose --no-colors" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
5d5a9e2df67b5be667f4eebd3ffb3055ba616349
2019-12-10 21:31:05
prime/primeintellect/grafana-tanka:130-5d5a9e2
grafana__tanka-130
Function: CompileTargetExps(strs []string) ([]*regexp.Regexp, error) Location: github.com/grafana/tanka/pkg/kubernetes/util/targetexp.go Inputs: - strs: slice of strings, each representing a target regular‑expression. The expressions are treated as case‑insensitive and are automatically anchored with `(?i)^` and `$`. ...
go
Apache-2.0
diff --git a/.drone/docker-manifest.tmpl b/.drone/docker-manifest.tmpl index 688dc38b..2ec7d492 100644 --- a/.drone/docker-manifest.tmpl +++ b/.drone/docker-manifest.tmpl @@ -1,4 +1,4 @@ -image: grafana/tanka:{{#if build.tag}}{{build.tag}}{{else}}latest{{/if}} +image: grafana/tanka:{{#if build.tag}}{{trimPrefix "v" bui...
fix(cli): make -t case insensitive was not before, but should be for better UX Fixes #126
tk diff -t requires the resource type to be lower case when doing `tk show` it shows me resource types, such as `ConfigMap` in camel case. but when i try to do `tk diff` and use the `-t` parameter to select one specific resource i need to specify the resource type in lower case (`configmap`) for it to work, when i writ...
grafana/tanka
diff --git a/pkg/kubernetes/kubernetes_test.go b/pkg/kubernetes/kubernetes_test.go index 0e621d16..09ae31b2 100644 --- a/pkg/kubernetes/kubernetes_test.go +++ b/pkg/kubernetes/kubernetes_test.go @@ -9,6 +9,7 @@ import ( "github.com/stretchr/testify/require" "github.com/grafana/tanka/pkg/kubernetes/manifest" + "gi...
[ "TestReconcile", "TestReconcile/regular", "TestReconcile/targets", "TestReconcile/targets-regex", "TestReconcile/targets-caseInsensitive", "TestReconcile/force-namespace", "TestReconcile/custom-namespace", "TestReconcileOrder", "TestExtract", "TestExtract/regular", "TestExtract/flat", "TestExt...
[ "TestTransitiveImports", "TestDeprecated" ]
{ "base_image_name": "go_1.20.14", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.20.14", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
aa5c1ac5d6f558ad4ef3948c025da78361318827
2020-02-25 10:50:12
prime/primeintellect/enthought-envisage:275-aa5c1ac
enthought__envisage-275
Function: ref(obj, callback=None) Location: envisange.safeweakref.ref Inputs: - obj: any Python object. If the object is a bound method (has a ``__self__`` attribute), it is treated specially. - callback (optional): a callable that will be invoked when the referenced object is about to be finalized. May be ``None``. O...
python
custom-check-github
diff --git a/envisage/extension_registry.py b/envisage/extension_registry.py index 8a98cb2b..ddc655d9 100644 --- a/envisage/extension_registry.py +++ b/envisage/extension_registry.py @@ -11,6 +11,8 @@ # Standard library imports. import logging +import types +import weakref # Enthought library imports. from trai...
Deprecate safeweakref and replace its uses Some `safeweakref`-related cleanup, aimed at eventual removal of the `safeweakref` module. - Don't try to make `safeweakref` a drop-in replacement for `weakref`: `safeweakref` no longer does `from weakref import *` - Deprecate the existing `safeweakref.ref` - Replace exis...
Get rid of (or streamline) safeweakref There are two aspects of the safeweakref module: - provide `WeakMethod`, which isn't available in Python 2 - cache weak method references by the object they live on I believe that the cache is unnecessary, and since we no longer support Python 2, we can get `WeakMethod` fro...
enthought/envisage
diff --git a/envisage/tests/test_extension_registry.py b/envisage/tests/test_extension_registry.py index a6d230fb..c19e2270 100644 --- a/envisage/tests/test_extension_registry.py +++ b/envisage/tests/test_extension_registry.py @@ -9,6 +9,7 @@ """ Tests for the base extension registry. """ # Standard library imports...
[ "envisage/tests/test_safeweakref.py::SafeWeakrefTestCase::test_can_create_weakref_to_bound_method", "envisage/tests/test_safeweakref.py::SafeWeakrefTestCase::test_deprecated", "envisage/tests/test_safeweakref.py::SafeWeakrefTestCase::test_get_builtin_weakref_for_non_bound_method", "envisage/tests/test_safewea...
[ "envisage/tests/test_extension_registry.py::ExtensionRegistryTestCase::test_add_extension_point", "envisage/tests/test_extension_registry.py::ExtensionRegistryTestCase::test_empty_registry", "envisage/tests/test_extension_registry.py::ExtensionRegistryTestCase::test_get_extension_point", "envisage/tests/test_...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
377e9825de74d9929631fb331e6d348c9df0964e
2023-04-07 19:28:23
prime/primeintellect/appium-appium:18479-377e982
appium__appium-18479
No new interfaces are introduced.
js
Apache-2.0
diff --git a/packages/appium/lib/cli/args.js b/packages/appium/lib/cli/args.js index c3e7ab733..db12c1374 100644 --- a/packages/appium/lib/cli/args.js +++ b/packages/appium/lib/cli/args.js @@ -294,5 +294,5 @@ export {getServerArgs, getExtensionArgs}; /** * A tuple of argument aliases and argument options - * @type...
feat(appium): make "ls" alias of "list" This makes `ls` an alias of `list`; e.g., `appium driver ls` While doing this I noticed a limitation of `argparser`, which is that an option (not a command) can only have a single (1) alias. I have noted this behavior in a comment. I also notice that we need to rewrite `ls...
[Feat]: alias for `driver list` I find myself often wanting to do `appium driver ls`, it should be easy enough to create that as an alias?
appium/appium
diff --git a/packages/appium/test/unit/parser.spec.js b/packages/appium/test/unit/parser.spec.js index ca1406fa2..7ee1456c2 100644 --- a/packages/appium/test/unit/parser.spec.js +++ b/packages/appium/test/unit/parser.spec.js @@ -264,6 +264,14 @@ describe('parser', function () { const args = p.parseArgs([DRIVER...
[ "should resolve w/ an appropriate warning", "should display a warning count of 1", "should display an error count of 1", "should return the class", "should allow \"ls\" as an alias for \"list\"" ]
[ "should not emit an uncaught rejection if updateBuildInfo() fails", "should call inner driver's createSession with desired capabilities", "should call inner driver's createSession with desired and default capabilities", "should call inner driver's createSession with desired and default capabilities without ov...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
428b2f94a06a5c39762a06b2219ff09ffe7c5dc7
2019-12-08 21:19:18
prime/primeintellect/typescript-eslint-tslint-to-eslint-config:276-428b2f9
typescript-eslint__tslint-to-eslint-config-276
Method: collectTSLintRulesets(tslint) Location: src/creation/simplification/collectTSLintRulesets.ts Inputs: tslint – OriginalConfigurations containing a “extends” property from TSLintConfiguration (both full.extends and raw.extends arrays of strings). The function reads the combined extends lists. Outputs: string[] – ...
ts
MIT
diff --git a/README.md b/README.md index 621cbe9..c8a89e4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Join the chat at https://gitter.im/tslint-to-eslint-config/community](https://img.shields.io/badge/chat-gitter-informational.svg)](https://gitter.im/tslint-to-eslint-config/community?utm_source=badge&utm...
Account for TSLint and @typescript-eslint rulesets ## PR Checklist - [x] Addresses an existing issue: fixes #298 - [x] That issue was marked as [`status: accepting prs`](https://github.com/typescript-eslint/tslint-to-eslint-config/labels/status%3A%20accepting%20prs) ## Overview When an input TSLint config...
Map from TSLint to @typescript-eslint rulesets ### 🚀 Feature Request When a TSLInt configuration includes `"extends": ["tslint:recommended"]`, one would expect a generated ESLint configuration to `extends: ["plugin:@typescript-eslint/recommended-requiring-type-checking"]`. #### Existing Behavior No output ex...
typescript-eslint/tslint-to-eslint-config
diff --git a/src/conversion/convertConfig.test.ts b/src/conversion/convertConfig.test.ts index 8a456bb..66f202d 100644 --- a/src/conversion/convertConfig.test.ts +++ b/src/conversion/convertConfig.test.ts @@ -14,7 +14,11 @@ const createStubDependencies = ( status: ResultStatus.Succeeded, }), reportCo...
[ "includes extensions when they exist", "retrieves an equivalent typescript-eslint configuration when a retrieved extensions is a typescript-eslint builtin", "returns the conversion results directly when there is no loaded ESLint configuration and no TSLint extensions", "returns the conversion results directly...
[ "conversion without arguments", "conversion without allow-new argument", "conversion with allow-tagged-template argument", "conversion with allow-fast-null-checks argument", "conversion with multiple arguments", "returns an error when exec returns one", "returns an error when importer returns one", "d...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install --engine-strict=false" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
517235d5e4ce21cbdac5f22b92cd2121497a8c52
2022-03-13 21:58:56
prime/primeintellect/okonet-lint-staged:1117-517235d
okonet__lint-staged-1117
No new interfaces are introduced.
js
MIT
diff --git a/lib/resolveTaskFn.js b/lib/resolveTaskFn.js index f39e601..77b093b 100644 --- a/lib/resolveTaskFn.js +++ b/lib/resolveTaskFn.js @@ -2,14 +2,17 @@ import { redBright, dim } from 'colorette' import execa from 'execa' import debug from 'debug' import { parseArgsStringToArgv } from 'string-argv' +import pid...
fix: kill other running tasks on failure This kills already running tasks as soon as an error is emitted by another task. Making it possible to interrupt concurrently running tasks on first failure. Aside from the included unmocked test, you can also try it out by staging a linting error and changing the lint-staged...
Being able to bail on error. ### Description Hi there, first of, awesome package! This is a feature request. I was wondering if there was a way to bail on error? Currently, I have multiple linters set up, and one of them is quite long to run. Sometimes, other short ones fail before this long one, but we have...
okonet/lint-staged
diff --git a/test/__mocks__/execa.js b/test/__mocks__/execa.js index 4f204a3..5d0d450 100644 --- a/test/__mocks__/execa.js +++ b/test/__mocks__/execa.js @@ -1,5 +1,7 @@ +import { createExecaReturnValue } from '../utils/createExecaReturnValue' + const execa = jest.fn(() => - Promise.resolve({ + createExecaReturnValue...
[ "should skip tasks and restore state if terminated", "should kill a long running task when an error is added to the context", "should kill a long running task when another fails" ]
[ "should no-op when context is incomplete", "should log errors into console", "should split string from `git -z` control character", "should remove trailing `git -z` control character", "GIT_GLOBAL_OPTIONS", "should execute git in process.cwd if working copy is not specified", "should execute git in a gi...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a93cf5e54e6d53523c823cc304d29d290870b31b
2020-11-10 01:48:11
prime/primeintellect/robsontenorio-vue-api-query:148-a93cf5e
robsontenorio__vue-api-query-148
Method: Builder.include(...relationships) Location: src/Builder.js → class Builder Inputs: one or more string relationship names, or a single array of strings; each string must be a valid relationship identifier. Outputs: returns the Builder instance (self) with its `includes` property set to the provided list of re...
js
MIT
diff --git a/docs/content/en/api/query-builder-methods.md b/docs/content/en/api/query-builder-methods.md index f2ed7ad..502aac9 100644 --- a/docs/content/en/api/query-builder-methods.md +++ b/docs/content/en/api/query-builder-methods.md @@ -15,6 +15,14 @@ Eager load relationships. await Model.include('user', 'category...
feat(builder): accept array for `include`, `append` and `orderBy` Accept array of strings for `include`, `append` and `orderBy`. Closes #140
orderBy to accept array of strings instead In the documents, it says: `await Model.orderBy('-created_at', 'category_id') ` is it possible to somehow pass an array of strings as the args?
robsontenorio/vue-api-query
diff --git a/tests/builder.test.js b/tests/builder.test.js index 5a83e55..3676b56 100644 --- a/tests/builder.test.js +++ b/tests/builder.test.js @@ -64,6 +64,10 @@ describe('Query builder', () => { post = Post.include('user', 'category') expect(post._builder.includes).toEqual(['user', 'category']) + + po...
[ "include() sets properly the builder", "append() sets properly the builder", "orderBy() sets properly the builder" ]
[ "it throws an error if $http property has not been set", "it throws an error if baseURL() method was not declared", "it throws an error if request() method was not declared", "the resource() method pluralizes the class name", "the resource() method can be overrided", "the primaryKey() method can be overri...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
a339e1f7089ced06bae1eaf374cdfb950e92d2e8
2024-06-04 22:03:57
prime/primeintellect/burntsushi-toml:414-a339e1f
burntsushi__toml-414
No new interfaces are introduced.
go
MIT
diff --git a/encode.go b/encode.go index 73366c0..bde6535 100644 --- a/encode.go +++ b/encode.go @@ -402,31 +402,30 @@ func (enc *Encoder) eMap(key Key, rv reflect.Value, inline bool) { // Sort keys so that we have deterministic output. And write keys directly // underneath this key first, before writing sub-stru...
Allow custom string types as map keys Because the map keys were converted to []string, rv.MapIndex(reflect.ValueOf(mapKey)) would panic as it's the "wrong" type (string, instead of the custom string type). Just keep track of the reflect.Value instead; don't really need to convert it to strings. Fixes #413
panic when marshalling a map with the key in a custom string type ### Env - Go version: 1.22.3 - BurntSushi/toml@v1.4.0 ### Description When marshalling a map with keys in a custom string type like: ```go type CustomString string type MyMap map[CustomString]int func main() { var myKey CustomString = "MyK...
BurntSushi/toml
diff --git a/encode_test.go b/encode_test.go index fbf17de..a5c3a7e 100644 --- a/encode_test.go +++ b/encode_test.go @@ -837,10 +837,13 @@ func TestEncodeJSONNumber(t *testing.T) { } func TestEncode(t *testing.T) { - type Embedded struct { - Int int `toml:"_int"` - } - type NonStruct int + type ( + Embedded struc...
[ "TestMapCustomKeytype", "TestErrorPosition", "TestErrorPosition/array/missing-separator-2.toml", "TestErrorPosition/array/no-close-1.toml", "TestErrorPosition/array/tables-2.toml", "TestErrorPosition/local-date/trailing-t.toml", "TestErrorPosition/key/without-value-1.toml", "TestErrorPosition/key/with...
[ "TestDecodeReader", "TestDecodeFile", "TestDecodeFS", "TestDecodeBOM", "TestDecodeBOM/#00", "TestDecodeBOM/#01", "TestDecodeBOM/#02", "TestDecodeEmbedded", "TestDecodeErrors", "TestDecodeErrors/#00", "TestDecodeErrors/#01", "TestDecodeErrors/#02", "TestDecodeErrors/#03", "TestDecodeErrors/...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
da739ee708279defa9642e91139b0146260862ac
2023-09-27 18:58:03
prime/primeintellect/cockroachdb-pebble:2949-da739ee
cockroachdb__pebble-2949
Function: ErrCancelledCompaction Location: package pebble Inputs: none Outputs: error – a sentinel error value indicating that a compaction was cancelled by a concurrent excise or ingest‑split operation. Callers can compare using errors.Is(err, pebble.ErrCancelledCompaction). Description: Exported error introduced to a...
go
BSD-3-Clause
diff --git a/compaction.go b/compaction.go index 530e160b..47abc977 100644 --- a/compaction.go +++ b/compaction.go @@ -32,7 +32,10 @@ import ( ) var errEmptyTable = errors.New("pebble: empty table") -var errCancelledCompaction = errors.New("pebble: compaction cancelled by a concurrent operation, will retry compacti...
metamorphic: Ignore ErrCancelledCompaction in background errors Previously, if we cancelled a compaction due to an excise or ingest-split, the resultant error would error out the metamorphic test as it wasn't ignored in the metamorphic test's EventListener. This change updates the ignore rule in the metamorphic test...
metamorphic: TestMeta failed [compaction cancelled by a concurrent operation] I think the metamorphic tests need to be adjusted to tolerate background errors. ``` === NAME TestMeta/execution/random-005 meta.go:218: ===== SEED ===== 1695839048661996000 ===== ERR ===== exit ...
cockroachdb/pebble
diff --git a/metamorphic/test.go b/metamorphic/test.go index f1ec3794..90d2d27b 100644 --- a/metamorphic/test.go +++ b/metamorphic/test.go @@ -73,7 +73,7 @@ func (t *test) init(h *history, dir string, testOpts *TestOptions) error { // difference between in-memory and on-disk which causes different code paths // and...
[ "TestMeta", "TestMeta/execution", "TestMeta/execution/random-000", "TestMeta/execution/standard-019", "TestMeta/execution/random-026", "TestMeta/execution/standard-022", "TestMeta/execution/standard-007", "TestMeta/execution/random-017", "TestMeta/execution/random-002", "TestMeta/execution/standar...
[]
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
d5626018074a3f3a7c284500ce9cb3cdfa28f8af
2023-04-27 01:45:24
prime/primeintellect/willowtreeapps-assertk:457-d562601
willowtreeapps__assertk-457
Method: Assert<CharSequence>.containsMatch(self, regex: Regex) Location: assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt Inputs: regex – a `Regex` defining the pattern that should appear somewhere inside the examined `CharSequence`. Outputs: Returns the same `Assert<CharSequence>` for chaining. Throws ...
kotlin
MIT
diff --git a/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt b/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt index 89c18394..01a71147 100644 --- a/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt +++ b/assertk/src/commonMain/kotlin/assertk/assertions/charsequence.kt @...
Unlike 'contains' this is a regex rather than a literal. Unlike 'matches' this looks for a subset of the charsequence to match rather than the entire contents. Closes #452
New assertion: `containsMatch` A mixture of `contains` and `match`, but only looks for a match within the string rather than against the whole thing. Implementation is basically `matchesPredicate(regex::containsMatchIn)`, but it's nice to not have to do that every time you want to switch from an exact `contains` to ...
willowtreeapps/assertk
diff --git a/assertk/src/commonTest/kotlin/test/assertk/assertions/CharSequenceTest.kt b/assertk/src/commonTest/kotlin/test/assertk/assertions/CharSequenceTest.kt index 7ec39104..cddd8754 100644 --- a/assertk/src/commonTest/kotlin/test/assertk/assertions/CharSequenceTest.kt +++ b/assertk/src/commonTest/kotlin/test/asse...
[ "isNotEqualTo_same_nullable_string_fails[jvm] (test.assertk.assertions.JavaNullableStringTest)", "isNotEqualTo_different_string_passes[jvm] (test.assertk.assertions.JavaNullableStringTest)", "isEqualTo_same_nullable_string_passes[jvm] (test.assertk.assertions.JavaNullableStringTest)", "isEqualTo_different_str...
[]
{ "base_image_name": "kotlin-jdk-21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
df92852e44d59949176f48ded3967ba916832116
2022-01-04 20:29:19
prime/primeintellect/spaze-phpstan-disallowed-calls:102-df92852
spaze__phpstan-disallowed-calls-102
Method: IsAllowedFileHelper.__construct(self, FileHelper $fileHelper, ?string $allowInRootDir = null) Location: src/IsAllowedFileHelper.php Inputs: An instance of PHPStan\\File\\FileHelper; optional root directory path used to prefix all allowIn entries. Outputs: A new IsAllowedFileHelper object. No return value (const...
php
MIT
diff --git a/README.md b/README.md index 3a7c1cd..a64854a 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,23 @@ parameters: - tests/*.test.php ``` -The paths in `allowIn` are relative to the config file location and support [fnmatch()](https://www.php.net/function.fnmatch) patterns. +Paths in ...
Can now specify root dir for all `allowIn` paths Seems I can't get the "root" directory in an automated way. Directives like `ignoreError`'s `path`/`paths` [resolve relative paths](https://phpstan.org/user-guide/ignoring-errors#ignoring-in-configuration-file) based on the directory of the config file is in but those ar...
When running phpstan from a subdirectory, allowIn is ignored When you run phpstan from a subdirectory of the project the allowIn is not checked `../../vendor/bin/phpstan --configuration=../../phpstan.neon` ```yaml disallowedFunctionCalls: - function: 'var_export()' message: 'use logger instea...
spaze/phpstan-disallowed-calls
diff --git a/tests/Calls/EchoCallsTest.php b/tests/Calls/EchoCallsTest.php index b1226e2..a86228f 100644 --- a/tests/Calls/EchoCallsTest.php +++ b/tests/Calls/EchoCallsTest.php @@ -3,12 +3,12 @@ declare(strict_types = 1); namespace Spaze\PHPStan\Rules\Disallowed\Calls; -use PHPStan\File\FileHelper as PHPStanFileHe...
[ "Function Calls Allow In Functions > Rule", "Function Calls Allow In Methods > Rule", "Is Allowed File Helper > Absolutize path with data set #0", "Is Allowed File Helper > Absolutize path with data set #1", "Is Allowed File Helper > Absolutize path with data set #2", "Is Allowed File Helper > Absolutize ...
[]
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=/tmp/composer", "mkdir -p $COMPOSER_HOME", "chmod 777 $COMPOSER_HOME", "chmod 777 /phpstan-disallowed-calls", "composer install --no-progress --no-interaction" ], "log_parser": "parse_log_phpunit", ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2de1a1ce4cb2f63b3a7b7951614ae0c749ddb253
2020-05-29 02:33:32
prime/primeintellect/jeremydaly-dynamodb-toolbox:53-2de1a1c
jeremydaly__dynamodb-toolbox-53
Function: formatItem(DocumentClient)(attributes, linked, item, include = []) Location: Inputs: - **DocumentClient** – an instance of AWS DynamoDB DocumentClient (used for type validation). - **attributes** – object describing the entity’s attribute metadata (type, alias, map, prefix, suffix, etc.). - **linked** – ...
ts
MIT
diff --git a/lib/formatItem.js b/lib/formatItem.js index 2138bde4..28791391 100644 --- a/lib/formatItem.js +++ b/lib/formatItem.js @@ -18,9 +18,9 @@ module.exports = (DocumentClient) => (attributes,linked,item,include=[]) => { const validateType = validateTypes(DocumentClient) return Object.keys(item).reduce((a...
Allow attributes not specified in entity to be passed through Fixes #50 Looking at the code I figured this was a bug, since there were guards for everything else. PS. Thanks for this library, truly makes single table design approachable 🥇
Entities need to list all attributes If an entity does not list an attribute that exists in the database, `get` fails. To make `await entityName.get(item)` work, in the definition of the entity `entityName`, it needs to list all attributes it may pull from the database for that particular item. Otherwise, it shows a...
jeremydaly/dynamodb-toolbox
diff --git a/__tests__/formatItem.unit.test.js b/__tests__/formatItem.unit.test.js index 286fac30..d673d8cd 100644 --- a/__tests__/formatItem.unit.test.js +++ b/__tests__/formatItem.unit.test.js @@ -28,7 +28,13 @@ DefaultTable.entities = new Entity({ list_alias2: { type: 'list', map: 'list2' }, test: 'map', ...
[ "passes through attribute not specified in entity" ]
[ "parses entity definition with all available options", "fails on extra config option", "parse simple attributes", "fails when partitionKey is an invalid type", "fails when sortKey is an invalid type", "fails when attribute is an invalid type", "fails when partitionKey is an invalid type (in object confi...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci --legacy-peer-deps" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --silent=false --useStderr --no-colors" }
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
53770139237370ffd438c11bac551f38fd11e98c
2025-04-28 11:46:23
prime/primeintellect/biotite-dev-biotite:795-5377013
biotite-dev__biotite-795
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/pyproject.toml b/pyproject.toml index 4e857dfc..c0eeda8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,12 +4,12 @@ requires-python = ">=3.11" description = "A comprehensive library for computational molecular biology" readme = "README.rst" authors = [{name = "The Biotite contributors"}] -licens...
Fix #794 Fixes #794
altloc_id missing from get_structure() output The last few recent commits have altered the behavior of get_structure() so that its output is missing the altloc_id annotation. I can't tell if this is expected behavior or a bug, however the docstring implies that its a bug. ``` altloc : {'first', 'occupancy', 'all'} ...
biotite-dev/biotite
diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index f830691b..73633f87 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -106,7 +106,7 @@ jobs: - uses: actions/checkout@v4 - name: Install cibuildwheel # M...
[ "tests/structure/io/test_pdbx.py::test_filter_altloc[1aki]" ]
[ "tests/structure/io/test_pdbx.py::test_get_model_count[cif]", "tests/structure/io/test_pdbx.py::test_get_model_count[bcif]", "tests/structure/io/test_pdbx.py::test_escape[-False]", "tests/structure/io/test_pdbx.py::test_escape[-True]", "tests/structure/io/test_pdbx.py::test_escape[", "tests/structure/io/t...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
262f1772a7676b20b802c0fc54bdc816874b9774
2020-12-09 14:32:21
prime/primeintellect/jimhester-lintr:698-262f177
jimhester__lintr-698
Function: object_name_linter(styles = c("snake_case", "symbols")) Location: R/object_name_linters.R Inputs: - **styles**: character vector of style names. Valid entries include `"snake_case"` (enforces snake_case naming) and `"symbols"` (skips linting for all‑symbol object names such as `%+%`). The default is `c("snake...
r
custom-check-github
diff --git a/NEWS.md b/NEWS.md index 27e895a526..0d0fd060b0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -21,7 +21,7 @@ * `equals_na_linter()` now lints `x != NA` and `NA == x`, and skips usages in comments (#545, @michaelchirico) * Malformed Rmd files now cause a lint instead of an error (#571, #575, @AshesITR) * `object_...
fixes #495 the major issue was that `as.character()` doesn't unescape XML entities. `xml2::xml_text()` should have been used instead.
False-positive object_name_linter for `%<-%` This line `%<-%` <- zeallot::`%<-%` raises > Variable and function name style should be snake_case.
jimhester/lintr
diff --git a/tests/testthat/test-object_name_linter.R b/tests/testthat/test-object_name_linter.R index fd9a967a1f..5d683592af 100644 --- a/tests/testthat/test-object_name_linter.R +++ b/tests/testthat/test-object_name_linter.R @@ -48,6 +48,7 @@ test_that("linter ignores some objects", { expect_lint(".onLoad <- funct...
[ "object_name_linter::linter_ignores_some_objects" ]
[ "absolute_path_linter::unquote", "absolute_path_linter::unescape", "absolute_path_linter::is_root_path", "absolute_path_linter::is_absolute_path", "absolute_path_linter::is_relative_path", "absolute_path_linter::is_path", "absolute_path_linter::is_valid_path", "absolute_path_linter::is_long_path", "...
{ "base_image_name": "r_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "java...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4b0dafd4ae11fee4e3f31ff577af4eb7ae67823e
2024-08-21 14:28:07
prime/primeintellect/crossplane-contrib-provider-gitlab:156-4b0dafd
crossplane-contrib__provider-gitlab-156
Method: Token (struct) Location: pkg/apis/projects/v1alpha1/hook_types.go Inputs: SecretRef *xpv1.SecretKeySelector – a reference (name, namespace, key) to a Kubernetes Secret that holds the hook token. The field is required. Outputs: None (struct definition). Holds the secret reference used by HookParameters to obtain...
go
Apache-2.0
diff --git a/apis/generate.go b/apis/generate.go index ad20167..baeffd2 100644 --- a/apis/generate.go +++ b/apis/generate.go @@ -32,7 +32,6 @@ limitations under the License. package apis import ( - _ "sigs.k8s.io/controller-tools/cmd/controller-gen" //nolint:typecheck - _ "github.com/crossplane/crossplane-tools/c...
fix(project/hook)!: hooksecret as reference <!-- Thank you for helping to improve Crossplane! Please read through https://git.io/fj2m9 if this is your first time opening a Crossplane pull request. Find us in https://slack.crossplane.io/messages/dev if you need any help contributing. --> ### Description of you...
Hook token as secret reference ### What happened? When using the Hook MR for projects, the secret token which verifies the webhook call is written directly into the MR itself. Thus having the Secret not in a kubernetes Secret. It would be better giving a secret ref to the hook and read the secret from that locat...
crossplane-contrib/provider-gitlab
diff --git a/pkg/clients/projects/hook_test.go b/pkg/clients/projects/hook_test.go index 29c5cc6..a6adb06 100644 --- a/pkg/clients/projects/hook_test.go +++ b/pkg/clients/projects/hook_test.go @@ -17,12 +17,18 @@ limitations under the License. package projects import ( + "context" "testing" "time" + v1 "githu...
[ "TestGenerateCreateGroupDeployTokenOptions", "TestGenerateCreateGroupDeployTokenOptions/AllFields", "TestGenerateCreateGroupDeployTokenOptions/SomeFields", "TestGenerateObservation", "TestGenerateObservation/SharedWithGroupExpiresAtIsNil", "TestGenerateObservation/Full", "TestGenerateCreateGroupOptions"...
[]
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a966def98e77e412e7067aefae9799445e9b87f1
2020-06-04 22:11:57
prime/primeintellect/google-exposure-notifications-server:550-a966def
google__exposure-notifications-server-550
Method: Transformer.TransformPublish(ctx context.Context, inData *verifyapi.Publish, batchTime time.Time) ([]*Exposure, error) Location: internal/publish/model/exposure_model.go (method of type *Transformer) Inputs: - ctx: context.Context – request‑scoped context, used for logging and cancellation. - inData: *verifyapi...
go
Apache-2.0
diff --git a/internal/generate/handler.go b/internal/generate/handler.go index 210afe5..123fe1e 100644 --- a/internal/generate/handler.go +++ b/internal/generate/handler.go @@ -87,7 +87,7 @@ func (h *generateHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { AppPackageName: "generated.data", } - exp...
Accept, but embargo currently valid keys Instead of rejecting keys that have started before the instant now, but aren't yet expired, accept those keys and emabargo them until they can no longer be used. This is done by setting the createdAt time on that key. There is an invariant here that there can only be one key...
Evaluate holding current day's key Currently, a key that is still valid (rolling period + rolling period count covers the current time) causes a whole publish API request to fail. As this has come up a couple of times, perhaps it is better to hold the still valid key until the end of the UTC day, but allow others to...
google/exposure-notifications-server
diff --git a/internal/publish/model/exposure_model_test.go b/internal/publish/model/exposure_model_test.go index 06284ed..dc44c71 100644 --- a/internal/publish/model/exposure_model_test.go +++ b/internal/publish/model/exposure_model_test.go @@ -15,6 +15,7 @@ package model import ( + "context" "crypto/rand" "enc...
[ "TestIntervalNumber", "TestInvalidNew", "TestInvalidBase64", "TestDifferentEncodings", "TestPublishValidation", "TestPublishValidation/no_keys", "TestPublishValidation/too_many_exposure_keys", "TestPublishValidation/transmission_risk_too_low", "TestPublishValidation/tranismission_risk_too_high", "...
[ "TestRenderAuthorizedApps", "TestRenderSignatureInfo", "TestAuthorizedApp_IsAllowedRegion", "TestDecodeString", "TestCutoffDate", "TestDBValues", "TestDBValues/empty_configs", "TestDBValues/some_config", "TestMakeBatchRanges", "TestMakeBatchRanges/no_room_for_new_batch", "TestMakeBatchRanges/no_...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
111896420e7952cad99f0561aa3725d555f47382
2025-01-14 05:53:49
prime/primeintellect/notaryproject-notation:1145-1118964
notaryproject__notation-1145
Function: LoadConfigOnce() Location: pkg/configutil/once.go Inputs: none (relies on default configuration file location defined by `dir.UserConfigDir` and `dir.PathConfigFile`). Outputs: (*config.Config, error) – returns the loaded configuration on first successful call and caches it; on subsequent calls returns the sa...
go
Apache-2.0
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 980c79f..43530df 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -49,8 +49,8 @@ jobs: go-version: ${{ matrix.go-version }} check-latest: true - name: Initialize CodeQL - use...
fix: load config error Fix: - the `LoadConfigOnce` function forgets the error and return a nil config and nil error next time. Updated to use `sync.OnceValues` to keep the returned values. Resolves #1144
Load config issue ### What is not working as expected? ``` ➜ chmod 0000 ~/.config/notation ➜ notation panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x850078] goroutine 1 [running]: github.com/notaryproject/notation/intern...
notaryproject/notation
diff --git a/pkg/configutil/once_test.go b/pkg/configutil/once_test.go index d218669..bd40691 100644 --- a/pkg/configutil/once_test.go +++ b/pkg/configutil/once_test.go @@ -14,10 +14,19 @@ package configutil import ( + "os" + "path/filepath" + "strings" + "sync" "testing" + + "github.com/notaryproject/notation-go...
[ "TestLoadConfigOnce", "TestLoadConfigOnceError", "TestIsRegistryInsecure", "TestIsRegistryInsecure/hit_registry", "TestIsRegistryInsecure/miss_registry", "TestIsRegistryInsecureMissingConfig", "TestIsRegistryInsecureMissingConfig/missing_config", "TestResolveKey/valid_e2e_key", "TestResolveKey/key_n...
[ "TestSecureFlagOpts_Credential", "TestSecureFlagOpts_Credential/Username_and_password", "TestSecureFlagOpts_Credential/Username_only", "TestSecureFlagOpts_Credential/Password_only", "TestSecureFlagOpts_Credential/Empty_username_and_password", "TestInspectCommand_SecretsFromArgs", "TestInspectCommand_Sec...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2d7262b4edafd825a80ca86fe990b2d919d21db9
2022-10-07 22:33:05
prime/primeintellect/xlate-staedi:303-2d7262b
xlate__staedi-303
Method: ElementType.ElementType(String id, Base base, int scale, String code, int number, long minLength, long maxLength, Map<String, String> values, List<ElementType.Version> versions, String title, String description) Location: src/main/java/io/xlate/edi/internal/schema/ElementType.java Inputs: - id – element identi...
java
Apache-2.0
diff --git a/src/main/java/io/xlate/edi/internal/schema/ElementType.java b/src/main/java/io/xlate/edi/internal/schema/ElementType.java index 22ae394..0e1a415 100644 --- a/src/main/java/io/xlate/edi/internal/schema/ElementType.java +++ b/src/main/java/io/xlate/edi/internal/schema/ElementType.java @@ -17,9 +17,9 @@ packa...
Store and provide access to the titles of enumerated element values Closes #302
Add support for obtaining enumeration title values from schema for the element_data Add a way to obtain title value from schema while reading(for the) ELEMENT_DATA. So that we don't need to put every possible definition programmatically in code and map it, but just read it from schema instead. For e.g. If we have val...
xlate/staedi
diff --git a/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java b/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java index 9436ea0..6f2f381 100644 --- a/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java +++ b/src/test/java/io/xlate/edi/internal/schema/ElementTypeTest.java @@ -6,1...
[ "io.xlate.edi.internal.wiki.ReadFuncAcknowledgementTest", "io.xlate.edi.internal.wiki.WriteEdifactExampleTest", "io.xlate.edi.internal.wiki.ReadInterchangeAcknowledgementTest", "io.xlate.edi.internal.wiki.WriteInterchangeAcknowledgementTest", "io.xlate.edi.internal.stream.validation.DecimalValidatorTest", ...
[]
{ "base_image_name": "java_21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
ee540f16d8fe878857dac5d741032eb49b290461
2023-05-08 18:56:49
prime/primeintellect/alteryx-evalml:4179-ee540f1
alteryx__evalml-4179
Method: PipelineBase.load(file_path: Union[str, io.BytesIO]) → PipelineBase Location: evalml/pipelines/pipeline_base.py Inputs: - **file_path** (Union[str, io.BytesIO]): Either a filesystem path to a pickled pipeline file or a BytesIO object containing the pickled bytes. Outputs: - Returns a **PipelineBase** instance...
python
BSD-3-Clause
diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 3b532b4a..681dad25 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -2,6 +2,7 @@ Release Notes ------------- **Future Releases** * Enhancements + * Added BytesIO support to PipelinBase.load() ...
Added BytesIO support to PipelineBase.load() ### Pull Request Description Added support for BytesIO input to PipelineBase.load(), primarily to support VFS Fixes #4178
Update PipelineBase.load() to accept both a path and a file-like object Currently, PipelineBase.load() accepts just a file path. I have some scenarios in which I have a BytesIO object that I would like to pass into the function. Proposed update: 1. Allow str or BytesIO as the argument 2. If BytesIO, pass directl...
alteryx/evalml
diff --git a/evalml/tests/pipeline_tests/test_pipelines.py b/evalml/tests/pipeline_tests/test_pipelines.py index fb519c16..2477acab 100644 --- a/evalml/tests/pipeline_tests/test_pipelines.py +++ b/evalml/tests/pipeline_tests/test_pipelines.py @@ -1,6 +1,8 @@ +import io import os import pickle import re +from typing ...
[ "evalml/tests/pipeline_tests/test_pipelines.py::test_serialization[BytesIO]" ]
[ "evalml/tests/pipeline_tests/test_pipelines.py::test_init_with_invalid_type_raises_error[BinaryClassificationPipeline]", "evalml/tests/pipeline_tests/test_pipelines.py::test_init_with_invalid_type_raises_error[MulticlassClassificationPipeline]", "evalml/tests/pipeline_tests/test_pipelines.py::test_init_with_inv...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
39c2f8e901f9211f4ab57eadd656c6bad24b6a8a
2017-12-29 04:05:36
prime/primeintellect/apollographql-apollo-codegen:345-39c2f8e
apollographql__apollo-codegen-345
Method: sortEnumValues(values: GraphQLEnumValue[]) → GraphQLEnumValue[] Location: src/utilities/graphql.ts Inputs: An array of GraphQLEnumValue objects representing enum values from a GraphQL schema. Outputs: A new array where the enum values are sorted alphabetically by their `value` property (ascending). This ensures...
ts
MIT
diff --git a/src/flow/codeGeneration.js b/src/flow/codeGeneration.js index 2c11f6fd..c5f0d8b2 100644 --- a/src/flow/codeGeneration.js +++ b/src/flow/codeGeneration.js @@ -23,6 +23,10 @@ import { wrap, } from '../utilities/printing'; +import { + sortEnumValues +} from '../utilities/graphql'; + import CodeGenerat...
Fix Flow-Modern incorrectly-flattened array generation Fixes #325 (_Flow Modern flattens Arrays in output_) This is an alternative implementation versus #342 which: * Provides full support of arbitrary nullable/nested lists without special casing top-level lists/nulls. (The `typeAnnotationFromGraphQLType` functio...
Flow Modern flattens Arrays in output The code generation for a standard Relay connection is generated like the following. Notice that the `edges` field is not generated as an array, but instead a single object type: > ```ts > edges: ?GetFoosById_foos_edges, // A list of edges. > ``` Schema: ```graphql t...
apollographql/apollo-codegen
diff --git a/src/javascript/flow/__tests__/__snapshots__/codeGeneration.ts.snap b/src/javascript/flow/__tests__/__snapshots__/codeGeneration.ts.snap index 894753a2..6bdcae98 100644 --- a/src/javascript/flow/__tests__/__snapshots__/codeGeneration.ts.snap +++ b/src/javascript/flow/__tests__/__snapshots__/codeGeneration.t...
[ "should generate correct typedefs with a single custom fragment", "should generate correct typedefs with a multiple custom fragments", "multiple files", "simple hero query", "simple mutation", "fragment with fragment spreads with inline fragment", "query with fragment spreads", "inline fragment", "i...
[ "should generate simple query operations", "should generate simple query operations including input variables", "should generate simple nested query operations including input variables", "should generate array query operations", "should generate simple nested with required elements in lists", "should gen...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci", "npm run compile" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --runInBand" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
23adb4fac4d8f5a84ecd13cb2cb10727da9e8cf3
2017-03-31 11:21:15
prime/primeintellect/python-babel-babel:488-23adb4f
python-babel__babel-488
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/babel/messages/extract.py b/babel/messages/extract.py index efddbf5..ffcfac8 100644 --- a/babel/messages/extract.py +++ b/babel/messages/extract.py @@ -445,7 +445,8 @@ def extract_python(fileobj, keywords, comment_tags, options): translator_comments.append((lineno, value)) ...
Extract Python messages in nested gettext calls This patch fixes #487. There're only one small change and complex test cases.
Extract Python messages in nested gettext calls When Babel extracts messages from Python code, it ignores `_(...)` in another `_(...)`. My `_` is slightly customized to accept `**kwargs` for formatting. I guess it is one of common patterns. So I can write like this code: ```python #: TRANSLATOR: Users can have...
python-babel/babel
diff --git a/tests/messages/test_extract.py b/tests/messages/test_extract.py index 22ea1cd..873439d 100644 --- a/tests/messages/test_extract.py +++ b/tests/messages/test_extract.py @@ -424,6 +424,37 @@ _('Babatschi')""") self.assertEqual([u'This is a multiline comment with', u'a pref...
[ "tests/messages/test_extract.py::ExtractPythonTestCase::test_nested_messages" ]
[ "tests/messages/test_extract.py::ExtractPythonTestCase::test_comment_tag", "tests/messages/test_extract.py::ExtractPythonTestCase::test_comment_tag_multiline", "tests/messages/test_extract.py::ExtractPythonTestCase::test_comment_tag_with_leading_space", "tests/messages/test_extract.py::ExtractPythonTestCase::...
{ "base_image_name": "python_base_37", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
1baceda12d49103b814acded9259657fd8e0730e
2021-07-25 04:58:48
prime/primeintellect/adhocore-gronx:7-1baceda
adhocore__gronx-7
No new interfaces are introduced.
go
MIT
diff --git a/validator.go b/validator.go index 3437f42..074415b 100644 --- a/validator.go +++ b/validator.go @@ -53,16 +53,12 @@ func inRange(val int, s string) (bool, error) { } func inStepRange(val, start, end, step int) bool { - for { - if start == val { + for i := start; i <= end && i <= val; i += step { + if...
Fix range-with-step check for boundary condition (#6) Fixes #6
Range-with-step showing time outside the range as due First of all, thanks for the awesome library. For the following example, IsDue() is returning `true` incorrectly. ``` expr = 0-10/2 * * * * ref = 2011-06-20 12:12:00 ``` I think it is because of this function: ``` func inStepRange(val, start, end, step ...
adhocore/gronx
diff --git a/gronx_test.go b/gronx_test.go index 8948172..c6a55c3 100644 --- a/gronx_test.go +++ b/gronx_test.go @@ -129,6 +129,7 @@ func testcases() []Case { {"0 0 * * 2-7", "2011-06-18 23:09:00", false}, {"0 0 * * 4-7", "2011-07-19 00:00:00", false}, {"0-12/4 * * * *", "2011-06-20 12:04:00", true}, + {"0-10...
[ "TestIsDue", "TestIsDue/is_due_0-10/2_*_*_*_*" ]
[ "TestNormalize", "TestNormalize/normalize_*___*__*_*_*", "TestNormalize/normalize_*_*_*_*_*_2021", "TestNormalize/normalize_@hourly", "TestNormalize/normalize_0_0_JAN,feb_*_sun,MON", "TestIsValid", "TestIsValid/is_valid", "TestIsValid/is_not_valid", "TestIsDue/is_due_@always", "TestIsDue/is_due_*_...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
c9536b117e39fef41b9ccb5e07463eecda15ba2a
2024-11-14 20:56:44
prime/primeintellect/getmoto-moto:8315-c9536b1
getmoto__moto-8315
Method: IoTClient.get_indexing_configuration(self) Location: moto/iot/responses.py → def get_indexing_configuration(self) → json.dumps(self.iot_backend.get_index_configuration()) Inputs: No required parameters. The call is made on a boto3 IoT client (e.g., boto3.client("iot")). Outputs: Returns a JSON‑encoded dict (co...
python
Apache-2.0
diff --git a/IMPLEMENTATION_COVERAGE.md b/IMPLEMENTATION_COVERAGE.md index e5ee66fff..2349a0b5f 100644 --- a/IMPLEMENTATION_COVERAGE.md +++ b/IMPLEMENTATION_COVERAGE.md @@ -4628,7 +4628,7 @@ - [ ] get_buckets_aggregation - [ ] get_cardinality - [ ] get_effective_policies -- [ ] get_indexing_configuration +- [X] get_...
S3: get_object_attributes() now also works for Glacier objects Fixes #8307
S3 get_object_attributes fails for GLACIER objects Environment: Python 3.11 Windows 11 Pro moto==5.0.20 pytest==8.3.3 My failing test ``` def test_get_glacier_object_attributes(self) -> None: s3 = client( "s3", region_name="eu-west-1" ) s3.create_buc...
getmoto/moto
diff --git a/tests/test_iot/test_iot_indexing_configuration.py b/tests/test_iot/test_iot_indexing_configuration.py new file mode 100644 index 000000000..d2ec29a58 --- /dev/null +++ b/tests/test_iot/test_iot_indexing_configuration.py @@ -0,0 +1,63 @@ +import boto3 + +from moto import mock_aws + + +@mock_aws +def test_va...
[ "tests/test_iot/test_iot_indexing_configuration.py::test_validate_default_indexing_configuration", "tests/test_iot/test_iot_indexing_configuration.py::test_update_indexing_mode", "tests/test_s3/test_s3_storageclass.py::test_s3_get_object_from_glacier" ]
[ "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_standard", "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_infrequent_access", "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_intelligent_tiering", "tests/test_s3/test_s3_storageclass.py::test_s3_storage_class_copy", ...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
d2013290ba6053853e74b1f8cc99838e438ac728
2023-11-29 17:20:46
prime/primeintellect/platers-obsidian-linter:955-d201329
platers__obsidian-linter-955
Method: AddBlankLineAfterYAML.constructor() Location: src/rules/add-blank-line-after-yaml.ts Inputs: none (instantiated without arguments) Outputs: an instance of AddBlankLineAfterYAML ready to be used by the rule testing framework Description: Creates a new rule object; the class has no configurable options, so the co...
ts
MIT
diff --git a/src/lang/locale/en.ts b/src/lang/locale/en.ts index d507203..678729a 100644 --- a/src/lang/locale/en.ts +++ b/src/lang/locale/en.ts @@ -233,6 +233,11 @@ export default { 'description': 'A comma separated list of lowercased words to ignore when auto-correcting', }, }, + // add-blank-...
Add Rule `Add Blank Line After YAML` Fixes #873 Changes Made: - Added a rule that adds a blank line after frontmatter if there is not at least 1 empty line after it and it has content after it. - Added tests for a couple of edge cases - Added some examples for how it works - Added wording for the settings UI fo...
FR: Rule to add newline after front matter ## Is Your Feature Request Related to a Problem? Please Describe. For now we have option "Empty Line Between YAML and Header", but would be nice to have something like "Empty Line After YAML" which adds empty line after front matter and next node (header, paragraph, list et...
platers/obsidian-linter
diff --git a/__tests__/add-blank-line-after-yaml.test.ts b/__tests__/add-blank-line-after-yaml.test.ts new file mode 100644 index 0000000..47c533a --- /dev/null +++ b/__tests__/add-blank-line-after-yaml.test.ts @@ -0,0 +1,54 @@ +import AddBlankLineAfterYAML from '../src/rules/add-blank-line-after-yaml'; +import dedent ...
[ "Make sure that no YAML means no change to the text", "If there are multiple blank lines after a YAML block, they are left alone", "If there are multiple blank lines after a YAML block and they end the file content, they should be left alone" ]
[ "when no ignore type is provided, the text stays the same", "when no custom ignore ranges are used and multiple times, the text is properly replaced and put back together", "when no custom ignore start indicator is present, no positions are returned", "when no custom ignore start indicator is present, no posi...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
5b804940e3a885bb46b5b5e827d3aab837df62ef
2025-01-05 12:44:12
prime/primeintellect/getmoto-moto:8469-5b80494
getmoto__moto-8469
Function: split_words(s: str) -> List[str] Location: moto.secretsmanager.list_secrets.filters Inputs: - s (str): The string to be split into words. Words are identified by transitions from lowercase to uppercase letters and by non‑letter delimiters. Empty tokens are ignored. Outputs: - List[str]: A list of word token...
python
Apache-2.0
diff --git a/moto/secretsmanager/list_secrets/filters.py b/moto/secretsmanager/list_secrets/filters.py index 5a863b01a..2d0a5b828 100644 --- a/moto/secretsmanager/list_secrets/filters.py +++ b/moto/secretsmanager/list_secrets/filters.py @@ -1,3 +1,4 @@ +import re from typing import TYPE_CHECKING, List if TYPE_CHECK...
SecretsManager: list_secrets() now properly splits words when filtering Fixes #8421 [The documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/secretsmanager/client/list_secrets.html) states that when filtering by e.g. name or description, the search happens by `Prefix match`. W...
SecretsManager List Secrets Filter with Key all deviated from boto3 ## How to reproduce ```python @pytest.fixture def secretsmanager_client(): with mock_aws(): yield boto3.client("secretsmanager", region_name="us-east-1") def test_list_secrets(secretsmanager_client): secretsmanager_client.create_...
getmoto/moto
diff --git a/tests/test_secretsmanager/test_list_secrets.py b/tests/test_secretsmanager/test_list_secrets.py index 37de56a78..ba26bba7c 100644 --- a/tests/test_secretsmanager/test_list_secrets.py +++ b/tests/test_secretsmanager/test_list_secrets.py @@ -1,4 +1,5 @@ from datetime import datetime +from uuid import uuid4 ...
[ "tests/test_secretsmanager/test_list_secrets.py::test_empty", "tests/test_secretsmanager/test_list_secrets.py::test_list_secrets", "tests/test_secretsmanager/test_list_secrets.py::test_with_name_filter", "tests/test_secretsmanager/test_list_secrets.py::test_with_tag_key_filter", "tests/test_secretsmanager/t...
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7285b671883b8a06fc26466582a8a45baf508bf7
2024-03-20 20:06:10
prime/primeintellect/pytest-dev-pyfakefs:991-7285b67
pytest-dev__pyfakefs-991
No new interfaces are introduced.
python
Apache-2.0
diff --git a/CHANGES.md b/CHANGES.md index cf33df4..4a82d9c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -32,6 +32,7 @@ The released versions correspond to PyPI releases. (see [#979](../../issues/979)) * fixed handling of errors on opening files via file descriptor (see [#967](../../issues/967)) * fixed handling of...
Fix behavior of fake os.makedirs - use a similar implementation as the real fs - fixes #987 #### Tasks - [x] Unit tests added that reproduce the issue or prove feature is working - [x] Fix or feature added - [x] Entry to release notes added - [x] Pre-commit CI shows no errors - [x] Unit tests passing
Faked `os.makedirs` differs from the built-in `os.makedirs` and `mkdir -p` **Describe the bug** > This issue comes with some bonus cursed knowledge. `os.makedirs` and `mkdir -p` both do a "weird" thing when they create directory trees: ```console $ mkdir -p base/foo/../bar # ls base bar/ foo/ ``` That i...
pytest-dev/pyfakefs
diff --git a/pyfakefs/tests/fake_os_test.py b/pyfakefs/tests/fake_os_test.py index dc877dc..1c33097 100644 --- a/pyfakefs/tests/fake_os_test.py +++ b/pyfakefs/tests/fake_os_test.py @@ -1893,6 +1893,14 @@ class FakeOsModuleTest(FakeOsModuleTestBase): self.assert_raises_os_error(errno.ENOENT, self.os.makedirs, "...
[ "pyfakefs/tests/fake_os_test.py::FakeOsModuleTest::test_makedirs_with_relative_paths" ]
[ "pyfakefs/tests/fake_os_test.py::FakeOsModuleTest::test_access400", "pyfakefs/tests/fake_os_test.py::FakeOsModuleTest::test_access600", "pyfakefs/tests/fake_os_test.py::FakeOsModuleTest::test_access700", "pyfakefs/tests/fake_os_test.py::FakeOsModuleTest::test_access_non_existent_file", "pyfakefs/tests/fake_...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
cfd177ab59f2178f4902bc458c533939165b38db
2020-06-20 17:55:54
prime/primeintellect/kong-swrv:49-cfd177a
kong__swrv-49
Function: useSWRV<Data = any, Error = any>(key: IKey, fn?: fetcherFn<Data>, config?: IConfig) Location: src/use-swrv.ts Inputs: - **key**: IKey – a unique identifier for the request (string, array, or function returning a key). Required. - **fn**: fetcherFn<Data> (optional) – async function that fetches data for the gi...
ts
Apache-2.0
diff --git a/src/use-swrv.ts b/src/use-swrv.ts index c872697..8a30833 100644 --- a/src/use-swrv.ts +++ b/src/use-swrv.ts @@ -101,7 +101,7 @@ type StateRef<Data, Error> = { data: Data, error: Error, isValidating: boolean, /** * Stale-While-Revalidate hook to handle fetching, caching, validation, and more... */ -exp...
fix(fetcher) allow optional fetcher to not revalidate Fixes #48
Get last known state of data if there is no `fn` In the case, we want to share data between components. For example, there is an app config needs to be got from network when app is starting. ``` // in component App const { data: appConfig } = useSWRV('/app/config', configFetcher); .... // in component B const ...
Kong/swrv
diff --git a/tests/use-swrv.spec.tsx b/tests/use-swrv.spec.tsx index 0969cb8..a94cee6 100644 --- a/tests/use-swrv.spec.tsx +++ b/tests/use-swrv.spec.tsx @@ -228,6 +228,34 @@ describe('useSWRV', () => { done() }) + + it('should return cache when no fetcher provided', async done => { + let invoked = 0 + ...
[ "should return data on hydration when fetch is not a promise", "should return `undefined` on hydration", "should return data after hydration", "should return data from a promise", "should allow functions as key and reuse the cache", "should allow async fetcher functions", "should dedupe requests by defa...
[ "should fetch server-side" ]
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "corepack disable yarn", "npm install --prefer-offline --no-audit --quiet --legacy-peer-deps", "npm run build:esm", "npm run build:cjs" ], "log_parser": "parse_log_js_4", "test_cmd": "npm test -- --verbose --no-colors --testT...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
7e94dd79eee470892302dde265d56ce6210c7d22
2024-01-29 14:27:20
prime/primeintellect/hotmeteor-spectator:175-7e94dd7
hotmeteor__spectator-175
No new interfaces are introduced.
php
MIT
diff --git a/src/Validation/AbstractValidator.php b/src/Validation/AbstractValidator.php index 60d64c5..a980fea 100644 --- a/src/Validation/AbstractValidator.php +++ b/src/Validation/AbstractValidator.php @@ -16,195 +16,134 @@ abstract class AbstractValidator * @param string|null $mode Access mode 'read' or 'w...
Fix nullable and readonly/writeonly parsing `AbstractValidator::prepareData`has 2 objectives : - transform the `nullable:true` openapi 3.0 format to the openapi 3.1 format adding `"null"` to the types - remove readonly/writeonly properties depending on the context or preparation (request or response) Original code...
Nullable seems to fail? I suddenly get an error on code that has worked before. response->dump() returns the following 👍 `email_verified_at: string? <== The data (null) must match the type: string` This seems wrong to me.. the `string?` type clearly states the nullable attribute is set. The property is de...
hotmeteor/spectator
diff --git a/tests/Fixtures/AllOf.v1.yml b/tests/Fixtures/AllOf.v1.yml index 195d18f..d96e460 100644 --- a/tests/Fixtures/AllOf.v1.yml +++ b/tests/Fixtures/AllOf.v1.yml @@ -27,6 +27,29 @@ paths: - $ref: '#/components/schemas/Dog' discriminator: propertyName: pet_ty...
[ "Response Validator > Array of objects with nullable", "Response Validator > Nullable array of nullable strings with data set \"3.0, array with null\"", "Response Validator > Nullable array of nullable strings with data set \"3.0, array with int\"", "Response Validator > Handles allOf with nullable with data ...
[ "Assertions > Asserts invalid path", "Assertions > Fails asserts invalid path", "Assertions > Fails asserts invalid path without exception handling", "Assertions > Exception points to mixin method", "Assertions > Request assertion does not format laravel validation response errors when errors are not suppre...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=/tmp/composer", "mkdir -p $COMPOSER_HOME", "composer install --no-interaction --prefer-dist" ], "log_parser": "parse_log_phpunit", "test_cmd": "./vendor/bin/phpunit --colors=never --testdox" }
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
87cf55ca375cc5205d5a2ba53eaf46925002a9a9
2020-09-17 06:42:58
prime/primeintellect/decorators-squad-eo-yaml:404-87cf55c
decorators-squad__eo-yaml-404
Method: EmptyYamlMapping.<init>(final YamlMapping mapping) Location: src/main/java/com/amihaiemil/eoyaml/EmptyYamlMapping.java Inputs: <code>mapping</code> – the original <code>YamlMapping</code> whose comment is to be delegated. Must be non‑null. Outputs: Constructs a new <code>EmptyYamlMapping</code> instance t...
java
BSD-3-Clause
diff --git a/src/main/java/com/amihaiemil/eoyaml/EmptyYamlMapping.java b/src/main/java/com/amihaiemil/eoyaml/EmptyYamlMapping.java new file mode 100644 index 0000000..a59c837 --- /dev/null +++ b/src/main/java/com/amihaiemil/eoyaml/EmptyYamlMapping.java @@ -0,0 +1,42 @@ +package com.amihaiemil.eoyaml; + +import java.uti...
Handle empty mappings and sequences. This is another blocker. Was getting: - foo - {} Turned into: - foo - "{}" Fixes #383
Unable to read empty sequences or map You said in a previous closed issue that you didn't planned to parse json-like yaml. But, there is no other way of writing empty sequences or mappings … Is it possible to add support to this ? For example making [] and {} nodes converted to empty sequences and mappings ? Or do i...
decorators-squad/eo-yaml
diff --git a/src/test/java/com/amihaiemil/eoyaml/EmptyYamlMappingTest.java b/src/test/java/com/amihaiemil/eoyaml/EmptyYamlMappingTest.java new file mode 100644 index 0000000..2186dc1 --- /dev/null +++ b/src/test/java/com/amihaiemil/eoyaml/EmptyYamlMappingTest.java @@ -0,0 +1,97 @@ +/** + * Copyright (c) 2016-2020, Miha...
[ "com.amihaiemil.eoyaml.extensions.MergedYamlSequenceTest", "com.amihaiemil.eoyaml.extensions.MergedYamlMappingTest", "com.amihaiemil.eoyaml.YamlSequenceCommentsPrintTest", "com.amihaiemil.eoyaml.PlainStringScalarTest", "com.amihaiemil.eoyaml.BuiltFoldedBlockScalarTest", "com.amihaiemil.eoyaml.RtYamlPrinte...
[]
{ "base_image_name": "java_17", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
30a8c3317215a5b6525e9c514f5bc4f86d90629b
2022-11-12 01:14:49
prime/primeintellect/square-anvil:652-30a8c33
square__anvil-652
Method: ExampleMapKeyCreator.createExampleMapKey( stringValue: String, stringArrayValue: Array<String>, annotationValue: TestAnnotation, annotationArrayValue: Array<TestAnnotation>, enumValue: TestEnum, enumArrayValue: Array<TestEnum>, kClassValue: Class<out String>, kClassStarValue: Cla...
kotlin
Apache-2.0
diff --git a/compiler-utils/build.gradle b/compiler-utils/build.gradle index 427c5e4d2..8cac66d64 100644 --- a/compiler-utils/build.gradle +++ b/compiler-utils/build.gradle @@ -24,6 +24,10 @@ dependencies { testFixturesImplementation deps.junit testFixturesImplementation deps.truth + // Necessary because this ...
Resolves #651
FR: Generate MapKeyCreator classes in factory gen When using `@MapKey(unwrapValue = false)`, dagger generates creator classes for annotations that are consumed in components to create annotation instances. It would be useful to generate these in the signature Dagger expects as well. ```kotlin // Given this @MapKey...
square/anvil
diff --git a/compiler-utils/src/testFixtures/java/com/squareup/anvil/compiler/internal/testing/AnvilCompilation.kt b/compiler-utils/src/testFixtures/java/com/squareup/anvil/compiler/internal/testing/AnvilCompilation.kt index acb7fa7fd..063032026 100644 --- a/compiler-utils/src/testFixtures/java/com/squareup/anvil/compi...
[ "an annotation may have a dollar sign and be wrapped in backticks (com.squareup.anvil.compiler.internal.reference.AnnotationReferenceTest)", "an int annotation argument can be parsed (com.squareup.anvil.compiler.internal.reference.AnnotationReferenceTest)", "an enum as annotation argument can be parsed (com.squ...
[]
{ "base_image_name": "kotlin-jdk-11", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
0bb40ec7a02363aa015b3bfb4375440f550e4546
2024-07-23 20:26:41
prime/primeintellect/vapor-jwt-kit:177-0bb40ec
vapor__jwt-kit-177
Function: EdDSA.PrivateKey(d: String, curve: EdDSACurve) Location: Sources/JWTKit/EdDSA/EdDSA.swift Inputs: - d: Base64‑URL encoded string containing the private scalar (the “d” value) for the Ed25519 key. Must decode to non‑empty data; otherwise throws ``EdDSAError/privateKeyMissing``. - curve: ``EdDSACurve`` value id...
swift
MIT
diff --git a/Snippets/JWTKitExamples.swift b/Snippets/JWTKitExamples.swift index 87c9613c..dc89fb69 100644 --- a/Snippets/JWTKitExamples.swift +++ b/Snippets/JWTKitExamples.swift @@ -10,7 +10,7 @@ struct ExamplePayload: JWTPayload { var exp: ExpirationClaim var admin: BoolClaim - func verify(using key: s...
Fix #174
JWTKit 5.0.0-RC.1 support for Curve25519 types JWTKit's RC uses its own types to represent common cryptographic types, and then convert into Swift-Crypto types. It would be much more practical, especially when used with other libraries, to use the swift-crypto types themselves. This way we can plug in the private keys ...
vapor/jwt-kit
diff --git a/Tests/JWTKitTests/EdDSATests.swift b/Tests/JWTKitTests/EdDSATests.swift index aaef50b0..1629a086 100644 --- a/Tests/JWTKitTests/EdDSATests.swift +++ b/Tests/JWTKitTests/EdDSATests.swift @@ -20,7 +20,7 @@ final class EdDSATests: XCTestCase { func testEdDSAPublicPrivate() async throws { let key...
[ "ClaimTests.testBoolClaim", "ClaimTests.testExpirationEncoding", "ClaimTests.testLocaleClaim", "ClaimTests.testMultipleAudienceClaim", "ClaimTests.testSingleAudienceClaim", "ECDSATests.testECDSADocs", "ECDSATests.testECDSAFromCryptoKey", "ECDSATests.testECDSAGenerate", "ECDSATests.testECDSAPrivateFr...
[]
{ "base_image_name": "swift_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
5abb6219c8d9356fbf645f601fe9ea826b547ec3
2024-07-15 09:21:44
prime/primeintellect/theupdateframework-go-tuf:645-5abb621
theupdateframework__go-tuf-645
No new interfaces are introduced.
go
Apache-2.0
diff --git a/metadata/config/config.go b/metadata/config/config.go index 09c9b46..cd8cc98 100644 --- a/metadata/config/config.go +++ b/metadata/config/config.go @@ -57,7 +57,7 @@ func New(remoteURL string, rootBytes []byte) (*UpdaterConfig, error) { return &UpdaterConfig{ // TUF configuration - MaxRootRotations...
Increase the default value for MaxRootRotations The default value of 32 is quite small, it may break certain clients that are trying to do complete tuf refresh on a large TUF repo. Closes #644
I increase the default `MaxRootRotations` value for the updater config. The current default value is 32, which is quite small. For some scenarios where the repository is large, a refresh from the first root.json may fail. Note that clients *should* cache the metadata, to avoid large number of rotations which is ineffi...
theupdateframework/go-tuf
diff --git a/metadata/config/config_test.go b/metadata/config/config_test.go index be35a87..a5d4874 100644 --- a/metadata/config/config_test.go +++ b/metadata/config/config_test.go @@ -43,7 +43,7 @@ func TestNewUpdaterConfig(t *testing.T) { remoteURL: "somepath", rootBytes: []byte("somerootbytes"), config: ...
[ "TestNewUpdaterConfig", "TestNewUpdaterConfig/success" ]
[ "TestSetLogger", "TestGetLogger", "TestGenericRead", "TestGenericReadFromMismatchingRoles", "TestMDReadWriteFileExceptions", "TestCompareFromBytesFromFileToBytes", "TestRootReadWriteReadCompare", "TestSnapshotReadWriteReadCompare", "TestTargetsReadWriteReadCompare", "TestTimestampReadWriteReadComp...
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.21.0", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
1977a1bddfea405bd832be69c67a6bcf00fb309a
2025-03-01 20:19:52
prime/primeintellect/arrow-kt-arrow:3592-1977a1b
arrow-kt__arrow-3592
No new interfaces are introduced.
kotlin
custom-check-github
diff --git a/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/map.kt b/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/map.kt index a69da507e8c..6d05692bea1 100644 --- a/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/map.kt +++ b/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow...
Fixes #3591 The existing test covers monoid laws but does not verify delegation to the nested monoid's `combine` function, which is why the bug went unnoticed. This PR provides a property-based test that verifies the property of order-preservation when `Map.combine()` delegates. The test fails with the existing i...
[Bug] Map.combine() does not preserve order when delegating to the nested monoid operation This simple unit test demonstrates the issue: ```Kotlin @Test fun testArrowMapCombine() { val map1 = mapOf(1 to "A", 2 to "B") val map2 = mapOf(1 to "lpha", 2 to "eta") val result = map1.combine(...
arrow-kt/arrow
diff --git a/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/MapKTest.kt b/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/MapKTest.kt index 546b19991c5..e06b771a340 100644 --- a/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/MapKTest.kt +++ b/arrow-libs/core/arrow-core/src/commonTe...
[ "tryUpdateShouldFailToUpdateIfModificationHasOccurred()[jvm] (arrow.atomic.AtomicLongTest)", "getAndUpdateSuccessful()[jvm] (arrow.atomic.AtomicLongTest)", "concurrentModifications()[jvm] (arrow.atomic.AtomicLongTest)", "tryUpdateModificationOccursSuccessfully()[jvm] (arrow.atomic.AtomicLongTest)", "updateG...
[]
{ "base_image_name": "kotlin-jdk-21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
ab7989be08b9e175858f11e950820c38600f252d
2020-04-01 18:24:39
prime/primeintellect/diegoholiveira-jsonlogic:30-ab7989b
diegoholiveira__jsonlogic-30
Function: Apply(logic io.Reader, data io.Reader, out io.Writer) Location: jsonlogic.go (public entry point for evaluating a JSON Logic rule) Inputs: - logic – an io.Reader containing a JSON‑encoded rule (e.g., `{"\/":[0,10]}`) - data – an io.Reader containing the JSON data context (may be empty `{}`) - out – an ...
go
MIT
diff --git a/jsonlogic.go b/jsonlogic.go index 47bb10a..81e6f0c 100644 --- a/jsonlogic.go +++ b/jsonlogic.go @@ -279,14 +279,14 @@ func mult(values interface{}) interface{} { func div(values interface{}) interface{} { var sum float64 - for _, n := range values.([]interface{}) { - if sum == 0 { + for i, n := range...
Use the position of the number to identify the first number Closes #28
0 divided by any number returning denominator instead of 0 Here is the sample program to reproduce ``` package main import ( "bytes" "fmt" "strings" "github.com/diegoholiveira/jsonlogic" ) func main() { rule := `{"/":[0,10]}` logic := strings.NewReader(rule) data := strings.NewReader(`{}`) v...
diegoholiveira/jsonlogic
diff --git a/jsonlogic_test.go b/jsonlogic_test.go index 5ebbda4..1d4a644 100644 --- a/jsonlogic_test.go +++ b/jsonlogic_test.go @@ -468,3 +468,13 @@ func TestMissingOperators(t *testing.T) { assert.EqualError(t, err, "The operator \"sum\" is not supported") } + +func TestZeroDivision(t *testing.T) { + logic := st...
[ "TestZeroDivision" ]
[ "TestRulesFromJsonLogic/Scenario_0", "TestRulesFromJsonLogic/Scenario_1", "TestRulesFromJsonLogic/Scenario_2", "TestRulesFromJsonLogic/Scenario_3", "TestRulesFromJsonLogic/Scenario_4", "TestRulesFromJsonLogic/Scenario_5", "TestRulesFromJsonLogic/Scenario_6", "TestRulesFromJsonLogic/Scenario_7", "Tes...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
5c0809e70946fbaf16b0792c544e00babd1c9497
2020-12-19 02:11:26
prime/primeintellect/couds-react-bulma-components:293-5c0809e
couds__react-bulma-components-293
Function: Breadcrumb({ className?, renderAs?, separator?, size?, align?, style?, children?, ...props }) Location: src/components/breadcrumb/breadcrumb.js Inputs: - className (string, optional) – additional CSS classes for the root element. - renderAs (element type, optional, default 'nav') – element used for the bre...
js
MIT
diff --git a/src/components/breadcrumb/breadcrumb.js b/src/components/breadcrumb/breadcrumb.js index abce118..2a9f26a 100644 --- a/src/components/breadcrumb/breadcrumb.js +++ b/src/components/breadcrumb/breadcrumb.js @@ -1,18 +1,19 @@ import React from 'react'; import PropTypes from 'prop-types'; import classnames f...
Add Breadcrumb.Item component to replace Breadcrumb items prop Closes #290 Documentation for Breadcrumb will be updated in #289
Add Breadcrumb.Item and remove Breadcrumb items prop. **Describe the bug** Currently, `renderAs` prop affects the *items* of Breadcrumb instead of the component itself, which is not consistent with how it works on other components. Furthermore, props specified in the root component returned by the custom component pas...
couds/react-bulma-components
diff --git a/src/components/breadcrumb/__test__/__snapshots__/breadcrumb.test.js.snap b/src/components/breadcrumb/__test__/__snapshots__/breadcrumb.test.js.snap index d6ce432..1cb136b 100644 --- a/src/components/breadcrumb/__test__/__snapshots__/breadcrumb.test.js.snap +++ b/src/components/breadcrumb/__test__/__snapsho...
[ "Should be a Breadcrumb", "should use separator null", "should use separator arrow", "should use separator dot", "should use separator bullet", "should use separator succeeds", "Should use inline style and custom size", "should render <li>", "should have is-active class" ]
[ "Should exist", "Should have notification classname", "Should concat classname in props with Bulma classname", "Should use inline styles", "Should render as Section", "Should use use color null", "Should use use color primary", "Should use use color success", "Should use use color info", "Should u...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7ccdacf06c383f6ddaaa3039fb62c4f355d6e13b
2023-06-15 21:29:56
prime/primeintellect/ripple-explorer:746-7ccdacf
ripple__explorer-746
Function: summarizeTransaction(rawTx: object, includeDetails?: boolean) Location: src/rippled/lib/txSummary.ts Inputs: - **rawTx** – the raw transaction JSON object as received from the ledger. - **includeDetails** – optional boolean flag; when true the function includes a detailed `details` field in the returned su...
ts
MIT
diff --git a/src/containers/Transactions/SimpleTab.tsx b/src/containers/Transactions/SimpleTab.tsx index 11d70085..201f046d 100644 --- a/src/containers/Transactions/SimpleTab.tsx +++ b/src/containers/Transactions/SimpleTab.tsx @@ -49,9 +49,11 @@ export const SimpleTab: FC<{ data: any; width: number }> = ({ <Simp...
fix: sequence and account for UNLModify ## High Level Overview of Change The sequence was saying that it used a ticket and account was blank. Now Account will be hidden since it is blank. Fixes #477 ### Type of Change <!-- Please check relevant options, delete irrelevant ones. --> - [x] Bug fix (non-br...
`UNLModify` transactions show incorrect sequence and account Since account is not set for UNLModify we should hide the field also the sequence display incorrectly states that ticket 0 was used. ![UNLModify](https://user-images.githubusercontent.com/464895/204333916-de1c9f5a-5f41-4f1e-bc76-e4b2420789ce.png)
ripple/explorer
diff --git a/src/containers/shared/components/Transaction/UNLModify/test/UNLModifySimple.test.tsx b/src/containers/shared/components/Transaction/UNLModify/test/UNLModifySimple.test.tsx index ef440a9f..f3558c8e 100644 --- a/src/containers/shared/components/Transaction/UNLModify/test/UNLModifySimple.test.tsx +++ b/src/co...
[ "renders tx with correct account and sequence" ]
[ "renders main parts", "renders home", "renders ledger explorer page", "renders not found page", "renders ledger page", "renders transaction page", "renders transaction page with invalid hash", "renders transaction page with no hash", "renders account page for classic address", "renders account pag...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install --force" ], "log_parser": "parse_log_js_4", "test_cmd": "npx jest --env=jsdom --no-cache --runInBand --verbose --color=no" }
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
c1d4c5596db6445e45546e6040eb2fb44da165be
2020-05-30 15:47:41
prime/primeintellect/oragono-oragono:1087-c1d4c55
oragono__oragono-1087
Function: ArgsToStrings(maxLength int, arguments []string, delim string) []string Location: irc/utils/args.go Inputs: - maxLength: maximum allowed length of each output string (including delimiters). - arguments: slice of argument strings to be concatenated. - delim: delimiter to insert between arguments (e.g., ",")....
go
MIT
diff --git a/irc/utils/args.go b/irc/utils/args.go index 64475da1..ea3f0c96 100644 --- a/irc/utils/args.go +++ b/irc/utils/args.go @@ -35,7 +35,7 @@ func ArgsToStrings(maxLength int, arguments []string, delim string) []string { continue } - if len(buffer) > 1 { + if len(buffer) > 0 { buffer += delim }...
Fix issue with one-character args in ArgsToStrings. Resolves #1086.
ArgsToStrings misses delimiter with one-character args > MONITOR + a,b,c > :oragono.test 731 hi a,b,c > MONITOR L > :oragono.test 732 hi ab,c > :oragono.test 733 hi :End of MONITOR list > MONITOR S > :oragono.test 731 hi ab,c
oragono/oragono
diff --git a/irc/utils/args_test.go b/irc/utils/args_test.go index 5c84b26a..b846d122 100644 --- a/irc/utils/args_test.go +++ b/irc/utils/args_test.go @@ -5,6 +5,14 @@ package utils import "testing" +func TestArgsToStrings(t *testing.T) { + val := ArgsToStrings(512, []string{"a", "b", "c"}, ",") + assertEqual(val,...
[ "TestArgsToStrings" ]
[ "TestStringToBool", "TestSafeErrorParam", "TestSets", "TestConfirmation", "TestGenerateSecretToken", "TestTokenCompare", "TestMunging", "TestCertfpComparisons", "TestGlob", "TestMasks", "TestIsHostname", "TestIsServerName", "TestNormalizeToNet", "TestNormalizedNetToString", "TestNormaliz...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
55d8a990b5a15c7213dece9f412aa8f9085d0b97
2022-08-25 15:56:01
prime/primeintellect/config4k-config4k:146-55d8a99
config4k__config4k-146
No new interfaces are introduced.
kotlin
Apache-2.0
diff --git a/src/main/kotlin/io/github/config4k/Extension.kt b/src/main/kotlin/io/github/config4k/Extension.kt index defe908..e882e0e 100644 --- a/src/main/kotlin/io/github/config4k/Extension.kt +++ b/src/main/kotlin/io/github/config4k/Extension.kt @@ -6,6 +6,7 @@ import com.typesafe.config.ConfigFactory import io.git...
Fixes #100
`java.time.Duration` is not supported when toConfig **Describe the bug** ```kotlin import io.github.config4k.toConfig import java.time.Duration Duration.ofMinutes(1).toConfig("") ``` throw ``` io.github.config4k.Config4kException$UnSupportedType: type: java.time.Duration is not supported at io.github.con...
config4k/config4k
diff --git a/src/test/kotlin/io/github/config4k/TestArbitraryType.kt b/src/test/kotlin/io/github/config4k/TestArbitraryType.kt index 7ee4906..f03a3aa 100644 --- a/src/test/kotlin/io/github/config4k/TestArbitraryType.kt +++ b/src/test/kotlin/io/github/config4k/TestArbitraryType.kt @@ -2,6 +2,7 @@ package io.github.confi...
[ "io.github.config4k.TestToConfigForArbitraryType > DataWithDuration.toConfig should > io.github.config4k.TestToConfigForArbitraryType.return Config having DataWithDuration" ]
[ "io.github.config4k.TestArbitraryGenericType > Config.extract<PetPerson<Dog>> should > io.github.config4k.TestArbitraryGenericType.return PetPerson", "io.github.config4k.TestArbitraryGenericType > Config.extract<PetPerson<Yeti>> should > io.github.config4k.TestArbitraryGenericType.return PetPerson", "io.github....
{ "base_image_name": "kotlin-jdk-21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
6a88d238d735a87be13ff4be024fc7978ce40655
2023-10-27 18:21:25
prime/primeintellect/rstudio-vetiver-python:201-6a88d23
rstudio__vetiver-python-201
Function: vetiver_endpoint(url: str) -> str Location: vetiver.server Inputs: - **url** (str): the prediction endpoint URL; may include a trailing “/”. Outputs: - (str): the same URL with any trailing slash removed (default: `"http://127.0.0.1:8000/predict"`). Description: Normalizes a Vetiver prediction endpoint by s...
python
MIT
diff --git a/setup.cfg b/setup.cfg index ef3a541..62cd44f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ install_requires = nest-asyncio requests pins>=0.7.1 - rsconnect-python>=1.11.0 + rsconnect-python>=1.8.0 plotly pip-tools httpx diff --git a/vetiver/rsconnect.py b/veti...
[BUG] remove trailing backslash closes #194
handling trailing backslash on prediction endpoints Currently, on Posit Connect, if you add a trailing backslash-- `connectapi.com/myapi/predict/` rather than `connectapi.com/myapi/predict`-- you get a mysterious error: ```python ConnectionError: HTTPConnectionPool(host='xxx', port=000): Max retries exceeded with u...
rstudio/vetiver-python
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa4cec2..2c59f4b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,7 +63,6 @@ jobs: docker-compose up --build -d pip freeze > requirements.txt make dev - cat requirement...
[ "vetiver/tests/test_server.py::test_vetiver_endpoint" ]
[ "vetiver/tests/test_server.py::test_get_ping", "vetiver/tests/test_server.py::test_get_docs", "vetiver/tests/test_server.py::test_get_metadata", "vetiver/tests/test_server.py::test_get_prototype", "vetiver/tests/test_server.py::test_complex_prototype" ]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
9fb8650714b390c72f1db433efc2c4a8f9ffa9a3
2019-09-10 11:33:48
prime/primeintellect/graphhopper-graphhopper:1719-9fb8650
graphhopper__graphhopper-1719
Method: CHGraph.shortcut(self, int a, int b, int accessFlags, double weight, int skippedEdge1, int skippedEdge2) Location: com.graphhopper.storage.CHGraph (interface) Inputs: `a` and `b` – node IDs of the shortcut ends; `accessFlags` – direction flags (forward, backward, or both); `weight` – total weight (e.g., tim...
java
Apache-2.0
diff --git a/core/files/changelog.txt b/core/files/changelog.txt index c5caacc86..c14768100 100644 --- a/core/files/changelog.txt +++ b/core/files/changelog.txt @@ -20,6 +20,7 @@ removed GraphHopper.set/getTraversalMode() methods, #1705 edge-based CH is now chosen by default if it was prepared, #1706 it ...
Remove distances from CH shortcuts No longer store distances for CH shortcuts, they were not really used anyway. This reduces memory consumption per shortcut by four bytes (now `9*4=36 bytes` for node-based and `11*4=44 bytes` for edge-based CH). To retrieve the distance of a shortcut one can use `ShortcutUnpacker` an...
Remove the distance field from CH shortcuts Removing `dist` from the CH shortcuts saves some memory (10% per shortcut). Right now we do not really use the distances stored in the shortcuts anyway. For example during path calculation we already calculate the distance from the original edge distances.
graphhopper/graphhopper
diff --git a/core/src/test/java/com/graphhopper/routing/CHQueryWithTurnCostsTest.java b/core/src/test/java/com/graphhopper/routing/CHQueryWithTurnCostsTest.java index f04252164..2d0b7255f 100644 --- a/core/src/test/java/com/graphhopper/routing/CHQueryWithTurnCostsTest.java +++ b/core/src/test/java/com/graphhopper/routi...
[ "com.graphhopper.apache.commons.collections.IntDoubleBinaryHeapTest", "com.graphhopper.apache.commons.lang3.StringUtilsTest", "com.graphhopper.coll.OSMIDMapTest", "com.graphhopper.coll.CompressedArrayTest", "com.graphhopper.coll.GHTreeMapComposedTest", "com.graphhopper.coll.GHSortedCollectionTest", "com...
[ "com.graphhopper.util.AngleCalcTest", "com.graphhopper.util.DistanceCalcEarthTest", "com.graphhopper.util.FinishInstructionTest", "com.graphhopper.util.GHRequestTest", "com.graphhopper.util.GHResponseTest", "com.graphhopper.util.HelperTest", "com.graphhopper.util.InstructionTest", "com.graphhopper.uti...
{ "base_image_name": "java_17", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
db334b90864d9c2312906fa6fd297d46acdbb310
2023-07-04 18:59:35
prime/primeintellect/near-borsh-rs:177-db334b9
near__borsh-rs-177
Function: process_enum(input: &ItemEnum, cratename: Ident) -> syn::Result<TokenStream2> Location: borsh-schema-derive-internal/src/enum_schema.rs Inputs: - **input**: reference to a `syn::ItemEnum` representing the enum to derive a schema for. - **cratename**: `proc_macro2::Ident` that supplies the identifier of the `b...
rust
Apache-2.0
diff --git a/borsh-schema-derive-internal/src/enum_schema.rs b/borsh-schema-derive-internal/src/enum_schema.rs index 3392e302..f61fa9d7 100644 --- a/borsh-schema-derive-internal/src/enum_schema.rs +++ b/borsh-schema-derive-internal/src/enum_schema.rs @@ -5,7 +5,26 @@ use syn::{ ItemEnum, ItemStruct, Meta, Visibili...
fix: filter out foreign attributes in `BorshSchema` derive for enum Fixes #110
Schema does not clean unused attrs from cloned enum struct variants ```rust use borsh::{self, BorshSchema}; use serde::Serialize; #[derive(Serialize, BorshSchema)] enum A { #[serde(rename = "ab")] B { #[serde(rename = "abc")] c: (), }, } ``` Roughly expands into: ```rust ...
near/borsh-rs
diff --git a/borsh-schema-derive-internal/src/snapshots/borsh_schema_derive_internal__enum_schema__tests__filter_foreign_attrs.snap b/borsh-schema-derive-internal/src/snapshots/borsh_schema_derive_internal__enum_schema__tests__filter_foreign_attrs.snap new file mode 100644 index 00000000..00097475 --- /dev/null +++ b/b...
[ "enum_schema::tests::test_filter_foreign_attrs" ]
[ "de::hint::tests::test_cautious_u8", "de::array_deserialization_doesnt_leak", "test_to_writer", "test_array_zst", "test_custom_struct_array", "test_array_f32", "test_array_u8", "test_array_u32", "test_string_array", "test_array_u64", "test_array_u128", "test_array_i8", "test_array_array_u8",...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
fe99b20850ae18b9c9cb4b8d7aa0937e041a5ad1
2019-07-21 17:57:17
prime/primeintellect/formidablelabs-urql:348-fe99b20
formidablelabs__urql-348
No new interfaces are introduced.
ts
MIT
diff --git a/examples/1-getting-started/src/app/Home.tsx b/examples/1-getting-started/src/app/Home.tsx index 73e76995..d37c959b 100644 --- a/examples/1-getting-started/src/app/Home.tsx +++ b/examples/1-getting-started/src/app/Home.tsx @@ -46,6 +46,8 @@ export const Home: FC = () => { ); }; +Home.displayName = 'Ho...
Fix bounds checking of HTTP status codes in fetchExchange Fixes #341.
Bug in fetch HTTP status code handling Hi! This is purely static analysis, so forgive me if I'm misunderstanding: https://github.com/FormidableLabs/urql/blob/25f4b96d6a510ade43eb4839ab595fc65e8a716a/src/exchanges/fetch.ts#L136-L142 Shouldn't L139 be checking `response.status >= statusRangeEnd`, not `>`? It'd be str...
FormidableLabs/urql
diff --git a/src/exchanges/__snapshots__/fetch.test.ts.snap b/src/exchanges/__snapshots__/fetch.test.ts.snap index 13a0174b..fa96ef54 100644 --- a/src/exchanges/__snapshots__/fetch.test.ts.snap +++ b/src/exchanges/__snapshots__/fetch.test.ts.snap @@ -131,6 +131,147 @@ Object { } `; +exports[`on error returns error ...
[ "returns error data with status 400 and manual redirect mode" ]
[ "returns the first exchange if it is the only input", "composes exchanges correctly", "returns consistent hashes for DocumentNodes", "guesses the same hash for similar DocumentNodes", "guesses the same hash for unnamed but similar DocumentNodes", "warns about different queries having identical names", "...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install -g yarn --force", "yarn install --frozen-lockfile --silent" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn test --verbose --silent" }
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
7d0745812a0afe236ac881f9722fe93805cc8379
2024-11-30 16:20:24
prime/primeintellect/matejkob-swift-spyable:130-7d07458
matejkob__swift-spyable-130
Method: ServiceProtocolSpy.__init__(self) Location: In the generated spy class `ServiceProtocolSpy` for a protocol, a public (or matching) initializer with no parameters is added. Inputs: None (parameter‑less initializer). The initializer is declared with the same access level as the protocol (public, package, internal...
swift
MIT
diff --git a/Examples/Sources/AccessLevels.swift b/Examples/Sources/AccessLevels.swift new file mode 100644 index 0000000..de85dd5 --- /dev/null +++ b/Examples/Sources/AccessLevels.swift @@ -0,0 +1,146 @@ +import Spyable + +// MARK: - Open + +// Only classes and overridable class members can be declared 'open'. + +// M...
**This PR introduces access level inheritance for generated spies.** #### **Key Changes** Generated spies now inherit the protocol’s access control (`public`, `package`, `internal`, `private`, and `fileprivate`). For `private` protocols, spies are generated with `fileprivate` access to meet Swift’s requirements. ...
Use protocol's access control on the spy's declaration **Is your feature request related to a problem? Please describe.** If you use the macro on a public protocol declaration from module A and you have a unit test in another module that you'd like to use the protocol spy from module A, you don't have visibility to th...
Matejkob/swift-spyable
diff --git a/Tests/SpyableMacroTests/Factories/UT_SpyFactory.swift b/Tests/SpyableMacroTests/Factories/UT_SpyFactory.swift index 5194adf..687d14c 100644 --- a/Tests/SpyableMacroTests/Factories/UT_SpyFactory.swift +++ b/Tests/SpyableMacroTests/Factories/UT_SpyFactory.swift @@ -10,6 +10,8 @@ final class UT_SpyFactory: XC...
[ "UT_SpyFactory.testDeclaration", "UT_SpyFactory.testDeclarationArguments", "UT_SpyFactory.testDeclarationAssociatedtype", "UT_SpyFactory.testDeclarationAssociatedtypeKeyValue", "UT_SpyFactory.testDeclarationAsync", "UT_SpyFactory.testDeclarationClosureVariable", "UT_SpyFactory.testDeclarationEmptyProtoc...
[ "UT_CalledFactory.testVariableDeclaration", "UT_CallsCountFactory.testIncrementVariableExpression", "UT_CallsCountFactory.testVariableDeclaration", "UT_ClosureFactory.testCallExpression", "UT_ClosureFactory.testCallExpressionArguments", "UT_ClosureFactory.testCallExpressionAsync", "UT_ClosureFactory.tes...
{ "base_image_name": "swift_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
d564bd286fe258f25fc3222c4cdf4eb18bb1da5d
2021-12-02 11:36:20
prime/primeintellect/alecthomas-kong:245-d564bd2
alecthomas__kong-245
No new interfaces are introduced.
go
MIT
diff --git a/model.go b/model.go index bc7f37e..2c2991f 100644 --- a/model.go +++ b/model.go @@ -400,21 +400,24 @@ func (f *Flag) FormatPlaceHolder() string { if f.Value.IsSlice() && f.Value.Tag.Sep != -1 { tail += string(f.Value.Tag.Sep) + "..." } + if f.PlaceHolder != "" { + return f.PlaceHolder + tail + } ...
Fix that default should not override the placeholder Fixes #243.
Specifying default overrides placeholder I have: ``` var CLI struct { Changelog string `short:"f" placeholder:"PATH" default:"CHANGELOG.md" help:"Path to the changelog file to use."` } ``` The help message is: ``` -f, --changelog="CHANGELOG.md" Path to the changelog file to use. ``` I would expect...
alecthomas/kong
diff --git a/model_test.go b/model_test.go index 0edd1b3..1296f3d 100644 --- a/model_test.go +++ b/model_test.go @@ -32,6 +32,7 @@ func TestFlagString(t *testing.T) { DefaultInt int `default:"42"` DefaultStr string `default:"hello"` Placeholder string `placeholder:"worl...
[ "TestFlagString" ]
[ "TestApplyDefaults", "TestApplyDefaults/DefaultsWhenNotSet", "TestApplyDefaults/PartiallySetDefaults", "TestParseHandlingBadBuild", "TestInterpolate", "TestOptions", "TestBindTo", "TestBindToProvider", "TestScannerTake", "TestScannerPeek", "TestConfigFlag", "TestVersionFlag", "TestMultipleCo...
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.21.0", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
52b514e3d7c32a4269a9f0174bcba72fbf192cac
2025-04-21 18:02:37
prime/primeintellect/openmdao-openmdao:3516-52b514e
openmdao__openmdao-3516
No new interfaces are introduced.
python
custom-check-github
diff --git a/openmdao/drivers/pyoptsparse_driver.py b/openmdao/drivers/pyoptsparse_driver.py index ed8d93199..9f11b6ff2 100644 --- a/openmdao/drivers/pyoptsparse_driver.py +++ b/openmdao/drivers/pyoptsparse_driver.py @@ -191,7 +191,7 @@ class pyOptSparseDriver(Driver): """ if pyoptsparse is None: ...
`pyOptSparseDriver` will now raise an `ImportError` instead of a `RuntimeError` if `pyoptsparse` is not installed. ### Summary `pyOptSparseDriver` will now raise an `ImportError` instead of a `RuntimeError` if `pyoptsparse` is not installed. ### Related Issues - Resolves #3510 ### Backwards incompatibilitie...
When pyoptsparse isn't installed, a RuntimeError is raised instead of an ImportError. ### Desired capability or behavior. When the pyOptSparseDriver detects that pyOptSparse has not been installed, it raises a RuntimeError: if pyoptsparse is None: # pyoptsparse is not installed raise R...
OpenMDAO/OpenMDAO
diff --git a/openmdao/drivers/tests/test_pyoptsparse_driver.py b/openmdao/drivers/tests/test_pyoptsparse_driver.py index 358e28e34..02690b2c1 100644 --- a/openmdao/drivers/tests/test_pyoptsparse_driver.py +++ b/openmdao/drivers/tests/test_pyoptsparse_driver.py @@ -157,7 +157,7 @@ class TestNotInstalled(unittest.TestCas...
[ "openmdao/drivers/tests/test_pyoptsparse_driver.py::TestNotInstalled::test_pyoptsparse_not_installed" ]
[]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
11496a6058e0cb43d6ca774e268c118a584ddd0a
2025-05-13 21:38:29
prime/primeintellect/orchestr7-ktoml:322-11496a6
orchestr7__ktoml-322
Class: TomlWritingException(message: String) Location: com.akuleshov7.ktoml.exceptions Inputs: `message` – a descriptive error string that explains why the encoding failed (e.g., attempting to serialize a plain list or primitive value without an associated key/name). Outputs: An instance of `TomlWritingException`, whic...
kotlin
MIT
diff --git a/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/encoders/TomlAbstractEncoder.kt b/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/encoders/TomlAbstractEncoder.kt index 53dbc873..1678b5d4 100644 --- a/ktoml-core/src/commonMain/kotlin/com/akuleshov7/ktoml/encoders/TomlAbstractEncoder.kt +++ b/kto...
### What’s done: - Improved error handling: previously, users encountered vague "Internal error" messages. These have been replaced with clear logging and meaningful exceptions to improve debugging and transparency. - Significantly expanded test coverage to ensure more robust and reliable behavior.
Can't parse simple toml with List I have the next code: ``` import com.akuleshov7.ktoml.Toml import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import kotlinx.serialization.serializer @Serializable data class Foo(val x: List<Bar>) @Serializable data class Bar(val v: Int) ...
orchestr7/ktoml
diff --git a/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ArrayOfTablesDecoderTest.kt b/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ArrayOfTablesDecoderTest.kt index cd6885af..91aba005 100644 --- a/ktoml-core/src/commonTest/kotlin/com/akuleshov7/ktoml/decoders/ArrayOfTablesDecoderTe...
[ "testDecodingWithCustomSerializerSingleProperty[js, node] (com.akuleshov7.ktoml.decoders.CustomSerializerTest)", "decodeByte[js, node] (com.akuleshov7.ktoml.decoders.PrimitivesDecoderTest)", "decodeByteFailure[js, node] (com.akuleshov7.ktoml.decoders.PrimitivesDecoderTest)", "decodeChar[js, node] (com.akulesh...
[]
{ "base_image_name": "kotlin-jdk-21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2b8de28c41bb2b22a5bda71c7d8a0f0a1422c098
2023-02-16 01:46:55
prime/primeintellect/capricorn86-happy-dom:758-2b8de28
capricorn86__happy-dom-758
No new interfaces are introduced.
ts
MIT
diff --git a/packages/happy-dom/src/query-selector/SelectorItem.ts b/packages/happy-dom/src/query-selector/SelectorItem.ts index cca4cb5c..4e95ad99 100644 --- a/packages/happy-dom/src/query-selector/SelectorItem.ts +++ b/packages/happy-dom/src/query-selector/SelectorItem.ts @@ -125,12 +125,20 @@ export default class Se...
#753@patch: Pseudo `not` should match element fix #753
`:not()` pseudo class doesn't consider element type **Describe the bug** `:not(element)` selector doesn't consider provided element type when matching nodes. **To Reproduce** The following reproduction test is currently failing in happy-dom. ```js it('Returns all elements matching "[tabindex]:not(textarea)".', (...
capricorn86/happy-dom
diff --git a/packages/happy-dom/test/query-selector/QuerySelector.test.ts b/packages/happy-dom/test/query-selector/QuerySelector.test.ts index 0adf0de4..9f1dd914 100644 --- a/packages/happy-dom/test/query-selector/QuerySelector.test.ts +++ b/packages/happy-dom/test/query-selector/QuerySelector.test.ts @@ -486,6 +486,18...
[ "Returns all elements matching \"[tabindex]:not(textarea)\"." ]
[ "Returns `[object HTMLDialogElement]`", "Should be closed by default", "Should be open when show has been called", "Should be open when showModal has been called", "Should be empty string by default", "Should be set when close has been called with a return value", "Should be possible to set manually", ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci", "npm run compile" ], "log_parser": "parse_log_js_4", "test_cmd": "cd packages/happy-dom && npm run test -- --verbose --no-colors" }
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
be73a203c92049ef85eb261bdf5e8eb1b0757313
2024-03-15 15:49:12
prime/primeintellect/maxgraph-maxgraph:359-be73a20
maxgraph__maxgraph-359
No new interfaces are introduced.
ts
Apache-2.0
diff --git a/package-lock.json b/package-lock.json index eb856e2e7..37c96db2f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12902,9 +12902,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redir...
fix: import mxGraph XML including mxGeometry.offset mxPoint Also add tests to confirm that the maxGraph format correctly import/export Geometry.offset. Closes #356
Older versions of mxPoint do not decode successfully The codec registration method is compatible with mxCell, mxGeometry, and mxGraphModel, but is not compatible with mxPoint. // mxGraph support CodecRegistry.addAlias('mxGraphModel', 'GraphDataModel'); CodecRegistry.register(new mxCellCodec(), fa...
maxGraph/maxGraph
diff --git a/packages/core/__tests__/serialization/serialization.xml.mxGraph.test.ts b/packages/core/__tests__/serialization/serialization.xml.mxGraph.test.ts index 4c0929780..18829e58a 100644 --- a/packages/core/__tests__/serialization/serialization.xml.mxGraph.test.ts +++ b/packages/core/__tests__/serialization/seria...
[ "Model with geometry" ]
[ "Model with style", "from https://github.com/maxGraph/maxGraph/issues/221", "Check the content of an empty GraphDataModel", "Import then export - expect the same xml content", "only use GraphDataModel", "use Graph - was failing in issue 178", "empty model exported as pretty XML", "empty model exported...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci" ], "log_parser": "parse_log_js_4", "test_cmd": "npm test -w packages/core -- --verbose --no-colors" }
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
fe6c756f0ef981a9efe39f8cc17306b667744ebf
2023-07-16 17:28:35
prime/primeintellect/pyvrp-pyvrp:280-fe6c756
pyvrp__pyvrp-280
Method: GeneticAlgorithmParams.__init__(self, repair_probability: float, intensify_probability: float, intensify_on_best: bool, nb_iter_no_improvement: int) Location: pyvrp/GeneticAlgorithm.py Inputs: - repair_probability (float): probability of applying the repair operator; must be in [0, 1]. - intensify_probability (...
python
MIT
diff --git a/configs/cvrp.toml b/configs/cvrp.toml index 4685819..cc59cce 100644 --- a/configs/cvrp.toml +++ b/configs/cvrp.toml @@ -20,7 +20,6 @@ route_ops = [ [genetic] -collect_statistics = false repair_probability = 0.50 intensify_probability = 1.00 intensify_on_best = false diff --git a/configs/vrptw.toml ...
Collect statistics by default This PR: - [x] Closes #278. - [ ] Adds and passes relevant tests. - [x] Has well-formatted code and documentation. <details> **Notes**: - It is essential that you add a test when making code changes. This keeps the code coverage level up, and helps ensure the changes work as intended...
Should we collect statistics by default? Issues based on the other PR linked from below [@leonlan]. Right now we do not collect statistics by default, citing performance reasons. Have we actually checked whether it matters? If it doesn't I think we should collect statistics by default, since they are useful to have. ...
PyVRP/PyVRP
diff --git a/pyvrp/plotting/tests/test_plotting.py b/pyvrp/plotting/tests/test_plotting.py index 659e67b..504cbb8 100644 --- a/pyvrp/plotting/tests/test_plotting.py +++ b/pyvrp/plotting/tests/test_plotting.py @@ -1,5 +1,4 @@ from matplotlib.testing.decorators import image_comparison as img_comp -from numpy.testing imp...
[ "pyvrp/tests/test_GeneticAlgorithm.py::test_params_constructor_throws_when_arguments_invalid[0.0-0.5-True--1]", "pyvrp/tests/test_GeneticAlgorithm.py::test_params_constructor_throws_when_arguments_invalid[0.0--0.25-True-1]", "pyvrp/tests/test_GeneticAlgorithm.py::test_params_constructor_throws_when_arguments_in...
[ "pyvrp/plotting/tests/test_plotting.py::test_plot_solution[png]", "pyvrp/plotting/tests/test_plotting.py::test_plot_result[png]", "pyvrp/plotting/tests/test_plotting.py::test_plot_instance[png]", "pyvrp/plotting/tests/test_plotting.py::test_plot_route_schedule[png]", "pyvrp/tests/test_GeneticAlgorithm.py::t...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
117232ac0986d3768e6ad0d394d596d116f48db7
2016-07-13 14:31:46
prime/primeintellect/raml-org-raml-java-parser:155-117232a
raml-org__raml-java-parser-155
Method: BaseGrammar.exclusiveKeys(String... keys) Location: raml-parser-2/src/main/java/org/raml/v2/internal/impl/commons/grammar/BaseGrammar.java Inputs: varargs of key names (String) that must be mutually exclusive. Outputs: an ExclusiveKeys instance containing the provided keys. Description: Creates a rule object re...
java
custom-check-github
diff --git a/raml-parser-2/src/main/java/org/raml/v2/internal/impl/commons/grammar/BaseRamlGrammar.java b/raml-parser-2/src/main/java/org/raml/v2/internal/impl/commons/grammar/BaseRamlGrammar.java index 48f9651b..73723eae 100644 --- a/raml-parser-2/src/main/java/org/raml/v2/internal/impl/commons/grammar/BaseRamlGrammar...
Fixes #131: Types and schemas are mutually exclusive
[TCK] TC025 Types- Types and schemas are mutually exclusive ```yaml #%RAML 1.0 title: Types 002. version: v1 baseUri: https://example.com/raml types: Player1: | { "type": "object", "properties": [ { "name": "string" } ] } schemas: Playe...
raml-org/raml-java-parser
diff --git a/raml-parser-2/src/test/resources/org/raml/v2/parser/exclusive-fields/empty-queryString-queryParameters/input.raml b/raml-parser-2/src/test/resources/org/raml/v2/parser/exclusive-fields/empty-queryString-queryParameters/input.raml new file mode 100644 index 00000000..1124edb0 --- /dev/null +++ b/raml-parser...
[ "org.raml.v2.parser.RamlBuilderTestCase", "---NO TEST NAME FOUND YET---" ]
[ "org.raml.v2.api.ApiModelParserTestCase", "org.raml.v2.api.SpecInterfacesV08TestCase", "org.raml.v2.api.LibraryTestCase", "org.raml.v2.api.SpecInterfacesV10TestCase", "org.raml.v2.api.OdataV10TestCase", "org.raml.v2.api.LeaguesV10TestCase", "org.raml.v2.internal.framework.suggester.SuggesterTestCase", ...
{ "base_image_name": "java_11", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
3c7f8222da19f0b87deee6248e64c3cf0fb435bd
2023-02-17 08:38:29
prime/primeintellect/sql-formatter-org-sql-formatter:565-3c7f822
sql-formatter-org__sql-formatter-565
No new interfaces are introduced.
ts
MIT
diff --git a/src/languages/bigquery/bigquery.formatter.ts b/src/languages/bigquery/bigquery.formatter.ts index ab0c8ac2..bd69ae7f 100644 --- a/src/languages/bigquery/bigquery.formatter.ts +++ b/src/languages/bigquery/bigquery.formatter.ts @@ -150,6 +150,8 @@ const reservedPhrases = expandPhrases([ 'NOT DETERMINISTIC...
Format IS [NOT] DISTINCT FROM operator Fixes #564
[FORMATTING] newline after FROM and NULL in IS DISTINCT FROM NULL **Input data** Which SQL and options did you provide as input? ```sql SELECT table1.id FROM table1 LEFT OUTER JOIN table2 ON table2.table1_id = table1.id WHERE NOT (COALESCE(interview_stage.* IS DISTINCT FROM NULL, FALSE)) ``` **Expected Out...
sql-formatter-org/sql-formatter
diff --git a/test/bigquery.test.ts b/test/bigquery.test.ts index 1976d68d..857181df 100644 --- a/test/bigquery.test.ts +++ b/test/bigquery.test.ts @@ -23,6 +23,7 @@ import supportsTruncateTable from './features/truncateTable.js'; import supportsMergeInto from './features/mergeInto.js'; import supportsCreateView from ...
[ "formats IS [NOT] DISTINCT FROM operator" ]
[ "returns single item when no [optional blocks] found", "expands expression with one [optional block] at the end", "expands expression with one [optional block] at the middle", "expands expression with one [optional block] at the start", "expands multiple [optional] [blocks]", "expands expression with opti...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "yarn install --ignore-scripts --frozen-lockfile --quiet", "yarn grammar --silent" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn jest --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
6a7dd98e9639d7e3b6ab3d67a2c065d7f6309b92
2021-06-10 14:07:08
prime/primeintellect/mondeja-mkdocs-include-markdown-plugin:53-6a7dd98
mondeja__mkdocs-include-markdown-plugin-53
No new interfaces are introduced.
python
Apache-2.0
diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 4a3b4f0..8ad3c10 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.1.0 +current_version = 3.1.1 [bumpversion:file:mkdocs_include_markdown_plugin/__init__.py] diff --git a/mkdocs_include_markdown_plugin/__i...
Make heading-offset cumulative over nested inclusions Closes #52
Make heading-offset cumulative over nested inclusions Use case is: **File A.md**: ```# A``` **File B.md**: ```# B``` **File C.md**: ``` #C {% include-markdown "./A.md" heading-offset=1 %} {% include-markdown "./B.md" heading-offset=1 %} ``` which is already rendered as following: # C ...
mondeja/mkdocs-include-markdown-plugin
diff --git a/tests/test_nested_includes.py b/tests/test_nested_includes.py index 18bdb54..b141cef 100644 --- a/tests/test_nested_includes.py +++ b/tests/test_nested_includes.py @@ -114,11 +114,44 @@ Some test from final included. ''', id='includer -> file -> markdown', ), + + # cumulative_...
[ "tests/test_nested_includes.py::test_nested_include[cumulative_heading_offset]" ]
[ "tests/test_nested_includes.py::test_nested_include[includer", "tests/test_nested_includes.py::test_nested_include_relpath" ]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
8e9bb8673e6c138bf37fe8e487532bca2270ee10
2020-11-28 03:56:11
prime/primeintellect/absinthe-graphql-absinthe:998-8e9bb86
absinthe-graphql__absinthe-998
Function: render_default_value(schema, adapter, field, value) Location: lib/absinthe/type/built_ins/introspection.ex Inputs: - **schema** – the Absinthe.Schema where the type is defined. - **adapter** – an Absinthe.Adapter implementation used for value serialization. - **field** – an %Absinthe.Type.InputValue{} de...
elixir
custom-check-github
diff --git a/lib/absinthe/type/built_ins/introspection.ex b/lib/absinthe/type/built_ins/introspection.ex index 837ca30e..3d3c9953 100644 --- a/lib/absinthe/type/built_ins/introspection.ex +++ b/lib/absinthe/type/built_ins/introspection.ex @@ -353,7 +353,9 @@ defmodule Absinthe.Type.BuiltIns.Introspection do case A...
Fix partial default value input type This PR fixes the default value rendering in cases when the default value contains just a subset of all the fields of an input type. Fixes #939
Introspection query breaks in the presence of query filters with default value ### Environment * Elixir version (elixir -v): ```bash Erlang/OTP 22 [erts-10.5] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] Elixir 1.9.4 (compiled with Erlang/OTP 20) ``` * Absinthe version (mix deps | grep absinthe): `1.5.1` ...
absinthe-graphql/absinthe
diff --git a/test/absinthe/introspection_test.exs b/test/absinthe/introspection_test.exs index d58e93a8..bdbefdfa 100644 --- a/test/absinthe/introspection_test.exs +++ b/test/absinthe/introspection_test.exs @@ -545,4 +545,36 @@ defmodule Absinthe.IntrospectionTest do result ) end + + test "properly rend...
[ "properly render partial default value input objects" ]
[ "scenario #1", "Valid non-nullable value No Arg on optional arg", "Invalid input object value Partial object, unknown field arg without suggestion", "Valid List value Empty list value", "Invalid List value Incorrect item type", "Valid input object value Partial object, including required", "Valid input ...
{ "base_image_name": "elixir_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
20c09bd4fed037fa3df6f2a6a1e717b01be89f11
2021-07-24 16:22:18
prime/primeintellect/rust-itertools-itertools:565-20c09bd
rust-itertools__itertools-565
Method: Itertools::multiunzip(self) -> FromI Location: impl<T: ?Sized> Itertools for T where T: Iterator Inputs: - `self`: an iterator that yields tuple items (e.g., `(A, B, C, …)`). The iterator must implement the `MultiUnzip<FromI>` trait for the desired output tuple type `FromI`. - Generic `FromI` is the tuple of...
rust
Apache-2.0
diff --git a/src/lib.rs b/src/lib.rs index 7dd6241..96600f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -179,6 +179,7 @@ pub use crate::repeatn::repeat_n; #[allow(deprecated)] pub use crate::sources::{repeat_call, unfold, iterate}; pub use crate::with_position::Position; +pub use crate::unziptuple::{multiunzip, Mult...
Implement `Itertools::multiunzip` Simple implementation of [Iterator::unzip](https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.unzip) but for tuples of sizes 0-12. This requires adding a new public trait to be able to express the dependency between the iterator item tuple to the collection output tuple. ...
multizip equivalent for unzip It would be nice to have something similar to `izip!`/`multizip` for `unzip`, e.g. `A, B, C, D, A, B, C, D, ...` -> `([A, A, A, [...], B, B, B, [...], [...])`
rust-itertools/itertools
diff --git a/tests/test_std.rs b/tests/test_std.rs index 7cda9b5..1cac30d 100644 --- a/tests/test_std.rs +++ b/tests/test_std.rs @@ -1080,3 +1080,12 @@ fn exactly_one_question_mark_return() -> Result<(), ExactlyOneError<std::slice:: [].iter().exactly_one()?; Ok(()) } + +#[test] +fn multiunzip() { + let (a...
[ "combinations_no_collect", "combinations_with_replacement_no_collect", "permutations_no_collect", "flatten_ok_collect_mixed_forward", "flatten_ok_collect_mixed_reverse", "flatten_ok_collect_ok_forward", "flatten_ok_collect_ok_reverse", "flatten_ok_mixed_expected_forward", "flatten_ok_mixed_expected_...
[]
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
1d92ad28c793a887b790d3dc5b0ce4f7ed9f322e
2023-02-01 17:30:50
prime/primeintellect/gavv-httpexpect:266-1d92ad2
gavv__httpexpect-266
No new interfaces are introduced.
go
MIT
diff --git a/response.go b/response.go index 9f9d1b9..59f495d 100644 --- a/response.go +++ b/response.go @@ -28,10 +28,20 @@ type Response struct { websocket *websocket.Conn rtt *time.Duration - content []byte + content []byte + contentState contentState + cookies []*http.Cookie } +type contentSta...
Add lazy reading of response body Fixes #244
Lazy reading of response body Currently, response body is read entirely and closed inside Response constructor. This prevents Response to work with stream responses, e.g. SSE. To fix this, Response should not read entire body in constructor, but instead read it only on demand when it's needed first time, e.g. when t...
gavv/httpexpect
diff --git a/body_wrapper_test.go b/body_wrapper_test.go index 99749a4..cc4af35 100644 --- a/body_wrapper_test.go +++ b/body_wrapper_test.go @@ -11,9 +11,9 @@ import ( func TestBodyWrapper_Rewind(t *testing.T) { body := newMockBody("test_body") - cancelled := false + cancelCount := 0 cancelFn := func() { - canc...
[ "TestArray_FailedChain", "TestArray_FailedChain/failed_chain", "TestArray_FailedChain/nil_value", "TestArray_FailedChain/failed_chain_nil_value", "TestArray_Constructors", "TestArray_Constructors/reporter", "TestArray_Constructors/config", "TestArray_Constructors/chain", "TestArray_Decode", "TestA...
[]
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
045b189a282f5165426b841e9e3b16b2739d3837
2022-10-21 09:36:43
prime/primeintellect/kubernetes-client-python:1933-045b189
kubernetes-client__python-1933
No new interfaces are introduced.
python
Apache-2.0
diff --git a/kubernetes/base/config/kube_config.py b/kubernetes/base/config/kube_config.py index a62df4105..d8c63a826 100644 --- a/kubernetes/base/config/kube_config.py +++ b/kubernetes/base/config/kube_config.py @@ -567,6 +567,8 @@ class KubeConfigLoader(object): temp_file_path=self._temp_file...
Adds support for custom Server Name Indication (SNI) #### What type of PR is this? /kind bug #### What this PR does / why we need it: This PR adds support for custom SNI values. If `tls-server-name` is set in kubeconfig, the client did not use it resulting in SSL/TLS errors if the property is required to connect...
Client doesn't honor tls-server-name setting in kubeconfig **What happened (please include outputs or screenshots)**: Tried to connect to my cluster with a utility that uses your library. As far as I can tell, the utility's code is correct and the k8s-client python code does not honor the tls-server-name and propaga...
kubernetes-client/python
diff --git a/kubernetes/base/config/kube_config_test.py b/kubernetes/base/config/kube_config_test.py index da0d2f35c..b41549203 100644 --- a/kubernetes/base/config/kube_config_test.py +++ b/kubernetes/base/config/kube_config_test.py @@ -102,7 +102,7 @@ TEST_CLIENT_KEY = "client-key" TEST_CLIENT_KEY_BASE64 = _base64(TE...
[ "kubernetes/base/config/kube_config_test.py::TestKubeConfigLoader::test_tls_server_name" ]
[ "kubernetes/base/config/kube_config_test.py::TestFileOrData::test_create_temp_file_with_content", "kubernetes/base/config/kube_config_test.py::TestFileOrData::test_data_given_data", "kubernetes/base/config/kube_config_test.py::TestFileOrData::test_data_given_file", "kubernetes/base/config/kube_config_test.py:...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
40a39628cd2cb9e907d5e052d9d186838c70659e
2020-06-12 20:15:00
prime/primeintellect/stoplightio-spectral:1227-40a3962
stoplightio__spectral-1227
No new interfaces are introduced.
ts
Apache-2.0
diff --git a/docs/reference/openapi-rules.md b/docs/reference/openapi-rules.md index 684e91d2..bfba0c70 100644 --- a/docs/reference/openapi-rules.md +++ b/docs/reference/openapi-rules.md @@ -81,10 +81,10 @@ Operation parameters are unique and non-repeating. Path parameters are correct and valid. -1. for every para...
fix: check against valid operations before checking parameters exist. Fixes #1187. **Checklist** - [X] Tests added / updated - [x] Docs added / updated **Does this PR introduce a breaking change?** - [ ] Yes - [x] No > If indicated yes above, please describe the breaking change(s). > > **Remove this ...
Path Params being applied to more than http operations **Describe the bug** the `path-params` rule is being applied to more than just http operations defined under a path. **To Reproduce** ``` openapi: 3.0.1 paths: /hello/{id}: x-dont-path-param-me: hello get: tags: - metadata ...
stoplightio/spectral
diff --git a/src/rulesets/oas/functions/__tests__/oasPathParam.test.ts b/src/rulesets/oas/functions/__tests__/oasPathParam.test.ts index 53261b10..226d4524 100644 --- a/src/rulesets/oas/functions/__tests__/oasPathParam.test.ts +++ b/src/rulesets/oas/functions/__tests__/oasPathParam.test.ts @@ -121,6 +121,18 @@ describe...
[ "No errors if operation is a not a standard HTTP operation." ]
[ "will pass when simple example is valid", "will ignore when not in body", "will fail when simple example is invalid", "will pass when complex example is used", "will error with totally invalid input", "will pass for valid parents examples which contain invalid child examples", "will not fail if an actua...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install -g yarn --force", "yarn install --frozen-lockfile --silent", "yarn build" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn jest --no-color --verbose" }
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4f92eb9f9beeddf97633d6fc856cb599c7ecf231
2018-07-22 07:56:03
prime/primeintellect/gcanti-io-ts-types:45-4f92eb9
gcanti__io-ts-types-45
Method: fromNewtype<N extends AnyNewtype = never>(type: Type<CarrierOf<N>, CarrierOf<N>, mixed>) → Type<N, CarrierOf<N>, mixed> Location: src/newtype-ts/fromNewtype.ts Inputs: - Generic N – any Newtype definition (`AnyNewtype`), e.g. `interface Age extends Newtype<'Age', number> {}`. - `type` – an `io-ts` `Type` who...
ts
MIT
diff --git a/src/index.ts b/src/index.ts index 22ef348..5200cc7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -23,6 +23,7 @@ export { TypePrismIso } // newtype-ts export { fromNewtype } from './newtype-ts/fromNewtype' +export { fromNewtypeCurried } from './newtype-ts/fromNewtype' export { fromRefinement } from '...
New Feature: add newtype-ts/fromNewtypeCurried, closes #44
Relax fromNewtype signature ```ts interface Id extends Newtype<'Id', string> {} const Id = fromNewtype<Id>(t.string) interface User { id: Id name: string } const User = t.interface({ id: Id, name: t.string }) interface SpecialUser extends Newtype<'SpecialUser', User> {} const SpecialUser =...
gcanti/io-ts-types
diff --git a/test/index.ts b/test/index.ts index 65c6be5..dc0e5ed 100644 --- a/test/index.ts +++ b/test/index.ts @@ -22,13 +22,13 @@ import { fromRefinement, lensesFromProps, lensesFromInterface, - mapOutput + mapOutput, + fromNewtypeCurried } from '../src' import { left, right } from 'fp-ts/lib/Either' ...
[ "fromNewtypeCurried" ]
[ "should map the output of encode", "createOptionFromNullable", "createOptionFromJSON", "createOptionOfOptionFromJSON", "createEitherFromJSON", "createEitherOfOptionFromJSON", "createNonEmptyArrayFromArray", "createSetFromArray", "createStrMapFromDictionary", "NumberFromString", "IntegerFromStrin...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci", "npm run build" ], "log_parser": "parse_log_js_4", "test_cmd": "npm run jest -- --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
4ccb20aacae645222cf9dd2834fadcf68d949acb
2023-04-12 14:01:36
prime/primeintellect/spatie-laravel-permission:2396-4ccb20a
spatie__laravel-permission-2396
No new interfaces are introduced.
php
MIT
diff --git a/src/Commands/Show.php b/src/Commands/Show.php index bcbe073..07223a3 100644 --- a/src/Commands/Show.php +++ b/src/Commands/Show.php @@ -62,8 +62,9 @@ class Show extends Command config('permission.teams') ? $teams->prepend('')->toArray() : [], $roles->keys()->map(fu...
[V5] Fix permission:show roles with underscores Closes #2395 > Artisan permission:show command incorrect roles with underscores > When executing ./artisan permission:show, roles with underscores in them only show up until the first underscore.
Artisan permission:show command incorrect roles with underscores. **Describe the bug** When executing `./artisan permission:show`, roles with underscores in them only show up until the first underscore. **Versions** You can use `composer show` to get the version numbers of: - spatie/laravel-permission package ver...
spatie/laravel-permission
diff --git a/tests/CommandTest.php b/tests/CommandTest.php index be1541f..4cbda63 100644 --- a/tests/CommandTest.php +++ b/tests/CommandTest.php @@ -87,6 +87,9 @@ class CommandTest extends TestCase /** @test */ public function it_can_show_permission_tables() { + Role::where('name', 'testRole2')->d...
[ "Blade > All blade directives will evaluate false when there is nobody logged in [111.03 ms]", "Blade > All blade directives will evaluate false when somebody without roles or permissions is logged in [18.12 ms]", "Blade > All blade directives will evaluate false when somebody with another guard is logged in [1...
[ "Gate > It can determine if a user has a direct permission [11.69 ms]", "Has Permissions With Custom Models > It does detach roles when force deleting [12.34 ms]", "Has Permissions With Custom Models > It can sync permissions to a model that is not persisted [15.06 ms]", "Role Middleware > The required roles ...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export COMPOSER_HOME=/tmp/composer", "mkdir -p $COMPOSER_HOME", "composer install --no-interaction --prefer-dist" ], "log_parser": "parse_log_phpunit", "test_cmd": "./vendor/bin/phpunit --testdox --colors=never" }
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
af62ab9087cfc1c8984453c8a3ef423b38fa52ca
2021-06-02 22:53:45
prime/primeintellect/userfront-userfront-core:17-af62ab9
userfront__userfront-core-17
Method: Userfront.redirectIfLoggedIn() Location: Userfront (exported object from src/index.js) Inputs: *None* – the function reads `Userfront.store.accessToken` and the current URL’s query string (`redirect` parameter) internally. Outputs: Returns a Promise that resolves after performing one of the following side‑effec...
js
null
diff --git a/src/index.js b/src/index.js index 8eae515..f1c632b 100644 --- a/src/index.js +++ b/src/index.js @@ -320,7 +320,13 @@ async function resetPassword({ uuid, token, password }) { * tenant's login redirection path (path after login). */ async function redirectIfLoggedIn() { - if (!store.accessToken) retur...
Redirect user to override path when already logged in Closes #16
Redirect to particular page when already logged in If a user is already logged in, the login form will redirect them. We want this action to also respect the `?redirect=` querystring parameter. 1. Visit `/login?redirect=/path` while logged in What should happen: should redirect the user to `/path`
userfront/userfront-core
diff --git a/test/userfront.spec.js b/test/userfront.spec.js index 0da089e..585ab58 100644 --- a/test/userfront.spec.js +++ b/test/userfront.spec.js @@ -1,4 +1,8 @@ +import axios from "axios"; + import Userfront from "../src/index.js"; +import constants from "../src/constants.js"; +const { apiUrl } = constants; /**...
[ "should not make request to Userfront API and immediately redirect user to path defined in `redirect` param", "should make request to Userfront API and redirect user to tenant's loginRedirectPath when `redirect` param is not specified" ]
[ "should add callbacks that are fired when Userfront.init(tenantId) is called", "should throw if provider is missing", "should get provider link and redirect", "should throw if tenant ID is missing", "should return link with correct tenant_id, and origin", "should return link with redirect if provided", ...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
480d700128992df60fd1f4266e58671ae6d53fff
2019-03-07 08:21:17
prime/primeintellect/eclipse-ee4j-yasson:250-480d700
eclipse-ee4j__yasson-250
No new interfaces are introduced.
java
custom-check-github
diff --git a/src/main/java/org/eclipse/yasson/internal/serializer/CharArrayDeserializer.java b/src/main/java/org/eclipse/yasson/internal/serializer/CharArrayDeserializer.java new file mode 100644 index 0000000..8c0ac7a --- /dev/null +++ b/src/main/java/org/eclipse/yasson/internal/serializer/CharArrayDeserializer.java @...
fix #247: add support for char[] Addded support `char[]`. Json looks like using `java.lang.Character[]`. Signed-off-by: Bernd Zeitler <frito.boggie@quantentunnel.de>
ClassCastException when marshalling char[] The test` org.eclipse.yasson.defaultmapping.collections.CollectionsTest#testMarshallArray` claims support for several arrays, including `char[]`. Not all supported arrays are tested. When adding a testcase using a `char[]`, the test fails with a `ClassCastException: [C c...
eclipse-ee4j/yasson
diff --git a/src/test/java/org/eclipse/yasson/defaultmapping/collections/ArrayTest.java b/src/test/java/org/eclipse/yasson/defaultmapping/collections/ArrayTest.java index 7f860d3..7c71003 100644 --- a/src/test/java/org/eclipse/yasson/defaultmapping/collections/ArrayTest.java +++ b/src/test/java/org/eclipse/yasson/defau...
[ "org.eclipse.yasson.defaultmapping.collections.ArrayTest" ]
[ "org.eclipse.yasson.adapters.AdaptersTest", "org.eclipse.yasson.adapters.JsonbTypeAdapterTest", "org.eclipse.yasson.customization.transients.JsonbTransientTest", "org.eclipse.yasson.customization.PrettyPrintTest", "org.eclipse.yasson.customization.NumberFormatTest", "org.eclipse.yasson.customization.Annot...
{ "base_image_name": "java_21", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "jav...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
50d01fc0ed892dacf7c91602273cbae46f850bc0
2025-04-02 16:00:32
prime/primeintellect/brian-team-brian2:1609-50d01fc
brian-team__brian2-1609
Function: run(duration, namespace=None, stop_at=None, report=None, runtime_error_hook=None, **kwds) Location: brian2.core.network (top‑level function) Inputs: - **duration** (Quantity): simulation time; must be non‑negative (zero is allowed). - Optional keyword arguments as defined in the original API (namespace, sto...
python
custom-check-github
diff --git a/brian2/core/network.py b/brian2/core/network.py index 4f2a4442..34df6345 100644 --- a/brian2/core/network.py +++ b/brian2/core/network.py @@ -1102,7 +1102,16 @@ def run( ----- The simulation can be stopped by calling `Network.stop` or the global `stop` function. + + Raises...
[Fix #1608] : Raises a ValueError for negative duration in run() function Fixes #1608 Added a condition to check if the duration is negative and raise a ValueError accordingly.
Raise an error for negative duration in `run()` function Currently, calling `run(duration)` with a negative duration does not raise an error; instead, it simply runs for 0 seconds. Proposed Fix: - Modify `run()` to raise an appropriate error (e.g., ValueError) when a negative duration is passed. - The case of `run(0...
brian-team/brian2
diff --git a/brian2/tests/test_cpp_standalone.py b/brian2/tests/test_cpp_standalone.py index 90bf3e26..0bce5af1 100644 --- a/brian2/tests/test_cpp_standalone.py +++ b/brian2/tests/test_cpp_standalone.py @@ -1049,6 +1049,15 @@ def brian_function(index): assert_allclose(S.rate_copy[:], np.arange(len(G)) * 42 * Hz) ...
[ "brian2/tests/test_cpp_standalone.py::test_negative_duration_in_standalone_device", "brian2/tests/test_network.py::test_negative_duration_in_run", "brian2/tests/test_network.py::test_negative_duration_in_net_run" ]
[ "brian2/tests/test_cpp_standalone.py::test_cpp_standalone", "brian2/tests/test_cpp_standalone.py::test_openmp_consistency", "brian2/tests/test_network.py::test_incorrect_network_use", "brian2/tests/test_network.py::test_network_contains", "brian2/tests/test_network.py::test_network_default_schedule", "bri...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
7ae5a8ceb68096d12ea5f91fe01db0d0fe1b8f2a
2025-04-11 18:55:13
prime/primeintellect/narwhals-dev-narwhals:2372-7ae5a8c
narwhals-dev__narwhals-2372
Method: Expr.over(self, partition_by: Sequence[str], order_by: Sequence[str] | None = None, reverse: bool = False) Location: narwhals/_pandas_like/expr.py (and analogous implementations for Polars, Dask, etc.) Inputs: - **partition_by** – column name(s) defining groups over which the aggregation is computed. Acce...
python
MIT
diff --git a/narwhals/_dask/expr.py b/narwhals/_dask/expr.py index 6fa8e7e3..a1f0abe4 100644 --- a/narwhals/_dask/expr.py +++ b/narwhals/_dask/expr.py @@ -644,9 +644,18 @@ class DaskExpr( message=".*`meta` is not specified", category=UserWarning, ) ...
fix: `nw.len().over` was unnecessarily raising for pandas-like closes #2369 <!-- # Thanks for contributing a pull request! ## Please make sure you see our contribution guidelines: https://github.com/narwhals-dev/narwhals/blob/main/CONTRIBUTING.md --> ## What type of PR is this? (check all applicable) - [ ...
[Bug]: `nw.len().over("column")` not working for pandas DataFrames ### Describe the bug ```python df.with_columns(a_len_per_group=nw.len().over("b")) ``` Raises an exception when df native DataFrame is a pandas DataFrame while it works as expected when df native DataFrame is a polars DataFrame. ### Steps or code to ...
narwhals-dev/narwhals
diff --git a/tests/expr_and_series/over_test.py b/tests/expr_and_series/over_test.py index be800852..2e53ab1d 100644 --- a/tests/expr_and_series/over_test.py +++ b/tests/expr_and_series/over_test.py @@ -428,3 +428,17 @@ def test_over_without_partition_by( ) expected = {"a": [1, 2, -1], "b": [1, 3, 4], "i": [0...
[ "tests/expr_and_series/over_test.py::test_len_over_2369[pandas]", "tests/expr_and_series/over_test.py::test_len_over_2369[pandas[pyarrow]]" ]
[ "tests/expr_and_series/over_test.py::test_over_cummax[pandas[pyarrow]]", "tests/expr_and_series/over_test.py::test_over_diff[pandas]", "tests/expr_and_series/over_test.py::test_over_without_partition_by[pyarrow]", "tests/expr_and_series/over_test.py::test_over_cum_reverse[pandas[pyarrow]-cum_min-expected_b1]"...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
acc91bc4f47e38f43277fcdfd8ca855734c4fbbc
2020-10-17 10:38:18
prime/primeintellect/pallets-click:1693-acc91bc
pallets__click-1693
Function: Choice(choices, case_sensitive=True) Location: src/click/types.py – class Choice(ParamType) definition Inputs: - **choices** – iterable of values (strings or values convertible to string) that are allowed for the option. - **case_sensitive** – bool, default True. When False, validation and shell‑completion tr...
python
BSD-3-Clause
diff --git a/CHANGES.rst b/CHANGES.rst index 4845673..cb6cd13 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -151,6 +151,8 @@ Unreleased ending of a phrase or double linebreak. :issue:`1082` - Skip progress bar render steps for efficiency with very fast iterators by setting ``update_min_steps``. :issue:`676...
Case insensitive shell completions for Choice(..., case_sensitive=False) This PR adds the logic and a test for checking case insensitive completions for `Choice` instances which have the argument `case_sensitive=False`. What changed was having the `Choice` class' `shell_complete`-method take `self.case_sensitive` i...
shell completion is case sensitive, even with click.Choice(case_sensitive=False) ### Expected Behavior Since I set case_sensitive to False, I would expect shell completions to search without case sensitivity. ```python import click from click._bashcomplete import get_choices options = ['Paul', 'Simon', 'Art'...
pallets/click
diff --git a/tests/test_shell_completion.py b/tests/test_shell_completion.py index e85dc32..40cb88f 100644 --- a/tests/test_shell_completion.py +++ b/tests/test_shell_completion.py @@ -304,3 +304,13 @@ def test_context_settings(runner): env={"COMP_WORDS": "", "COMP_CWORD": "0", "_CLI_COMPLETE": "bash_complete"...
[ "tests/test_shell_completion.py::test_choice_case_sensitive[False-expect0]" ]
[ "tests/test_shell_completion.py::test_command", "tests/test_shell_completion.py::test_group", "tests/test_shell_completion.py::test_group_command_same_option", "tests/test_shell_completion.py::test_chained", "tests/test_shell_completion.py::test_help_option", "tests/test_shell_completion.py::test_argument...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
6425dbfd0d33a9ed198391838438a0659cfb3368
2023-04-09 12:22:44
prime/primeintellect/pallets-werkzeug:2639-6425dbf
pallets__werkzeug-2639
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/CHANGES.rst b/CHANGES.rst index 87dfed5a..30fe8ae2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -99,6 +99,7 @@ Unreleased - ``secure_filename`` looks for more Windows reserved file names. :pr:`2622` - Update type annotation for ``best_match`` to make ``default`` parameter clearer. :issue:`2625`...
Correctly implement multipart parsing for empty fields According to RFC2046 body-part := MIME-part-headers [CRLF *OCTET] Meaning there should only be a blank line if there is are body octets, hence if the field is empty it should not be present. The previous implementation assumed the blacnk line would always...
Parsing of some post form data fails on empty fields Some post form data containing empty field values fail to be parsed correctly, even though they are parsed successfully with other frameworks like python cgi or multiport. The problem is with such data (multiline for legibility): ``` --foo\r\n Content-Type: text...
pallets/werkzeug
diff --git a/tests/sansio/test_multipart.py b/tests/sansio/test_multipart.py index f9c48b47..1d836d64 100644 --- a/tests/sansio/test_multipart.py +++ b/tests/sansio/test_multipart.py @@ -30,7 +30,7 @@ asdasd decoder.receive_data(data) decoder.receive_data(None) events = [decoder.next_event()] - while ...
[ "tests/sansio/test_multipart.py::test_empty_field" ]
[ "tests/sansio/test_multipart.py::test_decoder_simple", "tests/sansio/test_multipart.py::test_chunked_boundaries" ]
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
3db35588935be78adb51bfd93c02a89b62d422bf
2024-04-20 14:07:23
prime/primeintellect/thomasdezeeuw-a10:115-3db3558
thomasdezeeuw__a10-115
Function: oneshot_poll(&SubmissionQueue, BorrowedFd, libc::c_int) Location: a10::poll::oneshot_poll (src/poll.rs) Inputs: - sq: &SubmissionQueue – reference to the submission queue used to submit the operation. - fd: BorrowedFd – a file descriptor to be polled (borrowed, not owned). - mask: libc::c_int – pol...
rust
MIT
diff --git a/src/lib.rs b/src/lib.rs index e97fb74..1081110 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -535,13 +535,12 @@ impl SubmissionQueue { /// Wait for an event specified in `mask` on the file descriptor `fd`. /// - /// Ths is similar to calling `poll(2)` the file descriptor. - #[doc(alias = "p...
Move poll functions Closes #99
Move SubmissionQueue::{oneshot,multishot}_poll to stand alone functions Removing them from SubmissionQueue and moving them into the poll module.
Thomasdezeeuw/a10
diff --git a/tests/ring.rs b/tests/ring.rs index f901ddb..d8aac82 100644 --- a/tests/ring.rs +++ b/tests/ring.rs @@ -19,7 +19,7 @@ use a10::cancel::Cancel; use a10::fs::OpenOptions; use a10::io::ReadBufPool; use a10::msg::{MsgListener, MsgToken, SendMsg}; -use a10::poll::{MultishotPoll, OneshotPoll}; +use a10::poll:...
[ "bitmap::setting_and_unsetting_eight", "bitmap::setting_and_unsetting_four", "bitmap::setting_and_unsetting_one", "bitmap::setting_and_unsetting_two", "bitmap::setting_and_unsetting_three", "bitmap::setting_and_unsetting_sixteen", "sys::bindgen_test_layout_io_cqring_offsets", "sys::bindgen_test_layout...
[]
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
4af86e5a103fbaeed80cdbe13230e3da12aaddcc
2025-01-31 06:14:13
prime/primeintellect/envoyproxy-ai-gateway:252-4af86e5
envoyproxy__ai-gateway-252
No new interfaces are introduced.
go
Apache-2.0
diff --git a/internal/controller/sink.go b/internal/controller/sink.go index 3005b94..9bf46b9 100644 --- a/internal/controller/sink.go +++ b/internal/controller/sink.go @@ -491,7 +491,11 @@ func (c *configSink) syncExtProcDeployment(ctx context.Context, aiGatewayRoute * "-logLevel", c.extProcLogLevel, ...
controller: mark all volume mounts ReadOnly=true **Commit Message** Mark all volume mounts readonly to ensure security. **Related Issues/PRs (if applicable)** Fix #250
controller: mark all volume mounts readOnly=true *Description*: The AI Gateway ExtProc deployment/containers mount some secrets/configmaps. However, it only needs to read the contents, and so the write permission is unnecessary. [optional *Relevant Links*:] I would like the `corev1.VolumeMount`'s ReadOnly flag to al...
envoyproxy/ai-gateway
diff --git a/internal/controller/sink_test.go b/internal/controller/sink_test.go index 7addc24..3cdd3cb 100644 --- a/internal/controller/sink_test.go +++ b/internal/controller/sink_test.go @@ -639,6 +639,10 @@ func TestConfigSink_SyncExtprocDeployment(t *testing.T) { require.Equal(t, "AIGatewayRoute", extProcDeploy...
[ "TestConfigSink_SyncExtprocDeployment", "TestConfigSink_SyncExtprocDeployment/update", "TestConfigSink_MountBackendSecurityPolicySecrets" ]
[ "TestDefaultConfig", "TestUnmarshalConfigYaml", "TestUnmarshalConfigYaml/not_found", "TestUnmarshalConfigYaml/invalid", "Test_parseAndValidateFlags", "Test_parseAndValidateFlags/no_flags", "Test_parseAndValidateFlags/all_flags", "Test_parseAndValidateFlags/all_flags/single_dash", "Test_parseAndValid...
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.23.6", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
5025137f5adaa2d7010782cfbee33dc57e96a6fe
2020-09-23 22:59:07
prime/primeintellect/knative-client:1027-5025137
knative__client-1027
Method: knDynamicClient.ListChannelsTypes(self) (*unstructured.UnstructuredList, error) Location: pkg/dynamic/client.go – method “ListChannelsTypes” of the concrete knDynamicClient (implements KnDynamicClient) Inputs: none (uses the client’s configured namespace and Dynamic client internally) Outputs: pointer to an uns...
go
Apache-2.0
diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 2e7bf185..2e1d9cd3 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -38,6 +38,10 @@ | Add alias to commands | https://github.com/knative/client/pull/1041[#1041] +| 🎁 +| Add channel list-types +| https://github.com/knative/client/pull/1027[#1027] + |=== ## v...
feat: List available channel types ## Description List available channel types in the cluster which can be used for creating channels. ## Changes <!-- Please add list of more detailed changes. These changes should be reflected also in the commit messages --> Add channel list-types ## Reference <!-- Please...
kn channel list-types ### Feature request List available channel types in cluster which can be used for creating channels. ### Use case As a user I want to list available channel types in my cluster which can be used to create channels. ### UI Example ``` kn channel list-types TYPE GROUP ...
knative/client
diff --git a/lib/test/channel.go b/lib/test/channel.go index 5eedeb6c..8679dae7 100644 --- a/lib/test/channel.go +++ b/lib/test/channel.go @@ -53,3 +53,12 @@ func ChannelDelete(r *KnRunResultCollector, cname string) { r.AssertNoError(out) assert.Check(r.T(), util.ContainsAllIgnoreCase(out.Stdout, "channel", cname, ...
[ "TestMockKnDynamicClient", "TestNamespace", "TestListCRDs", "TestListCRDs/List_CRDs_with_match", "TestListCRDs/List_CRDs_without_match", "TestListSourceTypes", "TestListSourceTypes/List_source_types", "TestListSources", "TestListSources/No_GVRs_set", "TestListSources/sources_not_installed", "Tes...
[ "TestValidatePlugin", "TestArgsWithoutCommands", "TestUnknownCommands", "TestStripFlags", "TestRunWithError", "TestRunWithPluginError", "TestRun", "TestNewInvalidCRD", "TestKnErrorsStatusErrors", "TestKnErrorsStatusErrors/Should_get_a_missing_serving_api_error", "TestKnErrorsStatusErrors/Should_...
{ "base_image_name": "go_1.21.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.21.0", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
aa97f01590f24c9f704b8decaeee215c13af1898
2022-01-06 16:25:58
prime/primeintellect/tox-dev-sphinx-autodoc-typehints:199-aa97f01
tox-dev__sphinx-autodoc-typehints-199
No new interfaces are introduced.
python
MIT
diff --git a/src/sphinx_autodoc_typehints/__init__.py b/src/sphinx_autodoc_typehints/__init__.py index 477f074..39f70c7 100644 --- a/src/sphinx_autodoc_typehints/__init__.py +++ b/src/sphinx_autodoc_typehints/__init__.py @@ -5,6 +5,7 @@ import sys import textwrap import typing from ast import FunctionDef, Module, st...
Robustly handle signatures Fixes #197 by just not adding defaults if none can be derived. The pre-commit failure is because the added branching pushed `process_docstring` over the complexity limit. @gaborbernat I think as the maintainer you should decide how to make it less complex.
exception: callable is not supported by signature [ new in 1.14.0 ] Since my build picked up `sphinx-autodoc-typehints==1.14.0` I get this error when running` make -C docs confluence`: ``` Extension error (sphinx_autodoc_typehints): Handler <function process_docstring at 0x7f293ebc15f0> for event 'autodoc-process-...
tox-dev/sphinx-autodoc-typehints
diff --git a/tests/test_sphinx_autodoc_typehints.py b/tests/test_sphinx_autodoc_typehints.py index 8290443..22ee588 100644 --- a/tests/test_sphinx_autodoc_typehints.py +++ b/tests/test_sphinx_autodoc_typehints.py @@ -4,6 +4,7 @@ import pathlib import re import sys import typing +from functools import cmp_to_key fro...
[ "tests/test_sphinx_autodoc_typehints.py::test_default_no_signature[cmp_to_key]" ]
[ "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[str]", "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[None]", "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[Any]", "tests/test_sphinx_autodoc_typehints.py::test_parse_annotation[AnyStr]", "tests/test_sphinx_autod...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
5c37e6afe6d1978a9672b707ba28a5fd932cf222
2016-07-15 12:11:26
prime/primeintellect/python-babel-babel:435-5c37e6a
python-babel__babel-435
Function: extract_operands(source) Location: babel/plural.py Inputs: - **source** (int | float | decimal.Decimal): the number whose CLDR operands are to be extracted. It may be a plain integer, a floating‑point value, or a Decimal instance. Negative values are accepted; the function uses the absolute value. Outputs: ...
python
BSD-3-Clause
diff --git a/babel/plural.py b/babel/plural.py index 0b8e425..99e9a65 100644 --- a/babel/plural.py +++ b/babel/plural.py @@ -9,7 +9,6 @@ :license: BSD, see LICENSE for more details. """ import re -import sys from babel._compat import decimal @@ -19,10 +18,27 @@ _fallback_tag = 'other' def extract_opera...
Fix float conversion in `extract_operands` (and the relevant test) Fixes #421
test_extract_operands never fails py.test warns me about this: > babel/tests/test_plural.py:257: SyntaxWarning: assertion is always true, perhaps remove parentheses? ``` python assert (plural.extract_operands(source) == Decimal(n), i, v, w, f, t) ``` Just removing the parens (and rewrapping the state...
python-babel/babel
diff --git a/tests/test_plural.py b/tests/test_plural.py index 6406af8..be74149 100644 --- a/tests/test_plural.py +++ b/tests/test_plural.py @@ -16,6 +16,8 @@ import pytest from babel import plural, localedata from babel._compat import decimal +EPSILON = decimal.Decimal("0.0001") + def test_plural_rule(): r...
[ "tests/test_plural.py::test_extract_operands[1.3-1.3-1-1-1-3-3]" ]
[ "tests/test_plural.py::test_plural_rule", "tests/test_plural.py::test_plural_rule_operands_i", "tests/test_plural.py::test_plural_rule_operands_v", "tests/test_plural.py::test_plural_rule_operands_w", "tests/test_plural.py::test_plural_rule_operands_f", "tests/test_plural.py::test_plural_rule_operands_t",...
{ "base_image_name": "python_base_37", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
4447b04f9e02b52d24a4b0bbbda3cf94edf8f26e
2024-11-20 22:21:07
prime/primeintellect/systemd-mkosi:3216-4447b04
systemd__mkosi-3216
Method: ConfigAction.__call__(self, parser: argparse.ArgumentParser, namespace: argparse.Namespace, values: str | list[str] | None, option_string: str | None = None) Location: mkosi/config.py, class ConfigAction (subclass of argparse.Action) Inputs: - parser – the ArgumentParser instance handling the CLI. - nam...
python
null
diff --git a/mkosi/config.py b/mkosi/config.py index ca88a1e3..0cb6cb33 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -3950,11 +3950,14 @@ class ConfigAction(argparse.Action): s = SETTINGS_LOOKUP_BY_DEST[self.dest] if values is None or isinstance(values, str): - setattr(namespace,...
Allow resetting and freshly populating collection/list settings via CLI flags Previously it was only possible to completely reset but not append, or only append but not reset to collection/list settings via command line arguments. Now we track if a setting has ever been set to None (i.e. reset) during command line par...
Unable to reset list variables to empty list from CLI ### mkosi commit the issue has been seen with main ### Used host distribution Fedora 40 ### Used target distribution Fedora 40 ### Linux kernel version used 6.11.6-200.fc40.x86_64 ### CPU architectures issue was seen on x86_64 ### Unexpected behaviour you ...
systemd/mkosi
diff --git a/tests/test_config.py b/tests/test_config.py index 13765dce..f572739b 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1341,3 +1341,27 @@ def test_split_artifacts_compat(tmp_path: Path) -> None: with chdir(d): _, [config] = parse_config() assert config.split_artifacts ...
[ "tests/test_config.py::test_cli_collection_reset" ]
[ "tests/test_config.py::test_compression_enum_creation", "tests/test_config.py::test_compression_enum_bool", "tests/test_config.py::test_compression_enum_str", "tests/test_config.py::test_parse_ini", "tests/test_config.py::test_parse_config", "tests/test_config.py::test_parse_includes_once", "tests/test_...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2a5a693e9517e1b44a4a8d68f1de63484a512bb0
2025-01-26 13:50:17
prime/primeintellect/jugglerchris-rust-html2text:197-2a5a693
jugglerchris__rust-html2text-197
No new interfaces are introduced.
rust
MIT
diff --git a/Cargo.toml b/Cargo.toml index 737475f..016f960 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,13 +21,13 @@ unicode-width = "0.2" backtrace = { version = "0.3", optional=true } thiserror = "2.0.0" log = { version = "0.4.20", optional = true } -nom = "7.1.3" +nom = { version = "7.1.3", optional = true } ...
Remove redundant extra line before lists. Fixes #196
Unexpected newlines between nested lists Nested lists have newlines and spaces between them when I would expect them not to: ```rust let input = indoc! {b" <ul> <li> Bullet point 1<ul> <li>2nd level nested bullet point 1</li> <li>2nd level nested bullet point 2 <ul> ...
jugglerchris/rust-html2text
diff --git a/src/tests.rs b/src/tests.rs index cf19aee..07828e0 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -778,7 +778,6 @@ bit of text to wrap - * This is a bit of text to @@ -803,16 +802,13 @@ fn test_wrap_max2() { </li></ul>"#, r#"plain para at the full screen width - * bullet poi...
[ "tests::test_nested_ol", "tests::test_nested_ul", "tests::test_subblock", "tests::test_trivial_decorator", "tests::test_wrap_max", "tests::test_wrap_max2" ]
[ "css::parser::test::test_background", "css::parser::test::test_parse_color", "css::parser::test::test_nth_child", "css::parser::test::test_parse_decl", "css::parser::test::test_parse_empty_ss", "css::parser::test::test_parse_colour_func", "css::parser::test::test_parse_height", "css::parser::test::tes...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
e99e45d35a7901d655a7e6df949101cc9b428b8b
2022-08-28 22:40:29
prime/primeintellect/salsa-rs-salsa:392-e99e45d
salsa-rs__salsa-392
Method: MyInput.tracked_fn(self, db: &dyn Db) -> u32 Location: Defined inside `impl MyInput` annotated with `#[salsa::tracked]`. Inputs: - `self` – the `MyInput` instance (generated by `#[salsa::input]`). - `db` – reference to a type implementing the `Db` trait (the Salsa database). Outputs: Returns a `u32` computed f...
rust
Apache-2.0
diff --git a/components/salsa-2022-macros/Cargo.toml b/components/salsa-2022-macros/Cargo.toml index 768ef0ac..2cc45983 100644 --- a/components/salsa-2022-macros/Cargo.toml +++ b/components/salsa-2022-macros/Cargo.toml @@ -10,5 +10,5 @@ proc-macro = true heck = "0.4" proc-macro2 = "1.0" quote = "1.0" -syn = { versio...
Allow creation of tracked methods Fixes #319. This allows users to annotate impl blocks with `#[salsa::tracked]` and then create tracked methods by marking individual functions with `#[salsa::tracked]`. Note this requires your code that looks like: ```rust #[salsa::tracked(jar = Jar)] impl MyInput { #[s...
Support tracked methods In the Salsa 2022 system, tracked functions are almost always defined on some kind of salsa struct, and I'm contemplating making that mandatory, even: ```rust #[salsa::tracked] struct MyType { ... } #[salsa::tracked] fn some_function(db: &dyn crate::Db, arg: MyType) { ... } ``` ...
salsa-rs/salsa
diff --git a/salsa-2022-tests/tests/compile-fail/tracked_method_on_untracked_impl.rs b/salsa-2022-tests/tests/compile-fail/tracked_method_on_untracked_impl.rs new file mode 100644 index 00000000..ecda59ed --- /dev/null +++ b/salsa-2022-tests/tests/compile-fail/tracked_method_on_untracked_impl.rs @@ -0,0 +1,18 @@ +#[sal...
[ "parser::parse_error", "parser::parse_example", "parser::parse_precedence", "parser::parse_print", "type_check::check_bad_function_in_function", "type_check::check_bad_function_in_program", "type_check::check_bad_variable_in_function", "type_check::check_bad_variable_in_program", "type_check::check_...
[]
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
72b1397b269ca3dd62d2ae4a0b617c413a450077
2019-01-07 00:16:36
prime/primeintellect/unexpectedjs-unexpected:571-72b1397
unexpectedjs__unexpected-571
Method: Output.removedHighlight(content) Location: lib/styles.js – added to the output style prototype (available on objects returned by `expect.createOutput(mode)`) Inputs: - **content** (String): the text that may contain newline characters (`\n`). The method processes the string, splitting on newline characters and...
js
MIT
diff --git a/lib/styles.js b/lib/styles.js index 32efe916..d9f82a9d 100644 --- a/lib/styles.js +++ b/lib/styles.js @@ -206,19 +206,24 @@ module.exports = expect => { this.alt({ text() { content.split(/(\n)/).forEach(function(fragment) { + this.block(function() { + this.text(frag...
removedHighlight style: Render newlines as \n Fixes #342 Affects: * `<string> not to (contain|begin with|end with) <string>` * `<string> not to match <regexp>` Before (text mode): ``` expected 'barfo\noquuxfoobaz' not to match /fo\no/ barfo ^^ oquuxfoobaz ^ expected 'foobar\n' not to match /\s...
not to match diff: Highlight special chars and newlines in the matched part ``` js var text = "foobar\n"; expect(text, 'not to match', /\s+/); ``` When the above assertion fails it would be nice to mark up the special characters in the part of the diff that highlights the match that shouldn't have been there. Right no...
unexpectedjs/unexpected
diff --git a/test/assertions/to-begin-with.spec.js b/test/assertions/to-begin-with.spec.js index dce3adca..6c2b751c 100644 --- a/test/assertions/to-begin-with.spec.js +++ b/test/assertions/to-begin-with.spec.js @@ -158,10 +158,10 @@ describe('to begin with assertion', () => { 'to throw', "expected...
[ "builds the diff correctly when the prefix contains newlines", "produces a useful diff in text mode when a match spans multiple lines", "builds the diff correctly when the suffix contains newlines", "handles newlines in the matched text", "highlights a newline at the end of the match", "escapes the newlin...
[ "#getKeys should return a trimmed-down list", "should be inspected correctly", "trims the stack for node_module/unexpected/ and node_module/unexpected-<plugin-name>/", "trims the stack for node_module\\unexpected\\ and node_module\\unexpected-<plugin-name>\\ (windows paths)", "trims the stack for custom ass...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
de4fcceefd7b4794093ed53899f2212a29e27ecc
2018-11-29 20:48:26
prime/primeintellect/kinto-kinto-http.py:189-de4fcce
kinto__kinto-http.py-189
Method: Client.get_paginated_records(self, *, collection=None, bucket=None, **kwargs) Location: kinto_http/__init__.py (inside class Client) Inputs: - collection (optional str): name of the collection to query. - bucket (optional str): name of the bucket that holds the collection. - **kwargs: additional query para...
python
custom-check-github
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0ac31c9..c982642 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,7 +7,9 @@ This document describes changes between each past release. 10.2.0 (unreleased) =================== -- Nothing changed yet. +**New feature** + +- Created new method on client to get pagina...
Expose methods for paginated lists (fixes #175) Solves #175 * [x] Add tests. * [x] Create ``client.get_paginated_records`` method. * [x] Make tests run correctly on Travis-CI. * [x] Add a changelog entry. * [x] Add _limit parameter. * [x] Add if_none_match.
Expose methods for paginated lists Currently there is no way to consume the content of individual pages using `get_records()`. We could add a generator `get_paginated_records()` that would yield individual pages... ```py for page_records in client.get_paginated_records(_limit=100): print(len(page_records))...
Kinto/kinto-http.py
diff --git a/kinto_http/tests/functional.py b/kinto_http/tests/functional.py index e2351ee..15bc5c7 100644 --- a/kinto_http/tests/functional.py +++ b/kinto_http/tests/functional.py @@ -311,6 +311,19 @@ class FunctionalTest(unittest.TestCase): records = client.get_records() assert len(records) == 10 ...
[ "kinto_http/tests/test_client.py::RecordTest::test_pagination_generator_if_none_match", "kinto_http/tests/test_client.py::RecordTest::test_pagination_is_followed_generator" ]
[ "kinto_http/tests/test_client.py::ClientTest::test_batch_does_not_raise_exception_if_batch_4xx_errors_are_ignored", "kinto_http/tests/test_client.py::ClientTest::test_batch_options_are_transmitted", "kinto_http/tests/test_client.py::ClientTest::test_batch_raises_exception", "kinto_http/tests/test_client.py::C...
{ "base_image_name": "python_base_37", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
a2a9c53ea262ea0d39e76aa18430ce071fbe68d5
2024-01-03 17:10:14
prime/primeintellect/python-markdown-markdown:1426-a2a9c53
python-markdown__markdown-1426
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/docs/changelog.md b/docs/changelog.md index 84f0bfa..53104f6 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fix edge-case crash in `InlineProcessor` with `AtomicString` (#1406). * Fix edge-case cr...
Fix handling of bogus comments. As with most implementations, we now pass through bogus comments (as defined by the HTML Spec) unaltered except that they are HTML escaped. This deviates from the reference implementation which compeltely ignores them. As the reference implementation seems to not have even contemplated t...
Python Markdown turns `</#rrggbb>` into HTML comment, even while in inline code When you put `</#rrggbb>` as-is inside a inline code block will Python Markdown convert it into a HTML comment (`<!--#rrggbb-->`), which feels odd. Is there a way to prevent this? Using HTML escape methods such as `&lt;/#rrggbb&gt;` will...
Python-Markdown/markdown
diff --git a/tests/test_syntax/blocks/test_html_blocks.py b/tests/test_syntax/blocks/test_html_blocks.py index 22b9498..85b0c48 100644 --- a/tests/test_syntax/blocks/test_html_blocks.py +++ b/tests/test_syntax/blocks/test_html_blocks.py @@ -782,16 +782,16 @@ class TestHTMLBlocks(TestCase): '<!-- *foo* -->'...
[ "tests/test_syntax/blocks/test_html_blocks.py::TestHTMLBlocks::test_bogus_comment", "tests/test_syntax/blocks/test_html_blocks.py::TestHTMLBlocks::test_bogus_comment_endtag" ]
[ "tests/test_syntax/blocks/test_html_blocks.py::TestHTMLBlocks::test_adjacent_raw_blocks", "tests/test_syntax/blocks/test_html_blocks.py::TestHTMLBlocks::test_adjacent_raw_blocks_with_blank_lines", "tests/test_syntax/blocks/test_html_blocks.py::TestHTMLBlocks::test_amperstand", "tests/test_syntax/blocks/test_h...
{ "base_image_name": "python_base_310", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
131515dbe615c1de27f33319bdaa0cfe980bf945
2020-08-10 14:48:47
prime/primeintellect/sunng87-handlebars-rust:373-131515d
sunng87__handlebars-rust-373
Function: tag(t: str) -> String Location: Defined via `handlebars_helper!` macro in the test module; registered with `Handlebars::register_helper`. Inputs: `t` – the string value supplied to the helper in the template (e.g., `"html"`). Outputs: A `String` containing the raw HTML tag syntax (`"<html>"`). The result is t...
rust
MIT
diff --git a/src/helpers/mod.rs b/src/helpers/mod.rs index 744bba4..8d1c2d7 100644 --- a/src/helpers/mod.rs +++ b/src/helpers/mod.rs @@ -3,7 +3,7 @@ use crate::error::RenderError; use crate::json::value::ScopedJson; use crate::output::Output; use crate::registry::Registry; -use crate::render::{Helper, RenderContext}...
Escaping helper expression results Fixes #361 This patch partially fixed issue as mentioned in #361 that result of helper call should be escaped by default. Further support for `{{{html expression}}}` that doesn't escape the result will be supported in 4.0
compatibility: escape functions are not applied to template tags with helper function For example, using this helper function ```rust handlebars_helper!(to_tag: |x: str| { format!("<{}>", x) }); ``` render this template ```handlebars {{to_tag tag}} ``` with value `tag = "br"` and registering `html_escape`, you ...
sunng87/handlebars-rust
diff --git a/tests/helper_macro.rs b/tests/helper_macro.rs index 5aea882..9a845bb 100644 --- a/tests/helper_macro.rs +++ b/tests/helper_macro.rs @@ -13,6 +13,7 @@ handlebars_helper!(all_hash: |{cur: str="$"}| cur); handlebars_helper!(nargs: |*args| args.len()); handlebars_helper!(has_a: |{a:i64 = 99}, **kwargs| ...
[ "test_macro_helper", "test_helper_with_space_param", "test_root_var", "test_subexpression", "test_walk_dir_template_name", "test_walk_dir_template_name_with_args" ]
[ "context::test::test_key_name_with_this", "context::test::test_block_params", "context::test::test_render", "context::test::test_navigation", "context::test::test_merge_json", "context::test::test_serialize_error", "context::test::test_root", "context::test::test_this", "grammar::test::test_block_pa...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
71efd0b25bfdf849695b00bcbb1f7d300b3eedef
2025-05-23 09:14:07
prime/primeintellect/okteto-okteto:4722-71efd0b
okteto__okteto-4722
Method: (nc *Command) executeListNamespaces(ctx context.Context, output string) error Location: cmd/namespace/list.go Inputs: - ctx: context.Context – the execution context for the CLI command. - output: string – desired output format; allowed values are "", "json", or "yaml". An empty string selects the default hum...
go
Apache-2.0
diff --git a/cmd/build/command.go b/cmd/build/command.go index 6ea18845..d1c9ec96 100644 --- a/cmd/build/command.go +++ b/cmd/build/command.go @@ -106,7 +106,7 @@ func Build(ctx context.Context, ioCtrl *io.Controller, at, insights buildTracker // The context must be loaded before reading manifest. Otherwise, //...
Fixes #4714. Added output option to namespace list command to specify json or yaml # Proposed changes Fixes #4714 Added an `output` option in the namespace list command analogous to the one we have in `preview list` command. Possible values are `json` or `yaml`, and it changes the output accordingly ## How to...
Okteto namespace list outputting options **Is your feature request related to a problem? Please describe.** When running automation using the Okteto CLI it can be flaky and difficult to capture output from `okteto namespace list` as it only supports plain text output with a `*` to denote active namespaces, compared to ...
okteto/okteto
diff --git a/cmd/namespace/list_test.go b/cmd/namespace/list_test.go index d6de6472..3665db5b 100644 --- a/cmd/namespace/list_test.go +++ b/cmd/namespace/list_test.go @@ -16,9 +16,12 @@ package namespace import ( "context" "fmt" + "io" + "os" "testing" "github.com/okteto/okteto/internal/test/client" + okteto...
[ "Test_createNamespace", "Test_createNamespace/create_new_ns", "Test_createNamespace/create_new_ns_that_exists", "Test_createNamespace/create_new_ns_with_members", "Test_deleteNamespace", "Test_deleteNamespace/delete_existing_ns,_the_current_one", "Test_deleteNamespace/delete_existing_ns,_not_the_current...
[]
{ "base_image_name": "go_1.23.8", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...