Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
beat.web
beat.web
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 2
    • Merge Requests 2
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • beat
  • beat.webbeat.web
  • Issues
  • #141

Closed
Open
Opened May 06, 2015 by Laurent EL SHAFEY@laurent.el-shafey
  • Report abuse
  • New issue
Report abuse New issue

Public dataformats listed while sharing an experiment with a private algorithm

While turning an experiment public, few dataformats are listed in the sharing preferences, while there are public. I think this is not expected.

More specifically, these dataformats are the ones used by a private algorithm, whose sharing preferences are going to change, when the experiment become public.

In addition, I've noticed an inconsistency in the following two methods of the Experiment class in beat/web/experiments/models.py

  • __share_dataformats line 211: errors.extend(needed_format.is_accessible(users=users, teams=teams))

  • __share_algorithms line 238: errors.extend(needed_algorithm.is_accessible(False))

The method is_accessible() being common to both classes, the False argument is surprising. It is defined in beat/web/commons/models.py 155 def is_accessible(self, users=None, teams=None):

To reproduce the problem.

  1. Create a new (private) version of an existing public algorithm
  2. Run an algorithm with this private version of the algorithm
  3. Try to make the experiment public
Assignee
Assign to
Tutorial for the FG2015 Conference
Milestone
Tutorial for the FG2015 Conference
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: beat/beat.web#141