caching overwrite

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start at NetworkSystem's cache-writing path, where the filename uses self.dir and self.class.name. Read how self.nice_name and self.hash_on are defined and used, then verify that two systems of the same class produce distinct cache paths and no longer overwrite one another.

Written by the indexing model from the issue text.

Description

NetworkSystem currently writes cache to '{self.dir}/{self.__class__.__name__}' + '_E={epoch}', meaning each system of same class overwrites each other. Rewrite this to do unique caching based on self.nice_name and self.hash_on

Dominant language
Python
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AudreyBeard/netdev

All issues in AudreyBeard/netdev

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.