; (B) meets all of the requirements for acceptance into the commissioned officer corps of the Administration except for the completion of a baccalaureate degree; and (C) enters into a written agreement with the Secretary described in paragraph (2). (2) Agreement A written agreement referred to in paragraph (1)(C) is an agreement between the person and the Secretary in which the person— (A) agrees to accept an appointment as an officer, if tendered; and (B) upon completion of the person's educational program, agrees to serve on active duty, immediately after appointment, for— (i) up to 3 years if the person received less than 3 years of assistance