submissions.refereeing_cycles module¶
-
class
submissions.refereeing_cycles.
RequiredActionsDict
[source]¶ Bases:
dict
A collection of required actions.
The required action, meant for the editors-in-charge know how to display itself in various formats. Dictionary keys are the action-codes, the values are the texts to present to the user.
-
class
submissions.refereeing_cycles.
BaseAction
(object=None, **kwargs)[source]¶ Bases:
object
An item in the RequiredActionsDict dictionary for the Submission refereeing cycle.
-
txt
= ''¶
-
url
= '#'¶
-
url2
= '#'¶
-
submission
= None¶
-
-
class
submissions.refereeing_cycles.
VettingAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
txt
= '{author} has delivered a {object}. <a href="{url}">Please vet it</a>.'¶
-
property
url
¶ str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
-
-
class
submissions.refereeing_cycles.
NoRefereeResponseAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
txt
= 'Referee {referee} has not responded for {days} days. Consider sending a reminder or cancelling the invitation.'¶
-
-
class
submissions.refereeing_cycles.
DeadlineAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
txt
= 'Referee {referee} has accepted to send a Report (with {deadline} days left), but not yet delivered it. Consider sending a reminder.'¶
-
-
class
submissions.refereeing_cycles.
OverdueAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
txt
= 'Referee {referee} has accepted to send a Report ({deadline_min} days overdue), but not yet delivered it. Consider sending a reminder.'¶
-
-
class
submissions.refereeing_cycles.
ChoiceCycleAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
txt
= 'Choose the submission cycle to proceed with.'¶
-
-
class
submissions.refereeing_cycles.
NoEICRecommendationAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
needs_referees
= False¶
-
property
txt
¶ str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
-
property
url
¶ str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
-
property
url2
¶ str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
-
-
class
submissions.refereeing_cycles.
NeedRefereesAction
(object=None, **kwargs)[source]¶ Bases:
submissions.refereeing_cycles.BaseAction
-
property
txt
¶ str(object=’’) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str
Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.__str__() (if defined) or repr(object). encoding defaults to sys.getdefaultencoding(). errors defaults to ‘strict’.
-
property
-
class
submissions.refereeing_cycles.
BaseCycle
(submission)[source]¶ Bases:
object
A base blueprint for the Submission refereeing cycle.
The refereeing process may be defined differently for every cycle class by its own specific properties. The cycle class will then take care of the required actions, permissions and the overall refereeing process.
-
days_for_refereeing
= 28¶
-
can_invite_referees
= True¶
-
property
required_actions
¶
-
property
minimum_number_of_referees
¶
-
update_required_actions
()[source]¶ Gather the required actions list and populate self._required_actions.
-
-
class
submissions.refereeing_cycles.
ShortCycle
(submission)[source]¶ Bases:
submissions.refereeing_cycles.BaseCycle
Short (two weeks) version of the regular refereeing cycle, used for resubmissions on request by the editor.
-
days_for_refereeing
= 14¶
-
property
minimum_number_of_referees
¶
-
-
class
submissions.refereeing_cycles.
DirectCycle
(submission)[source]¶ Bases:
submissions.refereeing_cycles.BaseCycle
Refereeing cycle without refereeing. The editor directly formulates an EICRecommendation.
-
can_invite_referees
= False¶
-