Code Monkey home page Code Monkey logo

Comments (4)

aleksandra-kim avatar aleksandra-kim commented on September 26, 2024

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Thanks for the bug report! This could be a serious issue, but I am not sure I see the problem. What difference could it make if the filepaths were sorted or not?

from brightway2-calc.

aleksandra-kim avatar aleksandra-kim commented on September 26, 2024

Original comment by Pedro Anchieta (Bitbucket: phanchieta, GitHub: phanchieta).


Thanks for the reply! We implement a version of the multi-core Monte Carlo simulation and some LCA score results were incorrect when using 1.7.5 and multiple cores. Some cores were producing correct results while others were several orders of magnitude off. Making local changes to utils.py has solved the issue temporarily but other users might also come across this same problem.

I’m unsure if this also happens in the ‘out of the box’ Monte Carlo simulation. Also, this issue only happened on Windows. Tested on Linux and results were OK. Probably due to the different file system.

from brightway2-calc.

cmutel avatar cmutel commented on September 26, 2024

2.5 switches to using bw_processing, which will load things deterministically (not by sorting the filepaths, but by using the order provided in the metadata datapacakge.json file).

from brightway2-calc.

cmutel avatar cmutel commented on September 26, 2024

Fixed in 2.0 development branch.

from brightway2-calc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.