base_commit
stringlengths
40
40
created_at
stringdate
2014-11-10 05:17:52
2025-10-31 18:00:44
image_name
stringlengths
41
98
instance_id
stringlengths
11
68
interface
stringlengths
33
16.8k
language
stringclasses
20 values
license
stringclasses
16 values
patch
stringlengths
198
252k
pr_description
stringlengths
0
37.8k
problem_statement
stringlengths
0
235k
repo
stringlengths
5
63
test_patch
stringlengths
149
150k
FAIL_TO_PASS
listlengths
1
118k
PASS_TO_PASS
listlengths
0
327k
install_config
dict
meta
dict
b82d48e1e086eca9145eccda655cfe168e419098
2023-12-09 16:12:02
docker.io/swerebenchv2/vuepress-vuepress-next:1452-b82d48e
vuepress__vuepress-next-1452
No new interfaces are introduced.
ts
MIT
diff --git a/packages/markdown/src/markdown.ts b/packages/markdown/src/markdown.ts index 715c30ce..abe12352 100644 --- a/packages/markdown/src/markdown.ts +++ b/packages/markdown/src/markdown.ts @@ -63,11 +63,10 @@ export const createMarkdown = ({ md.use<AnchorPluginOptions>(anchorPlugin, { level: [1, 2, 3,...
feat(markdown): update default markdown-it-anchor permalink function (close #1363) <!-- Thank you for contributing! --> ### Before submitting the PR, please make sure you do the following <!-- (put an "X" next to an item) --> - [X] Read the [Contributing Guidelines](https://github.com/vuepress/vuepress-next/blob/...
[Bug report] Page flickers after initial load <!-- Please fill in relevant information as much as possible. That would be helpful to locate the problem and save us each other's time --> <!-- If some fields are irrelevant or you are not sure, remove it or mark it as "not related" / not sure" --> <!-- If you don't ...
vuepress/vuepress-next
diff --git a/e2e/docs/markdown/anchors.md b/e2e/docs/markdown/anchors.md new file mode 100644 index 00000000..9769c893 --- /dev/null +++ b/e2e/docs/markdown/anchors.md @@ -0,0 +1,5 @@ +# title + +## anchor 1 + +### anchor 1-1 diff --git a/e2e/tests/markdown/anchors.cy.ts b/e2e/tests/markdown/anchors.cy.ts new file mode...
[ "packages/markdown/tests/markdown.spec.ts > @vuepress/markdown > markdown > should render anchors" ]
[ "packages/shared/tests/dedupeHead.spec.ts > shared > dedupeHead > should dedupe head correctly", "packages/shared/tests/resolveLocalePath.spec.ts > shared > resolveLocalePath > should resolve locale path correctly > /", "packages/shared/tests/resolveLocalePath.spec.ts > shared > resolveLocalePath > should resol...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install -g --force pnpm@8.12.0", "pnpm install", "pnpm build" ], "log_parser": "parse_log_js_4", "test_cmd": "pnpm test -- --reporter=verbose" }
{ "llm_metadata": { "code": "B2", "confidence": 0.78, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://grammy.dev/", "https://github.com/grammy...
c4644c29150fc4271f758a046d4ed8945b489a61
2021-01-19 02:16:11
docker.io/swerebenchv2/robsontenorio-vue-api-query:173-c4644c2
robsontenorio__vue-api-query-173
Method: Model.save(self) Location: src/Model.js → class Model extends StaticModel, method save() Inputs: No explicit arguments (operates on the instance). The model must have its internal state set; if `this._customResource` is truthy (i.e., custom() was called), the method will immediately throw. Outputs: Returns a p...
js
MIT
diff --git a/src/Model.js b/src/Model.js index f864731..cc3208a 100644 --- a/src/Model.js +++ b/src/Model.js @@ -423,6 +423,10 @@ export default class Model extends StaticModel { */ delete() { + if (this._customResource) { + throw Error("The delete() method cannot be used in conjunction with the custom...
fix(model): throw an error if operations are used with `custom` Throw an error if CRUD or relationship operations are used in in conjunction with the `custom` method. Fixes #172
Calling custom() before save() should trigger a console error Building the resource URL for the request is done for you by calling `resource()` of the model you are creating the request with. This can be overridden with `custom()` for GET requests and `for()` for POST/PUT/PATCH/DELETE requests. Users of the libra...
robsontenorio/vue-api-query
diff --git a/tests/model.test.js b/tests/model.test.js index 385970f..368b62f 100644 --- a/tests/model.test.js +++ b/tests/model.test.js @@ -960,6 +960,38 @@ describe('Model methods', () => { expect(errorModel).toThrow('Arguments to custom() must be strings or instances of Model.') }) + test('it throws an er...
[ "it throws a error when find() has no parameters", "it throws a error when $find() has no parameters", "first() returns first object in array as instance of such Model", "$first() returns first object in array as instance of such Model", "first() method returns a empty object when no items have found", "f...
[ "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": "B2", "confidence": 0.86, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
b4c4d3bfdb3bfaf2d20b62c827fc968114b2ab04
2024-10-21 22:39:51
docker.io/swerebenchv2/gtalarico-pyairtable:396-b4c4d3b
gtalarico__pyairtable-396
Method: Enterprise.audit_log(self, *, sortorder: str = None, offset_field: str = None, **kwargs) Location: pyairtable/api/enterprise.py (Enterprise class) Inputs: - `sortorder` (str, optional): Desired sort direction for the audit log; passed through to the request as the query‑string key **`sortOrder`**. - `of...
python
MIT
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index e990f8d..820e6af 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -2,6 +2,12 @@ Changelog ========= +2.3.4 (2024-10-21) +------------------------ + +* Fixed a crash at import time under Python 3.13. + - `PR #396 <http...
Release 2.3.4 This will fix #394 for the 2.x version of the library.
Incompatible with Python 3.13 ### Bug Report #### Description I encountered a `TypeError` when trying to import the `pyairtable` API using `from pyairtable import Api`. The error traceback indicates a conflict with multiple base classes in the `Comment` class of the `pyairtable` package. This is my first time ...
gtalarico/pyairtable
diff --git a/.github/workflows/test_lint_deploy.yml b/.github/workflows/test_lint_deploy.yml index cc89d89..d5b53ee 100644 --- a/.github/workflows/test_lint_deploy.yml +++ b/.github/workflows/test_lint_deploy.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ["3.8", ...
[ "tests/test_api_enterprise.py::test_audit_log__sortorder[fncall0-descending-previous]", "tests/test_api_enterprise.py::test_audit_log__sortorder[fncall1-ascending-next]" ]
[ "tests/test_api_enterprise.py::test_info", "tests/test_api_enterprise.py::test_user", "tests/test_api_enterprise.py::test_user__no_collaboration", "tests/test_api_enterprise.py::test_users[search_for0]", "tests/test_api_enterprise.py::test_users[search_for1]", "tests/test_api_enterprise.py::test_users[sea...
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
394141bdc02d9903af24cd54a63f90f8c78680ff
2022-12-08 17:42:58
docker.io/swerebenchv2/swc-project-swc:6604-394141b
swc-project__swc-6604
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/crates/swc_ecma_transforms_compat/src/es2015/block_scoping/mod.rs b/crates/swc_ecma_transforms_compat/src/es2015/block_scoping/mod.rs index ad41644c46..361ac3166b 100644 --- a/crates/swc_ecma_transforms_compat/src/es2015/block_scoping/mod.rs +++ b/crates/swc_ecma_transforms_compat/src/es2015/block_scoping/...
fix(es/transform_compat): should prepend generated `_loop` function to correct scope <!-- Note: CI script will automatically rebase your PR so please do not rebase unless required --> <!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. --> **De...
Incorrect `for(let` transpilation with nested for-loops without block statement bodies ### Describe the bug When running `dead_branch_remover` before `preset_env`, nested loops with let bindings are transpiled incorrectly. ### Input code ```js let funcs = []; for (let i = 0; i < 2; i++) { for (let j = 0...
swc-project/swc
diff --git a/crates/swc_ecma_transforms_compat/tests/block-scoping/issue-6573/1/input.js b/crates/swc_ecma_transforms_compat/tests/block-scoping/issue-6573/1/input.js new file mode 100644 index 0000000000..74dc864031 --- /dev/null +++ b/crates/swc_ecma_transforms_compat/tests/block-scoping/issue-6573/1/input.js @@ -0,0...
[ "modules::sort::tests::sort_008", "expr::tests::bin_expr", "tests::named_and_namespace_export_from_min", "lexer::tests::jsx_string_2", "lexer::tests::lex_colors_js", "lexer::tests::non_regexp_unary_plus", "parser::pat::tests::array_binding_pattern_tail_inside_tail", "parser::stmt::tests::await_in_nest...
[ "tests::valid", "tests::access_tag", "tests::line_1", "tests::abstract_tag", "tests::issue_1058", "tests::one_of_1", "tests::trim_1", "tests::skip_1", "tests::word_1", "tests::yield_tag_1", "version::tests::should_enable_android_falls_back_to_chrome", "query::tests::test_empty", "config::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": [ "https://github.com/parcel-bundler/parcel/issues/8670" ...
2ad46d3b53c935b2f051ac711ac7dd56645e5fbe
2023-08-18 18:39:12
docker.io/swerebenchv2/alteryx-evalml:4283-2ad46d3
alteryx__evalml-4283
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index c5e524cb..68e55f26 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -4,6 +4,7 @@ Release Notes * Enhancements * Fixes * Changes + * Updated ``ARIMARegressor`` to be compatible with skt...
Make prediction intervals name more robust for sktime Closes #4281
Compatibility with sktime 0.22.0 and beyond New updates in sktime 0.22.0 changed some column naming ([release notes here](https://www.sktime.net/en/latest/changelog.html#forecasting-change-of-column-naming-for-univariate-probabilistic-forecasts)) - let's get this up to date since it will continue for future versions. A...
alteryx/evalml
diff --git a/evalml/tests/component_tests/test_arima_regressor.py b/evalml/tests/component_tests/test_arima_regressor.py index 549b9622..1d816751 100644 --- a/evalml/tests/component_tests/test_arima_regressor.py +++ b/evalml/tests/component_tests/test_arima_regressor.py @@ -391,8 +391,10 @@ def test_arima_regressor_res...
[ "evalml/tests/component_tests/test_arima_regressor.py::test_fit_predict[True-False-False-False-False-False]", "evalml/tests/component_tests/test_arima_regressor.py::test_fit_predict[False-True-True-False-False-True]", "evalml/tests/component_tests/test_arima_regressor.py::test_fit_predict_sk_failure[False-False...
[ "evalml/tests/component_tests/test_arima_regressor.py::test_model_family", "evalml/tests/component_tests/test_arima_regressor.py::test_problem_types", "evalml/tests/component_tests/test_arima_regressor.py::test_model_instance", "evalml/tests/component_tests/test_arima_regressor.py::test_fit_ts_without_y", "...
{ "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": "easy", "external_urls": [ "https://www.sktime.net/en/latest/changelog.html#forecast...
713acefd7f3233266910019fdab5567387075a42
2025-07-09 14:34:26
docker.io/swerebenchv2/go-acme-lego:2574-713acef
go-acme__lego-2574
Function: needRenewal(x509Cert *x509.Certificate, domain string, days int, dynamic bool) bool Location: cmd/cmd_renew.go Inputs: - **x509Cert**: the leaf certificate to evaluate (must not be a CA). - **domain**: domain name string used for log messages. - **days**: integer threshold (≥0) indicating how many days before...
go
MIT
diff --git a/cmd/cmd_renew.go b/cmd/cmd_renew.go index a46de187..7d968d2a 100644 --- a/cmd/cmd_renew.go +++ b/cmd/cmd_renew.go @@ -20,7 +20,8 @@ import ( // Flag names. const ( - flgDays = "days" + flgRenewDays = "days" + flgRenewDynamic = "dynamic" flgARIDisable ...
feat: add option to define dynamically the renew date Adds a new flag `--dynamic` for the `renew` command: dynamically defines the renewal date. - 1/3rd of the lifetime left - or 1/2 of the lifetime left, if the lifetime is shorter than 10 days) The flag `--dynamic` overrides the flag `--days`. Fixes #2572
Dynamic adjust `--days` value for different duration of the certificate ### Welcome - [x] Yes, I've searched similar issues on GitHub and didn't find any. ### How do you use lego? Docker image ### Effective version of lego 4.24.0 linux/amd64 ### Detailed Description Currently Lego will still perform `renew` ever...
go-acme/lego
diff --git a/cmd/cmd_renew_test.go b/cmd/cmd_renew_test.go index f88ad74c..405dda5f 100644 --- a/cmd/cmd_renew_test.go +++ b/cmd/cmd_renew_test.go @@ -108,9 +108,62 @@ func Test_needRenewal(t *testing.T) { for _, test := range testCases { t.Run(test.desc, func(t *testing.T) { - actual := needRenewal(test.x509C...
[ "TestCertificatesStorage_MoveToArchive", "TestCertificatesStorage_MoveToArchive_noFileRelatedToDomain", "TestCertificatesStorage_MoveToArchive_ambiguousDomain", "Test_merge", "Test_merge/all_empty", "Test_merge/prev_empty", "Test_merge/merge_same", "Test_merge/merge_append", "Test_merge/next_empty",...
[ "TestCertificateService_Get_issuerRelUp", "TestCertificateService_Get_embeddedIssuer", "Test_compareIdentifiers", "Test_compareIdentifiers/identical_identifiers", "Test_compareIdentifiers/different_number_of_identifiers_b>a", "Test_compareIdentifiers/different_number_of_identifiers_a>b", "Test_compareId...
{ "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.0", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.9, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://www.eff.org/deeplinks/2025/04/certbot-40-long-l...
50c13f6ee6910beb75d19628e726dc464c1e9057
2022-01-05 23:21:08
docker.io/swerebenchv2/sveltejs-language-tools:1318-50c13f6
sveltejs__language-tools-1318
Function: handleImportDeclaration(node: ts.ImportDeclaration, str: MagicString, astOffset: number, scriptStart: number) Location: packages/svelte2tsx/src/svelte2tsx/nodes/handleImportDeclaration.ts Inputs: - node: a TypeScript ImportDeclaration node representing the import statement to be relocated. - str: a MagicStrin...
ts
MIT
diff --git a/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml b/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml index 5a7ebc4f..0127892a 100644 --- a/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml +++ b/packages/svelte-vscode/syntaxes/svelte.tmLanguage.src.yaml @@ -13,22 +13,23 @@ injec...
Add support for highlighting JS/TS/CoffeeScript in `<style>` blocks Partially deals with #1248 This doesn't add anything like autocompletion or semantic highlighting, but if there are people using these kind of libraries with Svelte, at least the highlighting, indentation, etc. will be present. Screenie: ![imag...
Add syntax higlighting and Typescript intellisense for `<style lang="ts">` tags **Is your feature request related to a problem? Please describe.** New CSS frameworks like vanilla-extract use Typescript as a CSS preprocessor. That's quite amazing because it lets you to reuse javascript variables in your style as well a...
sveltejs/language-tools
diff --git a/packages/language-server/test/plugins/typescript/features/CodeActionsProvider.test.ts b/packages/language-server/test/plugins/typescript/features/CodeActionsProvider.test.ts index 158dad5d..51da7b55 100644 --- a/packages/language-server/test/plugins/typescript/features/CodeActionsProvider.test.ts +++ b/pac...
[ "import-leading-comment" ]
[ "javascript", "javascript-libRoot", "typescript", "action-bare", "action-nested", "action-params", "action-svelte-body", "animation-bare", "animation-params", "attribute-bare", "attribute-element", "attribute-foreign-ns", "attribute-invalid-jsx-name", "attribute-multiple", "attribute-nul...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install --silent", "cd packages/svelte2tsx && npm run build --silent", "cd ../svelte-vscode && npx js-yaml syntaxes/svelte.tmLanguage.src.yaml > syntaxes/svelte.tmLanguage.json" ], "log_parser": "parse_log_js_4", "test_cmd":...
{ "llm_metadata": { "code": "B4", "confidence": 0.87, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
d75d7102866c3cbf4fc022042a051d6e4da12329
2025-03-01 11:00:48
docker.io/swerebenchv2/juliasymbolics-symbolicutils.jl:707-d75d710
juliasymbolics__symbolicutils.jl-707
Function: associated_cache(fn) Location: src/cache.jl Inputs: fn – a function that was defined with the `@cache` macro Outputs: an instance of the automatically generated cache struct for `fn` (contains a `TaskLocalValue` with the actual dictionary and statistics) Description: Returns the cache object associated with a...
julia
custom-check-github
diff --git a/Project.toml b/Project.toml index c30fb74e4..f850710cc 100644 --- a/Project.toml +++ b/Project.toml @@ -13,6 +13,7 @@ ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9" DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8" DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" DynamicPoly...
Close #705
Thread-specific hashconsing cache? It struck me that we have thread-local RNG state in base, and might be able to use something similar here for our global hashconsing state. I don't quite understand what we do for the RNG right now, but the earlier solution [here](https://github.com/JuliaLang/julia/pull/32407/files) m...
JuliaSymbolics/SymbolicUtils.jl
diff --git a/test/cache_macro.jl b/test/cache_macro.jl new file mode 100644 index 000000000..ce8daa8eb --- /dev/null +++ b/test/cache_macro.jl @@ -0,0 +1,157 @@ +using SymbolicUtils +using SymbolicUtils: BasicSymbolic, @cache, associated_cache, set_limit!, get_limit, + clear_cache!, SymbolicKey, met...
[ "test set", "Basics", "PolyForm", "Interface", "Fuzz", "Cache macro" ]
[ "Doc", "Order", "Rewrite", "Rulesets", "Code", "CSE", "Adjoints", "Hash Consing" ]
{ "base_image_name": "julia_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.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/JuliaLang/julia/pull/32407/files" ...
acfb1f47de8e7e3f063ad88763a1050ab1274038
2019-10-18 11:48:02
docker.io/swerebenchv2/opennmt-opennmt-tf:527-acfb1f4
opennmt__opennmt-tf-527
Function: guided_alignment_cost(attention_probs, gold_alignment, sequence_length=None, cost_type="ce", weight=1.0) Location: opennmt.utils.losses Inputs: attention_probs (Tensor of shape [batch, target_len, source_len]), gold_alignment (Tensor of same shape), sequence_length (optional Tensor[int] of shape [batch] indic...
python
MIT
diff --git a/opennmt/utils/losses.py b/opennmt/utils/losses.py index 267d0be6..67e8acd0 100644 --- a/opennmt/utils/losses.py +++ b/opennmt/utils/losses.py @@ -101,9 +101,9 @@ def guided_alignment_cost(attention_probs, ValueError: if :obj:`cost_type` is invalid. """ if cost_type == "ce": - loss = tf.keras....
Set reduction to support running GA loss under distribution strategy Fixes #526.
ValueError in guided alignment loss during training Keras losses throw an exception when they are used within a distribution strategy scope and the reduction mode is unset. ``` ValueError: Please use `tf.keras.losses.Reduction.SUM` or `tf.keras.losses.Reduction.NONE` for loss reduction when losses are used with `tf...
OpenNMT/OpenNMT-tf
diff --git a/opennmt/tests/losses_test.py b/opennmt/tests/losses_test.py index 61d74771..6a95ee97 100644 --- a/opennmt/tests/losses_test.py +++ b/opennmt/tests/losses_test.py @@ -30,6 +30,26 @@ class LossesTest(tf.test.TestCase): with self.assertRaises(ValueError): losses.regularization_penalty("l1_l2", 1e-...
[ "opennmt/tests/losses_test.py::LossesTest::testGuidedAlignmentCostUnderDistributionStrategy_0_ce", "opennmt/tests/losses_test.py::LossesTest::testGuidedAlignmentCostUnderDistributionStrategy_1_mse", "opennmt/tests/losses_test.py::LossesTest::testGuidedAlignmentCostUnderDistributionStrategy_2_mse" ]
[ "opennmt/tests/losses_test.py::LossesTest::testRegulaizationInvalidType", "opennmt/tests/losses_test.py::LossesTest::testRegulaizationMissingScaleValue", "opennmt/tests/losses_test.py::LossesTest::testRegularization_0_l1", "opennmt/tests/losses_test.py::LossesTest::testRegularization_1_L1", "opennmt/tests/l...
{ "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.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
a626bda81b2b2383cc869eddf117dc700a28fb48
2023-10-20 19:31:04
docker.io/swerebenchv2/raphlinus-pulldown-cmark:742-a626bda
raphlinus__pulldown-cmark-742
No new interfaces are introduced.
rust
MIT
diff --git a/specs/regression.txt b/specs/regression.txt index 2ecd229..a3f2ddc 100644 --- a/specs/regression.txt +++ b/specs/regression.txt @@ -1484,4 +1484,12 @@ an unmatched asterisk.</p> <em>{</em>{</p> <p><em>x</em> <em>{</em>{</p> -```````````````````````````````` \ No newline at end of file +`````````````````...
Fix emphasis run length delimiter lower limit bug Fixes #741
[fuzz result] incorrect run length matching in emphasis Consider this examples, specifically the parts that are underlined with `-`s ``` **a.*.**a*.**. - - ``` The [dingus](https://spec.commonmark.org/dingus/?text=**a.*.**a*.**.%0A%0A*a.*.**a*.**.) and pandoc both match the underlines delimiters toge...
raphlinus/pulldown-cmark
diff --git a/tests/suite/regression.rs b/tests/suite/regression.rs index f844ff5..6ee23f9 100644 --- a/tests/suite/regression.rs +++ b/tests/suite/regression.rs @@ -1752,4 +1752,14 @@ an unmatched asterisk.</p> "##; test_markdown_html(original, expected, false, false, false); -} \ No newline at end of file +}...
[ "suite::regression::regression_test_115" ]
[ "linklabel::test::return_carriage_linefeed_ok", "parse::test::body_size", "parse::test::another_emphasis_panic", "linklabel::test::whitespace_normalization", "escape::test::check_href_escape", "parse::test::code_block_kind_check_fenced", "parse::test::code_block_kind_check_indented", "parse::test::bro...
{ "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": "easy", "external_urls": [ "https://spec.commonmark.org/dingus/?text=**a.*.**a*.**.%...
d96b3e1db49ced4908b29ec2d682b95c89061a03
2024-02-23 13:46:44
docker.io/swerebenchv2/hyperjumptech-monika:1240-d96b3e1
hyperjumptech__monika-1240
Function: logStartupMessage({ config, flags, isFirstRun }) Location: src/components/logger/startup-message.ts Inputs: - config: Config – the resolved Monika configuration object. - flags: Pick<MonikaFlags, 'config' | 'symonKey' | 'symonUrl' | 'verbose' | 'experimental-fetch'> – command‑line flags; the key `'experimenta...
ts
MIT
diff --git a/docs/src/pages/guides/cli-options.md b/docs/src/pages/guides/cli-options.md index 1ce54059..a5d7ce9a 100644 --- a/docs/src/pages/guides/cli-options.md +++ b/docs/src/pages/guides/cli-options.md @@ -283,6 +283,14 @@ You can also set the maximum of delay by using the `--retryMaxDelayMs` flag. Def monika --r...
feat(native fetch): create --experimental-fetch as toggle feature # Monika Pull Request (PR) This PR resolves #1237 ## What feature does this PR add 1. Create `--experimental-fetch` as toggle feature flag to change HTTP client ## How did you implement 1. Added new flag `--experimental-fetch` 2. Added new tes...
Create experimental flag to switch between Axios and native Node.js fetch for HTTP client To change Axios HTTP client without breaking existing behaviour, Monika need experimental flag command; e.g. `--experimental-fetch`, for users and developers to switch between Axios HTTP client and native Node.js fetch. Related...
hyperjumptech/monika
diff --git a/src/components/logger/startup-message.test.ts b/src/components/logger/startup-message.test.ts index bc292c15..00d9ee3f 100644 --- a/src/components/logger/startup-message.test.ts +++ b/src/components/logger/startup-message.test.ts @@ -426,5 +426,41 @@ describe('Startup message', () => { // assert ...
[ "should handle validation error - without URL", "should handle validation error - invalid URL", "should handle validation error - without apiKey", "should handle validation error - without domain", "should validate probe ID", "should validate PagerDuty key", "should sucessfully validate the configuratio...
[]
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "npm ci", "npm run build -w packages/notification" ], "log_parser": "parse_log_js_2", "test_cmd": "npm run prepack && NODE_ENV=test npx mocha --config .mocharc.json --forbid-only '{packages,src,test}/**/*.test.ts' --reporter spec" }
{ "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": [...
6918c4de5898d65807a2255eed43b6f5a6cf1a21
2024-01-15 17:28:05
docker.io/swerebenchv2/pypa-pipx:1208-6918c4d
pypa__pipx-1208
Method: maybe_script_content(app: str, is_path: bool) -> Optional[Union[str, Path]] Location: src/pipx/commands/run.py Inputs: - **app**: string representing either a package name or a filesystem path to a script. - **is_path**: boolean flag; when True the function treats *app* strictly as a path and raises an error...
python
MIT
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 521f92f..7cae495 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,11 +7,11 @@ repos: - id: trailing-whitespace - id: check-yaml - repo: https://github.com/tox-dev/pyproject-fmt - rev: "1.5.3" + rev: "1.6.0" hooks: ...
fix: allow older setuptools_scm versions when building <!-- add an 'x' in the brackets below --> - [x] I have added a news fragment under `changelog.d/` (if the patch affects the end users) Fixes #1207, supports older versions of `setuptools_scm`, not just 7+. ## Summary of changes This uses `version.py`'s `version...
Old setuptools_scm issue (FreeBSD, for example) <!-- Thank you for filing a bug! Please feel free to answer as much or as little of this template as you can. Please check pipx's Troubleshooting page to see if any of those solutions help solve your issue: https://pipx.pypa.io/stable/troubleshooting/ --> **Descr...
pypa/pipx
diff --git a/tests/test_run.py b/tests/test_run.py index 0de3920..7d93556 100644 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -243,6 +243,24 @@ def test_run_with_requirements_old(caplog, pipx_temp_env, tmp_path): run_pipx_cli_exit(["run", script.as_uri()]) +@mock.patch("os.execvpe", new=execvpe_mock)...
[ "tests/test_run.py::test_run_correct_traceback" ]
[ "tests/test_run.py::test_help_text", "tests/test_run.py::test_simple_run[pycowsay]", "tests/test_run.py::test_simple_run[pycowsay==0.0.0.2]", "tests/test_run.py::test_simple_run[pycowsay>=0.0.0.2]", "tests/test_run.py::test_cache", "tests/test_run.py::test_cachedir_tag", "tests/test_run.py::test_run_scr...
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://pipx.pypa.io/stable/troubleshooting/", "...
3eb23eba7b05ea8acea72e6e47cdaba48129597a
2023-09-23 14:57:59
docker.io/swerebenchv2/swc-project-swc:7995-3eb23eb
swc-project__swc-7995
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/crates/swc/src/config/mod.rs b/crates/swc/src/config/mod.rs index 1a79edfdf0..0dbb836cd7 100644 --- a/crates/swc/src/config/mod.rs +++ b/crates/swc/src/config/mod.rs @@ -1497,7 +1497,7 @@ pub struct JscExperimental { #[serde(default)] pub plugins: Option<Vec<PluginConfig>>, /// If true, keep...
feat(es/config): Accept `jsc.experimental.keepImportAssertions` **Description:** **Related issue:** - Closes #7923.
[WRONG] `jsc.experimental.keepImportAssertions` is `experimental`, explicitly ### Describe the bug The bug is described here: https://github.com/TypeStrong/ts-node/issues/2056 With version 1.3.83, swc renames the experimental configuration option jsc.experimental.keepImportAssertions to jsc.experimental.keepImp...
swc-project/swc
diff --git a/crates/swc/tests/fixture/issues-7xxx/7908/input/3/.swcrc b/crates/swc/tests/fixture/issues-7xxx/7908/input/3/.swcrc new file mode 100644 index 0000000000..2e8d9afe75 --- /dev/null +++ b/crates/swc/tests/fixture/issues-7xxx/7908/input/3/.swcrc @@ -0,0 +1,17 @@ +{ + "$schema": "https://json.schemastore.or...
[ "modules::sort::tests::sort_002", "tests::comment_5", "tests::comment_2", "tests::comment_4", "tests::issue_915_1", "lexer::number::tests::issue_480", "lexer::tests::conflict_marker_diff3_trivia1", "lexer::number::tests::read_num_sep", "lexer::tests::conflict_marker_trivia3", "lexer::tests::migrat...
[ "tests::valid", "tests::line_1", "tests::access_tag", "tests::abstract_tag", "tests::skip_1", "tests::one_of_1", "tests::issue_1058", "tests::trim_1", "tests::word_1", "tests::yield_tag_1", "version::tests::should_enable_android_falls_back_to_chrome", "query::tests::test_empty", "config::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": "easy", "external_urls": [ "https://github.com/TypeStrong/ts-node/issues/2056", ...
bed0871911950cde14bbe2784c7cf3f16fab5c82
2020-03-21 09:37:46
docker.io/swerebenchv2/sindresorhus-query-string:252-bed0871
sindresorhus__query-string-252
Function: stringify(object: Record<string, unknown>, options?: StringifyOptions) → string Location: index.js (exported as queryString.stringify) Inputs: - **object** – the key‑value map to be serialized. - **options** – optional configuration object. New/changed fields: - `skipEmptyString?: boolean` – when true, keys...
js
MIT
diff --git a/index.d.ts b/index.d.ts index 587eaa3..d5012b4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -283,6 +283,33 @@ export interface StringifyOptions { ``` */ readonly skipNull?: boolean; + + /** + Skip keys with an empty string as the value. + + @default false + + @example + ``` + import queryString = requ...
Add `skipEmptyString` option Fixes #244
Add parameter skipEmptyString I love the skipNull that is available in the stringify. Would it be posible to also include a skipEmpty parameter that filters all params where the value = ""
sindresorhus/query-string
diff --git a/index.test-d.ts b/index.test-d.ts index a4cb36d..19a6817 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -23,6 +23,7 @@ expectType<string>(queryString.stringify({foo: 'bar'}, {arrayFormat: 'none'})); expectType<string>(queryString.stringify({foo: 'bar'}, {arrayFormat: 'comma'})); expectType<string>...
[ "stringify-url › skipEmptyString:: stringify URL with a query string", "stringify › should ignore emptyString when skipEmptyString is set", "stringify › should ignore empty string when skipEmptyString is set for arrayFormat" ]
[ "extract › extracts query string from url", "extract › handles strings not containing query string", "extract › throws for invalid values", "stringify-url › stringify URL without a query string", "stringify-url › stringify URL with a query string", "stringify-url › stringify URL from the result of `parseU...
{ "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":...
09e6f5d8f9dde0e13cb5ebbeb21c44c8629daf2e
2022-11-11 17:53:44
docker.io/swerebenchv2/jazzband-pip-tools:1723-09e6f5d
jazzband__pip-tools-1723
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/piptools/repositories/pypi.py b/piptools/repositories/pypi.py index d41f46f..41230f6 100644 --- a/piptools/repositories/pypi.py +++ b/piptools/repositories/pypi.py @@ -322,21 +322,35 @@ class PyPIRepository(BaseRepository): log.debug(ireq.name) with log.indentation(): - hashe...
Generate hashes for all available candidates Generate hashes covering the PyPi index as well as additional candidates available through an extra index of find-links. Currently if PyPi index is available the hashes will be limited to those available in it. <!--- Describe the changes here. ---> ##### Contributor ch...
problems installing torch-geometric <!-- Describe the issue briefly here. --> ` pip-sync requirements_lock.txt ` reports missing torch for any of these packages: ``` torch-cluster==1.6.0 \ --hash=sha256:362076bd713268ba52ed31ac9517686e206084a50bc4ea50543bdeb992d25bfe # via -r requirements.in torch-geomet...
jazzband/pip-tools
diff --git a/tests/test_cli_compile.py b/tests/test_cli_compile.py index e9b7f32..2d6bb7b 100644 --- a/tests/test_cli_compile.py +++ b/tests/test_cli_compile.py @@ -1,5 +1,6 @@ from __future__ import annotations +import hashlib import os import shutil import subprocess @@ -8,6 +9,7 @@ from textwrap import dedent ...
[ "tests/test_repository_pypi.py::test_get_hashes_from_pypi[not", "tests/test_repository_pypi.py::test_get_hashes_from_pypi[digests", "tests/test_repository_pypi.py::test_get_hashes_from_pypi[return", "tests/test_repository_pypi.py::test_get_hashes_from_mixed" ]
[ "tests/test_repository_pypi.py::test_get_project__returns_data", "tests/test_repository_pypi.py::test_open_local_or_remote_file__local_file[foo-3]", "tests/test_repository_pypi.py::test_relative_path_pip_cache_dir_is_normalized", "tests/test_repository_pypi.py::test_open_local_or_remote_file__remote_file[kek-...
{ "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": "B4", "confidence": 0.87, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://download.pytorch.org/whl/torch_stable.html", ...
81c681ba2215b6436a3088621faf99bf7f1ccf00
2025-05-13 18:33:21
docker.io/swerebenchv2/jlowin-fastmcp:434-81c681b
jlowin__fastmcp-434
Method: ResourceManager.read_resource(self, uri: AnyUrl | str) → str | bytes Location: src/fastmcp/resources/resource_manager.py Inputs: - **uri** – The absolute URI (or string) of the resource to read. Must be a valid `AnyUrl` or plain string. - The method uses the manager’s existing registration to locate the matc...
python
Apache-2.0
diff --git a/docs/servers/resources.mdx b/docs/servers/resources.mdx index 2ccea8d..72d736d 100644 --- a/docs/servers/resources.mdx +++ b/docs/servers/resources.mdx @@ -147,6 +147,7 @@ async def read_important_log() -> str: return "Log file not found." ``` + ### Resource Classes While `@mcp.resource` is...
Improve error handling for tools and resources Closes #428 Currently, the contents of all errors are returned to the client. As indicated in #428, this is a security concern. This PR modifies both error handling behavior AND location to unify handling. By default, errors are masked, but because it *can* be usef...
Tool.run should not reveal exception value to the client ### Description If any exception is raised during a tool call, the exception error message is revealed to the client. This is generally bad practice in python, as private information about the server may be conveyed through the exception. [src/fastmcp/tools/to...
jlowin/fastmcp
diff --git a/tests/client/test_client.py b/tests/client/test_client.py index dcb1624..ff460b2 100644 --- a/tests/client/test_client.py +++ b/tests/client/test_client.py @@ -5,6 +5,7 @@ from pydantic import AnyUrl from fastmcp.client import Client from fastmcp.client.transports import FastMCPTransport +from fastmcp....
[ "tests/client/test_client.py::TestErrorHandling::test_general_tool_exceptions_are_masked", "tests/client/test_client.py::TestErrorHandling::test_general_resource_exceptions_are_masked", "tests/client/test_client.py::TestErrorHandling::test_general_template_exceptions_are_masked", "tests/contrib/test_bulk_tool...
[ "tests/client/test_client.py::test_list_tools", "tests/client/test_client.py::test_list_tools_mcp", "tests/client/test_client.py::test_call_tool", "tests/client/test_client.py::test_call_tool_mcp", "tests/client/test_client.py::test_list_resources", "tests/client/test_client.py::test_list_resources_mcp", ...
{ "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": [ "https://github.com/jlowin/fastmcp/blob/d5db876b603fa6d...
f5143d19de33c7725206b15e1c4cfe51cf5310fa
2021-01-12 12:29:28
docker.io/swerebenchv2/palantir-policy-bot:257-f5143d1
palantir__policy-bot-257
No new interfaces are introduced.
go
Apache-2.0
diff --git a/pull/github.go b/pull/github.go index 01cc8f2..b690183 100644 --- a/pull/github.go +++ b/pull/github.go @@ -519,7 +519,7 @@ func (ghc *GitHubContext) loadPagedData() error { Reviews struct { PageInfo v4PageInfo Nodes []v4PullRequestReview - } `graphql:"reviews(first: 100, after: $rev...
Add support for handling review comments This PR adds support for handling review comments like regular comments, thus allowing users to approve or disapprove without switching back to the "Conversation" tab of the pull request whilst reviewing the changes. Fixes #51.
FR: Handle approvals embedded in GHE review comments Sometimes a user will make a slightly weird, but otherwise correct review, and we'll see something like User1 reviewed with a comment: ``` 👍 ``` Policybot looks at the comment text and the result of the github approval, but not the _text_ of the github a...
palantir/policy-bot
diff --git a/pull/github_test.go b/pull/github_test.go index 2a09c42..689c3d2 100644 --- a/pull/github_test.go +++ b/pull/github_test.go @@ -241,7 +241,7 @@ func TestComments(t *testing.T) { comments, err := ctx.Comments() require.NoError(t, err) - require.Len(t, comments, 2, "incorrect number of comments") + req...
[ "TestReviews", "TestComments", "TestMixedReviewCommentPaging" ]
[ "TestEvaluator", "TestEvaluator/disapprovalWins", "TestEvaluator/approvalWinsByDefault", "TestEvaluator/propagateError", "TestEvaluator/setsProperties", "TestIsApproved", "TestIsApproved/noApprovalRequired", "TestIsApproved/singleApprovalRequired", "TestIsApproved/authorCannotApprove", "TestIsAppr...
{ "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": "easy", "external_urls": [ "https://developer.github.com/v3/pulls/reviews/" ], ...
fcf7fefe7e420657f44ce9f78d4011887554779b
2018-03-17 00:43:13
docker.io/swerebenchv2/mapbox-batfish:252-fcf7fef
mapbox__batfish-252
Function: build(rawConfig?: Object, projectDirectory?: string) Location: src/node/build.js Inputs: - **rawConfig** (optional Object): user‑provided Batfish configuration; if omitted defaults are applied. - **projectDirectory** (optional string): absolute path to the project root; defaults to the current working direct...
js
ISC
diff --git a/CHANGELOG.md b/CHANGELOG.md index b05b6e5..74c82e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## HEAD +- **Add:** Add `sitemap` option, allowing user to turn off sitemap generation. - **Fix:** Improve error messages when front matter parsing fails. ## 1.5.1 diff --git a/docs/conf...
Add sitemap option Closes #249.
Add option to disable sitemap generation For a lot of use cases, a sitemap isn't necessary.
mapbox/batfish
diff --git a/test/__snapshots__/validate-config.test.js.snap b/test/__snapshots__/validate-config.test.js.snap index f6c7b05..9d229af 100644 --- a/test/__snapshots__/validate-config.test.js.snap +++ b/test/__snapshots__/validate-config.test.js.snap @@ -46,6 +46,7 @@ Object { "productionDevtool": false, "publicAss...
[ "if sitemap option is false, does not create a sitemap" ]
[ "does nothing if there are no stylesheets", "creates a watcher", "handles errors", "handles change events", "handles CSS compilation errors", "no listeners", "all paths, one listener", "all paths, two listeners", "all paths, remove listener", "all paths, remove all listeners", "specific path, on...
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
1385aebf694df8755cc3a2232ad99693d479db73
2024-01-03 16:25:43
docker.io/swerebenchv2/meltano-sdk:2136-1385aeb
meltano__sdk-2136
Method: JSONSchemaValidator.__init__(self, schema: dict, *, validate_formats: bool = False, format_checker: jsonschema.FormatChecker | None = None) Location: singer_sdk/sinks/core.py → class JSONSchemaValidator Inputs: - **schema** – the JSON‑Schema dict for the stream. - **validate_formats** – optional flag (default F...
python
Apache-2.0
diff --git a/noxfile.py b/noxfile.py index b0dd9070..256badd9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -48,6 +48,7 @@ test_dependencies = [ "pytest-snapshot", "pyarrow", "requests-mock", + "rfc3339-validator", "time-machine", ] diff --git a/poetry.lock b/poetry.lock index c3c7c88b..c1d6278e...
refactor(targets): Create interface for schema validation in sinks, and implement it for `python-jsonschema` This PR pulls out the JSONSchmea library abstraction work done in PR #2066 which built upon PR #1471. This refactor will allow Target developers more control of what JSONSchema validation will be performed an...
bug: SQL TIME columns causing jsonschema ValidationError Failed validating 'format': 'time' ### Singer SDK Version 0.19.0 ### Is this a regression? - [ ] Yes ### Python Version 3.9 ### Bug scope Taps (catalog, state, etc.) ### Operating System Windows ### Description ### Error Info Issue with `TIME` columns...
meltano/sdk
diff --git a/tests/core/sinks/test_type_checker.py b/tests/core/sinks/test_type_checker.py new file mode 100644 index 00000000..28376d5d --- /dev/null +++ b/tests/core/sinks/test_type_checker.py @@ -0,0 +1,100 @@ +"""Test the custom type validator.""" + +from __future__ import annotations + +import pytest +from typing_...
[ "tests/core/sinks/test_type_checker.py::test_default_schema_type_checks", "tests/core/sinks/test_type_checker.py::test_disable_schema_type_checks_returning_none", "tests/core/sinks/test_type_checker.py::test_disable_schema_type_checks_setting_false", "tests/core/sinks/test_validation.py::test_validate_record"...
[]
{ "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": [ "https://github.com/BuzzCutNorman/tap-mssql/issues/25" ...
6f74f161892d0a611912aca4fe27c0d01e9d5d0c
2022-10-26 01:31:40
docker.io/swerebenchv2/platers-obsidian-linter:461-6f74f16
platers__obsidian-linter-461
Method: YamlTitleAliasOptions.defaultEscapeCharacter Location: Options object for the **YamlTitleAlias** rule (used in `yaml-title-alias.test.ts` via the `options` parameter). Inputs: Optional `string` – the character to wrap around a title when escaping it (e.g., `'` or `"`). Defaults to `"` if omitted. Outputs: The p...
ts
MIT
diff --git a/src/rules/escape-yaml-special-characters.ts b/src/rules/escape-yaml-special-characters.ts index e1d9759..0589aea 100644 --- a/src/rules/escape-yaml-special-characters.ts +++ b/src/rules/escape-yaml-special-characters.ts @@ -1,7 +1,7 @@ import {Options, RuleType} from '../rules'; import RuleBuilder, {Bool...
Update Escape Logic and Fix Issue with Failure to Escape Titles and Aliases Fixes #439 Changes Made: - Updated the UTs for yaml title and yaml title alias - Refactored escape logic to `yaml.ts` to make sure it could be reused by other services - Made sure that rules like yaml title and yaml title alias as well a...
Bug: Titles with special characters not getting escaped in aliases ## Describe the Bug Titles containing the character `'` are not escaped when they are added to the list of aliases under the "yaml title alias plugin". ## How to Reproduce Create a new vault with just this plugin installed. Enable the options: ...
platers/obsidian-linter
diff --git a/__tests__/yaml-title-alias.test.ts b/__tests__/yaml-title-alias.test.ts index 87fec00..e6f9304 100644 --- a/__tests__/yaml-title-alias.test.ts +++ b/__tests__/yaml-title-alias.test.ts @@ -432,17 +432,48 @@ ruleTest({ }, }, { - testName: 'Titles with special characters are escaped', + ...
[ "Escapes title if it contains colon", "Escapes title if it starts with single quote", "Make sure that links in headings are properly copied to the yaml when there is a link prior to the first H1", "Titles with double quote are escaped", "Titles with single quote are escaped", "Make sure escaped aliases th...
[ "When the sort changes the yaml contents and yaml timestamp date modified is active, update date modified value", "Sort works with dictionary Yaml value", "One trailing space removed", "Three trailing whitespaces removed", "Tab-Space-Linebreak removed", "Two Space Linebreak not removed", "Regular link w...
{ "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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/platers/obsidian-linter/issues/439"...
0e1f75a438ca50540bfe2a8779091f21bcab7c98
2019-12-05 07:18:24
docker.io/swerebenchv2/absinthe-graphql-absinthe:816-0e1f75a
absinthe-graphql__absinthe-816
Method: Absinthe.Phase.Document.Execution.Resolution.maybe_add_non_null_error(errors, value, type) Location: lib/absinthe/phase/document/execution/resolution.ex Inputs: - **errors** – list of existing error messages (typically `%{message: ..., locations: ..., path: ...}` structs); the function matches only when this l...
elixir
custom-check-github
diff --git a/CHANGELOG.md b/CHANGELOG.md index c051d7e0..4b89d53f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,10 @@ For changes pre-v1.5 see the [v1.4](https://github.com/absinthe-graphql/absinthe - Feature: Output rendered SDL for a schema - Feature: Substantially lower subscription memory usage. - Doc...
Match latest spec and return single error The latest GraphQL spec states we should _not_ add an additional error when a resolver returns an explicit error. https://graphql.github.io/graphql-spec/June2018/#sec-Errors-and-Non-Nullability closes #803 @benwilson512
"Cannot return null for non-nullable field" present when error was specified ### Environment ``` Elixir 1.9.0 (compiled with Erlang/OTP 22) ``` ``` absinthe 1.4.16 (Hex package) (mix) absinthe_relay 1.4.6 (Hex package) (mix) absinthe_plug 1.4.7 (Hex package) (mix) ``` ### Expected behavior According to ...
absinthe-graphql/absinthe
diff --git a/test/absinthe/phase/execution/non_null_test.exs b/test/absinthe/phase/execution/non_null_test.exs index 8f7e15d7..08c0af02 100644 --- a/test/absinthe/phase/execution/non_null_test.exs +++ b/test/absinthe/phase/execution/non_null_test.exs @@ -117,11 +117,6 @@ defmodule Absinthe.Phase.Document.Execution.NonN...
[ "error propogation to root field returns nil on data", "returning an error from a non null field makes the parent nullable null at arbitrary depth", "returning an error from a non null field makes the parent nullable null" ]
[ "within schema language with well placed directives", "within schema language with well placed directives (excluded)", "within schema language with misplaced directives", "within schema language with misplaced directives (excluded)", "with unknown directive", "with well placed directives", "with known d...
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://graphql.github.io/graphql-spec/June2018", ...
7cc2b0bcde1a4f0f6eefe9e04a9892673d3e9c45
2018-05-22 21:08:56
docker.io/swerebenchv2/jsonata-js-jsonata:225-7cc2b0b
jsonata-js__jsonata-225
Function: $substring(str, start, length) Location: jsonata.js – built‑in function implementation (the function handling the `$substring` expression) Inputs: - **str** – string to operate on (Unicode string, internally converted to an array of characters to correctly handle surrogate pairs) - **start** – integer start i...
js
MIT
diff --git a/jsonata.js b/jsonata.js index 1a28b40..22f758f 100644 --- a/jsonata.js +++ b/jsonata.js @@ -3106,8 +3106,17 @@ var jsonata = (function() { } var strArray = Array.from(str); + var strLength = strArray.length; + + if(strLength + start < 0) { + start = 0; + ...
$substring should handle negative start position and length The fix for #156 introduced a regression into the `$substring` function when dealing with negative values of start parameter (count from end of string). This was caused by a miscalculation of the end position. Also added checks to prevent start position and ...
$substring length parameter no longer works with negative start positions I've just noticed that the `$substring()` function isn't handling its length argument correctly when the start argument is negative. For example, this expression correctly evaluates to `"world"`: ``` $substring("Hello world", -5, 5) ``` B...
jsonata-js/jsonata
diff --git a/test/test-suite/groups/function-substring/case008.json b/test/test-suite/groups/function-substring/case008.json new file mode 100644 index 0000000..1514752 --- /dev/null +++ b/test/test-suite/groups/function-substring/case008.json @@ -0,0 +1,6 @@ +{ + "expr": "$substring(\"hello world\", -5, 5)", + "...
[ "case009.json: $substring(\"hello world\", -5, 4)", "case010.json: $substring(\"hello world\", -5, 1)", "case011.json: $substring(\"hello world\", -5, 0)", "case012.json: $substring(\"hello world\", -5, -1)", "case013.json: $substring(\"hello world\", 0, -6)", "case014.json: $substring(\"hello world\", -1...
[ "should return promise to results", "should throw", "should handle an undefined value", "should handle a null value", "should handle a value", "should handle a promise", "basic function that returns a thenable", "basic function that returns a thenable, but invokes another function", "basic function ...
{ "base_image_name": "node_20", "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.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/jsonata-js/jsonata/issues/156" ],...
1222d1a865f3c2d861872203eb9d1f5ee62308e6
2022-05-24 23:10:09
docker.io/swerebenchv2/verygoodopensource-dart_frog:28-1222d1a
verygoodopensource__dart_frog-28
No new interfaces are introduced.
dart
MIT
diff --git a/packages/dart_frog/lib/src/router.dart b/packages/dart_frog/lib/src/router.dart index 0241ff090..c1b106036 100644 --- a/packages/dart_frog/lib/src/router.dart +++ b/packages/dart_frog/lib/src/router.dart @@ -103,6 +103,9 @@ class _RouteNotFoundResponse extends Response { static const _message = 'Route n...
<!-- Thanks for contributing! Provide a description of your changes below and a general summary in the title Please look at the following checklist to ensure that your PR can be accepted quickly: --> ## Status **READY** ## Description <!--- Describe your changes in detail --> - fix(dart_frog)...
fix: bad state: The 'read' method can only be called once **Description** Seeing the following: ```sh Asynchronous error Bad state: The 'read' method can only be called once on a shelf.Request/shelf.Response object. package:shelf/shelf_io.dart 143:11 handleRequest ``` When running the example and visiti...
VeryGoodOpenSource/dart_frog
diff --git a/packages/dart_frog/test/src/serve_test.dart b/packages/dart_frog/test/src/serve_test.dart index e4ec1bff8..dd80691ac 100644 --- a/packages/dart_frog/test/src/serve_test.dart +++ b/packages/dart_frog/test/src/serve_test.dart @@ -13,5 +13,17 @@ void main() { expect(response.statusCode, equals(HttpStat...
[ "serve can return multiple 404s" ]
[ "HttpMethod GET has correct value and toString", "HttpMethod DELETE has correct value and toString", "HttpMethod PATCH has correct value and toString", "HttpMethod POST has correct value and toString", "HttpMethod PUT has correct value and toString", "multiple middleware can be used on a handler", "valu...
{ "base_image_name": "dart_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, "j...
{ "llm_metadata": { "code": "A|B4", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
eedb8b172474dd7776d9bbb0f2954a1394027289
2022-09-21 09:57:30
docker.io/swerebenchv2/redis-redis:11296-eedb8b1
redis__redis-11296
Function: ACL SETUSER (username, options...) Location: src/acl.c → processed by ACLSetSelector / ACLSetUser implementation Inputs: - **username** – name of the user to modify (string). - **options** – a list of ACL sub‑commands. The **reset** option is now supported and performs the actions: `resetpass`, `resetkeys`...
c
custom-check-github
diff --git a/redis.conf b/redis.conf index 5672f3c2c..4460e37b6 100644 --- a/redis.conf +++ b/redis.conf @@ -942,9 +942,9 @@ replica-priority 100 # "nopass" status. After "resetpass" the user has no associated # passwords and there is no way to authenticate without adding # ...
Replica that asks for rdb only should be closed right after the rdb part The bug is that the the server keeps on sending newlines to the client. As a result, the receiver might not find the EOF marker since it searches for it only on the end of each payload it reads from the socket. The but only affects `CLIENT_REPL_RD...
[BUG] unexpected `\n` after the EOF marker when extracting an rdb from redis using diskless replication When extracting an rdb from redis using diskless replication, I get an unexpected `\n` after the EOF marker. To reproduce the issue, start a redis and run the following: ``` telnet localhost 6379 Trying 127.0.0.1...
redis/redis
diff --git a/tests/unit/acl.tcl b/tests/unit/acl.tcl index 3a1dcbf6c..0900d8e03 100644 --- a/tests/unit/acl.tcl +++ b/tests/unit/acl.tcl @@ -175,7 +175,7 @@ start_server {tags {"acl external:skip"}} { set curruser "hpuser" foreach user [lshuffle $users] { if {[string first $curruser $user...
[ "=== (list) Starting server 127.0.0.1:27111 ok", "=== (string) Starting server 127.0.0.1:25111 ok", "=== (list ziplist) Starting server 127.0.0.1:26611 ok", "=== () Starting server 127.0.0.1:26111 ok", "=== (incr) Starting server 127.0.0.1:25611 ok", "[ok]: info command with at most one sub command (1 ms)...
[ "Cleanup: may take some time", "=== (dump) Starting server 127.0.0.1:21611 ok", "=== (auth external:skip) Starting server 127.0.0.1:22111 ok", "=== (scan network) Starting server 127.0.0.1:23611 ok", "=== (info and its relative command) Starting server 127.0.0.1:24611 ok", "=== () Starting server 127.0.0....
{ "base_image_name": "c", "docker_specs": null, "install": [ "make" ], "log_parser": "parse_log_cpp_v3", "test_cmd": "./runtest --verbose" }
{ "llm_metadata": { "code": "B2", "confidence": 0.88, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/redis/redis/pull/10092" ], ...
78b2964a021ae44d4779794762d7265628e21a26
2024-07-11 14:10:22
docker.io/swerebenchv2/swc-project-swc:9209-78b2964
swc-project__swc-9209
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/crates/swc_ecma_transforms_base/src/fixer.rs b/crates/swc_ecma_transforms_base/src/fixer.rs index 265e64e6c8..1e8737a346 100644 --- a/crates/swc_ecma_transforms_base/src/fixer.rs +++ b/crates/swc_ecma_transforms_base/src/fixer.rs @@ -71,17 +71,6 @@ enum Context { FreeExpr, } -macro_rules! array { -...
fix(es/fixer): Wrap `in` expr in for-in head **Related issue (if exists):** - Closes #9200
Missing parenthesis in initializer of for loop ### Describe the bug SWC is removing some parentheses form this for loop, and the resulting code logs `0` instead of `1` ### Input code ```typescript let count = 0; for (var a = 1 || (2 in {}) in { x: 1 }) count++; console.log(count); ``` ### Config ``...
swc-project/swc
diff --git a/crates/swc/tests/fixture/issues-9xxx/9200/input/.swcrc b/crates/swc/tests/fixture/issues-9xxx/9200/input/.swcrc new file mode 100644 index 0000000000..a56e12b83d --- /dev/null +++ b/crates/swc/tests/fixture/issues-9xxx/9200/input/.swcrc @@ -0,0 +1,20 @@ +{ + "jsc": { + "parser": { + "s...
[ "config::tests::object", "expr::tests::html_comment", "expr::tests::object_expression", "expr::tests::sparse_array_expression", "stmt::tests::issue_266", "stmt::tests::for_statement", "stmt::tests::labeled_statement", "stmt::tests::if_statement", "tests::emit_type_import_statement_named", "tests::...
[ "tests::valid", "tests::abstract_tag", "tests::access_tag", "tests::issue_1058", "tests::one_of_1", "tests::line_1", "tests::skip_1", "tests::trim_1", "tests::word_1", "tests::yield_tag_1", "version::tests::should_enable_android_falls_back_to_chrome", "query::tests::test_empty", "config::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": "hard", "external_urls": [ "https://play.swc.rs/?version=1.6.7&code=H4sIAAAAAAAAA8tJ...
0e0c00324a5af35f8995c7ff88df67b0f5594a58
2024-03-27 23:54:11
docker.io/swerebenchv2/pallets-click:2696-0e0c003
pallets__click-2696
No new interfaces are introduced.
python
BSD-3-Clause
diff --git a/CHANGES.rst b/CHANGES.rst index f3997a5..086ccf4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -43,6 +43,8 @@ Unreleased collect stderr output and never raise an exception. Add a new output` stream to simulate what the user sees in its terminal. Removes the ``mix_stderr`` parameter in ``CliR...
show env var in error hint Here we add the env var to the error hint. <!-- Link to relevant issues or previous PRs, one per line. Use "fixes" to automatically close an issue. --> - fixes #2695 <!-- Ensure each step in CONTRIBUTING.rst is complete by adding an "x" to each box below. If only docs were ch...
show envvar in error hint ```py @click.command() @click.option('--a', required=True, envvar="b", show_envvar=True) def f(a): ... f() ``` Here I would want the error message to show the env var.
pallets/click
diff --git a/tests/test_options.py b/tests/test_options.py index 293f253..74ccc5f 100644 --- a/tests/test_options.py +++ b/tests/test_options.py @@ -531,6 +531,22 @@ def test_missing_choice(runner): assert "bar" in choices +def test_missing_envvar(runner): + cli = click.Command( + "cli", params=[clic...
[ "tests/test_options.py::test_missing_envvar" ]
[ "tests/test_options.py::test_prefixes", "tests/test_options.py::test_invalid_option", "tests/test_options.py::test_invalid_nargs", "tests/test_options.py::test_nargs_tup_composite_mult", "tests/test_options.py::test_counting", "tests/test_options.py::test_unknown_options[--foo]", "tests/test_options.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": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
2fa4316884e41bf24c5a6f8cef53580ae0344d30
2021-12-22 09:50:22
docker.io/swerebenchv2/ropdebee-mb-userscripts:327-2fa4316
ropdebee__mb-userscripts-327
Function: getMaximisedCandidates(sourceUrl: URL) Location: src/mb_enhanced_cover_art_uploads/maximise.ts Inputs: A URL object pointing at a (potentially small) Apple Music or iTunes cover‑art image. Outputs: An async generator yielding MaximisedImage objects; each object contains at least a `url` property (URL) represe...
ts
MIT
diff --git a/src/mb_enhanced_cover_art_uploads/docs/supported_providers.md b/src/mb_enhanced_cover_art_uploads/docs/supported_providers.md index 93e824c5..8a7077f5 100644 --- a/src/mb_enhanced_cover_art_uploads/docs/supported_providers.md +++ b/src/mb_enhanced_cover_art_uploads/docs/supported_providers.md @@ -9,7 +9,7 ...
feat(ecau): grab Apple Music original source images Closes #80 again. Fast-tracked this because it's been bothering me for quite a while.
Apple Music: Fetch original file format IMU maximises all Apple Music/iTunes covers to a PNG version. However, the source image might not be a PNG. We should add an exception to the maximisation so that we don't unnecessarily consume more bandwidth and storage for a "lossless" version of a lossy source. For Apple Mu...
ROpdebee/mb-userscripts
diff --git a/tests/unit/mb_enhanced_cover_art_uploads/maximise.test.ts b/tests/unit/mb_enhanced_cover_art_uploads/maximise.test.ts index 938c7a86..7ac5ecac 100644 --- a/tests/unit/mb_enhanced_cover_art_uploads/maximise.test.ts +++ b/tests/unit/mb_enhanced_cover_art_uploads/maximise.test.ts @@ -109,47 +109,23 @@ describ...
[ "transform Apple Music images to source URL", "keeps original maximised URL as backup", "maximises images", "transforms old-style iTunes URLs into source images" ]
[ "uses console.debug", "uses console.log", "uses console.info", "uses console.warn", "uses console.error", "uses console.info for success", "provides error to console.error", "provides error to console.warn", "should prefix MB domain", "adds the info line", "retains edit note content added after ...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "export DEBIAN_FRONTEND=noninteractive", "npm ci --no-audit --ignore-scripts" ], "log_parser": "parse_log_js_4", "test_cmd": "NODE_NO_WARNINGS=1 npx jest --verbose --no-color" }
{ "llm_metadata": { "code": "B4", "confidence": 0.84, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://beta.musicbrainz.org/edit/81901201" ], ...
7c6435b924bf718533d613c32be80c25837ac9b3
2025-04-15 02:13:59
docker.io/swerebenchv2/jlowin-fastmcp:161-7c6435b
jlowin__fastmcp-161
Method: FastMCP.run(self, transport: Literal["stdio", "sse"] | None = None, **transport_kwargs) Location: src/fastmcp/server/server.py Inputs: - transport (optional): selects the transport protocol; allowed values are `"stdio"` or `"sse"`. - **transport_kwargs (optional key‑value pairs): currently used by the CLI ...
python
Apache-2.0
diff --git a/docs/servers/fastmcp.mdx b/docs/servers/fastmcp.mdx index cf0fef7..c86f22e 100644 --- a/docs/servers/fastmcp.mdx +++ b/docs/servers/fastmcp.mdx @@ -111,7 +111,12 @@ def greet(name: str) -> str: if __name__ == "__main__": # This code only runs when the file is executed directly + + # Basic ru...
Add transport kwargs for mcp.run() and fastmcp run supports e.g. `mcp.run(transport='sse', host=<>, port=<>)` and also `fastmcp run file.py --host <> --port <>` Closes #158 and supersedes #148
fastmcp cli documentation references unsupported arguments host and port https://github.com/jlowin/fastmcp/blob/7c6435b924bf718533d613c32be80c25837ac9b3/docs/servers/fastmcp.mdx?plain=1#L184 `--host` and `--port` are not yet incorporated into the cli https://github.com/jlowin/fastmcp/blob/7c6435b924bf718533d613c32be8...
jlowin/fastmcp
diff --git a/tests/cli/test_run.py b/tests/cli/test_run.py new file mode 100644 index 0000000..58bd3c0 --- /dev/null +++ b/tests/cli/test_run.py @@ -0,0 +1,77 @@ +from pathlib import Path +from unittest.mock import Mock, patch + +import pytest +from typer.testing import CliRunner + +from fastmcp import FastMCP +from fa...
[ "tests/cli/test_run.py::test_cli_run_transport_kwargs" ]
[]
{ "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": [ "https://github.com/jlowin/fastmcp/blob/7c6435b924bf718...
66958120f57b700e8b859144da7355bd89418ab5
2024-05-16 14:54:05
docker.io/swerebenchv2/jhipster-jhipster-lite:9825-6695812
jhipster__jhipster-lite-9825
Method: FrontendJavaBuildToolModuleFactory.buildFrontendMavenModule(this, JHipsterModuleProperties properties) Location: src/main/java/tech/jhipster/lite/generator/server/javatool/frontendmaven/domain/FrontendJavaBuildToolModuleFactory.java Inputs: - **properties** (`JHipsterModuleProperties`): module configuration co...
java
Apache-2.0
diff --git a/src/main/java/tech/jhipster/lite/generator/server/javatool/frontendmaven/application/FrontendJavaBuildToolApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/javatool/frontendmaven/application/FrontendJavaBuildToolApplicationService.java new file mode 100644 index 000000000..2a9dcf9...
add missing frontend server plugin Fix #9743
Add missing gradle frontend server plugin **Prerequisites** - [x] #9744 - [x] https://github.com/jhipster/jhipster-lite/issues/9788 - [x] https://github.com/jhipster/jhipster-lite/issues/9813 - [x] https://github.com/jhipster/jhipster-lite/issues/9830 [This sample](https://github.com/renanfranca/sample-fronte...
jhipster/jhipster-lite
diff --git a/src/test/features/server/javatool/frontend-java-build-tool.feature b/src/test/features/server/javatool/frontend-java-build-tool.feature new file mode 100644 index 000000000..cf8c90d56 --- /dev/null +++ b/src/test/features/server/javatool/frontend-java-build-tool.feature @@ -0,0 +1,15 @@ +Feature: Frontend ...
[ "tech.jhipster.lite.AnnotationArchTest", "tech.jhipster.lite.HexagonalArchTest$Wire", "tech.jhipster.lite.HexagonalArchTest$SharedKernels", "tech.jhipster.lite.HexagonalArchTest$Secondary", "tech.jhipster.lite.HexagonalArchTest$Primary", "tech.jhipster.lite.HexagonalArchTest$Application", "tech.jhipster...
[]
{ "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": [ "https://github.com/jhipster/jhipster-lite/issues/9744"...
0651fa5eb411993eea1edf2bae0e5922144d1aa6
2021-12-15 13:14:12
docker.io/swerebenchv2/webpack-contrib-mini-css-extract-plugin:881-0651fa5
webpack-contrib__mini-css-extract-plugin-881
No new interfaces are introduced.
js
MIT
diff --git a/src/loader.js b/src/loader.js index 6dac326..ca319d5 100644 --- a/src/loader.js +++ b/src/loader.js @@ -204,13 +204,22 @@ export function pitch(request) { return; } - const isAbsolutePublicPath = /^[a-zA-Z][a-zA-Z\d+\-.]*?:/.test(publicPath); - const publicPathForExtract = isAbsolutePub...
fix: crash when `publicPath` is function <!-- 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 a...
TypeError: publicPath.replace is not a function when output.publicPath of webpack config is a function <!-- Please don't delete this template otherwise your issue will be closed immediately --> <!-- Before creating an issue please make sure you are using the latest version of webpack. --> ### Bug report <!-- Ple...
webpack-contrib/mini-css-extract-plugin
diff --git a/test/cases/publicpath-function-2/expected/webpack-5-importModule/c9e192c015437a21dea1.svg b/test/cases/publicpath-function-2/expected/webpack-5-importModule/c9e192c015437a21dea1.svg new file mode 100644 index 0000000..5b3b22a --- /dev/null +++ b/test/cases/publicpath-function-2/expected/webpack-5-importMod...
[ "publicpath-function-2 should compile to the expected result" ]
[ "should work with \"example.com\" url", "should work with \"example.com \" url", "should work with \"example.com.\" url", "should work with \"http://example.com\" url", "should work with \"http://example.com:80\" url", "should work with \"https://example.com:443\" url", "should work with \"//example.com...
{ "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": [ "https://github.com/roland-reed/mini-css-extract-plugin...
1a14c0edc609455a4c2766fa5eec68bc3b902d05
2022-05-09 01:31:17
docker.io/swerebenchv2/styleguidist-react-docgen-typescript:433-1a14c0e
styleguidist__react-docgen-typescript-433
Interface: ComponentDoc Location: src/parser.ts Inputs: - displayName: string - filePath: string - description: string - expression?: ts.Symbol // component’s type symbol (when shouldIncludeExpression is true) - rootExpression?: ts.Symbol // **new** – the original AST symbol representing the component’s root d...
ts
MIT
diff --git a/src/parser.ts b/src/parser.ts index 0d08489..47a86e5 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -15,6 +15,7 @@ export interface StringIndexedObject<T> { export interface ComponentDoc { expression?: ts.Symbol; + rootExpression?: ts.Symbol; displayName: string; filePath: string; descri...
feat: Export raw expression when shouldIncludeExpression is set Resolves #432 cc @joshwooding This PR adds a property called `rawExpression` to the parsed object when `shouldIncludeExpression` is set, in addition to the existing `expression` property. The two are identical in many cases, but diverge when the exporte...
expression returned using shouldIncludeExpression is not the original root expression When an expression is returned it might be the typeSymbol https://github.com/styleguidist/react-docgen-typescript/blob/1a14c0edc609455a4c2766fa5eec68bc3b902d05/src/parser.ts#L304 which means that we cannot easily get the original root...
styleguidist/react-docgen-typescript
diff --git a/src/__tests__/parser.ts b/src/__tests__/parser.ts index fc9c178..fab7b73 100644 --- a/src/__tests__/parser.ts +++ b/src/__tests__/parser.ts @@ -1513,6 +1513,7 @@ describe('parser', () => { it('should be disabled by default', () => { const [parsed] = parse(fixturePath('StatelessDisplayName')...
[ "should skip \"children\" property if no description is set", "should not skip \"children\" property if description is set", "should skip single prop by name", "should skip multiple props by name", "should skip children props with no documentation", "should skip props based on dynamic filter rule", "sho...
[]
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci", "npm run tsc" ], "log_parser": "parse_log_js", "test_cmd": "./node_modules/.bin/tsc && ./node_modules/.bin/mocha --timeout 10000 ./lib/**/__tests__/**.js --reporter spec" }
{ "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": [ "https://github.com/styleguidist/react-docgen-typescript/...
143a87d8665543c003f1103d621652b96a67c2d5
2024-05-26 17:11:12
docker.io/swerebenchv2/qiskit-community-ffsim:200-143a87d
qiskit-community__ffsim-200
Function: apply_diag_coulomb_evolution(state, mat, time, norb, nelec, *, z_representation=False, rtol=1e-12, atol=1e-12, validate=True) Location: ffsim.gates.diag_coulomb Inputs: - **state**: ndarray, the input many‑fermion state vector (complex dtype). - **mat**: either a tuple of three ndarrays (mat_aa, mat_ab, ma...
python
Apache-2.0
diff --git a/python/ffsim/gates/diag_coulomb.py b/python/ffsim/gates/diag_coulomb.py index 32263b8e..c8580502 100644 --- a/python/ffsim/gates/diag_coulomb.py +++ b/python/ffsim/gates/diag_coulomb.py @@ -167,7 +167,7 @@ def _get_mat_exp( mat_aa: np.ndarray | None mat_ab: np.ndarray | None mat_bb: np.ndarr...
support numpy array input instead of tuple fixes #195
allow orbital rotation and diag coulomb tuples to be a Numpy array dimension instead For example, instead of passing (`mat_a`, `mat_b`), allow the matrices to be assembled in a Numpy array. Currently, a Numpy array is assumed to be a single operator. This check should also take the shape into account.
qiskit-community/ffsim
diff --git a/tests/python/gates/diag_coulomb_test.py b/tests/python/gates/diag_coulomb_test.py index c8f45697..5735db1d 100644 --- a/tests/python/gates/diag_coulomb_test.py +++ b/tests/python/gates/diag_coulomb_test.py @@ -190,6 +190,32 @@ def test_apply_diag_coulomb_evolution_num_rep_asymmetric_spin( np.t...
[ "tests/python/gates/diag_coulomb_test.py::test_apply_diag_coulomb_evolution_num_rep_asymmetric_spin[0-nelec0]", "tests/python/gates/diag_coulomb_test.py::test_apply_diag_coulomb_evolution_num_rep_asymmetric_spin[1-nelec1]", "tests/python/gates/diag_coulomb_test.py::test_apply_diag_coulomb_evolution_num_rep_asym...
[ "tests/python/gates/diag_coulomb_test.py::test_apply_diag_coulomb_evolution_random_symmetric_spin[0-nelec0-False]", "tests/python/gates/diag_coulomb_test.py::test_apply_diag_coulomb_evolution_random_symmetric_spin[0-nelec1-True]", "tests/python/gates/diag_coulomb_test.py::test_apply_diag_coulomb_evolution_rando...
{ "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": [...
72e892ec12a3f8a9312e28728a7e663bf7f68197
2021-11-24 22:10:31
docker.io/swerebenchv2/swc-project-swc:2868-72e892e
swc-project__swc-2868
Function: _interopRequireWildcard(obj) Location: injected helper at the top of transformed CommonJS modules (e.g., in the generated output files for fixtures `issue-1734/case1-B/output/index.js` and `issue-2856/1/output/index.js`). Inputs: - **obj**: any value returned by `require()` (typically a CommonJS module obje...
rust
Apache-2.0
diff --git a/crates/swc_ecma_transforms_module/src/import_analysis.rs b/crates/swc_ecma_transforms_module/src/import_analysis.rs index 88e17fc9c9..c385ebe53d 100644 --- a/crates/swc_ecma_transforms_module/src/import_analysis.rs +++ b/crates/swc_ecma_transforms_module/src/import_analysis.rs @@ -1,7 +1,7 @@ use super::u...
fix(es/transforms/module): fix helper injection detection across import order - closes #2856 As commented in issue, crux is depends on import order import_analysis does not flag wildcard interop need to be used correctly. PR includes a scoped property to contain import sets to determine which interop is requred rega...
`_interopRequireWildcard` is injected without definition ### Describe the bug When `import React from 'react'` is used, and also a `{...props}` with a `key={}` in JSX, `_interopRequireWildcard` is injected at the top of the TSX file while not being initialized. This create the error `ReferenceError: _interopRequ...
swc-project/swc
diff --git a/crates/swc/tests/fixture/issue-1734/case1-B/output/index.js b/crates/swc/tests/fixture/issue-1734/case1-B/output/index.js index e02a8c80c9..8f5036f072 100644 --- a/crates/swc/tests/fixture/issue-1734/case1-B/output/index.js +++ b/crates/swc/tests/fixture/issue-1734/case1-B/output/index.js @@ -1,8 +1,26 @@ ...
[ "modules::sort::tests::sort_015", "expr::tests::postfix_expression", "tests::comment_1", "tests::comment_5", "tests::deno_8541_2", "tests::deno_8925", "stmt::tests::if_statement", "error::size_of_error", "fixer::tests::fn_decl", "fixer::tests::issue_199", "bugfixes::edge_default_param::tests::ne...
[ "tests::abstract_tag", "tests::line_1", "tests::access_tag", "tests::issue_1058", "tests::one_of_1", "tests::skip_1", "tests::trim_1", "tests::word_1", "tests::yield_tag_1", "config::tests::object", "config::tests::array", "config::tests::issue_1532", "modules::sort::tests::sort_016", "mod...
{ "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": [ "https://user-images.githubusercontent.com/22725671/143...
fb31adcddcee28805a6ca61aea9f4527c4ff67cf
2025-03-10 05:47:41
docker.io/swerebenchv2/iterative-shtab:182-fb31adc
iterative__shtab-182
Function: add_argument_to(parser, option_strings) Location: shtab (module level) Inputs: - **parser**: an instance of `argparse.ArgumentParser` that will receive the completion‑enabling argument. - **option_strings**: a sequence (e.g., list or tuple) of option flags to add, such as `["-s", "--shell"]`. The flags are...
python
custom-check-github
diff --git a/shtab/__init__.py b/shtab/__init__.py index 457bd2f..a08659d 100644 --- a/shtab/__init__.py +++ b/shtab/__init__.py @@ -382,6 +382,7 @@ _set_new_action() { # ${!x} -> ${hello} -> "world" ${root_prefix}() { local completing_word="${COMP_WORDS[COMP_CWORD]}" + local previous_word="${COMP_WORDS[COMP_...
Add to bash support for completing paths after redirection Fixes #171
Tabs after redirecting stdout do not complete files in bash When working in shells it is quite common that a command outputs something to stdout an the user wants to redirect this to a file, for example: ```bash ls > /tmp/list_of_files.txt ``` Using tab completion after the `>` redirection is very useful to navigat...
iterative/shtab
diff --git a/tests/test_shtab.py b/tests/test_shtab.py index 05ce08c..133a68f 100644 --- a/tests/test_shtab.py +++ b/tests/test_shtab.py @@ -2,6 +2,7 @@ Tests for `shtab`. """ import logging +import os import subprocess from argparse import ArgumentParser @@ -316,3 +317,28 @@ def test_get_completer_invalid(): ...
[ "tests/test_shtab.py::test_path_completion_after_redirection" ]
[ "tests/test_shtab.py::test_bash[export", "tests/test_shtab.py::test_bash[--z", "tests/test_shtab.py::test_bash_compgen", "tests/test_shtab.py::test_choices", "tests/test_shtab.py::test_main[bash]", "tests/test_shtab.py::test_main[zsh]", "tests/test_shtab.py::test_main[tcsh]", "tests/test_shtab.py::tes...
{ "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":...
7eafde3e7259b8907da1b3abfa519a6fe14f74de
2023-10-13 12:53:55
docker.io/swerebenchv2/stfc-psyclone:2365-7eafde3
stfc__psyclone-2365
Method: IntrinsicCall.is_inquiry(self) Location: Defined in src/psyclone/psyir/nodes/intrinsic_call.py as a @property of the IntrinsicCall class. Inputs: None (uses the intrinsic stored in the IntrinsicCall instance). Outputs: ``bool`` (True if the intrinsic routine is a query/inquiry function such as ALLOCATED, LBO...
python
BSD-3-Clause
diff --git a/changelog b/changelog index 2e0f2e543..6dd37eba1 100644 --- a/changelog +++ b/changelog @@ -37,6 +37,8 @@ 13) PR #2361 for #2360. Fix LFRic Loop.independent_iterations with domain information and allow sequential directives on loops with dependencies. + 14) PR #2365 for #2351. Fix ref2arrayrange allo...
(Closes #2351) Fix ref2arrayrange allocate bug
`Reference2ArrayRangeTrans` introduces erroneous colon notation in `ALLOCATED` intrinsic Consider the following example. ```fortran module my_module implicit none public contains subroutine my_subroutine() integer :: my_dim integer, allocatable, dimension(:,:) :: my_array my_dim = 10 ...
stfc/PSyclone
diff --git a/src/psyclone/tests/psyir/nodes/intrinsic_call_test.py b/src/psyclone/tests/psyir/nodes/intrinsic_call_test.py index bc1d0a44e..28a6184f5 100644 --- a/src/psyclone/tests/psyir/nodes/intrinsic_call_test.py +++ b/src/psyclone/tests/psyir/nodes/intrinsic_call_test.py @@ -46,12 +46,19 @@ import pytest from p...
[ "src/psyclone/tests/psyir/nodes/intrinsic_call_test.py::test_intrinsiccall_is_inquiry", "src/psyclone/tests/psyir/transformations/reference2arrayrange_trans_test.py::test_validate_query", "src/psyclone/tests/psyir/transformations/reference2arrayrange_trans_test.py::test_validate_deallocate" ]
[ "src/psyclone/tests/psyir/nodes/intrinsic_call_test.py::test_intrinsic_enum", "src/psyclone/tests/psyir/nodes/intrinsic_call_test.py::test_intrinsiccall_constructor", "src/psyclone/tests/psyir/nodes/intrinsic_call_test.py::test_intrinsiccall_intrinsic", "src/psyclone/tests/psyir/nodes/intrinsic_call_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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
96a15aa76c5060da9769605acb4a3824ec521d0f
2022-01-17 17:29:07
docker.io/swerebenchv2/crossplane-provider-aws:1068-96a15aa
crossplane__provider-aws-1068
No new interfaces are introduced.
go
Apache-2.0
diff --git a/apis/v1beta1/providerconfig_types.go b/apis/v1beta1/providerconfig_types.go index 08eb10d00..d1c25af5d 100644 --- a/apis/v1beta1/providerconfig_types.go +++ b/apis/v1beta1/providerconfig_types.go @@ -31,6 +31,10 @@ type ProviderConfigSpec struct { // +optional AssumeRoleARN *string `json:"assumeRoleARN...
fix(eks-addon): Replace ListTagsForResource with DescribeAddon to save one API call ### Description of your changes Fixes #1067 This removes the `ListTagsForResource` call from the `Addon` controller in `isUpToDate` and replaces it with `DescribeAddon` in `postUpdate`. Unfortunately AWS does not include a `Ta...
Unneccessary API call ListTagsForResource in EKS Addons controller ### What happened? The current controller implementation for EKS Addons uses `ListTagsForResource` to list the tags for API controller. This is not necessary since the tags are already provided through `DescribeAddon` which is called anyway. The r...
crossplane/provider-aws
diff --git a/pkg/controller/eks/addon/setup_test.go b/pkg/controller/eks/addon/setup_test.go index fe0be9575..2f6a9e9b2 100644 --- a/pkg/controller/eks/addon/setup_test.go +++ b/pkg/controller/eks/addon/setup_test.go @@ -25,7 +25,6 @@ import ( "github.com/pkg/errors" awseks "github.com/aws/aws-sdk-go/service/eks"...
[ "TestUpdate/FailedDescribeAddon", "TestUpdate/FailedTagResource", "TestUpdate/UntagResource" ]
[ "TestCompareGroupNames", "TestCompareGroupNames/GroupNamesAreEqual", "TestCompareGroupNames/GroupNamesAreEqualDifferentOrder", "TestCompareGroupNames/GroupNamesAreNotEqual", "TestCompareGroupNames/GroupNamesAreNotEqualDifferentLength", "TestCompareGroupNames/GroupNamesAreNil", "TestCompareGroupIDs", "...
{ "base_image_name": "go_1.18.10", "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": [ "https://github.com/crossplane/provider-aws/blob/96a15a...
ffadf3da18475179aa622b5df6391b17e66e4f1a
2016-11-20 00:16:13
docker.io/swerebenchv2/serverless-serverless:2748-ffadf3d
serverless__serverless-2748
Method: AwsCompileFunctions.compileFunctions() Location: lib/plugins/aws/deploy/compile/functions/index.js Inputs: None (relies on `this.serverless.service.functions` definitions and optional `this.serverless.service.provider.environment` object). Outputs: Populates `this.serverless.service.provider.compiledCloudFormat...
js
custom-check-github
diff --git a/docs/providers/aws/guide/functions.md b/docs/providers/aws/guide/functions.md index 6ead0c38d..81166a205 100644 --- a/docs/providers/aws/guide/functions.md +++ b/docs/providers/aws/guide/functions.md @@ -220,19 +220,38 @@ Then, when you run `serverless deploy`, VPC configuration will be deployed along #...
Lambda environment variables <!-- 1. Please check out and follow our Contributing Guidelines: https://github.com/serverless/serverless/blob/master/CONTRIBUTING.md 2. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the PR 3. Please follow the template, otherwis...
Design Environment Variable Support # This is a Feature Proposal ## Description As environment variables are an often requested feature for Serverless and AWS I want to start the design process, so we can start with implementing support for Environment Variables when they become ready at AWS at some point in the ...
serverless/serverless
diff --git a/lib/plugins/aws/deploy/compile/functions/tests/index.js b/lib/plugins/aws/deploy/compile/functions/tests/index.js index 7bb651926..10792eca6 100644 --- a/lib/plugins/aws/deploy/compile/functions/tests/index.js +++ b/lib/plugins/aws/deploy/compile/functions/tests/index.js @@ -360,6 +360,170 @@ describe('Aws...
[ "should print general --help to stdout", "should print command --help to stdout", "should expose a working integration between the CLI and the plugin system" ]
[ "should set the serverless instance", "should set an empty loadedPlugins array", "should set a null inputArray when none is provided", "should set the inputObject when provided", "should set the loadedPlugins array with the given plugin instances", "should return true when no command is given", "should ...
{ "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": "B6", "confidence": 0.87, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": true }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
4486be6eb6cdb5c0f3267868f7455761853ba092
2022-02-24 15:01:41
docker.io/swerebenchv2/sqlkata-querybuilder:557-4486be6
sqlkata__querybuilder-557
No new interfaces are introduced.
csharp
MIT
diff --git a/QueryBuilder/Compilers/Compiler.cs b/QueryBuilder/Compilers/Compiler.cs index a71b0743..aec2405f 100644 --- a/QueryBuilder/Compilers/Compiler.cs +++ b/QueryBuilder/Compilers/Compiler.cs @@ -17,6 +17,11 @@ public partial class Compiler protected virtual string LastId { get; set; } = ""; pr...
This is a replacement PR for this older branch: [issue-192](https://github.com/sqlkata/querybuilder/tree/issue-192) I compared the test case that was in the old branch, my tests are equivalent. The generated SQL is slightly different, (INSERT ALL vs UNION ALL) but functionally equivalent. The INSERT ALL approach is...
OracleCompiler generates invalid multiple row insert Given the query ```cs db.Query(string table).AsInsert(IEnumerable<string> columns, IEnumerable<IEnumerable<object>> valuesCollection, bool returnId = false); ``` Compiles to invalid sql for oracle ```sql INSERT INTO "mtable" ("one", "two") VALUES (3348, 0), (33...
sqlkata/querybuilder
diff --git a/QueryBuilder.Tests/Oracle/OracleInsertManyTests.cs b/QueryBuilder.Tests/Oracle/OracleInsertManyTests.cs new file mode 100644 index 00000000..f25cf2ba --- /dev/null +++ b/QueryBuilder.Tests/Oracle/OracleInsertManyTests.cs @@ -0,0 +1,61 @@ +using SqlKata.Compilers; +using SqlKata.Tests.Infrastructure; +using...
[ "SqlKata.Tests.Oracle.OracleInsertManyTests.InsertManyForOracle_ShouldRepeatColumnsAndAddSelectFromDual" ]
[ "SqlKata.Tests.SqlServer.SqlServerLegacyLimitTests.OffsetOnly", "SqlKata.Tests.PostgreSql.PostgreSqlLimitTests.WithLimitAndOffset", "SqlKata.Tests.Firebird.FirebirdLimitTests.OffsetOnly", "SqlKata.Tests.MySql.MySqlLimitTests.WithNoLimitNorOffset", "SqlKata.Tests.ExecutionTests.TimeoutShouldBeCarriedToNewCre...
{ "base_image_name": "csharp_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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://stackoverflow.com/questions/39576/best-way-to-...
6306da1e51efa78ad9a6c74f7e50ef6ca2e89c8e
2019-10-28 23:32:52
docker.io/swerebenchv2/elixir-gettext-gettext:226-6306da1
elixir-gettext__gettext-226
Struct: Translation Location: defined in the gettext library (used in PO handling) Inputs: - `msgid` (list of strings) – the original message identifiers. - `references` (list of `{filename, line}` tuples) – where the message appears. - `flags` (list of strings) – special handling flags. - `comments` (list of strings)...
elixir
Apache-2.0
diff --git a/lib/gettext/extractor.ex b/lib/gettext/extractor.ex index 0ca8bc2..1330b52 100644 --- a/lib/gettext/extractor.ex +++ b/lib/gettext/extractor.ex @@ -315,7 +315,8 @@ defmodule Gettext.Extractor do comments: old.comments, # We don't care about the references of the old translation since the new ...
Consider extracted comments when merging templates during extraction Fixes #222.
gettext_comment disappearing When using gettext_comment it only appears the first time you extract a msg. So for example: ``` gettext_comment("very important clarifying comment") gettext("This is some very awesome text" ``` If you would run gettext.extract the comment does appear in the pot file. Howe...
elixir-gettext/gettext
diff --git a/test/gettext/extractor_test.exs b/test/gettext/extractor_test.exs index 069732f..bf39616 100644 --- a/test/gettext/extractor_test.exs +++ b/test/gettext/extractor_test.exs @@ -123,7 +123,8 @@ defmodule Gettext.ExtractorTest do %Translation{ msgid: ["matching autogenerated"], ...
[ "merge_template/2 matching translations are merged" ]
[ "keys/1", "to_interpolatable/1", "to_interpolatable/1 with Unicode", "interpolate/2", "same?/2: singular translations", "autogenerated?/1: singular translations", "autogenerated?/1: plural translations", "mark_as_fuzzy/1", "same?/2: ignores if msgids are split as long as they're equal when concatena...
{ "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.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
ee90a3f9f1ae7a7fe1335fef928670c4def27976
2020-03-15 10:59:50
docker.io/swerebenchv2/deepmap-oapi-codegen:152-ee90a3f
deepmap__oapi-codegen-152
Function: StyleParam(style string, explode bool, paramName string, value interface{}) Location: pkg/runtime/styleparam.go Inputs: - **style** (string): Parameter serialization style (e.g., “simple”, “label”, “matrix”, “form”, etc.). - **explode** (bool): Indicates whether the parameter should be exploded according to t...
go
Apache-2.0
diff --git a/examples/petstore-expanded/chi/api/petstore.gen.go b/examples/petstore-expanded/chi/api/petstore.gen.go index 01b6d78..d3c25c0 100644 --- a/examples/petstore-expanded/chi/api/petstore.gen.go +++ b/examples/petstore-expanded/chi/api/petstore.gen.go @@ -219,14 +219,14 @@ var swaggerSpec = []string{ "bgypVN...
Fix time serialization panic (reflect.Value.Interface: cannot return value obtained from unexported field or method) Fixes #153 - Fix time serialization * For query parameter, time is stored as a direct reference (non-pointer) which was previously not supported and caused the panic: panic: reflect...
OAS 'date-time' type in query parameter causes panic in client Using time (date-time) parameter in client causes the following panic when the parameter is set: `panic: reflect.Value.Interface: cannot return value obtained from unexported field or method` Example OAS spec: ``` paths: /test: description: ...
deepmap/oapi-codegen
diff --git a/internal/test/client/client.gen.go b/internal/test/client/client.gen.go index 0f8570a..a775d16 100644 --- a/internal/test/client/client.gen.go +++ b/internal/test/client/client.gen.go @@ -995,15 +995,15 @@ func RegisterHandlers(router interface { // Base64 encoded, gzipped, json marshaled Swagger object ...
[ "TestStyleParam" ]
[ "TestPetStore", "TestPetStore/Add_pet", "TestPetStore/Find_pet_by_ID", "TestPetStore/Pet_not_found", "TestPetStore/List_all_pets", "TestPetStore/Filter_pets_by_tag", "TestPetStore/Filter_pets_by_tag#01", "TestPetStore/Delete_pets", "TestRawJSON", "TestAdditionalProperties", "TestIssue", "TestP...
{ "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", "helm_version": null, ...
{ "llm_metadata": { "code": "B3|B5", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": true, "B4": false, "B5": true, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories...
dab3a99bcb98bce03f85a24b627bd38ebfeba665
2020-04-16 04:23:10
docker.io/swerebenchv2/elliotchance-gedcom:303-dab3a99
elliotchance__gedcom-303
Method: NodesWithTagPathExpr.Evaluate(engine *Engine, input interface{}, args []*Statement) (interface{}, error) Location: q/nodes_with_tag_path.go Inputs: - engine: the current *Engine execution context. - input: the data to process – may be nil, a single gedcom.Node, or a slice/array of nodes/objects. - args: a ...
go
MIT
diff --git a/q/doc.go b/q/doc.go index 0e5a16f..420aef2 100644 --- a/q/doc.go +++ b/q/doc.go @@ -113,6 +113,28 @@ // // Merges two documents while also merging similar individuals. // +// NodesWithTagPaths(Tags...) +// +// NodesWithTagPath returns all of the nodes that have an exact tag path. The +// number of nod...
Adding NodesWithTagPath() to q NodesWithTagPath returns all of the nodes that have an exact tag path. The number of nodes returned can be zero and tag must match the tag path completely and exactly. Find all Death nodes that belong to all individuals: .Individuals | NodesWithTagPath("DEAT") From the indi...
Please add support for unofficial _MARNM tag Geni has two fields to describe individual's last name: "birth surname" and "last name". In order to express it in GEDCOM, they are using an unofficial _MARNM tag which is populated with "last name" from their record, while SURN is always populated with "birth surname" (if a...
elliotchance/gedcom
diff --git a/q/nodes_with_tag_path_test.go b/q/nodes_with_tag_path_test.go new file mode 100644 index 0000000..6f99c0e --- /dev/null +++ b/q/nodes_with_tag_path_test.go @@ -0,0 +1,103 @@ +package q_test + +import ( + "github.com/elliotchance/gedcom" + "github.com/elliotchance/gedcom/q" + "github.com/stretchr/testify/as...
[ "TestAccessorExpr_Evaluate", "TestAccessorExpr_Evaluate/Accessor_Evaluate#1", "TestAccessorExpr_Evaluate/Accessor_Evaluate#2", "TestAccessorExpr_Evaluate/Accessor_Evaluate#3", "TestAccessorExpr_Evaluate/Accessor_Evaluate#4", "TestAccessorExpr_Evaluate/Accessor_Evaluate#5", "TestAccessorExpr_Evaluate/Acc...
[ "TestNameType_String", "TestNameType_String/String#1", "TestNameType_String/String#2", "TestNameType_String/String#3", "TestNameType_String/String#4", "TestNameType_String/String#5", "TestNameType_String/String#6", "TestNameType_String/String#7", "TestAgeConstraint_String", "TestAgeConstraint_Stri...
{ "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": "B2", "confidence": 0.92, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
1675f54a95f15489443ea92026a3e4b146ff2a52
2020-10-26 17:57:13
docker.io/swerebenchv2/lingui-js-lingui:784-1675f54
lingui__js-lingui-784
Function: fromCookie(key: string) Location: packages/detect-locale/src/detectors/fromCookie.ts Inputs: - **key** (string): name of the cookie to read. Outputs: - Returns the cookie value as a string (`LocaleString`). Returns `null`/`undefined` if the cookie is not present. Description: Reads the document cookie using...
ts
MIT
diff --git a/docs/index.rst b/docs/index.rst index 2885aced..e2f70810 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -106,6 +106,7 @@ Documentation contents Macros <ref/macro> CLI <ref/cli> Configuration <ref/conf> + Locale Detection <ref/locale-detector> Webpack Loader <ref/loader> Catalog F...
feat: introduced some initial client detectors Will close #577 ### Tasks - [X] Detector fromUrl(parameter: string, location?) - `returns from the query-string params the correct value` - [X] Detector fromCookie(key: string) - `returns from the cookie the stored value` - [X] Detector fromStorage(key: string, {...
Detect locale User's locale should be detected automatically if possible, but also allow customization. The approach should work both on server and in browser and it should follow guidelines for [multilingual sites](https://support.google.com/webmasters/answer/182192?hl=en&ref_topic=2370587) ## Proposal Websites ...
lingui/js-lingui
diff --git a/packages/detect-locale/src/detectors/__snapshots__/fromUrl.test.ts.snap b/packages/detect-locale/src/detectors/__snapshots__/fromUrl.test.ts.snap new file mode 100644 index 00000000..4a2978f3 --- /dev/null +++ b/packages/detect-locale/src/detectors/__snapshots__/fromUrl.test.ts.snap @@ -0,0 +1,3 @@ +// Jes...
[ "jsx-trans #17", "is exposed as method", "will parse a querystring to an object", "will also work if querystring is prefixed with ?", "will also work if querystring is prefixed with #", "does not overide prototypes", "works with querystring parameters without values", "first value wins", "decodes pl...
[ "should collect and write catalogs", "should merge with existing catalogs", "should extract messages from source files", "should handle errors", "should initialize catalog", "should merge translations from existing catalogs", "should force overwrite of defaults", "should mark obsolete messages", "sh...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "corepack disable yarn", "npm install -g yarn --force", "yarn remove -W full-icu", "yarn install --ignore-engines", "yarn release:build" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn test --maxWorkers=1 --no-cache ...
{ "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": [ "https://support.google.com/webmasters/answer/182192?hl...
0188574a015eb7f3fa0231f1a66196d2a8da7bb0
2021-05-12 15:01:13
docker.io/swerebenchv2/ovn-org-libovsdb:104-0188574
ovn-org__libovsdb-104
No new interfaces are introduced.
go
Apache-2.0
diff --git a/client/api.go b/client/api.go index 55a913d..32a3d7b 100644 --- a/client/api.go +++ b/client/api.go @@ -144,7 +144,7 @@ func (a api) List(result interface{}) error { // If given a null slice, fill it in the cache table completely, if not, just up to // its capability - if resultVal.IsNil() { + if res...
api: list all rows if given a empty non-nil slice This case clearly does not mean the user is trying to do memory optimizations, so consider it as if it were a nil slice Fixes #97 Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
List() does not work on empty Lists Currently List() respects the capacity of the given list and does not resize it. This is intended so that a client that preallocates a list for optimization purposes is not returned an increased slice. However, the side efect is that a zero capacity (`[]MyRouter{}`) slice does not g...
ovn-org/libovsdb
diff --git a/client/api_test.go b/client/api_test.go index 827451e..c168fd4 100644 --- a/client/api_test.go +++ b/client/api_test.go @@ -108,6 +108,14 @@ func TestAPIListSimple(t *testing.T) { assert.Nil(t, err) assert.Len(t, result, 0, "Should be empty since cache is empty") }) + + t.Run("ApiList: Empty List",...
[ "TestAPIListSimple", "TestAPIListSimple/ApiList:_Empty_List" ]
[ "TestAPIListSimple/ApiList:_full", "TestAPIListSimple/ApiList:_single", "TestAPIListSimple/ApiList:_multiple", "TestAPIListSimple/ApiList:_Error_wrong_type", "TestAPIListSimple/ApiList:_Type_Selection", "TestAPIListPredicate", "TestAPIListPredicate/ApiListPredicate:_none", "TestAPIListPredicate/ApiLis...
{ "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": "B5", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
f24f13bd0a6c512d23a01ce952b7b21ab5c5e68d
2019-01-21 06:49:14
docker.io/swerebenchv2/newrelic-elixir_agent:84-f24f13b
newrelic__elixir_agent-84
Method: NewRelic.start_transaction(category :: String.t(), name :: String.t()) Location: lib/new_relic.ex Inputs: category – a string identifying the transaction type (e.g., "Task", "GenStage"); name – a string identifying the specific transaction name. Outputs: none (starts an “Other” transaction for the current proce...
elixir
Apache-2.0
diff --git a/lib/new_relic.ex b/lib/new_relic.ex index 39b51b0..6a17583 100644 --- a/lib/new_relic.ex +++ b/lib/new_relic.ex @@ -13,7 +13,7 @@ defmodule NewRelic do in the Transaction list. ```elixir - NewRelic.set_transaction_name("Plug/custom/transaction/name") + NewRelic.set_transaction_name("/Plug/custom/...
Add basic support for "Other" transactions This PR enables tracking a given process as an "Other" transaction (ie: not a Web transaction). Had to do a minimal amount of refactoring to allow this, and included a little re-shuffling of functions. ```elixir NewRelic.start_transaction("GenStage", "FancyConsumer/EventTy...
Non-web transactions tracing **Is your feature request related to a problem? Please describe.** I would like to have Non-web transactions represented in NewRelic transactions list. As an example, I would like to see [ConsumerSupervisor](https://hexdocs.pm/gen_stage/ConsumerSupervisor.html) children processes as transa...
newrelic/elixir_agent
diff --git a/test/error_trace_test.exs b/test/error_trace_test.exs index 2bd10ce..a95882a 100644 --- a/test/error_trace_test.exs +++ b/test/error_trace_test.exs @@ -10,10 +10,12 @@ defmodule ErrorTraceTest do er_1 = %Trace{ timestamp: System.system_time(:millisecond) / 1_000, transaction_name: "WebTr...
[ "Generate span GUIDs for a process", "report a span event through the harvester", "Process Sampler", "Sampler.ETS record_sample/1 ignores non-existent tables", "Sampler.ETS records metrics on ETS tables", "detect the processes which are top consumers", "Process Sampler - count work between samplings", ...
[]
{ "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.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://hexdocs.pm/gen_stage/ConsumerSupervisor.html" ...
d28deff57684349707d2b2a357048f59b0861bb1
2017-10-09 20:31:02
docker.io/swerebenchv2/pgjdbc-pgjdbc:985-d28deff
pgjdbc__pgjdbc-985
Method: LibPQFactory.verifyHostName(String hostname, String pattern) Location: org.postgresql.ssl.jdbc4.LibPQFactory (static method) Inputs: - hostname: the server host name to validate (non‑null String) - pattern: the pattern from the certificate or configuration (may contain a leading ‘*’ wildcard) Outputs: bool...
java
BSD-2-Clause
diff --git a/pgjdbc/src/main/java/org/postgresql/core/PGStream.java b/pgjdbc/src/main/java/org/postgresql/core/PGStream.java index f9a3e4ab..c65bb18d 100644 --- a/pgjdbc/src/main/java/org/postgresql/core/PGStream.java +++ b/pgjdbc/src/main/java/org/postgresql/core/PGStream.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 200...
Added support for socksNonProxyHosts property Fixes #975 When a `socksProxyHost` is configured, there needs to be an escape valve so that some hosts are resolved immediately. The Java Networking spec[1] does not specify such an option, but `socksNonProxyHosts` is used in the `sun.net.spi.DefaultProxySelector`. The b...
Version from 42.1.0 can't connect to 127.0.0.1 with System SOCKS proxy Hi, I found Postgresql JDBC Driver cannot connect to local postgresql server when I set a system SOCKS proxy. org.postgresql.util.PSQLException: The connection attempt failed. at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(...
pgjdbc/pgjdbc
diff --git a/pgjdbc/src/test/java/org/postgresql/test/jdbc4/Jdbc4TestSuite.java b/pgjdbc/src/test/java/org/postgresql/test/jdbc4/Jdbc4TestSuite.java index 405d977f..46fcc4bb 100644 --- a/pgjdbc/src/test/java/org/postgresql/test/jdbc4/Jdbc4TestSuite.java +++ b/pgjdbc/src/test/java/org/postgresql/test/jdbc4/Jdbc4TestSuit...
[ "org.postgresql.test.hostchooser.MultiHostTestSuite", "org.postgresql.test.osgi.OsgiTestSuite", "org.postgresql.test.ssl.SslTestSuite", "org.postgresql.test.ssl.SingleCertValidatingFactoryTestSuite" ]
[]
{ "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": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
c1b251a21093704ec9d9b64f76b75c90b6653149
2022-12-09 18:55:55
docker.io/swerebenchv2/sveltejs-kit:8034-c1b251a
sveltejs__kit-8034
No new interfaces are introduced.
js
MIT
diff --git a/.changeset/light-lamps-crash.md b/.changeset/light-lamps-crash.md new file mode 100644 index 000000000..2b97de7be --- /dev/null +++ b/.changeset/light-lamps-crash.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +[breaking] throw an error on invalid load response diff --git a/packages/kit/src/runtime...
make `<pre>` elements in docs scrollable closes #8032
Docs code example sidescroll on mobile ### Describe the bug When browsing the sveltekit docs on mobile I can not sidescroll the code example blocks. ### Reproduction Go to https://kit.svelte.dev/docs/accessibility#focus-management on an iphone. Try to sidescroll a code example. ### Logs _No response_ ...
sveltejs/kit
diff --git a/packages/kit/test/apps/basics/src/routes/errors/invalid-load-response/+page.js b/packages/kit/test/apps/basics/src/routes/errors/invalid-load-response/+page.js new file mode 100644 index 000000000..464112d1c --- /dev/null +++ b/packages/kit/test/apps/basics/src/routes/errors/invalid-load-response/+page.js ...
[ "4 [chromium-dev-no-js] › test/test.js:47:1 › only includes CSS for rendered components", "5 [chromium-dev-no-js] › test/test.js:57:1 › http-equiv tags are removed", "5 [chromium-build-no-js] › test/test.js:47:1 › only includes CSS for rendered components", "22 [chromium-dev] › test/client.test.js:190:2 › Scr...
[ "2 [chromium-dev-no-js] › test/test.js:19:1 › styles are applied", "3 [chromium-dev-no-js] › test/test.js:37:1 › sets origin", "1 [chromium-dev-no-js] › test/test.js:6:1 › renders an AMP page", "2 [chromium-build-no-js] › test/test.js:19:1 › styles are applied", "6 [chromium-build-no-js] › test/test.js:57:1...
{ "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": "B5", "confidence": 0.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "easy", "external_urls": [ "https://kit.svelte.dev/docs/accessibility#focus-manageme...
36f853f9aa83124bccb0fd6c4a71fb2888b7109e
2022-09-22 05:41:49
docker.io/swerebenchv2/passsy-kt.dart:183-36f853f
passsy__kt.dart-183
Method: KtCollection<T>.sumOf<R extends num>(R Function(T) selector) Location: lib/src/collection/kt_collection.dart Inputs: - selector: a function that maps each element of the collection (type T) to a numeric value (type R, where R extends num). The generic R determines the return type (int or double). Outputs: - ...
dart
Apache-2.0
diff --git a/lib/src/collection/kt_collection.dart b/lib/src/collection/kt_collection.dart index 734f0b7..71c6189 100644 --- a/lib/src/collection/kt_collection.dart +++ b/lib/src/collection/kt_collection.dart @@ -47,6 +47,15 @@ extension KtCollectionExtensions<T> on KtCollection<T> { return elementAt(index); } ...
Closes https://github.com/passsy/kt.dart/issues/154
Add sumOf() https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/sum-of.html
passsy/kt.dart
diff --git a/test/collection/collection_test.dart b/test/collection/collection_test.dart index 91e8313..b41c4a2 100644 --- a/test/collection/collection_test.dart +++ b/test/collection/collection_test.dart @@ -173,6 +173,38 @@ void testCollection(KtCollection<T> Function<T>() emptyCollection, expect(emptyCollecti...
[ "KtCollection list contains no elements", "KtCollection list contains contains", "KtCollection list contains does not contain", "KtCollection list containsAll no elements", "KtCollection list containsAll contains all", "KtCollection list containsAll doesn't contain all", "KtCollection list isNotEmpty is...
[ "unmodifiable set view mutation throws", "compare in natural order naturalOrder", "kotlin syntax emptyList basic creation", "compare reversed order reverseOrder", "kotlin syntax listFrom empty", "reverse custom comparator reverse natural", "kotlin syntax listFrom create with filled iterable values", "...
{ "base_image_name": "dart_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, "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": [ "https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coll...
75b9d2bed75a2d96198738ac3974211924dbde6c
2019-06-12 19:39:51
docker.io/swerebenchv2/gin-gonic-gin:1949-75b9d2b
gin-gonic__gin-1949
Method: formMultipartBinding.Bind(req *http.Request, obj interface{}) error Location: package binding – exported variable `FormMultipart` is an instance of `formMultipartBinding`; the `Bind` method is invoked in the tests as `FormMultipart.Bind(req, &s)`. Inputs: - **req**: `*http.Request` – an HTTP request whose `Cont...
go
MIT
diff --git a/README.md b/README.md index 092e91f..49b044a 100644 --- a/README.md +++ b/README.md @@ -959,32 +959,36 @@ result: ### Multipart/Urlencoded binding ```go -package main +type ProfileForm struct { + Name string `form:"name" binding:"required"` + Avatar *multipart.FileHeader `form:"avatar"...
binding: add support of multipart multi files (#1878) Fix #1878 Add support multi files on bind multipart requests. Example: ``` type s struct { Files []*multipart.FileHeader `form:"files"` } ```
how to binding for multi files upload #1263's merged solution take no effect for multi files uploading. my code: ```go // MailUpload struct for e-mail type MailUpload struct { Mail string `json:"mail" form:"mail" binding:"required"` Attachments []*multipart.FileHeader `json:"attachment,omitempty" for...
gin-gonic/gin
diff --git a/binding/multipart_form_mapping_test.go b/binding/multipart_form_mapping_test.go new file mode 100644 index 0000000..4c75d1f --- /dev/null +++ b/binding/multipart_form_mapping_test.go @@ -0,0 +1,138 @@ +// Copyright 2019 Gin Core Team. All rights reserved. +// Use of this source code is governed by a MIT s...
[ "TestFormMultipartBindingBindOneFile", "TestFormMultipartBindingBindTwoFiles", "TestFormMultipartBindingBindError", "TestValidateNoValidationValues", "TestValidateNoValidationPointers", "TestValidatePrimitives", "TestValidatorEngine" ]
[ "TestBasicAuth", "TestBasicAuthFails", "TestBasicAuthSearchCredential", "TestBasicAuthAuthorizationHeader", "TestBasicAuthSecureCompare", "TestBasicAuthSucceed", "TestBasicAuth401", "TestBasicAuth401WithCustomRealm", "TestContextFormFile", "TestContextFormFileFailed", "TestContextMultipartForm",...
{ "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.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": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
e9bdeda02a1be80d295aa8e4b068e4844141512b
2018-07-11 14:34:48
docker.io/swerebenchv2/pypa-setuptools:1418-e9bdeda
pypa__setuptools-1418
No new interfaces are introduced.
python
MIT
diff --git a/changelog.d/1418.change.rst b/changelog.d/1418.change.rst new file mode 100644 index 000000000..d7656f574 --- /dev/null +++ b/changelog.d/1418.change.rst @@ -0,0 +1,1 @@ +Solved race in when creating egg cache directories. diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index 670154081.....
Egg race condition ## Summary of changes This PR is an approach to #1412 that adds a test to induce this race condition. The test relies on implementation details, but that is made explicit in the text of the test, I have done it this way because there isn't another great way to deterministically induce the problem. ...
[Errno 17] File exists when extracting files to egg cache (or creating egg cache directory) We are experiencing intermittent failures when running tests for one of our Python applications while installing dependencies during test execution in our CI system. The tests are being run with pytest, and we are using the pyte...
pypa/setuptools
diff --git a/pkg_resources/tests/test_pkg_resources.py b/pkg_resources/tests/test_pkg_resources.py index 4e2cac945..62a39b8fa 100644 --- a/pkg_resources/tests/test_pkg_resources.py +++ b/pkg_resources/tests/test_pkg_resources.py @@ -12,6 +12,11 @@ import stat import distutils.dist import distutils.command.install_egg...
[ "pkg_resources/tests/test_pkg_resources.py::TestResourceManager::test_get_cache_path_race" ]
[ "pkg_resources/tests/test_pkg_resources.py::TestZipProvider::test_resource_listdir", "pkg_resources/tests/test_pkg_resources.py::TestZipProvider::test_resource_filename_rewrites_on_change", "pkg_resources/tests/test_pkg_resources.py::TestResourceManager::test_get_cache_path", "pkg_resources/tests/test_pkg_res...
{ "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.99, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/pypa/setuptools/blob/master/pkg_resou...
368d718dac5f1cc1e99ef225df03393ed8b02f11
2018-12-19 19:09:17
docker.io/swerebenchv2/authorjapps-zerocode:169-368d718
authorjapps__zerocode-169
No new interfaces are introduced.
java
Apache-2.0
diff --git a/src/main/java/org/jsmart/zerocode/core/httpclient/BasicHttpClient.java b/src/main/java/org/jsmart/zerocode/core/httpclient/BasicHttpClient.java index ef1696f1..18438ce2 100644 --- a/src/main/java/org/jsmart/zerocode/core/httpclient/BasicHttpClient.java +++ b/src/main/java/org/jsmart/zerocode/core/httpclien...
ISS-168 # multipart/form-data support without file Fixes #168 , also added adequate tests to verify the fix. I am open for suggestions.
Cannot send multipart/form-data without a file `multipart/form-data` is used to send **key-value** pairs in the body of the request. The key should be string and ***value can be either string or it can be a file***. It is not mandatory to provide the file to send a `multipart/form-data` request. In the current impl...
authorjapps/zerocode
diff --git a/src/test/java/org/jsmart/zerocode/core/httpclient/BasicHttpClientTest.java b/src/test/java/org/jsmart/zerocode/core/httpclient/BasicHttpClientTest.java index 5eca1bbc..4f1663c2 100644 --- a/src/test/java/org/jsmart/zerocode/core/httpclient/BasicHttpClientTest.java +++ b/src/test/java/org/jsmart/zerocode/co...
[ "org.jsmart.zerocode.core.httpclient.BasicHttpClientTest" ]
[ "org.jsmart.zerocode.core.runner.parallel.ZeroCodeMultiLoadRunnerTest", "org.jsmart.zerocode.core.runner.parallel.ZeroCodeLoadRunnerTest", "org.jsmart.zerocode.core.tests.H2DBTest", "org.jsmart.zerocode.core.httpclient.utils.UrlQueryParamsUtilsTest", "org.jsmart.zerocode.core.domain.builders.ZeroCodeReportB...
{ "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": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
4aec46244ee6f0ca64af04e80db97336e8931533
2024-03-20 16:42:15
docker.io/swerebenchv2/microsoft-kiota:4365-4aec462
microsoft__kiota-4365
No new interfaces are introduced.
csharp
MIT
diff --git a/CHANGELOG.md b/CHANGELOG.md index eba65dc8d8..f6a71fd038 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - PREVIEW: Moved preview configuration files to the .kiota directory. [#4310](https://github.com/microsof...
fixes #4103
Undefined is not the same as falsy There's an undefined check on route arguments but it's not actually checking for undefined: ![image](https://github.com/microsoft/kiota-typescript/assets/2087146/53fffea5-dad7-45a7-85e7-bde31c824c75) This causes an issue if the value is anything that would return falsy (0, empty...
microsoft/kiota
diff --git a/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeFunctionWriterTests.cs b/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeFunctionWriterTests.cs index 8855644e50..a22dec13c7 100644 --- a/tests/Kiota.Builder.Tests/Writers/TypeScript/CodeFunctionWriterTests.cs +++ b/tests/Kiota.Builder.Tests/Writers/TypeScr...
[ "Passed Kiota.Builder.Tests.Writers.CSharp.CodeMethodWriterTests.DoesntWriteFactorySwitchOnMissingParameter" ]
[ "Kiota.Builder.Tests.Manifest.RequestInfoComparerTests.GetsHashCode", "Kiota.Builder.Tests.CodeDOM.CodeElementTests.IsChildOf", "Kiota.Builder.Tests.Writers.Python.CodeClassEndWriterTests.ClosesNestedClasses", "Kiota.Builder.Tests.WorkspaceManagement.WorkspaceConfigurationStorageServiceTests.DefensiveProgramm...
{ "base_image_name": "csharp_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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
8b2f1427bd372e86ce83328fdd75ab59e02b15f9
2024-09-19 00:52:56
docker.io/swerebenchv2/cogent3-cogent3:2025-8b2f142
cogent3__cogent3-2025
Function: _prep_seqs(moltype, seq1, seq2, is_aligned) Location: cogent3.draw.dotplot Inputs: - **moltype** – a Moltype instance (or compatible identifier) used to interpret the input sequences. - **seq1**, **seq2** – sequence specifications; can be raw strings, `Sequence` objects, or any type accepted by `_convert_inpu...
python
BSD-3-Clause
diff --git a/changelog.d/20240919_105311_Gavin.Huttley.md b/changelog.d/20240919_105311_Gavin.Huttley.md new file mode 100644 index 000000000..2cfe0f0be --- /dev/null +++ b/changelog.d/20240919_105311_Gavin.Huttley.md @@ -0,0 +1,42 @@ +<!-- +A new scriv changelog fragment. + +Uncomment the section that is right (remove...
BUG: using new IndelMap methods eliminates shared gaps for dotplots, fixes #2006
BUG: dotplot alignment path is funky Dotplot of two sequences from this alignment [ENSG00000006118.fa.zip](https://github.com/user-attachments/files/16790754/ENSG00000006118.fa.zip) is very odd. ```python from cogent3 import load_aligned_seqs aln = load_aligned_seqs("ENSG00000006118.fa", moltype="dna") dp = aln...
cogent3/cogent3
diff --git a/tests/test_draw/test_dotplot.py b/tests/test_draw/test_dotplot.py index eebd83bc4..6a53c7617 100644 --- a/tests/test_draw/test_dotplot.py +++ b/tests/test_draw/test_dotplot.py @@ -1,11 +1,12 @@ from unittest import TestCase import numpy +import pytest from cogent3 import get_moltype, make_unaligned_...
[ "tests/test_draw/test_dotplot.py::TestUtilFunctions::test_align_without_gaps", "tests/test_draw/test_dotplot.py::TestUtilFunctions::test_convert_input", "tests/test_draw/test_dotplot.py::TestUtilFunctions::test_display2d", "tests/test_draw/test_dotplot.py::TestUtilFunctions::test_display2d_rc", "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": [ "https://github.com/user-attachments/files/16790754/ENS...
f89cd3c1f3feffaa960e13c7bec07a6163d18fd3
2023-07-21 04:03:57
docker.io/swerebenchv2/rust-lang-rustfmt:5853-f89cd3c
rust-lang__rustfmt-5853
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/src/imports.rs b/src/imports.rs index 6f005064..f8e7fa62 100644 --- a/src/imports.rs +++ b/src/imports.rs @@ -589,7 +589,7 @@ impl UseTree { // Normalise foo::{bar} -> foo::bar if let UseSegmentKind::List(ref list) = last.kind { - if list.len() == 1 && list[0].to_string() != ...
Fix issues with formatting imports with comments Fixes #5852
Comments in imports are formatted incorrectly Examples: ```rs use std::{ fs, // (temporarily commented, we'll need this again in a second) io, }; use foo::{ self // this is important }; ``` Becomes: ```rs use std::fs; use foo::{self, // this is important}; ``` Which now has syntax err...
rust-lang/rustfmt
diff --git a/tests/source/issue-3984.rs b/tests/source/issue-3984.rs new file mode 100644 index 00000000..c9bcfa40 --- /dev/null +++ b/tests/source/issue-3984.rs @@ -0,0 +1,12 @@ +use a::{item /* comment */}; +use b::{ + a, + // comment + item, +}; +use c::item /* comment */; +use d::item; // really long comme...
[ "test::system_tests", "test::idempotence_tests", "cargo_fmt_tests::default_options", "cargo_fmt_tests::empty_packages_1", "cargo_fmt_tests::message_format::human_message_format", "cargo_fmt_tests::empty_packages_2", "cargo_fmt_tests::empty_packages_3", "cargo_fmt_tests::message_format::invalid_message...
[ "attr::doc_comment::tests::multi_line_doc_comment_is_formatted_correctly", "attr::doc_comment::tests::literal_controls_leading_spaces", "comment::test::char_classes", "attr::doc_comment::tests::whitespace_within_lines_is_preserved", "comment::test::comment_code_slices", "attr::doc_comment::tests::single_l...
{ "base_image_name": "rust_1.84", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": "1.88.0-nightly", "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": ...
{ "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":...
50fbe856e00bfc5ec1fd0f927e2b74ce61094361
2024-09-05 16:24:19
docker.io/swerebenchv2/tobikodata-sqlmesh:3093-50fbe85
tobikodata__sqlmesh-3093
Method: GenericContext.format(self, transpile: Optional[str] = None, append_newline: Optional[bool] = None, *, check: Optional[bool] = None, **kwargs: Any) -> bool Location: sqlmesh/core/context.py, class GenericContext Inputs: - transpile – target dialect name for SQL transpilation (e.g., "bigquery"). - append_newlin...
python
Apache-2.0
diff --git a/docs/reference/cli.md b/docs/reference/cli.md index d3d26139..d7a0cc05 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -184,6 +184,8 @@ Options: trailing. --max-text-width INTEGER The max number of characters in a segment before ...
fix: macro function comments closes #3088
`sqlmesh format` strips comment ```sql SELECT * FROM underlying WHERE @MY_CUSTOM_MACRO() /* this comment gets removed by sqlmesh format */ ```
TobikoData/sqlmesh
diff --git a/tests/core/test_dialect.py b/tests/core/test_dialect.py index 6c5a6da2..edbfdd68 100644 --- a/tests/core/test_dialect.py +++ b/tests/core/test_dialect.py @@ -207,7 +207,9 @@ def test_format_body_macros(): Model ( name foo ); @WITH(TRUE) x AS (SELECT 1) SELECT col::int - FROM foo @ORDER_BY...
[ "tests/core/test_dialect.py::test_format_body_macros" ]
[ "tests/core/test_dialect.py::test_format_model_expressions", "tests/core/test_dialect.py::test_macro_format", "tests/core/test_dialect.py::test_text_diff", "tests/core/test_dialect.py::test_parse", "tests/core/test_dialect.py::test_parse_jinja_with_semicolons", "tests/core/test_dialect.py::test_seed", "...
{ "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": "B4", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
3573437e809cb70f6e5a94791798649cf0bf293e
2018-12-05 14:58:47
docker.io/swerebenchv2/jasonetco-todo:178-3573437
jasonetco__todo-178
No new interfaces are introduced.
js
ISC
diff --git a/lib/utils/check-for-body.js b/lib/utils/check-for-body.js index 49ce1a3..37b84e6 100644 --- a/lib/utils/check-for-body.js +++ b/lib/utils/check-for-body.js @@ -1,14 +1,22 @@ const { lineBreak } = require('./helpers') module.exports = (changes, changeIndex, config) => { - const nextLine = changes[chang...
Multiline body Fixes #174 Allows multiple consecutive lines with the BODY keyword. Note that this changes the Regex to use a Lazy Quantifier to match the beginning of the line. This could affect performance.
Multi-line BODY in source It'd be nice if TODO could handle multi-line BODY, something like https://github.com/roblabla42/KFS/pull/48#issuecomment-443809742 To prevent ambiguity, maybe TODO could look for multiple continuous lines starting with BODY?
JasonEtco/todo
diff --git a/tests/lib/check-for-body.test.js b/tests/lib/check-for-body.test.js index 33f10bf..23f9313 100644 --- a/tests/lib/check-for-body.test.js +++ b/tests/lib/check-for-body.test.js @@ -46,8 +46,33 @@ describe('check-for-body', () => { const pizza = checkForBody(changes, 0, config) expect(pizza).toBe('...
[ "Allows multiple consecutive BODY lines", "Properly splits empty lines in multi-line BODY" ]
[ "returns the body if its present", "returns false if there is no next line", "returns false if the next line does not have a body", "allows for multiple keywords", "creates an issue", "creates an issue with a truncated title", "creates an issue without assigning anyone", "creates an issue and assigns ...
{ "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": "B3", "confidence": 0.85, "detected_issues": { "B1": false, "B2": false, "B3": true, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/roblabla42/KFS/pull/48#issuecomment...
de714eb4cc2ebf4065eba8cc886c4eb6649b061b
2023-10-12 22:09:19
docker.io/swerebenchv2/getmoto-moto:6906-de714eb
getmoto__moto-6906
Method: EC2Client.describe_instances(self, InstanceIds: List[str] = None, Filters: List[Dict] = None, MaxResults: int = None, NextToken: str = None, DryRun: bool = False) Location: boto3 EC2 client (mocked by Moto in `moto/ec2/responses/instances.py`) Inputs: - **InstanceIds** – optional list of instance identifie...
python
Apache-2.0
diff --git a/moto/ec2/responses/instances.py b/moto/ec2/responses/instances.py index 30785bf1c..4bded43bb 100644 --- a/moto/ec2/responses/instances.py +++ b/moto/ec2/responses/instances.py @@ -47,6 +47,7 @@ class InstanceResponse(EC2BaseResponse): account_id=self.current_account, reser...
EC2: Streamline output of run_instances()/describe_instances() The duplicate copy/pasta nature before meant that `run_instances()` and `describe_instances()` were missing different fields in the response. The output of both methods is now the same. Fixes #6903
EC2: Add support for hibernation APIs in `describe_instances` This is feature request expands on https://github.com/getmoto/moto/issues/5336. While `HibernationOptions` are supported in many AWS APIs, the other one where it would be valuable to add support is [describe_instances](https://boto3.amazonaws.com/v1/document...
getmoto/moto
diff --git a/tests/test_ec2/test_instances.py b/tests/test_ec2/test_instances.py index d57fcfef5..e9e4fe469 100644 --- a/tests/test_ec2/test_instances.py +++ b/tests/test_ec2/test_instances.py @@ -1192,6 +1192,7 @@ def test_run_instance_with_security_group_id(): @mock_ec2 @pytest.mark.parametrize("hibernate", [True, ...
[ "tests/test_ec2/test_instances.py::test_run_instance_with_additional_args[True]", "tests/test_ec2/test_instances.py::test_run_instance_with_additional_args[False]" ]
[ "tests/test_ec2/test_instances.py::test_add_servers", "tests/test_ec2/test_instances.py::test_instance_launch_and_terminate", "tests/test_ec2/test_instances.py::test_instance_terminate_discard_volumes", "tests/test_ec2/test_instances.py::test_instance_terminate_keep_volumes_explicit", "tests/test_ec2/test_i...
{ "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": [ "https://github.com/getmoto/moto/issues/5336", "h...
02a15a81b28f446c18f5cef33ae5b512161922b4
2023-11-09 13:36:31
docker.io/swerebenchv2/platers-obsidian-linter:939-02a15a8
platers__obsidian-linter-939
No new interfaces are introduced.
ts
MIT
diff --git a/package-lock.json b/package-lock.json index 56108a4..ca77306 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "obsidian-linter", - "version": "1.12.0", + "version": "1.20.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ob...
`Blockquote Style`: Handle `>` in Blockquotes So They Are Not Affected Fixes #935 Changes Made: - Added UTs for the 2 scenarios provided - Updated the blockquote style logic to make sure that the `>` values are styled properly are only affected if they are a part of the blockquote indicators and not a part of the...
Bug: "Blockquote Style" affects nested non-blockquote ">" symbols - [x] I have verified that I am on the latest version of the Linter ## Describe the Bug When "Content -> Blockquote Style" is enabled, it affects the ">" symbols even when they are not part of the formatting. A space will be added after them if th...
platers/obsidian-linter
diff --git a/__tests__/blockquote-style.test.ts b/__tests__/blockquote-style.test.ts new file mode 100644 index 0000000..8596677 --- /dev/null +++ b/__tests__/blockquote-style.test.ts @@ -0,0 +1,33 @@ +import BlockquoteStyle from '../src/rules/blockquote-style'; +import dedent from 'ts-dedent'; +import {ruleTest} from ...
[ "Make sure we properly handle adding spaces to blockquote indicators instead of adding them to values that are not at the start of the line", "Make sure we properly handle removing spaces from blockquote indicators instead of removing them from values that are not at the start of the line" ]
[ "Make sure that lists with a dollar sign in them actually get escaped correctly", "Fullwidth characters can be excluded", "CJK symbols and punctuations can be excluded", "Dashes can be excluded", "Custom symbols can be added", "Make sure that inline code is left alone", "Make sure text ending in a hyphe...
{ "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": "B5", "confidence": 0.86, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
9966a784b5f1dded3f0e4b55e4a77cd6883ad2c3
2024-04-11 16:48:35
docker.io/swerebenchv2/apache-jena:2413-9966a78
apache__jena-2413
Method: VarFinder.process(Op op) Location: org.apache.jena.sparql.engine.main.VarFinder Inputs: <code>op</code> – an algebra operation (Op) to analyse. Outputs: a <code>VarFinder</code> instance containing the analysis results. Description: Scans the given algebra expression and builds a VarFinder that records whic...
java
Apache-2.0
diff --git a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/JoinClassifier.java b/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/JoinClassifier.java index 2855857b43..3fd325bd87 100644 --- a/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/JoinClassifier.java +++ b/jena-arq/src/main/java/...
GH-2412: Improved JoinClassifier for unbound values GitHub issue resolved #2412 Pull request Description: Additional heuristics and test cases in JoinClassifier and VarFinder for dealing with unbound values. ---- - [x] Tests are included. - [x] Commits have been squashed to remove intermediate development c...
Incorrect JoinClassifier results with unbound values. ### Version 5.1.0-SNAPSHOT ### What happened? The following two variants incorrectly return 1 binding whereas 0 would be expected. The reason is that JoinClassifier.isLinear returns true because VarFinder does not consider the unbound values. A linear j...
apache/jena
diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/algebra/TS_Algebra.java b/jena-arq/src/test/java/org/apache/jena/sparql/algebra/TS_Algebra.java index 4e848bbd0b..d75e39ec17 100644 --- a/jena-arq/src/test/java/org/apache/jena/sparql/algebra/TS_Algebra.java +++ b/jena-arq/src/test/java/org/apache/jena/sparql/a...
[ "org.apache.jena.sparql.algebra.TestClassify", "org.apache.jena.sparql.algebra.TestVarFinder2", "org.apache.jena.sparql.core.TestQueryExecMem", "org.apache.jena.shacl.tests.TestValidationReport", "org.apache.jena.shacl.tests.std.TestShaclCoreWG", "org.apache.jena.shacl.tests.std.TestShaclSparqlWG", "org...
[ "org.apache.jena.iri.Additional", "org.apache.jena.iri.TestIRIFactory", "org.apache.jena.iri.TS_IRI", "org.apache.jena.atlas.io.TestIndentedWriter", "org.apache.jena.atlas.io.TestStreamUTF8", "org.apache.jena.atlas.io.TestBlockUTF8", "org.apache.jena.atlas.io.TestInputStreamBuffered", "org.apache.jena...
{ "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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
da32f5220858ca93eb4814303284821aaf557312
2020-08-10 07:20:59
docker.io/swerebenchv2/eclipse-microprofile-lra:322-da32f52
eclipse__microprofile-lra-322
Function: isLRAFinished(URI lra) Location: org.eclipse.microprofile.lra.tck.service.LRATestService Inputs: lra – the LRA identifier to query (java.net.URI). Outputs: boolean – true if the LRA has reached a terminal state (Closed, Cancelled, FailedToClose or FailedToCancel) according to the metric service; false other...
java
Apache-2.0
diff --git a/tck/src/main/java/org/eclipse/microprofile/lra/tck/LRAClientOps.java b/tck/src/main/java/org/eclipse/microprofile/lra/tck/LRAClientOps.java index df4c3d0..0d37ea9 100644 --- a/tck/src/main/java/org/eclipse/microprofile/lra/tck/LRAClientOps.java +++ b/tck/src/main/java/org/eclipse/microprofile/lra/tck/LRACl...
#298 Replace LRAClientOps#isLRAFinished with afterLRA calls resolves #298
TCK: Replace LRAClientOps#isLRAFinished with afterLRA calls As per Gitter discussion, replace the current way of checking of active LRA in the TCK (try enlisting) with direct SPI.
eclipse/microprofile-lra
diff --git a/tck/src/main/java/org/eclipse/microprofile/lra/tck/TckLRATypeTests.java b/tck/src/main/java/org/eclipse/microprofile/lra/tck/TckLRATypeTests.java index ff0795d..eacfc25 100644 --- a/tck/src/main/java/org/eclipse/microprofile/lra/tck/TckLRATypeTests.java +++ b/tck/src/main/java/org/eclipse/microprofile/lra/...
[ "MicroProfile LRA TCK" ]
[ "MicroProfile Long Running Actions", "MicroProfile LRA API" ]
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
93d219ac11205b8667decc0593f06ab2de4c6d98
2023-03-29 18:06:30
docker.io/swerebenchv2/phpactor-phpactor:2170-93d219a
phpactor__phpactor-2170
Method: WorseExtractConstant.extractConstant(SourceCode $sourceCode, int $offset, string $constantName): string Location: Phpactor\CodeTransform\Adapter\WorseReflection\Refactor\WorseExtractConstant Inputs: - $sourceCode – a SourceCode object containing the PHP code to be transformed. - $offset – integer character o...
php
MIT
diff --git a/doc/reference/configuration.rst b/doc/reference/configuration.rst index 83000a09..91111820 100644 --- a/doc/reference/configuration.rst +++ b/doc/reference/configuration.rst @@ -1237,7 +1237,7 @@ Specify which diagnostic providers should be active (default to all) If applicable diagnostics should be "outs...
Do not overwrite constants when extracting Closes #2166
Refactor: Extract constant overwrites already existing constant Hey, i just noticed that the refactor option `extract constant` overwrites already existing constants with the same name. Here is an example: ```php class Example { public function __construct() { $this->foobar("This is an example", 'This is a...
phpactor/phpactor
diff --git a/lib/CodeTransform/Tests/Adapter/WorseReflection/Refactor/WorseExtractConstantTest.php b/lib/CodeTransform/Tests/Adapter/WorseReflection/Refactor/WorseExtractConstantTest.php index 9fba8bf8..607aa7b6 100644 --- a/lib/CodeTransform/Tests/Adapter/WorseReflection/Refactor/WorseExtractConstantTest.php +++ b/lib...
[ "Config Suggest Command > Suggest where file not existing [79.21 ms]", "Config Suggest Command > Suggest with data set \"phpstan\" [80.18 ms]", "Config Suggest Command > Suggest with data set \"psalm\" [71.77 ms]", "Config Suggest Command > Suggest with data set \"php-cs-fixer\" [79.32 ms]", "Config Suggest...
[ "Class Move Handler > It should request the dest path if none is given. [0.10 ms]", "Hover Handler > Hover with data set \"class\" [0.17 ms]", "Hover Handler > Hover with data set \"variable\" [0.24 ms]", "Dumper Registry > It returns the requested dumper. [0.06 ms]", "Chain Resolver > Throws exception if n...
{ "base_image_name": "php_8.3.16", "docker_specs": null, "install": [ "export HOME=/tmp", "composer install --no-interaction --prefer-dist", "git config --global user.email \"test@example.com\"", "git config --global user.name \"Test User\"" ], "log_parser": "parse_log_phpunit", "test_cmd": ...
{ "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":...
491fa7de0454ea67eb2e4f4ff0d54f98c665a822
2021-11-13 15:18:17
docker.io/swerebenchv2/lo1tuma-eslint-plugin-mocha:304-491fa7d
lo1tuma__eslint-plugin-mocha-304
No new interfaces are introduced.
ts
MIT
diff --git a/.eslintrc.json b/.eslintrc.json index 902c911..333cb76 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,7 +14,7 @@ "parserOptions": { "sourceType": "script", - "ecmaVersion": 2017, + "ecmaVersion": 2019, "ecmaFeatures": { "jsx": false, ...
Add `no-empty-description` rule. closes #302 This rule enforces specifying the suite/test descriptions for each test. The following patterns are considered problems: ```js it(); suite(""); test(function() { }) test.only(" ", function() { }) ``` also, I added this rule to the recommendations list.
Rule proposal: no-empty-description Hi, that's would be awesome to catch empty suites/tests. ```js test('', function () { assert.equal(2 + 2, 4); }); ``` Of course, I can use `valid-suite-description`/ `valid-test-description` rules to enforce descriptions format, but I don't have a specific convention, ...
lo1tuma/eslint-plugin-mocha
diff --git a/test/rules/no-empty-description.js b/test/rules/no-empty-description.js new file mode 100644 index 0000000..3faa7b1 --- /dev/null +++ b/test/rules/no-empty-description.js @@ -0,0 +1,83 @@ +'use strict'; + +const RuleTester = require('eslint').RuleTester; +const rules = require('../..').rules; +const ruleTe...
[ "describe(\"some text\")", "describe.only(\"some text\")", "describe(\"some text\", function() { })", "context(\"some text\")", "context.only(\"some text\")", "context(\"some text\", function() { })", "it(\"some text\")", "it.only(\"some text\")", "it(\"some text\", function() { })", "suite(\"some...
[ "should expose all rules", "should have each rule documented", "should be linked in the documentation index", "foo(function (done) { });", "var foo = function (done) { };", "it();", "it(\"\");", "it(\"\", function () {});", "it(\"\", function () { done(); });", "it(\"\", function (done) { done(); ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm install --prefer-offline --no-audit --progress=false" ], "log_parser": "parse_log_js_4", "test_cmd": "./node_modules/.bin/mocha test --recursive --reporter spec" }
{ "llm_metadata": { "code": "B2", "confidence": 0.92, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
f26a1705f57c83838a966cc847fc52f78ff7314c
2023-04-03 04:51:27
docker.io/swerebenchv2/networkx-networkx:6612-f26a170
networkx__networkx-6612
No new interfaces are introduced.
python
custom-check-github
diff --git a/doc/developer/about_us.rst b/doc/developer/about_us.rst index 34c203f2d..bb0fe5c56 100644 --- a/doc/developer/about_us.rst +++ b/doc/developer/about_us.rst @@ -6,7 +6,7 @@ and has been developed with the help of many others. Thanks to everyone who has improved NetworkX by contributing code, bug reports (a...
Better default alpha value for viz attributes in gexf writer Closes #6443 with @dschult 's fix. The added test should make clear the motivation for this change - this test fails on `main` due to `'None'` being given as the default.
Gexf export sets the rgba's alpha-value to "None" if missing (gexf schema version 1.1 import) ### Current Behavior Given I import a gexf-file which has schema version 1.1. There are only rgb values used for color definitions, for example: ` <node id="1789" label="1789"> <ns0:color b="41" g="255" r="0"...
networkx/networkx
diff --git a/networkx/conftest.py b/networkx/conftest.py index d26a19359..8da660b27 100644 --- a/networkx/conftest.py +++ b/networkx/conftest.py @@ -78,6 +78,9 @@ def set_warnings(): category=DeprecationWarning, message="shortest_path for all_pairs", ) + warnings.filterwarnings( + "igno...
[ "networkx/readwrite/tests/test_gexf.py::TestGEXF::test_missing_viz_attributes" ]
[ "networkx/readwrite/tests/test_gexf.py::TestGEXF::test_read_simple_directed_graphml", "networkx/readwrite/tests/test_gexf.py::TestGEXF::test_write_read_simple_directed_graphml", "networkx/readwrite/tests/test_gexf.py::TestGEXF::test_read_simple_undirected_graphml", "networkx/readwrite/tests/test_gexf.py::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": "easy", "external_urls": [ "https://www.michihenninger.ch/youtube/schoolday.gexf" ...
21ffc5851ce28ab2df02419fbd14d4dd398b7eb0
2020-06-23 14:28:34
docker.io/swerebenchv2/wix-detox:2145-21ffc58
wix__detox-2145
Method: MonitoredInstrumentation.setTerminationFn(userTerminationFn) Location: src/devices/drivers/android/tools/MonitoredInstrumentation.js Inputs: userTerminationFn – a function to be invoked when the underlying instrumentation terminates; passing null clears the callback. Outputs: none (stores the callback for...
js
MIT
diff --git a/detox/src/devices/drivers/android/AndroidDriver.js b/detox/src/devices/drivers/android/AndroidDriver.js index feb3a44ef..da2a3cb8e 100644 --- a/detox/src/devices/drivers/android/AndroidDriver.js +++ b/detox/src/devices/drivers/android/AndroidDriver.js @@ -11,7 +11,7 @@ const AAPT = require('./exec/AAPT'); ...
Update docs across the board with respect to notification support on Android - [ ] This is a small change - [ ] This change has been discussed in issue #1192 and the solution has been agreed upon with maintainers. --- **Description:** Updates the missing documentation with respect to changes introduced in #213...
Introduce basic support for push notifications mocking on Android ### Description Define and implement an API for mocking push notification invocation events on Android, so as to introduce parity with the equivalent API for iOS. This has long been a missing functionality on Android compared to iOS, as - unlike on...
wix/Detox
diff --git a/detox/src/devices/drivers/android/AndroidDriver.test.js b/detox/src/devices/drivers/android/AndroidDriver.test.js index 67466d6b1..6017fc15d 100644 --- a/detox/src/devices/drivers/android/AndroidDriver.test.js +++ b/detox/src/devices/drivers/android/AndroidDriver.test.js @@ -2,6 +2,7 @@ describe('Android d...
[ "should indicate an isPending=true, other statuses as false", "should indicate an isResolved=true, other statuses as false", "should indicate an isRejected=true, other statuses as false", "should be resolved", "should properly init the underlying instrumentation", "should allow for user-initiated clearing...
[ "should format date", "should create a temporary file like *.detox.png for .png", "should create a temporary file like *.detox.log for .log", "should create a temporary file like *.detox.mp4 for .mp4", "should create a temporary file like *.detox.dtxrec for .dtxrec", "should generate a glob mask for those...
{ "base_image_name": "node_20", "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
2bf8c793b7de57e0b00417ef4a64667793b483f2
2021-09-04 06:24:04
docker.io/swerebenchv2/jeremymailen-kotlinter-gradle:222-2bf8c79
jeremymailen__kotlinter-gradle-222
Function: reporterFileExtension(reporterName: String) Location: src/main/kotlin/org/jmailen/gradle/kotlinter/support/Reporters.kt Inputs: reporterName – name of the reporter (e.g., "checkstyle", "json", "sarif"); must match a ReporterType enum constant. Outputs: String – the default file extension associated with the r...
kotlin
Apache-2.0
diff --git a/README.md b/README.md index dc728adf..f3c5a672 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Available on the Gradle Plugins Portal: https://plugins.gradle.org/plugin/org.jm ```kotlin plugins { - id("org.jmailen.kotlinter") version "3.5.1" + id("org.jmailen.kotlinter") version "3.6.0" ...
And bump release. A little introspection required to make sure relative paths are maintained across reporters. Fixes #221
Enabling "sarif" formatter causes `lintKotlin` task to become useless ```kotlin tasks.lintKotlin { reports.put("sarif", file("ktlint.sarif")) } ``` `./gradlew lintKotlin` now succeeds, writing empty reports, without checking any ktlint issues.
jeremymailen/kotlinter-gradle
diff --git a/src/test/kotlin/org/jmailen/gradle/kotlinter/support/ReportersTest.kt b/src/test/kotlin/org/jmailen/gradle/kotlinter/support/ReportersTest.kt index 49697931..9aea0e19 100644 --- a/src/test/kotlin/org/jmailen/gradle/kotlinter/support/ReportersTest.kt +++ b/src/test/kotlin/org/jmailen/gradle/kotlinter/suppor...
[ "testReporterPathFor (org.jmailen.gradle.kotlinter.support.ReportersTest)", "testUnknownReporterExtension (org.jmailen.gradle.kotlinter.support.ReportersTest)", "testExtensions (org.jmailen.gradle.kotlinter.support.ReportersTest)", "up-to-date when after hook installed (org.jmailen.gradle.kotlinter.functional...
[]
{ "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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
b2372b755d194d198c31cc9fb31cb63f8938fa46
2022-09-19 09:03:07
docker.io/swerebenchv2/julialang-juliasyntax.jl:102-b2372b7
julialang__juliasyntax.jl-102
Function: enable_in_core!() Location: JuliaSyntax module Inputs: None; toggles a global flag that determines whether the Julia Syntax parser is used for Core._parse integration. Outputs: No return value (returns `nothing`). After calling, subsequent calls to `Meta.parse` (and related Base functions like `Base.incomplet...
julia
custom-check-github
diff --git a/src/hooks.jl b/src/hooks.jl index 1a183a09..41499061 100644 --- a/src/hooks.jl +++ b/src/hooks.jl @@ -1,6 +1,76 @@ # This file provides an adaptor to match the API expected by the Julia runtime # code in the binding Core._parse +# Find the first error in a SyntaxNode tree, returning the index of the er...
This allows REPL completion to work correctly. It works by pattern matching the parse tree, rather than hard coding incomplete expression detection into the parser itself. This took a while because I got distracted with #88. Though doing some of those things first helped make this quite a lot cleaner. There's still ...
When using in REPL, `JuliaSyntax.jl` does not seem to work well with multiline parsing? When I want to type ```julia map(1:10) do x 2x end ``` after I type `map(1:10) do x` and hit return, I got ```julia julia> map(1:10) do ERROR: ParseError: Error: premature end of input @ REPL[11]:2:1 map(1:10) ...
JuliaLang/JuliaSyntax.jl
diff --git a/test/hooks.jl b/test/hooks.jl index b93c0a17..2604e9f2 100644 --- a/test/hooks.jl +++ b/test/hooks.jl @@ -31,8 +31,69 @@ # Check that Meta.parse throws the JuliaSyntax.ParseError rather than # Meta.ParseError when Core integration is enabled. - @test_throws JuliaSyntax.ParseError...
[ "Hooks for Core integration", "Parse JuliaSyntax", "Parse Base at /usr/local/julia/bin/../share/julia/base", "Parse Julia stdlib at /usr/local/julia/share/julia/stdlib/v1.10" ]
[ "Tokenize", "ParseStream", "Trivia attachment", "Unicode normalization in tree conversion", "Expr conversion", "Parsing values from strings" ]
{ "base_image_name": "julia_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": "B4", "confidence": 0.78, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "hard", "external_urls": [], "intent_completeness": "partial", "pr_categories": [ ...
15eb19b76359f0be67576449e4c17850b28cd44d
2022-05-25 21:59:56
docker.io/swerebenchv2/prql-prql:564-15eb19b
prql__prql-564
Method: MaterializationContext.declare(&mut self, dec: Declaration) -> usize Location: prql-compiler/src/sql/materializer.rs Inputs: - dec: a `Declaration` enum variant (e.g., `Declaration::Table(String)` or `Declaration::Expression(Box<Item>)`) that will be stored in the context. Outputs: - Returns the index (usize)...
rust
Apache-2.0
diff --git a/prql-compiler/src/ast/ast_fold.rs b/prql-compiler/src/ast/ast_fold.rs index a59a529c..aaeee04d 100644 --- a/prql-compiler/src/ast/ast_fold.rs +++ b/prql-compiler/src/ast/ast_fold.rs @@ -208,9 +208,10 @@ pub fn fold_transform<T: ?Sized + AstFold>( kind, pipeline: Box::new(fold.fold...
Group and take a range Closes #421
`group` not working as intended with `take` Possibly we need to implement #420 given our plan of how to implement this query? Though in the meantime, should this raise an error rather than ignoring `group`? ```elm from employees group role ( sort join_date # taken from above take 1 ) ``` ```sql SELECT...
prql/prql
diff --git a/prql-compiler/src/sql/snapshots/prql_compiler__sql__materializer__test__materialize_2.snap b/prql-compiler/src/sql/snapshots/prql_compiler__sql__materializer__test__materialize_2.snap index 6a46edce..5caf300e 100644 --- a/prql-compiler/src/sql/snapshots/prql_compiler__sql__materializer__test__materialize_2...
[ "sql::materializer::test::test_materialize_2", "sql::materializer::test::test_replace_variables_2" ]
[ "parser::test::test_multiline_string", "parser::test::test_parse_derive", "cli::tests::prql_layouts_test", "parser::test::test_parse_coalesce", "parser::test::test_inline_pipeline", "parser::test::test_header", "parser::test::test_parse_aggregate", "parser::test::test_dates", "parser::test::test_par...
{ "base_image_name": "rust_1.77", "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": [ "https://stackoverflow.com/questions/3800551/select-fir...
34e2bc6a541cca670307cec94cfc5546016705d6
2022-11-26 19:00:19
docker.io/swerebenchv2/rust-lang-rust-analyzer:13681-34e2bc6
rust-lang__rust-analyzer-13681
No new interfaces are introduced.
rust
Apache-2.0
diff --git a/crates/ide-assists/src/handlers/extract_function.rs b/crates/ide-assists/src/handlers/extract_function.rs index c1e2f19ab1..0483cfdc64 100644 --- a/crates/ide-assists/src/handlers/extract_function.rs +++ b/crates/ide-assists/src/handlers/extract_function.rs @@ -11,7 +11,9 @@ use ide_db::{ helpers::mod...
fix: check tail expressions more precisely in `extract_function` Fixes #13620 When extracting expressions with control flows into a function, we can avoid wrapping tail expressions in `Option` or `Result` when they are also tail expressions of the container we're extracting from (see #7840, #9773). This is controlle...
Extract into function assist fails to convert continue or break to ControlFlow return I tried: ```rust pub fn hello() { for _ in 0..1 { // Extract the following condition without this comment if true { continue; } if false { break; } ...
rust-lang/rust-analyzer
diff --git a/crates/ide-completion/src/tests/attribute.rs b/crates/ide-completion/src/tests/attribute.rs index 4e60820dd6..1578ba2c37 100644 --- a/crates/ide-completion/src/tests/attribute.rs +++ b/crates/ide-completion/src/tests/attribute.rs @@ -607,30 +607,6 @@ fn attr_in_source_file_end() { ); } -#[test] -fn...
[ "handlers::extract_function::tests::non_tail_expr_of_tail_expr_loop", "handlers::extract_function::tests::non_tail_expr_of_tail_if_block", "handlers::extract_function::tests::tail_expr_of_tail_block_nested" ]
[ "input::tests::dashes_are_normalized", "input::tests::detect_cyclic_dependency_indirect", "input::tests::detect_cyclic_dependency_direct", "input::tests::it_works", "tests::hints_impossible", "tests::distribute", "tests::nested", "tests::demorgan", "tests::smoke", "tests::hints", "tests::regress...
{ "base_image_name": "rust_1.77", "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": "B5", "confidence": 0.88, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": true, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
7bd79224e90fa1f2d6872158fb11bbee15a83fb8
2020-05-24 18:22:00
docker.io/swerebenchv2/googleapis-api-linter:543-7bd7922
googleapis__api-linter-543
No new interfaces are introduced.
go
Apache-2.0
diff --git a/rules/aip0132/request_parent_required.go b/rules/aip0132/request_parent_required.go index 2a52c32..5256641 100644 --- a/rules/aip0132/request_parent_required.go +++ b/rules/aip0132/request_parent_required.go @@ -2,9 +2,12 @@ package aip0132 import ( "fmt" + "strings" "github.com/googleapis/api-lin...
[AIP-132/133] Permit no parent on top level fields. Fixes #483. This permits top level fields on List or Create requests where the corresponding resource is annotated with google.api.resource and has only one variable. This implementation is intentionally cautious, preferring to still complain unless it is sur...
Parent is required even for top-level resources The following linters: - https://linter.aip.dev/133/method-signature - https://linter.aip.dev/133/http-uri-parent expect Create methods to always have a `parent`. Should the linters not warn on missing `parent` when the resource is a top level resource/collectio...
googleapis/api-linter
diff --git a/rules/aip0132/request_parent_required_test.go b/rules/aip0132/request_parent_required_test.go index c21cdc1..98b35b1 100644 --- a/rules/aip0132/request_parent_required_test.go +++ b/rules/aip0132/request_parent_required_test.go @@ -31,4 +31,26 @@ func TestRequestParentRequired(t *testing.T) { } }) ...
[ "TestRequestParentRequired", "TestRequestParentRequired/ValidTopLevel", "TestRequestParentFieldRequired", "TestRequestParentFieldRequired/ValidTopLevel", "TestGetResource", "TestGetResource/Nil", "TestGetResourceReference", "TestGetResourceReference/Present", "TestGetResourceReference/Absent", "Te...
[ "TestNewCli", "TestNewCli/AllFlags", "TestNewCli/ExitStatusOnLintFailure", "TestRules_EnabledByDefault", "TestRules_EnabledByDefault/GetRequestMessage", "TestRules_EnabledByDefault/PackageVersion", "TestRules_EnabledByDefault/FieldNames", "TestRules_DisabledByFileComments", "TestRules_DisabledByFile...
{ "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": [ "https://linter.aip.dev/133/method-signature", "h...
de52adbf84570c9d59ca3a56f79d71d73a40e4d1
2023-02-14 15:59:54
docker.io/swerebenchv2/stac-utils-pystac:984-de52adb
stac-utils__pystac-984
Method: Item.__init__(self, id: str, geometry: Any, bbox: Any, datetime: datetime.datetime, properties: Dict[str, Any], href: str | None = None, **kwargs) Location: pystac/item.py Inputs: - **id** – Item identifier (string). - **geometry** – GeoJSON geometry (or None). - **bbox** – Bounding box list (or None). -...
python
custom-check-github
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f98cc99..91b397d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ - Filtering on `media_type` in `get_links()` and `get_single_link()` ([#966](https://github.com/stac-utils/pystac/pull/966)) - Missing hrefs and duplicate Item fields in html generated by `...
Pass href to item constructor in from_dict **Related Issue(s):** - Closes #801 **Description:** Turns out the fix was simple -- `href` wasn't getting passed from `Item.from_dict` to the Item constructor. **PR Checklist:** - [x] Code is formatted (run `pre-commit run --all-files`) - [x] Tests pass (ru...
normalise_hrefs causing unwanted Item asset href changes. Hello. I am seeing some weird behaviour that I hope you can help me with. I've made an example in this repository [here](https://github.com/MitchellPaff/stac_example). In this example I am attempting to add a STAC catalog 'catalog_1' as a child to the root...
stac-utils/pystac
diff --git a/tests/test_link.py b/tests/test_link.py index 0b4c4130..db6ae3bd 100644 --- a/tests/test_link.py +++ b/tests/test_link.py @@ -1,10 +1,13 @@ import datetime +import json import os import unittest +from pathlib import Path from tempfile import TemporaryDirectory from typing import Any, Dict, List imp...
[ "tests/test_link.py::test_relative_self_link" ]
[ "tests/test_link.py::LinkTest::test_auto_title_is_serialized", "tests/test_link.py::LinkTest::test_auto_title_not_found", "tests/test_link.py::LinkTest::test_auto_title_when_resolved", "tests/test_link.py::LinkTest::test_get_target_str_no_href", "tests/test_link.py::LinkTest::test_link_does_not_fail_if_href...
{ "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.93, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://github.com/MitchellPaff/stac_example", "ht...
e44bb547636b26274be136d21d4819b1018c0bc9
2020-01-16 07:32:07
docker.io/swerebenchv2/codeception-codeceptjs:2141-e44bb54
codeception__codeceptjs-2141
Function: initializeListeners() Location: lib/command/workers/runTests.js Inputs: internal `test` object (properties: `id`, `title`, `status`, etc.) used when creating listener data for a test execution. Outputs: plain object `{ id: test.id, workerIndex, title: test.title, status: test.status }` that is sent to the mas...
js
MIT
diff --git a/.travis.yml b/.travis.yml index 44f65d5d..0d059486 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js node_js: -- 8 +- 11 - 12 sudo: required dist: trusty @@ -26,8 +26,9 @@ before_script: - docker run -d --net=host --shm-size=2g selenium/standalone-chrome:3.141.59-oxygen - ...
fix: Avoid failiure report on successful retry in worker ## Motivation/Description of the PR Tests are not reported as passed if the test is passed in a retry while using run-workers. While appending test status, passing of already failed test is not accounted for. So adding a map with `test.id` and appending statu...
Feature Level Retires not being correctly reported with run-workers #### What are you trying to achieve? We have some flaky tests that we use the retry function in CodeceptJS for, and it looks like when we run the tests with run-workers and a test fails, but then passes on the retry, the failure is reported and the te...
Codeception/CodeceptJS
diff --git a/lib/command/workers/runTests.js b/lib/command/workers/runTests.js index ba66ebee..12372f17 100644 --- a/lib/command/workers/runTests.js +++ b/lib/command/workers/runTests.js @@ -78,6 +78,7 @@ function initializeListeners() { } return { + id: test.id, workerIndex, title: test....
[ "should run tests in 3 workers", "should use grep" ]
[ "should take all methods from helpers and built in", "should return promise", "should produce step events", "should retry failed step with #retry", "should retry once step with #retry", "should print handle failed steps", "should handle asserts", "should handle negative asserts", "should parse gherk...
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
1427edda26a07e6069bd32f1ea46c65ec20f64f8
2025-03-10 11:24:09
docker.io/swerebenchv2/kubermatic-machine-controller:1906-1427edd
kubermatic__machine-controller-1906
No new interfaces are introduced.
go
Apache-2.0
diff --git a/pkg/cloudprovider/provider/kubevirt/provider.go b/pkg/cloudprovider/provider/kubevirt/provider.go index 8b8f1b61..78b14f03 100644 --- a/pkg/cloudprovider/provider/kubevirt/provider.go +++ b/pkg/cloudprovider/provider/kubevirt/provider.go @@ -98,6 +98,8 @@ type Config struct { DNSConfig *c...
Change KubeVirt VM CPU assignment to not overwrite cpu alloc ratio **What this PR does / why we need it**: This pr changes the assignment of cpu resources for kubevirt virtual machines to be able to use kubevirt `cpuAllocationRatio` feature by introducing a new field to the providerSpec called vCPUs. **Which issue(...
kubevirt cpu allocation ratio is ignored for provisioned virtual machines Currently the machine-controller sets requests and limits for cpu and memory resources of a kubevirt virtual machine. (https://github.com/kubermatic/machine-controller/blob/main/pkg/cloudprovider/provider/kubevirt/provider.go#L755-#L762) Due to t...
kubermatic/machine-controller
diff --git a/pkg/cloudprovider/provider/kubevirt/provider_test.go b/pkg/cloudprovider/provider/kubevirt/provider_test.go index 6647d84f..956a88bc 100644 --- a/pkg/cloudprovider/provider/kubevirt/provider_test.go +++ b/pkg/cloudprovider/provider/kubevirt/provider_test.go @@ -72,6 +72,7 @@ type kubevirtProviderSpecConf s...
[ "TestNewVirtualMachine", "TestNewVirtualMachine/dedicated-vcpus" ]
[ "TestMachineDeploymentDefaulting", "TestMachineDeploymentDefaulting/Empty_MachineDeployment_validation_should_fail", "TestMachineDeploymentDefaulting/Minimal_MachineDeployment_validation_should_succeed", "TestValidatePublicKeys", "TestValidatePublicKeys/valid_keys", "TestValidatePublicKeys/invalid_key", ...
{ "base_image_name": "go_1.22.12", "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.22.3", "helm_version": null, ...
{ "llm_metadata": { "code": "B2", "confidence": 0.78, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://kubevirt.io/user-guide/compute/node_overcommit...
8d565a5fa1a5e1a40226b13b4d41718aa367777c
2024-04-09 02:26:38
docker.io/swerebenchv2/tox-dev-sphinx-autodoc-typehints:445-8d565a5
tox-dev__sphinx-autodoc-typehints-445
Method: _RstSnippetParser.decorate(_content: StringList) -> None Location: src/sphinx_autodoc_typehints/parser.py Inputs: a ``docutils.statemachine.StringList`` representing the raw lines of an RST snippet. The method is a ``@staticmethod``; it receives the list in‑place. Outputs: ``None`` – the method mutates the ``St...
python
MIT
diff --git a/README.md b/README.md index c941e93..ff2ff49 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,9 @@ The following configuration options are accepted: `module.for.Class`). If `False`, just the class name displays (e.g. `Class`) - `always_document_param_types` (default: `False`): If `False`, do not add...
Return injection fix Resolves #444 and #425 Ignore the rst_epilog/rst_prolog during parsing type hints like #436 did. This still keeps the replacement behavior. I tried adjusting the parsing, but the XML node line counting, and the list of lines given are too intertwined without rewriting it completely. `test_...
Sphinx option rst_prolog and rst_epilog break return type injection When adding any of those sphinx options: [rst_epilog](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-rst_epilog) or [rst_prolog](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-rst_prolog) It will break t...
tox-dev/sphinx-autodoc-typehints
diff --git a/tests/test_integration.py b/tests/test_integration.py index 773f884..8d732d9 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -1268,14 +1268,100 @@ def typehints_use_signature(a: AsyncGenerator) -> AsyncGenerator: return a +prolog = """ +.. |test_node_start| replace:: {tes...
[ "tests/test_integration.py::test_integration[default_conf-docstring_with_multiline_note_after_params_prolog_replace]", "tests/test_integration.py::test_integration[prolog_conf-Class]", "tests/test_integration.py::test_integration[prolog_conf-DummyException]", "tests/test_integration.py::test_integration[prolo...
[ "tests/test_integration.py::test_integration[default_conf-get_local_function]", "tests/test_integration.py::test_integration[default_conf-Class]", "tests/test_integration.py::test_integration[default_conf-DummyException]", "tests/test_integration.py::test_integration[default_conf-function]", "tests/test_int...
{ "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": [ "https://www.sphinx-doc.org/en/master/usage/configurati...
168367916e2d890a1dcc6e19389ac2dbc9666e37
2022-01-06 05:35:06
docker.io/swerebenchv2/kraigie-nostrum:377-1683679
kraigie__nostrum-377
Method: Nostrum.Cache.GuildCache.role_create(guild_id, role_map) Location: lib/nostrum/cache/guild_cache.ex Inputs: - **guild_id** (`Guild.id()`): identifier of the guild where the role is being created. - **role_map** (`map()`): raw role payload received from Discord, containing at least an `:id` field. Outputs: `{...
elixir
MIT
diff --git a/lib/nostrum/cache/guild_cache.ex b/lib/nostrum/cache/guild_cache.ex index 8ca0abbd..17530860 100644 --- a/lib/nostrum/cache/guild_cache.ex +++ b/lib/nostrum/cache/guild_cache.ex @@ -263,7 +263,7 @@ defmodule Nostrum.Cache.GuildCache do Return the casted role. """ - @callback role_create(Guild.id()...
Fix GuildCache.ETS not including guild_id in role_create and role_update methods. I got no issues with the typespecs I changed, but this is the first time I have worked with them before so do double check I got those right. Closes #376 Thanks!
:GUILD_ROLE_CREATE and :GUILD_ROLE_UPDATE are not including the guild id in the events. :GUILD_ROLE_CREATE and :GUILD_ROLE_UPDATE are supposed to include the guild id as part of the event, but they are not. My best **guess** is that something as part of the pluggable guild cache change messed this up. I think the ret...
Kraigie/nostrum
diff --git a/test/nostrum/cache/guild_cache_test.exs b/test/nostrum/cache/guild_cache_test.exs index 1567b32e..52146380 100644 --- a/test/nostrum/cache/guild_cache_test.exs +++ b/test/nostrum/cache/guild_cache_test.exs @@ -157,15 +157,21 @@ defmodule Nostrum.Cache.GuildCacheTest do test "role management" do ...
[ "with cached guild role management" ]
[ "get_enabled_intents/0 returns all non-privileged intents enabled when intents set to :nonprivileged (default)", "get_enabled_intents/0 returns 0 when no intents are enabled", "get_enabled_intents/0 returns 1 when guild intent is enabled", "get_intent_value/1 raises exception when invalid intent is passed", ...
{ "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.97, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/Kraigie/nostrum/blob/168367916e2d89...
1a6b5082c527c8197c214c92851301c632d71b48
2019-05-12 23:17:13
docker.io/swerebenchv2/timothycrosley-isort:946-1a6b508
timothycrosley__isort-946
Method: SortImports.__init__(self, file_path=None, file_contents=None, file_=None, write_to_stdout=False, check=False, show_diff=False, settings_path=None, ask_to_apply=False, run_path='', check_skip=True, extension=None, **setting_overrides) Location: isort/isort.py Inputs: - file_path (str or None): optional path to...
python
MIT
diff --git a/CHANGELOG.md b/CHANGELOG.md index df5ecd4f..9d97c9da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ Changelog ========= +### 4.3.19 - May 12, 2019 - hot fix release +- Fixed issue #942 - correctly handle pyi (Python Template Files) to match `black` output + ### 4.3.18 - May 1, 2019 - hot...
Issue/942 Fixes #942
Update isort to follow pyi (stub files) standards, in similar fashion to black Currently, isort is unaware of the differences between the established coding standards for `.py` files and `.pyi` files, treating them the same. This ticket represents updating isort to be aware of these differences, in particular for `.pyi...
timothycrosley/isort
diff --git a/test_isort.py b/test_isort.py index 8768a26f..911a5b5e 100644 --- a/test_isort.py +++ b/test_isort.py @@ -2994,3 +2994,25 @@ def test_import_heading_issue_905(): '# Local imports\n' 'from oklib.plot_ok import imagesc\n') assert SortImports(file_contents=test_input...
[ "test_isort.py::test_pyi_formatting_issue_942" ]
[ "test_isort.py::test_happy_path", "test_isort.py::test_code_intermixed", "test_isort.py::test_correct_space_between_imports", "test_isort.py::test_sort_on_number", "test_isort.py::test_line_length", "test_isort.py::test_output_modes", "test_isort.py::test_qa_comment_case", "test_isort.py::test_length_...
{ "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": "B2", "confidence": 0.86, "detected_issues": { "B1": false, "B2": true, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/python/typeshed/blob/master/CONTRIB...
ba1410e7a9ea59b57cdc2b01c74993fca9c29870
2016-07-15 15:27:03
docker.io/swerebenchv2/softlayer-softlayer-python:741-ba1410e
softlayer__softlayer-python-741
Method: BaseClient.call(self, service, method, *args, **kwargs) Location: SoftLayer/API.py Inputs: - service (str): name of the SoftLayer API service to target. - method (str): name of the method to invoke on the service. - *args: optional positional arguments passed directly to the remote call. - **kwargs: opt...
python
MIT
diff --git a/SoftLayer/API.py b/SoftLayer/API.py index dc887d41..9b9fd518 100644 --- a/SoftLayer/API.py +++ b/SoftLayer/API.py @@ -34,6 +34,7 @@ 'raw_headers', 'limit', 'offset', + 'verify', )) @@ -174,15 +175,22 @@ def __getitem__(self, name): return Service(self, name) def call(...
Adds verify as a API call argument Fixes #726
Cannot pass verify to client.call() ### Expected Behavior This call should tell the transport not to do STL certificate verification: ``` client.call("Account", "getObject", verify=False) ``` ### Actual Behavior ``` TypeError: Invalid keyword arguments: verify ``` ### Environment Information softlayer-pyt...
softlayer/softlayer-python
diff --git a/tests/api_tests.py b/tests/api_tests.py index 34df1517..8e89d27c 100644 --- a/tests/api_tests.py +++ b/tests/api_tests.py @@ -80,34 +80,15 @@ def test_simple_call(self): offset=None, ) - def test_complex(self): + def test_verify(self...
[ "tests/api_tests.py::APIClient::test_verify" ]
[ "tests/api_tests.py::Inititialization::test_env", "tests/api_tests.py::Inititialization::test_init", "tests/api_tests.py::ClientMethods::test_len", "tests/api_tests.py::ClientMethods::test_repr", "tests/api_tests.py::ClientMethods::test_service_repr", "tests/api_tests.py::APIClient::test_call_compression_...
{ "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": [...
3b449b78216b8742fe47ab6669930d7119b60652
2021-09-01 23:47:59
docker.io/swerebenchv2/lingui-js-lingui:1127-3b449b7
lingui__js-lingui-1127
No new interfaces are introduced.
ts
MIT
diff --git a/package.json b/package.json index e694612a..10d4ff5c 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ }, { "path": "./packages/remote-loader/build/cjs/remote-loader.production.min.js", - "limit": "5 kB" + "limit": "1 MB" } ] } diff --git a/packages/cli/sr...
fix(): keys with leading number was generating bad object keys Will close #1097
ICU select does not generate valid Typescript for keys starting with numbers. **Describe the bug** ICU select does not generate valid Typescript for keys starting with numbers. **To Reproduce** Given the translation key: ``` msgid "book.name" msgstr "{id, select, Gen {Genesis} 1John {1 John} other {____}}" ...
lingui/js-lingui
diff --git a/packages/cli/src/api/__snapshots__/compile.test.ts.snap b/packages/cli/src/api/__snapshots__/compile.test.ts.snap index 3b4f9617..c10e4941 100644 --- a/packages/cli/src/api/__snapshots__/compile.test.ts.snap +++ b/packages/cli/src/api/__snapshots__/compile.test.ts.snap @@ -24,6 +24,6 @@ exports[`createComp...
[ "should return message key as a fallback translation", "should't return message key as a fallback in strict mode", "should return default config" ]
[ "should collect and write catalogs", "should only update the specified locale", "should merge with existing catalogs", "should collect and write a template", "should extract messages from source files", "should extract only files passed on options", "should handle errors", "should initialize catalog",...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "corepack disable yarn", "npm install -g yarn --force", "yarn remove -W full-icu", "yarn install --ignore-engines", "yarn release:build" ], "log_parser": "parse_log_js_4", "test_cmd": "yarn test --maxWorkers=1 --no-cache ...
{ "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": [...
8260a688af2755098b687826500cc0d479db231f
2022-10-10 23:24:02
docker.io/swerebenchv2/google-go-safeweb:346-8260a68
google__go-safeweb-346
Method: Interceptor.Before(self, w safehttp.ResponseWriter, r *safehttp.IncomingRequest, cfg safehttp.InterceptorConfig) safehttp.Result Location: package xsrfblockall, type Interceptor Inputs: - w: safehttp.ResponseWriter – the response writer used to write the HTTP response. - r: *safehttp.IncomingRequest – the incom...
go
Apache-2.0
diff --git a/cmd/bancheck/doc.go b/cmd/bancheck/doc.go index e2a6fea..8423617 100644 --- a/cmd/bancheck/doc.go +++ b/cmd/bancheck/doc.go @@ -16,7 +16,7 @@ // See https://pkg.go.dev/github.com/google/go-safeweb/safehttp#hdr-Restricting_Risky_APIs // for a high level overview. // -// Overview +// # Overview // // Ba...
feat: added xsrfblockall plugin Fixes #337 - [x] Tests pass - [x] Appropriate changes to README are included in PR
Create a XSRF plugin that blocks all state-changing requests This would allow users of the framework to lock-in a stateless setup, and make sure potential state changing requests are not processed without a security review. We currently have two anti-xsrf strategies: angular ([link](https://github.com/google/go-safe...
google/go-safeweb
diff --git a/safehttp/plugins/xsrf/xsrfblockall/xsrf_test.go b/safehttp/plugins/xsrf/xsrfblockall/xsrf_test.go new file mode 100644 index 0000000..ce995fe --- /dev/null +++ b/safehttp/plugins/xsrf/xsrfblockall/xsrf_test.go @@ -0,0 +1,124 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Versio...
[ "TestStateChanging", "TestStateChanging/POST_request", "TestStateChanging/PUT_request", "TestStateChanging/DELETE_request", "TestStateChanging/PATCH_request", "TestStateChanging/TRACE_request", "TestStateChanging/CONNECT_request", "TestNonStateChanging", "TestNonStateChanging/GET_request", "TestNo...
[ "TestBannedAPIAnalyzer", "TestBannedAPIAnalyzer/No_banned_APIs", "TestBannedAPIAnalyzer/Package_and_function_name_collission", "TestBannedAPIAnalyzer/Banned_APIs_exist", "TestBannedAPIAnalyzer/Banned_function_from_renamed_import", "TestBannedAPIAnalyzer/Banned_API_from_multiple_config_files", "TestBanne...
{ "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": [ "https://github.com/google/go-safeweb/tree/master/safehtt...
449738f4f4b84ff24c2748cdc86185cff5840442
2024-12-18 12:44:18
docker.io/swerebenchv2/un-ts-eslint-plugin-import-x:209-449738f
un-ts__eslint-plugin-import-x-209
Method: resolver.resolve(modulePath: string, sourceFile: string) Location: src/node-resolver.ts Inputs: - **modulePath** (string): the import specifier to resolve (e.g., `'path'`, `'../test/index.js'`). - **sourceFile** (string): absolute path of the file containing the import, used as the resolution base. Outputs: -...
ts
MIT
diff --git a/.changeset/witty-garlics-destroy.md b/.changeset/witty-garlics-destroy.md new file mode 100644 index 00000000..ac826a23 --- /dev/null +++ b/.changeset/witty-garlics-destroy.md @@ -0,0 +1,52 @@ +--- +"eslint-plugin-import-x": minor +--- + +When `eslint-plugin-import-x` was forked from `eslint-plugin-import`...
feat: implement a resolver that supports `exports` The PR implements a default resolver that supports `exports` from `package.json`. More details can be found at #208. Fixes #208.
Replacing the built-in default import resolver that supports `exports` and `imports` from `package.json` `eslint-plugin-import-x` has `eslint-import-resolver-node` as a dependency. When no resolver is specified in the eslint config, the `eslint-import-resolver-node` will be used. However, `eslint-import-resolver-node` ...
un-ts/eslint-plugin-import-x
diff --git a/test/node-resolver.spec.ts b/test/node-resolver.spec.ts new file mode 100644 index 00000000..12bb7355 --- /dev/null +++ b/test/node-resolver.spec.ts @@ -0,0 +1,45 @@ +import path from 'node:path' +import { cwd } from 'node:process' +import { createNodeResolver } from '../src/node-resolver'; + +const resolv...
[ "lifetime: ∞ still gets cached values after ~1s", "path => true", "node:path => true", "jest => true", "@sukka/does-not-exists => false", "../package.json => package.json", "../.github/dependabot.yml => false", "../babel.config.js => babel.config.js", "../test/index.js => test/index.js", "../test/...
[ "export default function noOptions() {}", "export default () => 1", "export const a = 1", "const a = 1; export { a }", "function a() { return true }; export { a }", "const a = 1; const b = 2; export { a, b }", "const a = 1; export default a", "export class Foo {}", "export const [foobar] = [];", "...
{ "base_image_name": "node_20", "docker_specs": null, "install": [ "yarn install --immutable" ], "log_parser": "parse_log_js_4", "test_cmd": "node --experimental-vm-modules --no-warnings=ESLintRCWarning node_modules/jest/bin/jest.js --verbose --no-colors --maxWorkers=1 --testTimeout=10000" }
{ "llm_metadata": { "code": "B4", "confidence": 0.85, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": true, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://github.com/import-js/eslint-plugin-import/issu...
e315f71bc5aa47ca51fcfc570e76191545cbc58e
2024-09-26 20:40:19
docker.io/swerebenchv2/pymodbus-dev-pymodbus:2337-e315f71
pymodbus-dev__pymodbus-2337
Method: ModbusProtocol.listen(self) Location: pymodbus.transport.transport → class ModbusProtocol Inputs: `self` – the protocol instance (no additional parameters). Outputs: `bool` – returns ``True`` when the listener socket is successfully created and started; ``False`` on failure. Description: Starts the tran...
python
custom-check-github
diff --git a/pymodbus/transport/transport.py b/pymodbus/transport/transport.py index 8ec1216e..34bd86a7 100644 --- a/pymodbus/transport/transport.py +++ b/pymodbus/transport/transport.py @@ -152,16 +152,12 @@ class ModbusProtocol(asyncio.BaseProtocol): self.loop: asyncio.AbstractEventLoop = asyncio.get_running...
Reopen listener in server if disconnected. <!-- Please raise your PR's against the `dev` branch instead of `master` --> fixes #2326
Async Serial Server does not reconnect after losing connection Greetings! I'm having a bit of trouble... ### Versions - Python: 3.11 - OS: Arm linux 5.15.80-sunxi on Orange Pi Lite - Pymodbus: 3.7.2 - Modbus Hardware (if used): [Waveshare USB-RS485](https://www.waveshare.com/product/iot-communication/wired-com...
pymodbus-dev/pymodbus
diff --git a/test/transport/test_protocol.py b/test/transport/test_protocol.py index 7aafc377..f53149e5 100644 --- a/test/transport/test_protocol.py +++ b/test/transport/test_protocol.py @@ -32,14 +32,12 @@ class TestTransportProtocol1: @pytest.mark.parametrize("use_comm_type", COMM_TYPES) async def test_init...
[ "test/transport/test_reconnect.py::TestTransportReconnect::test_listen_disconnect[CommType.TCP-localhost]", "test/transport/test_reconnect.py::TestTransportReconnect::test_listen_disconnect[CommType.TLS-localhost]", "test/transport/test_reconnect.py::TestTransportReconnect::test_listen_disconnect[CommType.UDP-l...
[ "test/transport/test_protocol.py::TestTransportProtocol2::test_eof_received", "test/transport/test_protocol.py::TestTransportProtocol1::test_init_client[CommType.TCP]", "test/transport/test_reconnect.py::TestTransportReconnect::test_no_reconnect_call", "test/transport/test_protocol.py::TestTransportProtocol2:...
{ "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.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [ "https://www.waveshare.com/product/iot-communication/wi...