Skip to content

Commit

Permalink
Merge pull request #1292 from dfm/split-track-keywords-astro-physics
Browse files Browse the repository at this point in the history
Update physics and astronomy field keywords to reduce false positives
  • Loading branch information
xuanxu authored Nov 7, 2023
2 parents 29bc535 + 0829fd9 commit c08e21d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
6 changes: 4 additions & 2 deletions lib/tracks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ tracks:
- dfm
code: 1
fields:
- General Physics and Astronomy [Physical Sciences]
- Physics and Astronomy (miscellaneous) [Physical Sciences]
- General Astronomy [Physical Sciences]
- Astronomy (miscellaneous) [Physical Sciences]
- Astronomy and Astrophysics [Physical Sciences]
- Space and Planetary Science [Physical Sciences]
bcm:
Expand Down Expand Up @@ -212,7 +212,9 @@ tracks:
- Fluid Flow and Transfer Processes [Physical Sciences]
- Process Chemistry and Technology [Physical Sciences]
- General Engineering [Physical Sciences]
- General Physics [Physical Sciences]
- Engineering (miscellaneous) [Physical Sciences]
- Physics (miscellaneous) [Physical Sciences]
- Aerospace Engineering [Physical Sciences]
- Automotive Engineering [Physical Sciences]
- Civil and Structural Engineering [Physical Sciences]
Expand Down
8 changes: 5 additions & 3 deletions spec/fixtures/reference-tracks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,10 @@
- Numerical Analysis [Physical Sciences]
- Statistics and Probability [Physical Sciences]
- Theoretical Computer Science [Physical Sciences]
- General Physics and Astronomy [Physical Sciences]
- Physics and Astronomy (miscellaneous) [Physical Sciences]
- General Astronomy [Physical Sciences]
- General Physics [Physical Sciences]
- Astronomy (miscellaneous) [Physical Sciences]
- Physics (miscellaneous) [Physical Sciences]
- Acoustics and Ultrasonics [Physical Sciences]
- Astronomy and Astrophysics [Physical Sciences]
- Condensed Matter Physics [Physical Sciences]
Expand Down Expand Up @@ -353,4 +355,4 @@
- Podiatry [Health Sciences]
- Radiological and Ultrasound Technology [Health Sciences]
- Respiratory Care [Health Sciences]
- Speech and Hearing [Health Sciences]
- Speech and Hearing [Health Sciences]
8 changes: 4 additions & 4 deletions spec/lib/tracks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
end

describe "Reference tracks" do
it "should be 344 in total" do
expect(reference_tracks.size).to eq(344)
it "should be 346 in total" do
expect(reference_tracks.size).to eq(346)
end

it "should be not have any dupes" do
expect(reference_tracks.uniq.size).to eq(344)
expect(reference_tracks.uniq.size).to eq(346)
end
end

Expand Down Expand Up @@ -47,4 +47,4 @@
end
end
end
end
end

0 comments on commit c08e21d

Please sign in to comment.