There is a project (STEM field, R1 university in the United States) on which four graduate students have been working for approximately one year. Although all members joined the project at the same time, one person, who is a senior student, was training the others for the first month. The group does not have a distinct division of tasks: after the initial training period, all members have worked closely, sharing equal responsibility for performing lab work, studying literature, analyzing data, and contributing hypotheses. None of them has been part of other simultaneous projects for the work's full duration.
Much experimental and analysis work remains before they start writing a paper summarizing their results, and the group has not discussed authorship yet. I would like to know how authorship for such a project is determined.
Should a sole first-author position automatically go to the senior student who trained the others in the beginning? Should co-first authors be designated based on a discussion of whose contributions were most significant? Should author order be determined based on time committed to the project? Or, since all members have been working full-time on this project, does that mean they should all automatically be made co-first authors? Are there any other factors that would need to be considered in such a situation?
You may assume that all potential journals for the publication allow shared authorship, and the students' research advisor will be the corresponding author.