Comments (6)
I don't see any particular reason why this should be happening. It may be, that the cached data somehow got corrupted. Try to delete the SmallPolygonsMarat/cache directory and let me know, if it helped. If not I will look deeper into the issue.
from tc-marathoner.
I just tried deleting the cache directory and attempted with one of the same larger output cases (6 kb) which is actually not so large.
Again:
- The first run went normally.
- Trying to run the same case with the same code got unresponsive after printing "[NOTE] Running solution from cache"
- When I disable the cache it runs well again.
I don't understand neither. It was working well before. So I wonder if it has something to do with my environment.
from tc-marathoner.
I will definitely look into the this. Let's just try one last simple thing - restarting the system.
If it didn't help, I just have a few questions, to make sure I understand the problem fully:
- Does the problem occur only for large test cases? So for the small test cases the caching works fine?
- Did caching work before on large test cases without any problems?
- Are you maybe outputting too much data (>1MB) on standard error output?
- Type into marathoner:
hash
It will output the hash of the current solution. Open the directorySmallPolygonsMarat/cache/<hash>
. You will find there for each seed the cached standard output and standard error output of your solution. Open the files for the seed which causes the problem and look into them. Do they look okay? Do you see any anomaly there?
Note: be careful not to share with me any specific information related to the contest or your solution, as it is against the TC rules.
from tc-marathoner.
I tried restarting the system and unfortunately it didn't change anything.
Yes, it seems to happen only with cases with large outputs. The caching works fine with cases of small output.
Caching worked well before for such cases because I ran the same cases and didn't encounter this problem before.
My standard error outputs are only 2 short lines.
I opened the files and they seem to be OK, the only difference with the rest seems to be the size of the stdout.
I noticed now that when the files are big but not as big as some others it doesn't get unresponsive, it finishes but it fails to load the cached solution and the tester outputs a parsing error. These seeds without cache work fine.
P.S.: I reckon it's difficult to debug these problems properly because of the contest. And probably it's something about my environment. So don't worry too much about it. I can survive without the caching for the rest of the contest.
from tc-marathoner.
I have found the issue and fixed it.
Run: pip install marathoner --upgrade
and try it out.
Once again, thank you for your help :)
from tc-marathoner.
Everything seems to be working fine now :)
No problem. Thank you a lot for this great tool!
from tc-marathoner.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tc-marathoner.