mirror of
https://github.com/InternLM/InternBootcamp.git
synced 2026-04-19 12:58:04 +00:00
Merge branch 'fix-med-calculator' into 'main'
refactor(med_calculator): update imports and class name See merge request lilinyang/internbootcamp!14
This commit is contained in:
commit
9773357be4
1 changed files with 1 additions and 9 deletions
|
|
@ -1,11 +1,7 @@
|
||||||
import json
|
import json
|
||||||
import math
|
import math
|
||||||
import random
|
import random
|
||||||
<<<<<<< HEAD
|
|
||||||
from bootcamp import Basebootcamp
|
|
||||||
=======
|
|
||||||
from internbootcamp.bootcamp.base import Basebootcamp
|
from internbootcamp.bootcamp.base import Basebootcamp
|
||||||
>>>>>>> remotes/origin/main
|
|
||||||
|
|
||||||
def remove_boxed(s):
|
def remove_boxed(s):
|
||||||
if "\\boxed " in s:
|
if "\\boxed " in s:
|
||||||
|
|
@ -158,11 +154,7 @@ class Medcalculatorbootcamp(Basebootcamp): # 医学计算器类
|
||||||
return cases
|
return cases
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
<<<<<<< HEAD
|
bootcamp = Medcalculatorbootcamp(seed=42)
|
||||||
bootcamp = MedCalculatorbootcamp(seed=42)
|
|
||||||
=======
|
|
||||||
bootcamp = MedCalculatorSandbox(seed=42)
|
|
||||||
>>>>>>> remotes/origin/main
|
|
||||||
identity = bootcamp.case_generator()
|
identity = bootcamp.case_generator()
|
||||||
print(f'{identity = }')
|
print(f'{identity = }')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue