instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
LimeChain__Fruzhin__876
LimeChain/Fruzhin
876
defect
1771bf891daf28862e9c58f6fcf8864ee82deae7
192fda6727ccea7bad69bf5eb24731f60b2bfa23
feat: Implement beefy justification request response protocol.
# Description This PR implements the logic for requesting BEEFY justification on demand via the request response protocol `/beefy/justifications/1`. It separates the two BEEFY protocols (notification and request response). Fixes #835 ## Checklist: - [x] I have read the [contributing guidelines](https://githu...
diff --git a/src/main/java/com/limechain/chain/lightsyncstate/scale/EpochChangesReader.java b/src/main/java/com/limechain/chain/lightsyncstate/scale/EpochChangesReader.java index 4e75cc5a5..cffb33b9c 100644 --- a/src/main/java/com/limechain/chain/lightsyncstate/scale/EpochChangesReader.java +++ b/src/main/java/com/lime...
4
2
1
[{"id": "G0", "claim": "Wonders whether every usage of BlockHeader.fromHash(hash) could be changed to stateManager.getBlockState().getHeader(hash) instead, or whether that would not be so easy.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "If Lim...
null
LimeChain__Fruzhin__879
LimeChain/Fruzhin
879
defect
539edb4c0b018a74da76aebc60144d7c6245797b
04ffe13af24650aea4b44569d467c32a305c5a0d
feat: Improve neighbor message sending logic
# Description ### Workflow Neighbor messages are broadcast: - On block finalization; - When the authority set changes; - When switching to a new round; - And periodically, every 5 minutes. **Finalization of block** We can finalize a block from a commit message and when we `Attempt-to-Finalize`. **Switch ...
diff --git a/src/main/java/com/limechain/consensus/grandpa/GrandpaSetState.java b/src/main/java/com/limechain/consensus/grandpa/GrandpaSetState.java index e0fc1c615..92a687a71 100644 --- a/src/main/java/com/limechain/consensus/grandpa/GrandpaSetState.java +++ b/src/main/java/com/limechain/consensus/grandpa/GrandpaSetSt...
3
3
1
[{"id": "G0", "claim": "getPeerInfo can return null and the PR's neighbour-message code dereferences it without a null check (checkIfPeerIsAuthorNode, writeNeighbourMessage, handleNeighbourMessage), which may result in a NullPointerException; reviewers asked for a null check that logs when the peer is missing.", "categ...
null
LimeChain__Fruzhin__893
LimeChain/Fruzhin
893
defect
b24d3e84209ca7c4cd1c2198e6928a67b68b96d5
e6aae1a313f82460a6b617d11dbcc3d1986cbdfd
feat: Start beefy implementation.
# Description This PR adds the needed logic for starting the main beefy loop. The following additions are made to Fruzhin: - Beefy consensus messages are handled during warp sync. - The beefy state is pruned at the end of warp sync so that only the latest session is kept. - The justification for the mandatory block...
diff --git a/src/main/java/com/limechain/consensus/beefy/BeefyService.java b/src/main/java/com/limechain/consensus/beefy/BeefyService.java index de88c1ca0..16148c707 100644 --- a/src/main/java/com/limechain/consensus/beefy/BeefyService.java +++ b/src/main/java/com/limechain/consensus/beefy/BeefyService.java @@ -77,8 +7...
1
1
0
[{"id": "G0", "claim": "The success path of isBeefyMessageAcceptable logs at `warning` level even though the beefy message is accepted, and the reviewer questions whether `warning` is needed there.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LimeSurvey__LimeSurvey__4767
LimeSurvey/LimeSurvey
4,767
defect
a29d2e8be12faf6a0111a085747d9bcd8529787f
7d6b0064ff965854e0442c74ce06076746dd643d
At-1938: fix modals are not matching with the Figma designs
<!-- Thank you for contributing to LimeSurvey! To make our work easier, please make sure to follow the instructions below. Thank you. --> <!-- A pull request to LimeSurvey can either be a bug fix, a new feature or an internal development fix (refactoring etc). For bug fixes and new features, you must include the num...
diff --git a/editor/src/components/ConditionDesigner/Overlays/ConditionScriptOverwriteConfirmation.js b/editor/src/components/ConditionDesigner/Overlays/ConditionScriptOverwriteConfirmation.js index 90ea14dff3e..e5801715375 100644 --- a/editor/src/components/ConditionDesigner/Overlays/ConditionScriptOverwriteConfirmati...
17
5
3
[{"id": "G0", "claim": "The new overlay title 'Delete condition' is singular while the body says all conditions for the question will be removed, and 'Delete all conditions' or 'Delete conditions' would be clearer.", "category": "documentation", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
LimeSurvey__LimeSurvey__4915
LimeSurvey/LimeSurvey
4,915
defect
219151b2de00ee522f739f427966084f2105e8ba
4d96a4e220ccbd896da375378b84a600a3fa3bcd
Fixed issue #LE-596: text inconsistencies and grammar in React
Fixed issue #LE-596: text inconsistencies and grammar in React <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Refined UI text, labels, and messaging across the editor for clarity and consistency * Clarified closed access mode wording and permissio...
diff --git a/editor/src/components/PublicSurveyAlias/SurveyAccessMode/surveyAccessMode.test.js b/editor/src/components/PublicSurveyAlias/SurveyAccessMode/surveyAccessMode.test.js index 949eb579ab8..fa7a6a4ba9f 100644 --- a/editor/src/components/PublicSurveyAlias/SurveyAccessMode/surveyAccessMode.test.js +++ b/editor/sr...
3
3
2
[{"id": "G0", "claim": "The CI pipeline is failing Prettier formatting checks on the files this PR changed, so Prettier should be run on the changed sources and the formatting committed before merge.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Li...
null
Limine-Bootloader__Limine__274
Limine-Bootloader/Limine
274
defect
844386487d5369870da18cd496c75a28617dd0a3
50a90785526114cdd1e378eb378991f1ef50d9ec
Initial riscv64 port
Adds support for RISC-V (rv64imac) with UEFI. Tested on QEMU (`-machine virt -cpu rv64`). Limine protocol and EFI chainloading work. Linux boot should be a relatively trivial addition, but is poorly documented and I want to be sure I fully understand it before implementing it. Currently ACPI is required to detect...
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a3c6bcf02..65b2dd8f6 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Install dependencies - run: pacman --noconfirm -Syu && pacman --needed --noconfirm -S b...
10
9
6
[{"id": "G0", "claim": "The \"5-Level Paging Feature\" section should have a note mentioning that it has been deprecated, directing readers to the \"Paging Mode Feature\" instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The riscv64 entry-st...
null
LineairDB__LineairDB__266
LineairDB/LineairDB
266
defect
8d4adc25a810d18d3ea4d68ffa859da1178664c2
7a6532f285da99affcc85c97897849772bcbae55
Add configurable working log directory option
In the current LinearDB master, the working directory is hardcoded to "lineairdb_logs" directory. This implementation may block to create multi db instance from multi process because it will be created under current working directory of the root process. To make LineairDB more usable, this pull request attempts t...
diff --git a/include/lineairdb/config.h b/include/lineairdb/config.h index 0ee639f2..f34f53da 100644 --- a/include/lineairdb/config.h +++ b/include/lineairdb/config.h @@ -19,6 +19,7 @@ #include <cstddef> #include <thread> +#include <string> namespace LineairDB { @@ -149,6 +150,15 @@ struct Config { * Defau...
7
6
1
[{"id": "G0", "claim": "The new config variable should be named \"work_dir\" or \"working_dir\" instead of \"lineairdb_logs_dir\" (the reviewer endorses the TODO's own suggestion).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Something in the ...
null
Linen-dev__linen.dev__1333
Linen-dev/linen.dev
1,333
defect
56581703b05e59766759bd848bae60263f51a952
65aadc3333177c5724ae7988bcc683ccbfc4d11e
fix email validation and optimization API call
## Checklist - [x] Include screenshots if it is a frontend change - [x] The change is deployed to Staging with proper environment variable set - [x] If there is a new environment variable is the .env.example documented on where to fetch and set it - [x] If it is a settings change is there an account ready on stag...
diff --git a/packages/ui/src/MembersView/index.tsx b/packages/ui/src/MembersView/index.tsx index bc35f038c..b195f204c 100644 --- a/packages/ui/src/MembersView/index.tsx +++ b/packages/ui/src/MembersView/index.tsx @@ -246,19 +246,55 @@ export default function MembersView({ }; }, []); + const validateEmail = (...
2
2
0
[{"id": "G0", "claim": "Move the inline validateEmail function into a new packages/utilities/src/email.ts file, rename it to isEmailValid to make the boolean return clear, register it in packages/utilities/package.json exports and typesVersions, and add basic specs for it.", "category": "maintainability", "verdict": "s...
null
Linen-dev__linen.dev__336
Linen-dev/linen.dev
336
defect
602b95c52c4a210758e2f0435abb1c9174b62a0a
9306eb3accd4c28757706deb315aec205dc09b7f
LIN-317 :: sitemap improvements + integration tests
![Screen Shot 2022-08-18 at 12 55 55 PM](https://user-images.githubusercontent.com/35103955/185462660-8db7599f-ec2a-4b49-82f5-78d5ef6ca430.png) discussions about some behaviors https://linenhq.slack.com/archives/C037J7MF71N/p1660844660323349 https://linenhq.slack.com/archives/C037J7MF71N/p1660841072637889
diff --git a/nextjs/__mocks__/client.ts b/nextjs/__mocks__/client.ts index 95cc8d4b0..13c57fb9d 100644 --- a/nextjs/__mocks__/client.ts +++ b/nextjs/__mocks__/client.ts @@ -22,7 +22,7 @@ export const prisma = new PrismaClient({ datasources: { db: { url } }, }); -beforeEach(() => { +beforeAll(() => { execSync(`...
5
4
1
[{"id": "G0", "claim": "It would be nice to add a tiny helper for getting the domain out of an account instead of inlining the discordDomain/slackDomain/discordServerId/slackTeamId fallback chain.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "I...
null
Linen-dev__linen.dev__363
Linen-dev/linen.dev
363
defect
7fab0ad8be4ba1b8c85c21618624389390aa7ed1
1b7b616bcfd6cecf16ab77497791ee6c6e0bc5b4
LIN-316 database ssl connection helper
build a helper thats will return the connection string for our database if cert is present, it will persist it as a pem file and append it to our connection string if cert is missing, mostly on local development, it will build a connection string without ssl if database url is missing, it will throw an exception
diff --git a/nextjs/client.ts b/nextjs/client.ts index c11f9ec8e..8730f530a 100644 --- a/nextjs/client.ts +++ b/nextjs/client.ts @@ -1,6 +1,5 @@ import { PrismaClient } from '@prisma/client'; -import { tmpdir } from 'os'; -import fs from 'fs'; +import { buildConnectionString } from 'utilities/database'; declare glo...
2
1
0
[{"id": "G0", "claim": "The helper imported into nextjs/client.ts should be named `getDatabaseUrl` instead of `buildConnectionString`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The spec should mock a `secrets` module (as introduced in Linen...
null
Linen-dev__linen.dev__84
Linen-dev/linen.dev
84
defect
97866f6a74b9501fd54978b75b30e3e77eb96de2
47c8cf8736cdc0ed528c04d1bdc11033d4b0c424
lin-100 :: fix-robotstxt
Our robots.txt now has just two results: 1- when the request come from a domain different then ours, we check if the domains is our account list and then resolves the sitemap to <domain>/sitemap.xml 2- when the request come from localhost or linen.dev the sitemap resolves to linen.dev/sitemap.xml, it also work as...
diff --git a/pages/robots.txt.ts b/pages/robots.txt.ts index 0941ca636..691f0bd90 100644 --- a/pages/robots.txt.ts +++ b/pages/robots.txt.ts @@ -1,45 +1,35 @@ -import { getDomain, getSubdomain } from '../utilities/domain'; -import { - createRobotsTxt, - createRobotsTxtForSubdomain, -} from '../utilities/robots'; +imp...
1
1
0
[{"id": "G0", "claim": "Remove the leftover `console.log('account', account);` debug statement from pages/robots.txt.ts before merging.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Link-__gh-stars__9
Link-/gh-stars
9
defect
fbfd34d3aa905021daaf44a71ab37a83ddc4375c
cd382ae1f99a76e54d332e6759e32c35b3079741
Apply indent to the json output
This PR addresses [issue nb #7](https://github.com/Link-/gh-stars/issues/7)
diff --git a/cmd/root.go b/cmd/root.go index 22e9363..c53e626 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -176,7 +176,7 @@ func RenderJsonOutput(results pq.PriorityQueue, limit int, renderTarget io.Write repos = append(repos, item.Value.(Repo)) } - jsonOutput, err := json.Marshal(repos) + jsonOutput, err := js...
2
1
0
[{"id": "G0", "claim": "The areJSONStringsEqual helper added in cmd/root_test.go is probably unnecessary, and the new JSON-output test should be written the simpler way shown in PR #3 (hardcoded expected output) instead.", "category": "testing", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
LinuxSuRen__http-downloader__135
LinuxSuRen/http-downloader
135
defect
2a0d4b1afcdf18a358282c83dc651de6b0816016
1561638a0c307d18fc5d7302b65a06ed58d1c093
fix name and version split error when installing the app
fix https://github.com/LinuxSuRen/http-downloader/issues/134
diff --git a/pkg/common/util.go b/pkg/common/util.go index 2780570..8215eec 100644 --- a/pkg/common/util.go +++ b/pkg/common/util.go @@ -5,6 +5,7 @@ import ( "io/ioutil" "os" "path/filepath" + "regexp" ) // GetOrDefault returns the value or a default value from a map @@ -74,3 +75,8 @@ func Exist(name string) ...
4
4
0
[{"id": "G0", "claim": "The new helper should be renamed from SplitVersionNum to ParseVersionNum because split suggests splitting a string into an array.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The verify test helper returns an error alth...
null
LinuxSuRen__http-downloader__173
LinuxSuRen/http-downloader
173
defect
d109c0d8be0594d01c873c582cc503801ac093a2
8e592b274c060f5a91bdf1363891898f7065f08e
Add upper-case proxy environment support
### What this PR dose? Add upper-case proxy environment support. ### Why we need it? There are some discussions about HTTP_PROXY environment and its friends: https://unix.stackexchange.com/questions/212894/whats-the-right-format-for-the-http-proxy-environment-variable-caps-or-no-ca. /kind enhancement
diff --git a/pkg/net/http.go b/pkg/net/http.go index 0162f4e..9a12f80 100644 --- a/pkg/net/http.go +++ b/pkg/net/http.go @@ -72,9 +72,18 @@ func SetProxy(proxy, proxyAuth string, tr *http.Transport) (err error) { } func (h *HTTPDownloader) fetchProxyFromEnv(scheme string) { - allProxy := os.Getenv("all_proxy") - ht...
2
1
0
[{"id": "G0", "claim": "The document provided implies lowercase proxy environment variables should be checked by default first, but the change checks the upper-case names first and falls back to lowercase.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
LiteOS__LiteOS__181
LiteOS/LiteOS
181
defect
272b8c73cb584c5c098f145bcf73c0fcad81ff20
49e25103115c125387eb2f5a1f3c39320089890a
add acc object to lwm2m protocal
add acc obj to lwm2m add auth code of acc object
diff --git a/components/connectivity/agent_tiny/lwm2m_client/object_access_control.c b/components/connectivity/agent_tiny/lwm2m_client/object_access_control.c old mode 100644 new mode 100755 index b3b206757..9147e6e3c --- a/components/connectivity/agent_tiny/lwm2m_client/object_access_control.c +++ b/components/connect...
4
4
1
[{"id": "G0", "claim": "prv_auth_match's switch should be reducible to one line, return auth_op & (0x01 << op), once the OBJ_ACC_OPERATE enum definition is adjusted accordingly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The lwm2m_malloc res...
null
LiteSVM__litesvm__20
LiteSVM/litesvm
20
defect
41ff997cccc3de9612eaa4dbf580a196353ba54e
a04707d35314872c9c2c7e63114e6808bafa8089
Handle sysvar updates
Checks whenever an account being updated is a sysvar account, and if so updates the sysvar cache. Closes #17
diff --git a/benches/banks_client_comparison.rs b/benches/banks_client_comparison.rs index cd5595814..bafaa7830 100644 --- a/benches/banks_client_comparison.rs +++ b/benches/banks_client_comparison.rs @@ -99,7 +99,7 @@ fn criterion_benchmark(c: &mut Criterion) { b.iter(|| { svm.expire_blockhash();...
1
1
0
[{"id": "G0", "claim": "Add a method to get the Sysvar other than via get account.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LiteSVM__litesvm__75
LiteSVM/litesvm
75
defect
fb4da8a02938f9031cae8f9aba285772d944ba3a
acb816202c47a7407df62631491beb94615a7cfe
parses inner instructions
This PR mostly pulls in [this function](https://github.com/solana-labs/solana/blob/27eff8408b7223bb3c4ab70523f8a8dca3ca6645/svm/src/transaction_processor.rs#L873) from the `solana-svm` crate and includes the list of inner instructions as part of the metadata returned. It's very useful for a variety of use cases, for ex...
diff --git a/src/lib.rs b/src/lib.rs index 9c8b554d1..dfef991db 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,6 +27,7 @@ use solana_sdk::{ feature_set::{include_loaded_accounts_data_size_in_fee_calculation, FeatureSet}, fee::FeeStructure, hash::Hash, + inner_instruction::InnerInstructionsList, ...
3
2
0
[{"id": "G0", "claim": "The debug_assert on the first instruction context's stack height is not useful and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Using map followed by collect instead of the manual push loop could be m...
null
LittleProxy__LittleProxy__668
LittleProxy/LittleProxy
668
defect
856cf0d10ebf2bd304ea3243979926ab816a91cf
499a998d0f23a07c43952a768479394497613eac
Feature/activity tracker logging
Add configurable logging activity tracker with --activity-log-format option.
diff --git a/README.md b/README.md index 8dde6071..004e94ca 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,8 @@ The config file is a properties file with the following properties : - `allow_requests_to_origin_server` : boolean value to allow requests to origin server (default : `false`) - `allow_proxy_protocol` ...
4
3
0
[{"id": "G0", "claim": "The class name LoggingActivityTracker should be shortened to something like ActivityLog or ActivityLogger.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should import AtomicLong instead of using the fully qualif...
null
LittleProxy__LittleProxy__681
LittleProxy/LittleProxy
681
defect
765eb2a86d1c0751aed5f6bbbd876cba0d72cdb9
4acd14a368f89aefb2f0abe0df84374d7cf96122
Fix issue 680 generated jks and cert at root
fix #680
diff --git a/src/main/java/org/littleshoot/proxy/HttpProxyServerBootstrap.java b/src/main/java/org/littleshoot/proxy/HttpProxyServerBootstrap.java index 0b9f3fd6..069e8aa7 100644 --- a/src/main/java/org/littleshoot/proxy/HttpProxyServerBootstrap.java +++ b/src/main/java/org/littleshoot/proxy/HttpProxyServerBootstrap.ja...
4
3
2
[{"id": "G0", "claim": "Referencing the Maven 'target' directory from production code in Launcher (DEFAULT_JKS_KEYSTORE_PATH = \"target/littleproxy_keystore.jks\") looks unusual: production code should not detect the build/test environment, and when no keystore parameter is passed the default should keep the current be...
null
LittleProxy__LittleProxy__691
LittleProxy/LittleProxy
691
defect
9dd1111859be62931747bfb91009304c9dde9491
12c19e82bac43e89317e5bba5d318a6b159281ee
464 little proxy authentication bug
fix #464 Summary Fixes upstream proxy authentication by preserving Proxy-Authorization headers when forwarding requests to chained proxie...
diff --git a/src/main/java/org/littleshoot/proxy/impl/ClientToProxyConnection.java b/src/main/java/org/littleshoot/proxy/impl/ClientToProxyConnection.java index 87f73d40..9099675c 100644 --- a/src/main/java/org/littleshoot/proxy/impl/ClientToProxyConnection.java +++ b/src/main/java/org/littleshoot/proxy/impl/ClientToPr...
2
2
1
[{"id": "G0", "claim": "Logging the Proxy-Authorization header as-is leaks the upstream proxy credentials, since the base64 in a Basic header is easily decodable.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The preserveProxyAuthorization parameter o...
null
LittleProxy__LittleProxy__708
LittleProxy/LittleProxy
708
defect
8178fc08ff4cf927fe989416b0d1fd9867d2b1e8
6f259a3389796038866c9d120670e91d2025a23f
3 - Enhance ActivityTracker interface with new lifecycle methods
This PR adds new methods to `ActivityTracker` for comprehensive connection lifecycle tracking: - `clientSSLHandshakeStarted`: Track when SSL handshake begins - `serverConnected`/`serverDisconnected`: Track server connection lifecycle - `connectionSaturated`/`connectionWritable`: Track connection state changes - `co...
diff --git a/src/main/java/org/littleshoot/proxy/ActivityTracker.java b/src/main/java/org/littleshoot/proxy/ActivityTracker.java index 5be168f1..9b8bb352 100644 --- a/src/main/java/org/littleshoot/proxy/ActivityTracker.java +++ b/src/main/java/org/littleshoot/proxy/ActivityTracker.java @@ -13,13 +13,16 @@ public inter...
12
7
5
[{"id": "G0", "claim": "Changing the ActivityTracker SPI (reworked signatures plus new abstract methods) breaks source and binary compatibility for downstream implementations that do not extend ActivityTrackerAdapter, so provide a bridge interface or adapter layer if compatibility is expected, or otherwise explicitly d...
null
LiveRamp__jack__178
LiveRamp/jack
178
defect
7d699a258627b1a547300f01ed9704067dc3be27
e566805e5746e9e5fcd71c48f592530c97693313
Take advantage of Java 8 features
This includes changes to take advantage of Java 8 features, as well as a lot of code cleanup and formatting changes. The external API should be unchanged but a lot of internal implementation has been updated. Major functional changes include replacing many for loops with the stream API, updating LazyLoadPersistence to ...
diff --git a/.travis.yml b/.travis.yml index 314e1cd6..b5651ae6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ rvm: - 2.3.0 jdk: - - oraclejdk7 - oraclejdk8 notifications: diff --git a/pom.xml b/pom.xml index c5d19bab..ead6f5a2 100644 --- a/pom.xml +++ b/pom.xml @@ -13,6 +13,7 @@ <properties...
2
2
1
[{"id": "G0", "claim": "The pull request dropped the `Index index, Index... indices` overloads whose leading parameter forces the caller to supply at least one index at compile time, and sidoh asks whether that at-least-one-argument guarantee is enforced by some other mechanism.", "category": "design", "verdict": "supp...
null
LiveRamp__jack__181
LiveRamp/jack
181
defect
b07c41bcbaa478633c8216dfae0c8bcee5b37153
de90b32cabcf9cb8602ef9c574584e68f1e7b605
Jack Transactor
## Introduction Currently Jack has no mechanism for DB connection management. When the user is not careful (e.g. if `IDb` is wrapped inside a `ThreadLocal` object, and used in a multi-threaded process with large number of threads, which was what happened in SOA Refresher), SQL operations from Jack can consume a large ...
diff --git a/src/java/com/rapleaf/jack/IDb.java b/src/java/com/rapleaf/jack/IDb.java index 0c988763..e5862ccc 100644 --- a/src/java/com/rapleaf/jack/IDb.java +++ b/src/java/com/rapleaf/jack/IDb.java @@ -53,4 +53,5 @@ public interface IDb extends Serializable, Closeable { GenericQuery.Builder createQuery(); Reco...
2
2
0
[{"id": "G0", "claim": "The transactional query method should be named queryAsTransaction instead of transQuery, which is only slightly wordier but more clear.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G2", "claim": "There is no reason to distinguish transQuery an...
null
LiveRamp__jack__69
LiveRamp/jack
69
defect
c65dc408c471498ac1812406b5851fb9bcbada72
2658dbfad0e97a0a4fba4a9d22c56c2a847d14b0
Make models comparable
Just some basic functionality to prevent having to write really simple comparators
diff --git a/src/java/com/rapleaf/jack/test_project/database_1/models/Comment.java b/src/java/com/rapleaf/jack/test_project/database_1/models/Comment.java index 1353f7ba..4d07f88b 100644 --- a/src/java/com/rapleaf/jack/test_project/database_1/models/Comment.java +++ b/src/java/com/rapleaf/jack/test_project/database_1/m...
2
2
1
[{"id": "G0", "claim": "The subtract-based compareTo may overflow the int cast and should instead check <, >, == and return -1, 1, 0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The compareTo implementation could instead use Integer.valueOf(this....
null
LizardByte__Sunshine__2336
LizardByte/Sunshine
2,336
defect
1329c510b15ef715c136ab964ece1bfd26b914cb
0e7bd21506327b9bcdb629e6374db73db4e1e283
fix(logging): add logging namespace and create logging::init method
## Description <!--- Please include a summary of the changes. ---> Boost logs are captured in unit tests, and it was discovered that some encoder logging messages were not captured. This PR moves more (and hopefully all) logging setup to a `logging::init` method. Example test output prior to this PR: ```txt [ RU...
diff --git a/src/config.cpp b/src/config.cpp index 29a18f637b9..97b2e929194 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -1184,7 +1184,7 @@ namespace config { auto line = argv[x]; if (line == "--help"sv) { - print_help(*argv); + logging::print_help(*argv); return 1; ...
8
7
3
[{"id": "G0", "claim": "This change causes a crash on macOS - even running `sunshine --version` crashes.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The fail_guard should have been left in main; logging::init should return a [[nodiscard]] deinit ...
null
LizardByte__Sunshine__2550
LizardByte/Sunshine
2,550
defect
26ceec5f3c97b0130b82cb28ba53c3b4dafc8419
70a22231a788fd48d1a810dca508b7412d62a2d0
fix(macos): Mouse input broken in-game
## Description This issue was initially reported [on Discord](https://discord.com/channels/804382334370578482/1238526773940191303/1238526773940191303) Basically, we have 2 main issues: - The cursor sometimes keeps showing on the screen even when it should not appear; - While the cursor moves on the screen, some 3...
diff --git a/src/platform/common.h b/src/platform/common.h index 007f7ece61b..1960d829878 100644 --- a/src/platform/common.h +++ b/src/platform/common.h @@ -672,6 +672,18 @@ namespace platf { input_t input(); + /** + * @brief Gets the current mouse position on screen + * @param input The input_t instance t...
1
1
1
[{"id": "G0", "claim": "The GTEST_SKIP_ call should use a regular string, like the existing conftest usage, instead of wrapping the message in std::string(...).c_str() (as written the parenthesization is unbalanced).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LizardByte__Sunshine__3084
LizardByte/Sunshine
3,084
defect
c9f853dc0921c25018780dc7f8fe922bcf4b528c
ca5036ca5bf80e54da6a0f9cbb5ca3eb5ce1007b
fix(mdns): don't hardcode mDNS instance name
## Description All platform mDNS implemenations currently hardcode the instance name to `Sunshine`. This causes reliable name collisions during mDNS registration when more than one Sunshine host is running on the same network. The collision is eventually resolved by appending a number to the name, but this is unnecess...
diff --git a/src/network.cpp b/src/network.cpp index b7b18de88b0..b8628d214fe 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -206,4 +206,32 @@ namespace net { return mapped_port; } + + /** + * @brief Returns a string for use as the instance name for mDNS. + * @return Hostname-based instance name o...
1
1
0
[{"id": "G0", "claim": "The hostname should become an argument of mdns_instance_name() so the unit tests could be parametrized with various hostnames to check that all the scenarios work.", "category": "testability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LizardByte__Sunshine__4019
LizardByte/Sunshine
4,019
defect
65f14e1003f831e776c170621bd06d8292f65155
e88aecee34faadf9601d6ff7292185c4e67b7d2f
feat(fps): support x-nv-video[0].clientRefreshRateX100 for requesting fractional NTSC framerates
## Description This PR brings back an old GFE parameter for specifying fractional refresh rates. If the param is specified, Sunshine will try to deliver the exact rate requested, which can be helpful for clients using Apple TV, Xbox, and others that might be stuck at 59.94hz or 119.88hz. Common NTSC rates are hardc...
diff --git a/src/nvenc/nvenc_base.cpp b/src/nvenc/nvenc_base.cpp index bcd12ca1e77..b95afac6f5b 100644 --- a/src/nvenc/nvenc_base.cpp +++ b/src/nvenc/nvenc_base.cpp @@ -222,6 +222,11 @@ namespace nvenc { init_params.darHeight = encoder_params.height; init_params.frameRateNum = client_config.framerate; in...
3
2
1
[{"id": "G0", "claim": "The framerateX100_to_rational function should live somewhere other than utility.h, so that adding the FFmpeg include/link changes to tools/CMakeLists.txt for the dxgi tool would not be needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
LizardByte__Sunshine__4095
LizardByte/Sunshine
4,095
defect
31f87bbc187c387b4bacbae341f12f2680428d26
cf386591d5aac466aabebffd58acef7997e437e0
fix(audio-info): crash when device name contains special characters
## Description <!--- Please include a summary of the changes. ---> This PR fixes audio-info (and maybe dxgi-info) from crashing when special characters exist in the device names or any properties. Additionally, the formatting was slightly modified for dxgi-info. The `output` line was previously included even if th...
diff --git a/cmake/compile_definitions/windows.cmake b/cmake/compile_definitions/windows.cmake index 60ee905b773..07d647f3536 100644 --- a/cmake/compile_definitions/windows.cmake +++ b/cmake/compile_definitions/windows.cmake @@ -59,6 +59,7 @@ set(PLATFORM_TARGET_FILES "${CMAKE_SOURCE_DIR}/src/platform/windows/...
2
1
0
[{"id": "G0", "claim": "The magic numbers 32 and 127 in the printable-ASCII fallback in src/platform/windows/tools/helper.h should be replaced with named constants.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The \\x{...} and \\u{...} escape ...
null
LlmKira__Openaibot__399
LlmKira/Openaibot
399
defect
c1d79d35b5d488dd24420011c6557c56174a0b1f
80ce377277dcd0f1e1d6eafc72b4e786b782f49f
CodeInterpreterTool
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced messaging functionalities in Telegram with web page preview control. - Added advanced Python code execution capabilities in a Jupyter Notebook environment. - Modified assistant inst...
diff --git a/.gitignore b/.gitignore index 7f6bece65..d3261563e 100644 --- a/.gitignore +++ b/.gitignore @@ -149,3 +149,4 @@ config_dir/*.secret/ /.montydb/ /.snapshot/ /.tutorial.db +app/.tutorial.db diff --git a/README.md b/README.md index 0dd7c35ce..671a6218f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 ...
6
2
0
[{"id": "G0", "claim": "Ensure correct handling of non-dictionary results in ToolCall.model_validate_json: if the value returned by read_data is a dict rather than a JSON string, ToolCall.model_validate_json(result) will fail.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing...
null
Logical-Byte__endfield-essence-recognizer__110
Logical-Byte/endfield-essence-recognizer
110
defect
f2eca076588da0c20696f9838104ca45b0a016fa
b022f9b7df03da0675ab4d6ef22856dce086dbb9
Refactor: hotkey entrypoints and minor changes to service level
Closes #109 - 快捷键只负责发http请求到对应api。 - 老的快捷键逻辑移动到api端点内。 - ScannerService接收AudioService并控制音效播放。 - “单次扫描”封装成AutomationEngine并交给ScannerService控制。 - hotkey_handler不再负责检查游戏窗口是否存在、游戏窗口和WebView是否在最前。 - 转由api端点负责处理 - 优化日志信息
diff --git a/src/endfield_essence_recognizer/api/routes/scanner.py b/src/endfield_essence_recognizer/api/routes/scanner.py index 44905591..e8f97a5b 100644 --- a/src/endfield_essence_recognizer/api/routes/scanner.py +++ b/src/endfield_essence_recognizer/api/routes/scanner.py @@ -1,18 +1,75 @@ from fastapi import APIRou...
10
7
0
[{"id": "G0", "claim": "The window-check dependencies build exception payloads from the private WindowManager._supported_titles attribute; prefer a public accessor (e.g. a supported_titles property) or the known title sources in the module to avoid coupling callers to WindowManager internals.", "category": "maintainabi...
null
Logical-Byte__endfield-essence-recognizer__126
Logical-Byte/endfield-essence-recognizer
126
defect
cfa8661c038c13650d05f74236a654710db8aac0
3e879a26db24cf3c2f55836735488e21e388cd42
Misakavan/color recognition
Closes #46 * [x] 基于色相识别基质背包右侧的部分区域,以判断基质的稀有度 * [x] 基于稀有度配合用户设置进行筛选 * [x] 前端适配新的用户设置 等待 #124 先 merge
diff --git a/frontend/src/pages/settings.vue b/frontend/src/pages/settings.vue index 4c19b226..f6a453ff 100644 --- a/frontend/src/pages/settings.vue +++ b/frontend/src/pages/settings.vue @@ -277,6 +277,12 @@ <v-expansion-panel :value="2"> <v-expansion-panel-title>操作设置</v-expansion-panel-title> ...
3
1
1
[{"id": "G0", "claim": "A Python library already provides a color-conversion function, so the hand-written bgr_to_hsv helper in hue_recognizer.py duplicates it.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Hue-based color recognition may be le...
null
Logical-Byte__endfield-essence-recognizer__152
Logical-Byte/endfield-essence-recognizer
152
defect
020eaa9f65e3348fcb8f2f2e5ab7f0ed9084dfbb
16840fe8fba6a3caa12b23a5667769a1dac100cc
fix: Windows 11 White screen err
- [x] 我已经阅读并理解了项目的贡献指南(CONTRIBUTING.md)。 ## 提交类型(必填) 请确认本 PR 符合以下任意一项: * [x] **已有 Issue/RFC:** 已关联相关的前置Issue:#[24](https://github.com/Logical-Byte/endfield-essence-recognizer/issues/24) * [ ] **紧急修复 (Hotfix):** 修复关键路径或生产环境的严重问题。 * [ ] **需求变更/新功能:** 已经过前期讨论并达成共识。 * [ ] **草稿 PR (Draft):** 仅用于早期思路交流。*注:未事先沟通且不...
diff --git a/src/endfield_essence_recognizer/lifespan.py b/src/endfield_essence_recognizer/lifespan.py index fe3e1e6a..79ba4585 100644 --- a/src/endfield_essence_recognizer/lifespan.py +++ b/src/endfield_essence_recognizer/lifespan.py @@ -1,4 +1,5 @@ import importlib.resources +import mimetypes from contextlib import...
1
1
1
[{"id": "G0", "claim": "The PR's new MIME mappings have no test coverage; an integration/unit test should request static files (.js/.css etc.) via TestClient and assert the response Content-Type is correct.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Logical-Byte__endfield-essence-recognizer__20
Logical-Byte/endfield-essence-recognizer
20
defect
6efaf324a11b709be1eb5290109614e58a1ffc52
0d9b35a1d7a091e78ecd2692cffe5a35e2785a26
Refactor: remove dotenv-induced global variables in `server.py`
This pull request introduces a new centralized configuration system for the server using Pydantic settings, refactors the server and web UI code to use this new configuration, and adds comprehensive tests for configuration management. The changes improve maintainability, clarity, and testability of environment-based se...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6a30394a..251b9080 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,3 +20,11 @@ repos: args: [ --fix ] # Run the formatter. - id: ruff-format +- repo: local + hooks: + - id: pytest + name: Run Pytest ...
7
4
2
[{"id": "G0", "claim": "The autouse fixture clear_config_cache should add a yield after the cache_clear call (or drop autouse) because a setup-only autouse fixture is not idiomatic pytest and may confuse maintainers.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
Logical-Byte__endfield-essence-recognizer__52
Logical-Byte/endfield-essence-recognizer
52
defect
ee48bc3e57f4bd23502e9f43b42442983ea58e8c
7d8888dc3779e6d514b6d3bee75142295e97c783
REFACTOR: configurable generic recognizer
`src/endfield_essence_recognizer/core/recognition`: new subpackage for `Recognizer`-related code. - A type-safe generic `Recognizer` class adapted from the original implementation - Better configuration of ROI-comparison template assets - `core/recognition/tasks` provide seperate files configuring attribute recognit...
diff --git a/src/endfield_essence_recognizer/__init__.py b/src/endfield_essence_recognizer/__init__.py index c2cfcb50..5c3e58fe 100644 --- a/src/endfield_essence_recognizer/__init__.py +++ b/src/endfield_essence_recognizer/__init__.py @@ -1,12 +1,15 @@ from __future__ import annotations import importlib.resources -...
6
4
1
[{"id": "G0", "claim": "The recognizer type aliases in core/recognition/__init__.py should be declared with the `type` statement instead of plain assignments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The generic code in base.py could use P...
null
Logical-Byte__endfield-essence-recognizer__55
Logical-Byte/endfield-essence-recognizer
55
defect
30fa7c3a22b9be6fcad106735db0ac53fe54206d
b0445494a225a5791c38e424b18cae7cd26761f5
Refactor: further encapsulates recognition-related logic in EssenceScanner
This pull request introduces a significant refactoring and feature expansion for the scanner and recognition subsystems. The main changes are the introduction of a unified `ScannerContext` to encapsulate all recognizer dependencies, the addition of new recognizers for attribute level and UI scene detection, and the rem...
diff --git a/src/endfield_essence_recognizer/__init__.py b/src/endfield_essence_recognizer/__init__.py index 5c3e58fe..b6662c1d 100644 --- a/src/endfield_essence_recognizer/__init__.py +++ b/src/endfield_essence_recognizer/__init__.py @@ -3,13 +3,12 @@ import importlib.resources from typing import TYPE_CHECKING +fr...
9
3
0
[{"id": "G0", "claim": "prepare_attribute_level_detector() returns an AttributeLevelRecognizer, so the 'detector' name is misleading and inconsistent with the other prepare_*_recognizer factories; rename it (e.g. prepare_attribute_level_recognizer) and update call sites.", "category": "maintainability", "verdict": "sup...
null
Logical-Byte__endfield-essence-recognizer__58
Logical-Byte/endfield-essence-recognizer
58
defect
1feffb6269743041a25c7d32c90b31850761e83e
75272e9821501818a41bc750f62c78519bcb132c
Feat: new `ScannerService` for threading management
- Added `ScannerService` class to manage scanning in a singleton thread. - EssenceScanner no longer inherits from `threading.Thread`. The scanning logic is moved to `execute` method. - Introduced thread-safe start and stop methods in `ScannerService`, avoiding race condition if user clicks `toggle` or `start` too fas...
diff --git a/src/endfield_essence_recognizer/__init__.py b/src/endfield_essence_recognizer/__init__.py index b6662c1d..20bff15e 100644 --- a/src/endfield_essence_recognizer/__init__.py +++ b/src/endfield_essence_recognizer/__init__.py @@ -17,7 +17,6 @@ import threading from endfield_essence_recognizer.core....
5
2
0
[{"id": "G0", "claim": "The tests mock execute but never verify that the scanner actually responds to the stop_event passed to it, and a test should be added that checks execution stops when stop_event is set.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
Logical-Byte__endfield-essence-recognizer__66
Logical-Byte/endfield-essence-recognizer
66
defect
ea203d1398218cb8f46fc4a5e85f473e039d2f6b
f0e6bb919af0ac324523a9fc7fd47a754188eae8
Refactor: Move EssenceScanner code and add interface for testing
This pull request refactors the scanner engine component to use more explicit interfaces for image capture and window actions, introduces a new `ScannerEngine` class to replace the previous `EssenceScanner`, and updates dependencies and services to use the new structure. The changes improve modularity, type safety, and...
diff --git a/src/endfield_essence_recognizer/core/interfaces.py b/src/endfield_essence_recognizer/core/interfaces.py new file mode 100644 index 00000000..a10adb49 --- /dev/null +++ b/src/endfield_essence_recognizer/core/interfaces.py @@ -0,0 +1,27 @@ +from typing import Protocol, runtime_checkable + +from cv2.typing im...
2
1
0
[{"id": "G0", "claim": "The test mocks use .w/.h attributes that the real Region class does not have (it exposes x0/y0/x1/y1), so MockImageSource.screenshot is inconsistent with the real Region interface and would fail on a real Region; the mocks should either be proper Region instances or MockImageSource should use th...
null
Logical-Byte__endfield-essence-recognizer__71
Logical-Byte/endfield-essence-recognizer
71
defect
260cbf72f94e7ee63b444240681208da831c4fcc
e28daad6eed707e93cfc5927fe42b9a166fa595d
Refactor: `LogService` for websocket log message forwarding
- **feat: implement LogService for WebSocket log broadcasting and integrate with FastAPI lifespan** - **feat: use batch processing to LogService**
diff --git a/src/endfield_essence_recognizer/deps.py b/src/endfield_essence_recognizer/deps.py index d4df70ef..a787bb71 100644 --- a/src/endfield_essence_recognizer/deps.py +++ b/src/endfield_essence_recognizer/deps.py @@ -35,6 +35,7 @@ AudioService, build_audio_service_profile, ) +from endfield_essence_reco...
5
3
0
[{"id": "G0", "claim": "The test comment says \"Wait longer than timeout (0.1s)\" but the actual timeout passed is 0.05s, so the comment should be updated to say 0.05s for accuracy.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `except asynci...
null
Logical-Byte__endfield-essence-recognizer__72
Logical-Byte/endfield-essence-recognizer
72
defect
e28daad6eed707e93cfc5927fe42b9a166fa595d
2fdc5ad03232a77c810e1cf8ec50fd928be55631
Feat: update log message behaviour
Fix a problem introduced by #71 where log message issued before the fastapi app initialization will be lost to the webview (e.g. greeting message) Adjusts some logging message and behaviour. - **feat: update LogService to support log history replay** - **feat: refactor welcome message logging and hotkey manageme...
diff --git a/frontend/src/composables/useLogs.ts b/frontend/src/composables/useLogs.ts index 9b83df58..25fd1d94 100644 --- a/frontend/src/composables/useLogs.ts +++ b/frontend/src/composables/useLogs.ts @@ -7,6 +7,9 @@ const ansiConverter = new Convert({ newline: false, escapeXML: false, stream: false, + colo...
5
2
0
[{"id": "G0", "claim": "The init_mount_frontend_build docstring's Args section is missing the server_config parameter and should document both app and server_config.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "log_welcome_message has only a com...
null
Logical-Byte__endfield-essence-recognizer__74
Logical-Byte/endfield-essence-recognizer
74
defect
b0c0a0ee54491829a2797e5a53810a62c98b7ba6
091d101d036650cfbb7e4ea8f6c7773a72247c9d
Feat: enhance hotkey handling
- **Refactor: extract webview title generation to a separate function** - **Feat: avoid handling hotkey when game window or webview window is absent** 当下面的条件同时满足时,才会响应快捷键操作: 1. 游戏窗口存在 2. 游戏窗口或 Webview 窗口是 Activated 窗口
diff --git a/src/endfield_essence_recognizer/core/webui.py b/src/endfield_essence_recognizer/core/webui.py new file mode 100644 index 00000000..1ee581c1 --- /dev/null +++ b/src/endfield_essence_recognizer/core/webui.py @@ -0,0 +1,8 @@ +from endfield_essence_recognizer.core.config import get_server_config +from endfield...
8
6
1
[{"id": "G0", "claim": "The warning-level logs in the hotkey gating path (\"未检测到终末地窗口\" and \"前台窗口不是终末地或 WebView\") fire on expected paths like misclicks and window switches and will flood the interface log; they should be downgraded to debug/info or emitted only in dev_mode.", "category": "logging", "verdict": "suppor...
null
Logical-Byte__endfield-essence-recognizer__91
Logical-Byte/endfield-essence-recognizer
91
defect
24d48b1811bcc3f25b608c96695aad9e7823825c
29750098f02eb08003e1cac5452a870e0b273f19
16:9 比例多分辨率支持
* [x] 我已经阅读并理解了项目的贡献指南(CONTRIBUTING.md)。 ## 提交类型(必填) 请确认本 PR 符合以下任意一项: * [x] **已有 Issue/RFC:** 已关联相关的前置Issue:#5 * [ ] **紧急修复 (Hotfix):** 修复关键路径或生产环境的严重问题。 * [ ] **需求变更/新功能:** 已经过前期讨论并达成共识。 * [ ] **草稿 PR (Draft):** 仅用于早期思路交流。*注:未事先沟通且不符合项目方向的 PR,可能被直接关闭。* --- ## 🎨 代码风格与质量保证 * [x] **风格一致性:** 我已参考现有代...
diff --git a/README.md b/README.md index 23274f1d..8577e2e6 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ - 请使用**管理员权限**(是 Windows 管理员,不是终末地管理员)运行本工具,否则无法捕获全局热键 - 请在 Windows 屏幕设置中**关闭 HDR** - 请将终末地的界面语言更改为**简体中文** -- 请将终末地的分辨率更改为 **1920×1080 窗口** - - 若您的显示器分辨率为 1920×1080,请将终末地的分辨率更改为 1920×1080 全屏后按下 **`A...
10
7
3
[{"id": "G0", "claim": "get_scanner_engine_dep should not have its dependency injection changed: constructing the resolution profile by calling get_resolution_profile() inside the function bypasses FastAPI DI (ignoring the injected window_manager and defeating test overrides), so the profile should again be provided th...
null
Lokathor__bytemuck__111
Lokathor/bytemuck
111
defect
d691aa6a1435cb773cc2a27bbf9bc374806fb19d
2002df70a7aa72860ac76fe96328577012a5ef58
feat: add TransparentWrapperAlloc trait
closes #110
diff --git a/src/allocation.rs b/src/allocation.rs index 72f3f16f..37f1c3b8 100644 --- a/src/allocation.rs +++ b/src/allocation.rs @@ -297,3 +297,55 @@ pub fn pod_collect_to_vec< dst_bytes[..src_size].copy_from_slice(src_bytes); dst } + +/// An extension trait for `TransparentWrapper` and alloc types. +pub trait...
2
2
1
[{"id": "G0", "claim": "The assert! pointer size/alignment equality checks in wrap_vec/peel_vec could be written as assert_eq! instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "s.as_mut_ptr() must be called after s.len() and s.capacity(), ...
null
Lokathor__bytemuck__139
Lokathor/bytemuck
139
defect
09dd2ffd682182294a09d5874b0e255d699d833f
7cb489b1991bb25b8ec38be125b300d9f4f59f93
Allow `repr(transparent)` to be used generically in `derive(Pod)`
My current use case is this: ```rust #[derive(Pod, Zeroable)] #[repr(transparent)] struct MyNewtype<T>([T; 2]); ``` However, the current `derive` system only allows for `repr(packed)` to be used with generics, despite the fact that, by definition, `repr(transparent)` contains no padding. This PR adds the opti...
diff --git a/derive/src/lib.rs b/derive/src/lib.rs index 8a877f86..9656bf62 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -228,17 +228,19 @@ fn derive_marker_trait<Trait: Derivable>(input: DeriveInput) -> TokenStream { } fn derive_marker_trait_inner<Trait: Derivable>( - input: DeriveInput, + mut input...
3
3
0
[{"id": "G0", "claim": "Build the where clause with syn's `generics.make_where_clause()` helper instead of manually inserting a `syn::WhereClause` via `get_or_insert_with`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Construct the path's `seg...
null
Lokathor__bytemuck__147
Lokathor/bytemuck
147
defect
6b1b7cecd32902b240a8e8593534600a09269d14
e954e03307eed2b1eb2a3a9f9400f3388de000b6
Extend `#[derive(TransparentWrapper)]`
(Based on PR 146, but not particularly related) Allow types more complicated than single idents in `#[transparent(Type)]` when deriving `TransparentWrapper`. * It still does string comparison, because resolving type equality is not possible in a proc-macro. * This is valid as long as there is no way to make th...
diff --git a/derive/src/lib.rs b/derive/src/lib.rs index b5c106c8..5baf313f 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -162,8 +162,11 @@ pub fn derive_maybe_pod( /// - The struct must contain the `Wrapped` type /// /// If the struct only contains a single field, the `Wrapped` type will -/// automatica...
6
2
1
[{"id": "G0", "claim": "The new get_wrapped_type_from_stream function in derive/src/traits.rs has weird (non-idiomatic) formatting.", "category": "style", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Leftover dbg! debugging macros in TransparentWrapper::asserts (dbg!(&wrapped...
null
Lokathor__bytemuck__151
Lokathor/bytemuck
151
defect
911f43db98ff9e1d663104ff06e10722c5897720
c0055845e19bf2429dd0476cbd542dda940afcc2
Implement CheckedBitPattern for core::num::NonZero*.
Also adds tests for `CheckedBitPattern`. Also fixes a possible Stacked-Borrows violation in `checked::try_cast_slice_mut` found via miri (this can be split off if necessary). TODO: * [ ] Determine if this is guaranteed to be sound. --- This is sound based on the current implementation of `num::NonZero[int...
diff --git a/src/checked.rs b/src/checked.rs index d28eaa76..7b81721f 100644 --- a/src/checked.rs +++ b/src/checked.rs @@ -170,6 +170,35 @@ unsafe impl CheckedBitPattern for bool { } } +macro_rules! impl_checked_for_nonzero { + ($($nonzero:ty: $primitive:ty),* $(,)?) => { + $( + unsafe impl CheckedBitPat...
1
1
1
[{"id": "G0", "claim": "For soundness, instead of only checking for non-zero, is_valid_bit_pattern can also check that size_of and align_of are equal for the base type and the NonZero type (size_match && align_match && not_zero), which const-folds away on current targets while catching a mismatch on some future setup."...
null
Lokathor__bytemuck__171
Lokathor/bytemuck
171
defect
ff0b14dae9a4f0650f17c15c16acbd75df1cc4b5
9aacf980550de65dd7cfcf76409eca4fbd2f2d84
allow deriving `CheckedBitPattern` for enums with fields
This pr consist of two parts: 1. Miscellaneous improvements to the internal `Representation` type 2. The implementation for deriving `CheckedBitPattern` for enums with fields The following representations have a stable type layout for enums with fields and are now supported in the `CheckedBitPattern` derive macro:...
diff --git a/derive/src/traits.rs b/derive/src/traits.rs index f513356a..72ed09a7 100644 --- a/derive/src/traits.rs +++ b/derive/src/traits.rs @@ -1,4 +1,6 @@ #![allow(unused_imports)] +use std::{cmp, convert::TryFrom}; + use proc_macro2::{Ident, Span, TokenStream, TokenTree}; use quote::{quote, quote_spanned, ToTok...
1
1
1
[{"id": "G0", "claim": "The doc comment on the CheckedBitPattern proc macro derive fn in the derive crate lib.rs should be updated to reflect the new capabilities and restrictions on enums with fields.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Lokathor__bytemuck__257
Lokathor/bytemuck
257
defect
005ee3254fdfa63d67d024cfc598319331dab0cb
f09a421fb51630232c339aea2b5ab50ee6755424
derive(Zeroable) on fieldful enums and repr(C) enums
Closes #230. Allows deriving `Zeroable` on `enum`s where: 1. The enum is `#[repr(Int)]`, `#[repr(C)]`, or `#[repr(C, Int)]`, 2. There is a variant with discriminant 0, 3. The variant with discriminant 0 is either fieldless, or all of its fields are `Zeroable`. Also allows using the "perfect derive with addit...
diff --git a/derive/src/traits.rs b/derive/src/traits.rs index 89fc6c41..8326f8da 100644 --- a/derive/src/traits.rs +++ b/derive/src/traits.rs @@ -76,8 +76,11 @@ impl Derivable for Pod { } else { None }; - let assert_fields_are_pod = - generate_fields_are_trait(input, Self::...
7
4
0
[{"id": "G0", "claim": "The logic in `check_attributes` does not fit the function's name since it also validates enum variants, so the function should be renamed (e.g. `check_input` or `validate[_input]`).", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", ...
null
Lokathor__bytemuck__258
Lokathor/bytemuck
258
defect
005ee3254fdfa63d67d024cfc598319331dab0cb
1cb59ea18de4559cda09e731fa9f258f33b33c1b
Fix UB dropping BoxBytes with a zero-sized layout
`Box` does not actually perform an allocation for zero-sized values, so `BoxBytes::drop` should not call `dealloc` if `self.layout.size() == 0`.
diff --git a/src/allocation.rs b/src/allocation.rs index ae0dca1a..78c30ffb 100644 --- a/src/allocation.rs +++ b/src/allocation.rs @@ -742,8 +742,9 @@ impl<I: ?Sized, T: ?Sized + TransparentWrapper<I>> TransparentWrapperAlloc<I> /// As `Box<[u8]>`, but remembers the original alignment. pub struct BoxBytes { - // S...
1
1
0
[{"id": "G0", "claim": "The SAFETY note's terminology is wrong under Rust's definition — a pointer to zero-sized data is never dangling even when null — and the real constraint is that `dealloc` requires a non-zero-sized layout.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
Lokathor__bytemuck__292
Lokathor/bytemuck
292
defect
621848fcf09ac42000e3b9c548f17f252c7e399c
ecb270ed6605ab7478d2ad37fccec4cd32df54e5
add support for deriving NoUninit on enums with fields
We check for padding like we do for structs except that we also consider the enum discriminant when calculating the unpadded size.
diff --git a/derive/src/traits.rs b/derive/src/traits.rs index 2093561d..14647f20 100644 --- a/derive/src/traits.rs +++ b/derive/src/traits.rs @@ -80,7 +80,7 @@ impl Derivable for Pod { match &input.data { Data::Struct(_) => { let assert_no_padding = if !completly_packed { - Some(generate_...
10
9
4
[{"id": "G0", "claim": "Deriving NoUninit on a #[repr(Int)] enum with fields currently hits unreachable!() and panics the proc-macro; those enums should ideally be supported, or at least rejected with a bail! error message instead of panicking.", "category": "correctness", "verdict": "supported", "priority": "P1", "sco...
null
Lokathor__bytemuck__30
Lokathor/bytemuck
30
defect
4dc4b3ad28b0e2676247d5023bff0e464b94e797
51c829d5bf835836de7a3bc07e3b00fff864487a
add basic derive macro for Pod, Zeroable and TransparentWrapper for structs
Adds derive macros for `Zeroable` and `Pod` for structs. The macro is exported behind the `derive` feature flag (same way as serde does) - The `Zeroable` macro checks that all fields are `Zeroable`. - The `Pod` macro checks that all fields are `Pod`, there is no padding bytes and that the struct is `#[repr(C)]` ...
diff --git a/Cargo.toml b/Cargo.toml index 79ac2a88..6a0c412d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,12 @@ exclude = ["/pedantic.bat"] # Note: Yeah these names are non-standard, we'll fix it in v2 some day maybe extern_crate_alloc = [] extern_crate_std = ["extern_crate_alloc"] +derive = ["bytemuck_der...
4
4
1
[{"id": "G0", "claim": "The macro's generated code calls std::mem::size_of, which should be core::mem::size_of.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment contains a typo: `$[repr(transparent)]` should be `#[repr(transparent)]`."...
null
Lokathor__bytemuck__58
Lokathor/bytemuck
58
defect
08a4b8fbc2145d2910cfa35b98eda3c4941bede9
d29ebdd7a02bde673f1652bd6abfa23103752614
[Feature] extend `TransparentWrapper` conversion functions
This PR extends the `TransparentWrapper` trait by adding new conversion functions. Namely: These three missing `wrap_{}` functions. - `TransparentWrapper::wrap(s: Inner) -> Self` - `TransparentWrapper::wrap_slice(s: &[Inner]) -> &[Self]` - `TransparentWrapper::wrap_slice_mut(s: &mut [Inner]) -> &mut [Self]` T...
diff --git a/rustfmt.toml b/rustfmt.toml index f2143858..689ceb16 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -12,5 +12,5 @@ use_small_heuristics = "Max" # Unstable format_code_in_doc_comments = true -merge_imports = true +imports_granularity = "Crate" wrap_comments = true diff --git a/src/contiguous.rs b/src/...
3
3
0
[{"id": "G0", "claim": "The `wrap_slice` method added to `TransparentWrapper` should be added to the list of methods that may not be overridden (the trait's no-override documentation/safety list).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`unwr...
null
Lokathor__tinyvec__110
Lokathor/tinyvec
110
defect
e1f3dc9c994a12f8e5dd823a191f59fd173bd9c7
36a15a6018fe7bf9143dd5e6da5688049b67c10b
Add Serde support
Closes https://github.com/Lokathor/tinyvec/issues/109 Provides a [Serialize ](https://docs.serde.rs/serde/trait.Serialize.html)and [Deserialize](https://docs.serde.rs/serde/trait.Deserialize.html) implementation for both `ArrayVec` and `TinyVec`, provided that `A::Item` also implements it. Also adds tests for ser...
diff --git a/Cargo.toml b/Cargo.toml index 14f048d..e4cc97e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,12 +11,14 @@ repository = "https://github.com/Lokathor/tinyvec" [dependencies] tinyvec_macros = { version = "0.1", optional = true } +# Provides `Serialize` and `Deserialize` implementations +serde = { versio...
2
2
2
[{"id": "G0", "claim": "Optional-features of an optional dependency don't work, so activating `alloc` will also activate `serde` (plus `serde/alloc`, which seems unneeded by the TinyVec impls).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Tiny...
null
Lokathor__tinyvec__144
Lokathor/tinyvec
144
defect
3d6b6ee215ebd0f73452196f5ab467ab1121d31a
c1e7188b4e5299c3af0d089ea04be4df874f8209
improve clone impl as per https://github.com/Lokathor/tinyvec/issues/143
* Closes https://github.com/Lokathor/tinyvec/issues/143
diff --git a/src/arrayvec.rs b/src/arrayvec.rs index 588f010..39f3a90 100644 --- a/src/arrayvec.rs +++ b/src/arrayvec.rs @@ -101,12 +101,43 @@ macro_rules! array_vec { /// assert_eq!(no_ints.len(), 0); /// ``` #[repr(C)] -#[derive(Clone, Copy)] pub struct ArrayVec<A> { len: u16, pub(crate) data: A, } +impl...
2
1
1
[{"id": "G0", "claim": "A fast path for Copy types might be necessary because the current clone implementation may not lower to a memcpy, which would be costly for long-ish vectors of Copy types like u64 or a struct like Rgb with several Copy fields.", "category": "performance", "verdict": "uncertain", "priority": "P3"...
null
Lokathor__tinyvec__167
Lokathor/tinyvec
167
defect
a711c72eef6d555ebc7bbbe78bf5039e72f790ac
0476fd743858d1a9b8037f791683beef74b338f9
Add Natvis visualizations and tests for `ArrayVec` and `SliceVec` types.
This change adds Natvis visualizations for `ArrayVec` and `SliceVec` to help improve the debugging experience on Windows. Natvis is a framework that can be used to specify how types should be viewed under a supported debugger, such as the Windows debugger (WinDbg) and the Visual Studio debugger. The Rust compiler...
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b05d26e..f8bcda5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -6,15 +6,21 @@ on: jobs: build_test: - runs-on: ubuntu-latest strategy: matrix: + os: [ubuntu-latest] rust: ...
1
1
1
[{"id": "G0", "claim": "The SliceVec natvis definition uses <ExpandedItem>data</ExpandedItem>, so the debugger will display the entire underlying slice rather than only data[..len].", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Lokathor__tinyvec__66
Lokathor/tinyvec
66
defect
6f2a7b62577965827dc2c03d4df1a233310c06f4
0b2b06f611891bde2ee917dbeddbecc4b347d821
implement TinyVec::from([T])
closes #65
diff --git a/src/tinyvec.rs b/src/tinyvec.rs index 1dbfa48..90c197d 100644 --- a/src/tinyvec.rs +++ b/src/tinyvec.rs @@ -709,6 +709,12 @@ impl<A: Array> From<ArrayVec<A>> for TinyVec<A> { } } +impl<A: Array> From<A> for TinyVec<A> { + fn from(array: A) -> Self { + TinyVec::Inline(ArrayVec::from(array)) + } +...
1
1
0
[{"id": "G0", "claim": "The new test's assertion is exactly the same as the implementation, so it would be better to assert something equivalent but different, for example comparing slices of the TinyVec and the array.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Lokathor__tinyvec__68
Lokathor/tinyvec
68
defect
ef900b1ce6510eb2fbaff3df5005f998af02a02d
53bc0e8094b705d7deea3adda08ba994cb9c4e33
Add the SliceVec type
SliceVec is almost exactly like ArrayVec, but instead of an owned array it's a borrowed unique slice. This will publish as a patch version update (0.3.4)
diff --git a/Cargo.toml b/Cargo.toml index 8192a8f..1201bc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,11 +15,11 @@ repository = "https://github.com/Lokathor/tinyvec" [features] default = [] -# Provide things that utilize the `alloc` crate. +# Provide things that utilize the `alloc` crate, namely `TinyVec`. a...
3
2
0
[{"id": "G0", "claim": "The SliceVec doc comment's first sentence should say the concept is similar to `ArrayVec`, not to `SliceVec` itself (typo).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The crate docs should mention that SliceVec is cheap...
null
Lokathor__tinyvec__77
Lokathor/tinyvec
77
defect
0fdcd0b4db28b1f62a91e886a914160065d31e41
0ac9f1143b89d87f7076a4cc2e2d898016bbf540
Closes https://github.com/Lokathor/tinyvec/issues/75
This fixes #75, and also the ArraySet type is now included behind a feature gate.
diff --git a/Cargo.toml b/Cargo.toml index 1201bc3..f4fbe8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tinyvec" description = "Just, really the littlest Vec you could need. So smol." -version = "0.3.4-alpha.0" +version = "0.4.0" authors = ["Lokathor <zefria@gmail.com>"] edition = "2...
1
1
0
[{"id": "G0", "claim": "Replace the manual default-and-swap dance in `ArraySet::remove` with `std::mem::take` (or `std::mem::replace`), since the crate is experimental and may bypass the min-rust version.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Lokathor__tinyvec__85
Lokathor/tinyvec
85
defect
2a97cecaf9c2dcd74e4a142ae848b2dafdc24da5
aed37ffe1be21f1a016cab08e4289233c6a532a6
Add ArrayVec::splice and TinyVec::splice
Added for closer API parity to `std::Vec` Closes #50.
diff --git a/src/arrayvec.rs b/src/arrayvec.rs index 2d8dadb..edf712f 100644 --- a/src/arrayvec.rs +++ b/src/arrayvec.rs @@ -648,6 +648,72 @@ impl<A: Array> ArrayVec<A> { new } + /// Creates a splicing iterator that removes the specified range in the + /// vector, yields the removed items, and replaces them...
2
2
0
[{"id": "G0", "claim": "The extra `FusedIterator` bound on the replacement iterator in `splice` has no counterpart in `Vec::splice`; Lokathor asks whether it is just because a non-fused iterator might overflow the vec.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1"...
null
Lokathor__tinyvec__87
Lokathor/tinyvec
87
defect
c63b6f8699257839a54b6b6599062fcfa0c9a999
b051709a6d96d590729455df9af209ba3e947e88
A bit of everything for iterators
`into_iter().map(take)` on ArrayVec is equivalent to `.drain(..)` with exception to that `drain(..)` effectively does `set_len(0)` at the end. Also, while looking at the implementation of ArrayVecIterator, I had a bad gut feeling about the current implementation, so I made additional tests. Aaaaand there were bugs in...
diff --git a/Cargo.toml b/Cargo.toml index 6af07a7..a41a2f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,6 +41,11 @@ experimental_write_impl = [] # small size without allocation. experimental_array_set = [] +# features that require rustc 1.40 +# use Vec::append if possible in TinyVec::append - 1.37 +# DoubleEnde...
2
1
1
[{"id": "G0", "claim": "Replacing append's panic-on-overflow loop with only `debug_assert!(x.is_none())` makes ArrayVec::append no longer panic on overflow when debug assertions are off.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The fuzz target...
null
Lokathor__wide__123
Lokathor/wide
123
defect
a4fcad93647ed13a380b10e7f8c985ea5402f5bb
75a3de311cc038925e3a687e7b8e59a64bf692ee
add saturating add/sub i16 and multiply and scale
- Added saturating add and subtract for i16x8 - Added multiply and scale for i16x8 (equivalent of multiplying by a 16 bit fixed point between -1 and 1) - Fixed two instances that mixed up sse and sse2 targets that caused syntax errors with target_features=-sse2
diff --git a/src/f64x2_.rs b/src/f64x2_.rs index 356e46c2..9374b8fc 100644 --- a/src/f64x2_.rs +++ b/src/f64x2_.rs @@ -438,7 +438,7 @@ impl f64x2 { #[must_use] pub fn fast_max(self, rhs: Self) -> Self { pick! { - if #[cfg(target_feature="sse")] { + if #[cfg(target_feature="sse2")] { Self {...
2
2
0
[{"id": "G0", "claim": "A target_feature branch for ssse3 should be added to i16x16::mul_scale_round so the native mul_i16_scale_round_m128i path is used instead of the sse2 emulation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The crate would n...
null
Lokathor__wide__182
Lokathor/wide
182
defect
c10ce3ae75379073bf396decb0430cd226e877cf
d70128c9c5f8f541ca86504c30f8af180cab2ca6
Added widening multiply for u16x8, u32x4, u32x8, i32x4 and i32x8
Add implementations for all the intrinsics @Melirius might be interested Also ran cargo fmt +nightly, so some comments got wrapped
diff --git a/src/i32x4_.rs b/src/i32x4_.rs index 0a6c238e..64b83c57 100644 --- a/src/i32x4_.rs +++ b/src/i32x4_.rs @@ -490,6 +490,45 @@ impl i32x4 { } } } + + #[inline] + #[must_use] + pub fn mul_widen(self, rhs: Self) -> i64x4 { + // todo: WASM simd128, but not sure it would really be faster + ...
1
1
0
[{"id": "G0", "claim": "Add a doc comment to i32x4::mul_widen explaining what it does, like the other mul_widen methods have.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Lokathor__wide__45
Lokathor/wide
45
defect
893be22607199750d429ccd499464e7ba924a2c8
353e830442e538ed96304962d0c38782e758ddd1
Ln/log10/log2 added to f32x4 and f64x2
Added natural log (ln(e)) log10 log2 for f32x4 and f64x2 Added polynomial5n and 8 to lib.rs
diff --git a/src/f32x4_.rs b/src/f32x4_.rs index a15f1ac4..380be7ab 100644 --- a/src/f32x4_.rs +++ b/src/f32x4_.rs @@ -622,4 +622,74 @@ impl f32x4 { let in_range = in_range & self.is_finite(); in_range.blend(z, Self::ZERO) } + + #[inline] + #[allow(non_upper_case_globals)] + fn exponent(self) -> f32x4 {...
2
2
0
[{"id": "G0", "claim": "The exponent helper should preserve the numeric value when converting from i32 to f32, using the round_float method on i32x4.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ln tests should compare against the stdlib versi...
null
Lokathor__wide__86
Lokathor/wide
86
defect
cb91288ded8f2c2101cd23f2a64bede67240f4e3
316e2001b78404dd07e36dd947f50c909b9f62fa
i16x16
Doesn't fix #59 but does add i16x16. (For the test data I've used 32x8's test data twice.)
diff --git a/src/i16x16_.rs b/src/i16x16_.rs new file mode 100644 index 00000000..6c73845f --- /dev/null +++ b/src/i16x16_.rs @@ -0,0 +1,504 @@ +use super::*; + +pick! { + if #[cfg(target_feature="avx2")] { + #[derive(Default, Clone, Copy, PartialEq, Eq)] + #[repr(C, align(32))] + pub struct i16x16 { avx2: m2...
3
2
2
[{"id": "G0", "claim": "The avx2 path of i16x16's cmp_lt uses !cmp_gt, which is not the same as cmp_lt because equal lanes give 0, and the author suspects this is a bug (matching a pattern copied from i32x8).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "cl...
null
LostArtefacts__TRX__2485
LostArtefacts/TRX
2,485
defect
922e808afd1eefa6b5b5297cc4b03e99f2bb6d92
6826759a637d72ecf8402bb2e3871eb8586859ac
build: upgrade ffmpeg to 7.1
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/.github/actions/prepare_macos_tooling/action.yml b/.github/actions/prepare_macos_tooling/action.yml index 490bb08d79..9339fb6f23 100644 --- a/.github/actions/prepare_macos_tooling/action.yml +++ b/.github/actions/prepare_macos_tooling/action.yml @@ -78,7 +78,7 @@ runs: # Install to separate stagin...
2
2
2
[{"id": "G0", "claim": "After the FFmpeg 7.1 upgrade the FMVs play with no sound, and TR1 seems to crash on image loading.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TR2 Windows docker file still needs the extra FFmpeg configure args (--cxx/...
null
LostArtefacts__TRX__2595
LostArtefacts/TRX
2,595
defect
9caa484cfee8a2ea21f1322f5ae084ec50ecf184
2914889b7104311923b27b4881f373280e209496
TR1: add quadrilateral interpolation
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/tr1/ship/cfg/TR1X_strings.json5 b/data/tr1/ship/cfg/TR1X_strings.json5 index 4ba91216e4..36b02347b0 100644 --- a/data/tr1/ship/cfg/TR1X_strings.json5 +++ b/data/tr1/ship/cfg/TR1X_strings.json5 @@ -356,7 +356,6 @@ "DETAIL_FBO_FILTER": "FBO filter", "DETAIL_FLOAT_FMT": "%.1f", ...
8
7
6
[{"id": "G0", "claim": "The TR2 perspective-correction OSD strings are labelled differently from TR1's ('Perspective correction' vs 'Perspective filter'), and the reviewer noticed no difference between it being on and off.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
LostArtefacts__TRX__2714
LostArtefacts/TRX
2,714
defect
2fb3824b3b94f2269a44b25b280d7198fad9086f
38abbcd4678fe02929c301ad3cdbff5b0a06ba94
tr1/output: make water color player-customizable
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/tr1/ship/cfg/TR1X_gameflow.json5 b/data/tr1/ship/cfg/TR1X_gameflow.json5 index f1a6f8f87e..e86372fc4e 100644 --- a/data/tr1/ship/cfg/TR1X_gameflow.json5 +++ b/data/tr1/ship/cfg/TR1X_gameflow.json5 @@ -8,9 +8,6 @@ "savegame_fmt_legacy": "saveati.%d", "savegame_fmt_bson": "save_tr1_%02d.dat", ...
2
2
0
[{"id": "G0", "claim": "It could be useful to allow discrete adjustments to the water color option, e.g. adjusting by 1 instead of 10 when the walk key is held.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The water color RGB values could be added to t...
null
LostArtefacts__TRX__3066
LostArtefacts/TRX
3,066
defect
c90a1749d67fcb899dbffb8dbe1ae8f330168e51
320502f9cdbd075a8c19b13bd8e73c04036a5f8f
objects: do not rely on the internal object IDs
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/tr1/ship/cfg/TR1X_strings.json5 b/data/tr1/ship/cfg/TR1X_strings.json5 index b5e88b6af5..0934ef8356 100644 --- a/data/tr1/ship/cfg/TR1X_strings.json5 +++ b/data/tr1/ship/cfg/TR1X_strings.json5 @@ -335,7 +335,6 @@ "temp_7": {"name": "Temp 7"}, "temp_8": {"name": ...
8
8
7
[{"id": "G0", "claim": "TR2 crashes before reaching the main menu, though the legal screen and FMVs play beforehand (TR1 unaffected).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "unclear"}, {"id": "G1", "claim": "In TR1, when 3D pickups are disabled, the pickups appear to only have t...
null
LostArtefacts__TRX__3386
LostArtefacts/TRX
3,386
defect
46f23c82eb4f64eeea815f0617043b7204217667
60aad927f6e08808c2519d7ba9f411b202738bf3
output: remove dynamic light limit
Resolves #3384. #### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new ...
diff --git a/docs/tr2/CHANGELOG.md b/docs/tr2/CHANGELOG.md index 6832bf2cc0..5b968a6b3b 100644 --- a/docs/tr2/CHANGELOG.md +++ b/docs/tr2/CHANGELOG.md @@ -21,8 +21,6 @@ - changed the dev console to accept compound characters (#2938) - changed the item duplication glitch fix to be on by default - changed the Bartoli'...
2
2
1
[{"id": "G0", "claim": "Add double free protection to Output_ShutdownLight and create m_DynamicLights in Output_InitLight only if it is null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a TODO noting that Output_InitLight should be consolidat...
null
LostArtefacts__TRX__3494
LostArtefacts/TRX
3,494
defect
07767526a4f80b8c62f232a07bcb12d08cc416bd
6efc9aed7a2b5e86bbb6d00af36c36d7a9ff8f5c
Don't stretch backgrounds in TR2 beyond small margin
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/common/ship/cfg/TRX_common_strings-fr.json5 b/data/common/ship/cfg/TRX_common_strings-fr.json5 index b9bf72ff39..6139f1e3e1 100644 --- a/data/common/ship/cfg/TRX_common_strings-fr.json5 +++ b/data/common/ship/cfg/TRX_common_strings-fr.json5 @@ -240,6 +240,7 @@ "GRAPHIC_SETTINGS_ANISOTROPY_FIL...
2
1
1
[{"id": "G0", "claim": "The new `item->object_id != O_LARA` conditions in the kill command look like a leftover testing change that belongs in #3493 as an extra guard, not in this PR.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider not stret...
null
LostArtefacts__TRX__3930
LostArtefacts/TRX
3,930
defect
3d3abeb42efd902180534b4ddf08ae0c9a51f029
337f1f1473d6b4fffb8110feea454ac1af80a0c5
background: add wave effect to TR2 inventory
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/common/ship/cfg/base_strings-de.json5 b/data/common/ship/cfg/base_strings-de.json5 index 4283d59368..bfcfc75625 100644 --- a/data/common/ship/cfg/base_strings-de.json5 +++ b/data/common/ship/cfg/base_strings-de.json5 @@ -106,6 +106,8 @@ "ENUM_BILLBOARD_LOCK_PERSPECTIVE": "\\{review}Perspektiv...
6
6
1
[{"id": "G0", "claim": "The inventory background style description should be reworded to \"Changes the way the background for the inventory ring is displayed.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stats background style description ...
null
LostArtefacts__TRX__4291
LostArtefacts/TRX
4,291
defect
fcccbc876c1ae671b985e8b44815960c2ee7aece
cd0ecd3d01ed21351dff03ed5953b1b329d49fcf
tr3: add initial swamp support
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/src/trx/game/camera/common.c b/src/trx/game/camera/common.c index 4f78373a93..e42c9e5626 100644 --- a/src/trx/game/camera/common.c +++ b/src/trx/game/camera/common.c @@ -209,6 +209,11 @@ static void M_SmartShift(GAME_VECTOR *const target, void (*shift)(M_SHIFT_ARGS)) room = Room_Get(target->room_num...
5
4
4
[{"id": "G0", "claim": "The rewritten show condition seems to cause the air bar to no longer appear when Lara is floating.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The swamp kill should call Item_Kill(item_num) rather than Item_Kill(item).", "...
null
LostArtefacts__TRX__4482
LostArtefacts/TRX
4,482
defect
053b2114c85576c22b3ed476598a8f42e912dc8e
15dec054ced2c047d13bd2d88a055f5c1ddea155
gun/rifle: separate M16 and MP5
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/common/ship/cfg/base_strings-de.json5 b/data/common/ship/cfg/base_strings-de.json5 index 85af6a1eaf..7d08cb2305 100644 --- a/data/common/ship/cfg/base_strings-de.json5 +++ b/data/common/ship/cfg/base_strings-de.json5 @@ -135,6 +135,7 @@ "ENUM_INPUT_ROLE_EQUIP_HARPOON": "Harpune ausrüsen", ...
1
1
1
[{"id": "G0", "claim": "The MP5 draw_frame and undraw_frame values in data/tr3/ship/cfg/weapons.json5 (13 and 17) are wrong; the reviewer's frame-by-frame comparison with OG gives 16 and 21 respectively.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LostArtefacts__TRX__4536
LostArtefacts/TRX
4,536
defect
92fcccf52bb4ce98fbcfaa0ed30dd3e31fa8393c
1769a054391b4a42057ea4c7255c401cb749cd30
Implement TR3 crawlspaces
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/common/ship/cfg/base_strings-de.json5 b/data/common/ship/cfg/base_strings-de.json5 index b93aa1b193..ea063586f3 100644 --- a/data/common/ship/cfg/base_strings-de.json5 +++ b/data/common/ship/cfg/base_strings-de.json5 @@ -130,6 +130,7 @@ "ENUM_INPUT_ROLE_CAMERA_RIGHT": "Kamera Rechts", ...
4
4
4
[{"id": "G0", "claim": "Lara does a 180 flip during a crawl back and hang when she is facing 90° or -90°.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Lara's transition into the crawl anim could be more responsive, matching OG, when the player hol...
null
LostArtefacts__TRX__4547
LostArtefacts/TRX
4,547
defect
db916c1cf983e1db86d5b02fc75f4b3dee218b53
6e97a40f1aa0520a8707bfd6da0d192ce628de8a
Add TR3 schools of fish
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/common/ship/cfg/base_strings-de.json5 b/data/common/ship/cfg/base_strings-de.json5 index 3d9831bef0..5fcf31f563 100644 --- a/data/common/ship/cfg/base_strings-de.json5 +++ b/data/common/ship/cfg/base_strings-de.json5 @@ -1796,6 +1796,12 @@ }, "flame_emitter_side": { "nam...
3
3
3
[{"id": "G0", "claim": "The new g_ShoalObjects array in src/trx/game/objects/vars.c is missing the trailing NO_OBJECT terminator that guards Object_IsType.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fish do not always orient in the direction...
null
LostArtefacts__TRX__4568
LostArtefacts/TRX
4,568
defect
82a595f925981643e47077f408da6cb85ecef7e5
b4e842d26155011afe0298bce1a17fcde1134d2f
level: remove statics limit
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 3f0f28ff58..7664004b17 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -21,6 +21,7 @@ - added Animating Item 1-6 control - added the option to use TR3 sprite-based shadows (Visuals → Shadows shape) - improved a fade-in and fade-out effect on loading ...
2
2
0
[{"id": "G0", "claim": "The IDT_ROOM_EDITS case item added to M_InitialiseBlock should be eliminated: it only skips data the function already skips by default via the overall data_size, and nothing in the room meta there affects new IDs since new statics are captured by IDT_STATIC_OBJECTS and the instance numbers are h...
null
LostArtefacts__TRX__4716
LostArtefacts/TRX
4,716
defect
41d27a710d15717da5dae19827a85b3a70faec29
754a9620a9ec807759edfb0612bf54cbacc80c74
objects/dart_emitter: integrate TR3 darts
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/master/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG bug f...
diff --git a/data/common/ship/cfg/base_strings-de.json5 b/data/common/ship/cfg/base_strings-de.json5 index b75a3eebb9..ca54975946 100644 --- a/data/common/ship/cfg/base_strings-de.json5 +++ b/data/common/ship/cfg/base_strings-de.json5 @@ -1864,6 +1864,12 @@ }, "snake": { "name": "\\{revie...
4
4
2
[{"id": "G0", "claim": "The pull request does not handle drawing and interpolation for the new darts; rr- supplies a patch adding O_DISC/O_POISON_DART interpolation cases and staging a poison-dart line segment via a new PolyFX function.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
LostArtefacts__TRX__4924
LostArtefacts/TRX
4,924
defect
a7f53b8f3662645b29ce2068abc7974fb44ec709
56530a9f04d97ca6ef35b922b851c4fc91cb9068
Crash hardening
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/develop/docs/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG...
diff --git a/src/meson.build b/src/meson.build index 204d4063de..7eca420e01 100644 --- a/src/meson.build +++ b/src/meson.build @@ -50,6 +50,7 @@ trx_lua_embed = custom_target( ], ) +prefix_map = fs.relative_to(meson.current_source_dir() / 'trx', meson.global_build_root()) common_build_opts = [ '-Wshadow', ...
1
1
1
[{"id": "G0", "claim": "The new `data_length <= 0` early return also skips zero-length floor data inserts, but empty data is legitimately used (e.g. removing triggers like TR2 secrets), so `Room_PopulateSectorData` still needs to be called for zero-length data to reset the sector.", "category": "correctness", "verdict"...
null
LostArtefacts__TRX__4982
LostArtefacts/TRX
4,982
defect
1bf1df0e7613c6e78e9fd958b1e6927e425bddda
87144210db364c1b727002fcc0a56399b960b1f0
camera: restore TR3 glide cameras
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/develop/docs/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG...
diff --git a/data/common/ship/cfg/base_strings-de.json5 b/data/common/ship/cfg/base_strings-de.json5 index 73c137f567..2f18e87053 100644 --- a/data/common/ship/cfg/base_strings-de.json5 +++ b/data/common/ship/cfg/base_strings-de.json5 @@ -509,6 +509,8 @@ "SETTING_ENABLE_FOOTPRINTS_DESCRIPTION": "\\{review}Ermö...
2
2
1
[{"id": "G0", "claim": "Set the Italian GLOBE_SELECT_AREA_4 string to a space instead of the \\{review} placeholder the pull request added.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In CITY.TR2 room 44, the invisible platform appears to obstruc...
null
LostArtefacts__TRX__4992
LostArtefacts/TRX
4,992
defect
b080fe5049b1e9fea643768d033029074576ec7a
983fc0781cf59dbcdaf09f2f4403e9121929ebd8
misc: promote height types to int32_t
#### Checklist - [x] I have read the [coding conventions](https://github.com/LostArtefacts/TRX/blob/develop/docs/CONTRIBUTING.md#coding-conventions) - [x] I have added a changelog entry about what my pull request accomplishes, or it is an internal change - [x] I have added a readme entry about my new feature or OG...
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 1709b8300d..7f96dea68d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -50,6 +50,7 @@ - added support for monkey bars - changed Lara to be able to grab ealier when performing forward jumps, like TR3 - fixed a very rare case of raptors using an incorr...
1
1
0
[{"id": "G0", "claim": "The changelog entry should read \"The Great Pyramid's starting pit\" instead of the added \"the The Great Pyramid's starting pit\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
LottieFiles__dotlottie-web__526
LottieFiles/dotlottie-web
526
defect
ce0d9a27f3c48c7a174bf2fdd10e1e88bf939897
c61b883e17f4e0c82fe56be07c21ef27915acc51
feat: added renderError fire event when a render issue occurs
## Description Fires a loadError event when loading succeeds but rendering doesn't inside draw(). ## Type of change <!-- Remember to indicate the affected package(s), as well as the type of change for each package. --> - [x] dotlottie-web Patch: Bug (non-breaking change which fixes an issue) ## Checkli...
diff --git a/.changeset/fifty-drinks-melt.md b/.changeset/fifty-drinks-melt.md new file mode 100644 index 000000000..a2edb84e0 --- /dev/null +++ b/.changeset/fifty-drinks-melt.md @@ -0,0 +1,5 @@ +--- +'@lottiefiles/dotlottie-web': patch +--- + +added a loadError fire when a render error occurs. diff --git a/packages/we...
2
2
0
[{"id": "G0", "claim": "Verify that _dispatchError dispatches the intended 'loadError' event, matching the PR title and description; if it only serves a generic role, rename it or make its configuration clearly reflect the loadError event.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "intr...
null
LottieFiles__dotlottie-web__553
LottieFiles/dotlottie-web
553
defect
b78ac03ff076199c4e21fde2edfec1a6fc149c93
022a9ddfb7527381ec3b8b54592da393bdf215c7
fix: validate exact buffer size equality in canvas rendering
## Description fix #465 <!-- Please include a summary of what you want to achieve in this pull request. If this fixes an existing issue, please include the issue number. --> ## Type of change <!-- Remember to indicate the affected package(s), as well as the type of change for each package. --> -...
diff --git a/.changeset/loud-trains-share.md b/.changeset/loud-trains-share.md new file mode 100644 index 000000000..ad6b2efba --- /dev/null +++ b/.changeset/loud-trains-share.md @@ -0,0 +1,5 @@ +--- +'@lottiefiles/dotlottie-web': patch +--- + +fix: validate exact buffer size equality in canvas rendering diff --git a/p...
3
2
1
[{"id": "G0", "claim": "Returning `false` on buffer size mismatch may conflict with the method's existing void return type and could lead to unexpected caller behavior; it asks for a plain `return;` early exit or a signature that consistently returns boolean.", "category": "correctness", "verdict": "uncertain", "priori...
null
LottieFiles__dotlottie-web__704
LottieFiles/dotlottie-web
704
defect
3dfc295f1ac8b9041c0171a0627ab0e00f01311f
2fabcf7d356d7d8b592f842a5b5b8128c999f9e9
ci: overhaul GitHub Actions workflows
## Summary - **Split monolithic `main.yml`** into three focused workflows: `ci.yml` (PR validation), `release.yml` (multi-registry publish), `deploy-viewer.yml` (GitHub Pages) - **Fixed GPR release** — no longer re-runs `changesets/action` (which caused double versioning); uses direct `changeset publish` gated on npm-...
diff --git a/.changeset/config.json b/.changeset/config.json index 1ba7de2f..33ac3c82 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -3,7 +3,7 @@ "changelog": "@changesets/cli/changelog", "commit": false, "linked": [], - "access": "restricted", + "access": "public", "baseBranch": "mai...
6
3
2
[{"id": "G0", "claim": "The CI workflow does not limit the GITHUB_TOKEN with an explicit permissions block; set one (e.g. contents: read).", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The release workflow does not limit the GITHUB_TOKEN with an expli...
null
LoupVaillant__Monocypher__159
LoupVaillant/Monocypher
159
defect
bcf7e764dac3a04c44a284ece6caef06740ef804
43da77ed82ac1ccda6ea6e79881dcdbc62ec7a9d
Document & test overlapping of key_exchange.
As discussed with Loup via e-mail, document and create a test for overlapping the shared_key & your_secret_key buffers for crypto_key_exchange(). Useful as in my application, there's no reason to keep around the secret key after obtaining a shared key, avoiding locking and wiping an extra buffer.
diff --git a/doc/man/man3/crypto_key_exchange.3monocypher b/doc/man/man3/crypto_key_exchange.3monocypher index 9bfd3fd2..c626b833 100644 --- a/doc/man/man3/crypto_key_exchange.3monocypher +++ b/doc/man/man3/crypto_key_exchange.3monocypher @@ -101,6 +101,11 @@ Your public key, generated from with .Fn crypto_key_exchan...
3
3
1
[{"id": "G0", "claim": "The new overlap test would ideally use a bigger buffer and loop over every possible offset so that partial overlaps are exercised (about 62 cases), rather than only testing exact overlap.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
LucasLeandro1204__Pornsearch__47
LucasLeandro1204/Pornsearch
47
defect
b428105278e0dab34bc260e34a7421c7238373f2
9b753b8017eaa9ab4162aea9e3e647109fbeeb82
Address PR review comments and enhance error handling + API ergonomics
Addresses all 7 linting issues from PR review comments and improves library internals with better error messages, query validation, and developer-friendly API additions. ## Linting Fixes - Renamed unused `index` parameters to `_index` in all module parsers (Pornhub, Sex, Motherless, Xvideos, Youporn) to satisfy `@typ...
diff --git a/README.md b/README.md index 2d438e0..79fdfea 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,30 @@ But you always can change the current driver: Pornsearch.driver(driver); ``` -**An error will be thrown if Pornsearch don't support the driver you passed in** +**An error will be thrown if Pornsearc...
3
3
3
[{"id": "G0", "claim": "In gifs()/videos(), query validation runs before checking whether the current module supports that content type, so calling them on an unsupported module with an empty query raises the misleading 'Search query is required' error instead of the 'not supported' error; support should be checked fir...
null
LucasLeandro1204__Pornsearch__48
LucasLeandro1204/Pornsearch
48
defect
9b753b8017eaa9ab4162aea9e3e647109fbeeb82
93ef8b78e4b4cac621f4c795977fb3786c3b2d38
Address review comments and modernize to async/await
Addresses three review comments from PR #47 and modernizes Promise-based code to async/await. ## Error Validation Order Module support now checked before query validation in `gifs()` and `videos()`. Previously, calling `gifs()` on a module without GIF support while query was empty returned misleading "query required" ...
diff --git a/README.md b/README.md index 79fdfea..fbcf2c9 100644 --- a/README.md +++ b/README.md @@ -191,3 +191,26 @@ To know what the current driver will return in gif search check the [gifs struct __PORNHUB gifs in general are extremely heavy, so be a nice person and share webm__ (sex.com gifs are nice) If there'...
5
5
2
[{"id": "G0", "claim": "In gifs()/videos() the support check should use `typeof ... !== 'function'` (like supportsGifs()/supportsVideos()) instead of a truthy check on gifUrl/videoUrl, to avoid treating a non-function property as supported and failing at call time.", "category": "correctness", "verdict": "supported", "...
null
LucasLeandro1204__Pornsearch__49
LucasLeandro1204/Pornsearch
49
defect
93ef8b78e4b4cac621f4c795977fb3786c3b2d38
c9066e65dbdd8f9c43b52868d253d2857b47960f
Address PR #48 review comments: align type checks, improve error handling
- [x] Align support checks to use `typeof === 'function'` instead of truthy checks in `gifs()` and `videos()` methods - [x] Improve error handling to use `axios.isAxiosError()` for distinguishing network errors from parsing errors - [x] Keep `console.warn()` for network errors to aid debugging - [x] Add unit test for e...
diff --git a/README.md b/README.md index fbcf2c9..c8c8132 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,9 @@ const searcher = new Pornsearch('test', 'redtube'); searcher.gifs(); // Error: GIF search is not supported for Redtube. Supported modules with GIF search: sex, pornhub ``` -**Network/Parsing Errors**...
2
2
0
[{"id": "G0", "claim": "The new test 'should check module support before query validation - videos' doesn't assert the intended behavior (support-check precedence) and will always pass since expect(searcher.videos).toBeDefined() can't fail; it should be removed or made meaningful by exercising an actually unsupported-v...
null
LucasLeandro1204__Pornsearch__51
LucasLeandro1204/Pornsearch
51
defect
0b7e3cf4466a75d8fff30c1e804c5e217e1ccf48
f36939cf395a6ac86423ae19efc243962736eeaa
Fix falsy page/query bugs, consolidate types, improve mixin typing
Deep analysis of the module: bug fixes, typing improvements, and abstraction refinements. No breaking changes to the public API. ### Bug fixes - **`page=0` silently ignored**: All URL generators used `page || this.firstpage`, which coerces `0` to the default. Real impact on Xvideos (`firstpage=0`). Fixed with `??` ac...
diff --git a/__tests__/AbstractModule.test.ts b/__tests__/AbstractModule.test.ts index 6290320..756b9f3 100644 --- a/__tests__/AbstractModule.test.ts +++ b/__tests__/AbstractModule.test.ts @@ -13,7 +13,7 @@ class TestModule extends AbstractModule.with(VideoMixin, GifMixin) { } videoUrl(page?: number): string { ...
3
3
2
[{"id": "G0", "claim": "The catch block in src/Pornsearch.ts always throws a new generic Error, dropping the original error's stack/message; rethrow when it is already an Error or wrap it while preserving details (e.g. append the original message) so consumers can debug failures.", "category": "correctness", "verdict":...
null
Luce-Org__lucebox-hub__108
Luce-Org/lucebox-hub
108
defect
22017bebcfe5e03eace2de63feca5670d4344a2d
3ba021f0b17edf186ba86db99178eccb296c6ff8
perf: Replace Q8_0 format for KV with Q4_0 + Rotation, fix window_filled for long context
Three prefill optimizations that eliminate the Turing-specific ubatch scaling workaround and make long-context prefill dramatically faster: 1. FA windowed prefill: use g_fa_window (default 2048) during prefill, capping attention cost at O(ubatch × window) instead of O(ubatch × kv_len). Compute time stays flat at ~1....
diff --git a/dflash/src/internal.h b/dflash/src/internal.h index 5f1306942..715df3a3b 100644 --- a/dflash/src/internal.h +++ b/dflash/src/internal.h @@ -217,6 +217,12 @@ struct TargetCache { ggml_type kv_k_type = GGML_TYPE_Q8_0; ggml_type kv_v_type = GGML_TYPE_Q8_0; + // When true, K is FWHT-rotated in t...
1
1
1
[{"id": "G0", "claim": "Do not force graph-side K rotation for TQ3_0; that type already applies the WHT during quantization, so this double-rotates the K cache.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Luce-Org__lucebox-hub__109
Luce-Org/lucebox-hub
109
defect
7d6f081899cd887135d45242d3ec8a5a7fa41800
ea177b624ec96fd3a50ea956ed3c0f4bc27683ef
feat(dflash): optional sampling (temperature/top_p/top_k/seed)
## Summary Wires `temperature`, `top_p`, `top_k`, `seed`, and OpenAI-style `frequency_penalty` through the OpenAI server → daemon → verify path. Greedy stays the default (`temperature=0` is bit-exact unchanged). Closes the README's "Greedy only — accepted but ignored" caveat. ## Architecture - **DDTree verify skele...
diff --git a/dflash/README.md b/dflash/README.md index 8d128cd8f..f5fb1c12f 100644 --- a/dflash/README.md +++ b/dflash/README.md @@ -237,7 +237,7 @@ Research proof-of-concept, not production. - **Batch size 1**, single-user local inference target (Ollama / LM Studio use case) - **One model pair**: Qwen3.5-27B Q4_K_...
2
2
1
[{"id": "G0", "claim": "Sampling suffix is not added in the `compression_fired` path of `_build_cmd_line`, so compressed prompts ignore requested sampling settings.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`frequency_penalty` is used when buil...
null
Luce-Org__lucebox-hub__148
Luce-Org/lucebox-hub
148
defect
02750ff8bb8974c27383d73e4fec7fd9b99d52ea
decdffa7d7be3a6d808ade96e9efe4c0004d702f
feat(dflash): P2P opt-in, host-staged GPU copy, sharded target daemon
**feature/dual-gpu-dflash-safe-p2p-port** **Summary** Improves cross-GPU DFlash and multi-GPU layer splitting: CUDA peer memcpy is opt-in via `--peer-access` with pinned host-staged fallback when disabled or unavailable. Adds sharded `test_dflash` daemon for `--target-gpus`. Updates `server.py`/`bench_he.py` with...
diff --git a/.gitattributes b/.gitattributes index a04a82aee..592097d13 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,6 @@ *.gif filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text +assets/banner.png -filter -diff -merge -text *.jpg filter=lfs diff=lfs merge=lfs -text *.jpeg ...
6
2
2
[{"id": "G0", "claim": "The staged cross-device copy enqueues the D2H leg on src_dev and then the H2D leg on dst_dev with no ordering between them (and reuses one stream handle across devices), so the H2D read of the pinned buffer can race ahead of the D2H write and the call can return corrupted or partially-copied dat...
null
Luce-Org__lucebox-hub__170
Luce-Org/lucebox-hub
170
defect
f021300b8d955128784d9b6e66dba4ddf97ed7d1
aff31ca8c38bed388bb5b7bab5a857676ac0c32b
feat(dflash): add sparse flash-attention adapter
## Purpose Expose the sparse flash-attention operation from the updated llama.cpp submodule (bumped in #169) through a thin parent-repo adapter and one generic test. The adapter (`pflash_ggml_adapter.cpp`) registers a pflash kernel with ggml-cuda's sparse FA dispatch hook; the header exposes a single registration func...
diff --git a/dflash/CMakeLists.txt b/dflash/CMakeLists.txt index 0e951857f..50337e860 100644 --- a/dflash/CMakeLists.txt +++ b/dflash/CMakeLists.txt @@ -240,7 +240,8 @@ if(DFLASH27B_GPU_BACKEND STREQUAL "cuda") string(REGEX REPLACE "[^0-9]" "" _dflash27b_cuda_min_sm "${_dflash27b_cuda_min_sm}") target_compile...
1
1
0
[{"id": "G0", "claim": "The dense-vs-sparse correctness check uses an overly large absolute tolerance (max_diff < 1.0f), so substantial mismatches can still pass this exact-match test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Luce-Org__lucebox-hub__78
Luce-Org/lucebox-hub
78
defect
584f2225eb588553c572610969d3a517b72aa851
a158ca0ce5c94b8c24b05b78f9304a171f1d9435
bench(pflash): add dual-GPU PFlash phase-split harness
# bench(pflash): add dual-GPU PFlash phase-split harness ## Summary Adds an opt-in harness for running the PFlash prefill phase as a persistent CUDA process, optionally on a separate GPU from later target prefill/generation work. The harness is intentionally narrow: - `pflash_daemon` keeps the Qwen3-0.6B PFlash dra...
diff --git a/dflash/CMakeLists.txt b/dflash/CMakeLists.txt index 4383a8e8a..4b2720196 100644 --- a/dflash/CMakeLists.txt +++ b/dflash/CMakeLists.txt @@ -215,6 +215,11 @@ if(DFLASH27B_TESTS) target_include_directories(test_generate PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) target_link_libraries(test_gen...
2
2
0
[{"id": "G0", "claim": "The `pflash_daemon` target is incorrectly gated by the numerics-test option, so disabling tests also removes the documented benchmark/runtime target.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Daemon command serialization...
null
Luce-Org__lucebox-hub__80
Luce-Org/lucebox-hub
80
defect
c5a699687e9b1edb357678f878305a1b4e67401d
30ac2e5c822cb8d54ad5633ec1a53866e627bad6
bench(dflash): add dual-GPU target/draft split harness
## Summary This PR adds an opt-in dual-GPU target/draft split harness for DFlash speculative decoding experiments. The target model/cache can stay on one CUDA GPU while the DFlash draft graph runs on another CUDA GPU. The default same-device path remains unchanged. ## Why Useful Today the DFlash test path effective...
diff --git a/dflash/scripts/bench_he.py b/dflash/scripts/bench_he.py index cda4b4c61..1aece500d 100644 --- a/dflash/scripts/bench_he.py +++ b/dflash/scripts/bench_he.py @@ -228,7 +228,9 @@ def tokenize_prompt(prompt: str, out_path: Path, tokenizer) -> int: def run_test_dflash(prompt_path: Path, n_gen: int, fast_rollba...
1
1
1
[{"id": "G0", "claim": "The cached lm-head projection graph is not invalidated when target weights are reloaded, so split-GPU decode can use stale/freed `w.output` tensors.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LukaJCB__ts-mls__81
LukaJCB/ts-mls
81
defect
cd10ac7fdec60b2a5b966a66381f183d333d48a4
eb470aff5af6c01c384d8a02acf36e5240c8e386
refactor: new createCommit function interface
Connects to #76 1. Refactored `createCommit` to have context + options arguments format. 2. Fixed some lintiing issues along the way
diff --git a/README.md b/README.md index 4bf63b6f..ae8d018b 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ const addBobProposal: Proposal = { } // alice commits -const commitResult = await createCommit(aliceGroup, emptyPskIndex, false, [addBobProposal], impl) +const commitResult = await createCommit({ s...
2
2
0
[{"id": "G0", "claim": "The default pskIndex in createCommit should be makePskIndex(state, {}) instead of emptyPskIndex so that resumption PSKs can be used.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since the !! further down makes the private wirefo...
null
LukeMathWalker__cargo-chef__120
LukeMathWalker/cargo-chef
120
defect
e61ac694e70652b3016ae5fb99fbf904dca7f9ed
6b192abeec68e7f1c09dfab161f43172e4d5632b
Ptw/issue 74 Do not skelefy vendored directory
This is a quick stab at addressing https://github.com/LukeMathWalker/cargo-chef/issues/74. There are two design questions: 1. whether we filter these vendored `Cargo.toml` files from our list of manifests, or include them in the skeleton and then filter them out when we are `cooking`, and 2. How much do we want t...
diff --git a/src/skeleton/mod.rs b/src/skeleton/mod.rs index 625b3c5..d98f275 100644 --- a/src/skeleton/mod.rs +++ b/src/skeleton/mod.rs @@ -31,9 +31,9 @@ impl Skeleton { /// Find all Cargo.toml files in `base_path` by traversing sub-directories recursively. pub fn derive<P: AsRef<Path>>(base_path: P) -> Resu...
2
1
0
[{"id": "G0", "claim": "Since the `vendored-sources` source name is constant across `cargo vendor` runs, the code could hard-code it instead of resolving the vendored directory through the `crates-io.replace-with` chain — simpler to understand, though maybe less robust to future tooling changes.", "category": "design",...
null
LukeMathWalker__cargo-chef__126
LukeMathWalker/cargo-chef
126
defect
2d42588ee3695c112e7c2c9e7323740a12b9611b
aa86b6452e47e4990324beab77450a53fbb0714a
Add optional member flag to `prepare`
If specified, and if the top-level cargo.toml has a members list, replace the list with only the specified member. This is an attempt to address https://github.com/LukeMathWalker/cargo-chef/issues/125. If you have feedback on naming or code structure (I feel a little weird placing this function in `mod.rs`), p...
diff --git a/src/main.rs b/src/main.rs index cbff56f..0cb2a06 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,6 +52,13 @@ pub struct Prepare { /// It defaults to "recipe.json". #[clap(long, default_value = "recipe.json")] recipe_path: PathBuf, + + /// Optional: the member in the workspace we wish to...
1
1
1
[{"id": "G0", "claim": "Skeleton::derive should not modify the filesystem (rewriting the top-level Cargo.toml via replace_members_with_specific); the workspace members should be rewritten in memory so derive stays side-effect free.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
LukeMathWalker__cargo-chef__214
LukeMathWalker/cargo-chef
214
defect
f0afda0ce176dc246d85bb553a45221d5129451c
446fa2526cd5af9267c4dd760519346bbbc65d3f
Use `cargo metadata` to resolve targets
This should help generate the correct entrypoint file paths, instead of guessing them. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
diff --git a/src/skeleton/mod.rs b/src/skeleton/mod.rs index 56affb1..4fd07ff 100644 --- a/src/skeleton/mod.rs +++ b/src/skeleton/mod.rs @@ -1,8 +1,11 @@ mod read; +mod target; mod version_masking; +use crate::skeleton::target::{Target, TargetKind}; use crate::OptimisationProfile; use anyhow::Context; +use cargo_...
6
6
1
[{"id": "G0", "claim": "Use a BTreeSet directly for the collected packages instead of manual sort_by/dedup, introducing a small struct that derives the needed traits (ordering only needs to be deterministic, not specifically by path).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
LukeMathWalker__cargo-chef__255
LukeMathWalker/cargo-chef
255
defect
06cda87fe6fd51499bbaeb0f561e95fa81dc81a2
f8b62cac0961c78b642ed4cfac7c887657f9dec0
use the manifest path instead of just the member name when using `prepare --bin`
*Issue #, if available:* Closes: #232 *Description of changes:* The current code assumes that when running `prepare` with `--bin`, that we can remove all members and just add one member that is equal to whatever we passed in `--bin`. The problem with that is that if your packages aren't in the exact same r...
diff --git a/src/skeleton/mod.rs b/src/skeleton/mod.rs index 01390d3..9e88277 100644 --- a/src/skeleton/mod.rs +++ b/src/skeleton/mod.rs @@ -6,6 +6,7 @@ use crate::skeleton::target::{Target, TargetKind}; use crate::OptimisationProfile; use anyhow::Context; use cargo_manifest::Product; +use cargo_metadata::Metadata; ...
1
1
1
[{"id": "G0", "claim": "Use pathdiff::diff_paths (already in the dependency tree) to compute the member path instead of strip_prefix.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
LukeMathWalker__pavex__563
LukeMathWalker/pavex
563
defect
0fd3cbe17938d49296f3c8c0d0d90bbe75a0c024
3f7f2b96f37a1628976238d1cdc0438419ab8871
feat: error handle generation on validation fail
implements follow-up #538 1.entrypoint expect() would cause panic, handled err better 2.PxStripper for Impl and Trait aswell 3.add ast nodes functions to re-emit with input 4.stripped almost at all entrypoints 5.also generated handle constants when validation fails... is it graceful? add a fail test as sugge...
diff --git a/runtime/pavex_macros/src/error_handler.rs b/runtime/pavex_macros/src/error_handler.rs index f6a8623df..0aa3e4aa1 100644 --- a/runtime/pavex_macros/src/error_handler.rs +++ b/runtime/pavex_macros/src/error_handler.rs @@ -52,7 +52,22 @@ impl CallableAnnotation for ErrorHandlerAnnotation { metadata: ...
2
1
0
[{"id": "G0", "claim": "When generating the handle type on validation failure, a user-specified custom `id` should be honored, so that e.g. `#[error_handler(id = \"CUSTOM\")]` does not cause an error in a function referencing `CUSTOM`.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "intro...
null