Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category bug #172

Open
eltomjan opened this issue Dec 22, 2023 · 0 comments
Open

Category bug #172

eltomjan opened this issue Dec 22, 2023 · 0 comments

Comments

@eltomjan
Copy link

Strange bug rawItems and items could be unrelated - rawItems.length >= items.length ??
Index have nothing common for both arrays (random categories).

heissepreise/analysis.js

Lines 247 to 251 in 4be086e

const items = exports.dedupItems(getCanonicalFor(store, rawItems, file.match(/\d{4}-\d{2}-\d{2}/)[0]));
for (let i = 0; i < items.length; i++) {
const rawItem = rawItems[i];
const item = items[i];
item.category = stores[store].mapCategory(rawItem);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant