Code Monkey home page Code Monkey logo

Comments (9)

jaccz avatar jaccz commented on May 18, 2024

Thanks for reporting the issue. Can you try debugging it a bit more to see what the root cause (and possibly a fix) might be?

from pict.

tangxutc avatar tangxutc commented on May 18, 2024

File : pict-master\cli\mparser.cpp
Function : bool readLineFromFile( wifstream& file, wstring& line )
When using the 'wifstream' type,the japanese words of the input file cannot convert to the wide characters.

from pict.

jaccz avatar jaccz commented on May 18, 2024

Any suggestion on how to fix it? What should readLineFromFile look like to work for EUC-JP and all other encodings? Looking for expertise here, any help will be appreciated. Happy to accept a pull request with a fix, too. :)

from pict.

clebergnu avatar clebergnu commented on May 18, 2024

@tangxutc do you have a file you can share? I think I can take a look at this issue and an actual reproducer would help.

from pict.

clebergnu avatar clebergnu commented on May 18, 2024

@tangxutc ping.

from pict.

jaccz avatar jaccz commented on May 18, 2024

A duplicate of another active issue.

from pict.

TimHe95 avatar TimHe95 commented on May 18, 2024

I have same error but different scenario:

./pict ./xxxx > test.txt
ok

./pict ./xxxx /o:15 > test.txt
hang(maybe because complicated constraints)

./pict ./xxxx /o:22 > test.txt
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Abort trap: 6

./pict ./xxxx /o:23 > test.txt
Input Error: Order cannot be larger than number of parameters

from pict.

jaccz avatar jaccz commented on May 18, 2024

@Bj-He, yours does not seem like the same issue. The combinatorial order (/o) creates bigger and bigger outputs. WIth /o:15 you are probably not hanging but the output calculation is taking a long time. With /o:22 you may simply be running out of memory; have you checked for that?

I'm curious about the reason why you're going so high? Using combination orders that large is really defeating the purpose of "pairwise testing". Most applications of the tool go for /o:2 (the classic pairwise), some go up to /o:3. /o:5 is the very most I would ever apply in real life (and only in special circumstances). None of the case studies I ever saw found evidence that there are bugs left to be discovered beyond that point. If you find a bug after testing with /o:5, you are likely not doing a good job selecting the parameters and their values in your model or the failure mode has nothing to do with interactions of input parameters i.e. nothing you can do by increasing the combinatorial order.

from pict.

TimHe95 avatar TimHe95 commented on May 18, 2024

I am not sure if it is because OOM, since the error message emerges immediately after I run the command. I use /o:22 for there is a scenario that I want the complete combination with strong constraints. Also I have another scenario that I need pairwise sampling.

Now I separate the 22-parameter into several small ones. Everything is ok now. I suppose that some comments of the scalability of the tool can be added, because when I was designing the sample space, I made some false assumptions.

Thank you.

from pict.

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.